PR middle-end/53850
[official-gcc.git] / libstdc++-v3 / configure
blob7e68712cb75315dcb1a4486addb3c14d0c038870
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_EXT_RANDOM
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 HWCAP_FLAGS
643 GLIBCXX_LDBL_COMPAT_FALSE
644 GLIBCXX_LDBL_COMPAT_TRUE
645 ENABLE_VISIBILITY_FALSE
646 ENABLE_VISIBILITY_TRUE
647 libtool_VERSION
648 ENABLE_SYMVERS_SUN_FALSE
649 ENABLE_SYMVERS_SUN_TRUE
650 ENABLE_SYMVERS_DARWIN_FALSE
651 ENABLE_SYMVERS_DARWIN_TRUE
652 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
653 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
654 ENABLE_SYMVERS_GNU_FALSE
655 ENABLE_SYMVERS_GNU_TRUE
656 ENABLE_SYMVERS_FALSE
657 ENABLE_SYMVERS_TRUE
658 port_specific_symbol_files
659 SYMVER_FILE
660 CXXFILT
661 LTLIBICONV
662 LIBICONV
663 OPT_LDFLAGS
664 SECTION_LDFLAGS
665 GLIBCXX_LIBS
666 ENABLE_WERROR_FALSE
667 ENABLE_WERROR_TRUE
668 ENABLE_PYTHONDIR_FALSE
669 ENABLE_PYTHONDIR_TRUE
670 python_mod_dir
671 ENABLE_EXTERN_TEMPLATE_FALSE
672 ENABLE_EXTERN_TEMPLATE_TRUE
673 EXTRA_CXX_FLAGS
674 ENABLE_PARALLEL_FALSE
675 ENABLE_PARALLEL_TRUE
676 GLIBCXX_BUILD_DEBUG_FALSE
677 GLIBCXX_BUILD_DEBUG_TRUE
678 DEBUG_FLAGS
679 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
680 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
681 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
682 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
683 GLIBCXX_C_HEADERS_C_STD_FALSE
684 GLIBCXX_C_HEADERS_C_STD_TRUE
685 GLIBCXX_C_HEADERS_C_FALSE
686 GLIBCXX_C_HEADERS_C_TRUE
687 C_INCLUDE_DIR
688 ALLOCATOR_NAME
689 ALLOCATOR_H
690 CLOCALE_INTERNAL_H
691 CLOCALE_CC
692 CTIME_CC
693 CTIME_H
694 CNUMERIC_CC
695 CMONEY_CC
696 CMESSAGES_CC
697 CCTYPE_CC
698 CCOLLATE_CC
699 CCODECVT_CC
700 CMESSAGES_H
701 CLOCALE_H
702 USE_NLS
703 glibcxx_localedir
704 glibcxx_POFILES
705 glibcxx_MOFILES
706 check_msgfmt
707 BASIC_FILE_CC
708 BASIC_FILE_H
709 CSTDIO_H
710 SECTION_FLAGS
711 WERROR
712 glibcxx_PCHFLAGS
713 GLIBCXX_BUILD_PCH_FALSE
714 GLIBCXX_BUILD_PCH_TRUE
715 GLIBCXX_HOSTED_FALSE
716 GLIBCXX_HOSTED_TRUE
717 glibcxx_compiler_shared_flag
718 glibcxx_compiler_pic_flag
719 glibcxx_lt_pic_flag
720 enable_static
721 enable_shared
722 lt_host_flags
723 CXXCPP
724 OTOOL64
725 OTOOL
726 LIPO
727 NMEDIT
728 DSYMUTIL
729 OBJDUMP
731 ac_ct_DUMPBIN
732 DUMPBIN
734 FGREP
736 LIBTOOL
737 EGREP
738 GREP
740 MAINT
741 MAINTAINER_MODE_FALSE
742 MAINTAINER_MODE_TRUE
743 RANLIB
746 LN_S
747 toplevel_srcdir
748 toplevel_builddir
749 glibcxx_srcdir
750 glibcxx_builddir
751 ac_ct_CXX
752 CXXFLAGS
754 OBJEXT
755 EXEEXT
756 ac_ct_CC
757 CPPFLAGS
758 LDFLAGS
759 CFLAGS
761 am__untar
762 am__tar
763 AMTAR
764 am__leading_dot
765 SET_MAKE
767 mkdir_p
768 MKDIR_P
769 INSTALL_STRIP_PROGRAM
770 STRIP
771 install_sh
772 MAKEINFO
773 AUTOHEADER
774 AUTOMAKE
775 AUTOCONF
776 ACLOCAL
777 VERSION
778 PACKAGE
779 CYGPATH_W
780 am__isrc
781 INSTALL_DATA
782 INSTALL_SCRIPT
783 INSTALL_PROGRAM
784 target_os
785 target_vendor
786 target_cpu
787 target
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 multi_basedir
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_multilib
839 with_target_subdir
840 with_cross_host
841 with_newlib
842 enable_maintainer_mode
843 enable_shared
844 enable_static
845 with_pic
846 enable_fast_install
847 with_gnu_ld
848 enable_libtool_lock
849 enable_hosted_libstdcxx
850 enable_libstdcxx_verbose
851 enable_sjlj_exceptions
852 enable_libstdcxx_pch
853 enable_cstdio
854 enable_clocale
855 enable_nls
856 enable_libstdcxx_allocator
857 enable_cheaders
858 enable_long_long
859 enable_wchar_t
860 enable_c99
861 enable_concept_checks
862 enable_libstdcxx_debug_flags
863 enable_libstdcxx_debug
864 enable_cxx_flags
865 enable_fully_dynamic_string
866 enable_extern_template
867 with_python_dir
868 enable_werror
869 enable_libstdcxx_time
870 enable_tls
871 enable_rpath
872 with_libiconv_prefix
873 with_system_libunwind
874 enable_linux_futex
875 enable_symvers
876 enable_libstdcxx_visibility
877 enable_libstdcxx_threads
878 with_gxx_include_dir
879 enable_version_specific_runtime_libs
881 ac_precious_vars='build_alias
882 host_alias
883 target_alias
885 CFLAGS
886 LDFLAGS
887 LIBS
888 CPPFLAGS
890 CXXFLAGS
893 CXXCPP
894 CXXFILT'
897 # Initialize some variables set by options.
898 ac_init_help=
899 ac_init_version=false
900 ac_unrecognized_opts=
901 ac_unrecognized_sep=
902 # The variables have the same names as the options, with
903 # dashes changed to underlines.
904 cache_file=/dev/null
905 exec_prefix=NONE
906 no_create=
907 no_recursion=
908 prefix=NONE
909 program_prefix=NONE
910 program_suffix=NONE
911 program_transform_name=s,x,x,
912 silent=
913 site=
914 srcdir=
915 verbose=
916 x_includes=NONE
917 x_libraries=NONE
919 # Installation directory options.
920 # These are left unexpanded so users can "make install exec_prefix=/foo"
921 # and all the variables that are supposed to be based on exec_prefix
922 # by default will actually change.
923 # Use braces instead of parens because sh, perl, etc. also accept them.
924 # (The list follows the same order as the GNU Coding Standards.)
925 bindir='${exec_prefix}/bin'
926 sbindir='${exec_prefix}/sbin'
927 libexecdir='${exec_prefix}/libexec'
928 datarootdir='${prefix}/share'
929 datadir='${datarootdir}'
930 sysconfdir='${prefix}/etc'
931 sharedstatedir='${prefix}/com'
932 localstatedir='${prefix}/var'
933 includedir='${prefix}/include'
934 oldincludedir='/usr/include'
935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
936 infodir='${datarootdir}/info'
937 htmldir='${docdir}'
938 dvidir='${docdir}'
939 pdfdir='${docdir}'
940 psdir='${docdir}'
941 libdir='${exec_prefix}/lib'
942 localedir='${datarootdir}/locale'
943 mandir='${datarootdir}/man'
945 ac_prev=
946 ac_dashdash=
947 for ac_option
949 # If the previous option needs an argument, assign it.
950 if test -n "$ac_prev"; then
951 eval $ac_prev=\$ac_option
952 ac_prev=
953 continue
956 case $ac_option in
957 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
958 *) ac_optarg=yes ;;
959 esac
961 # Accept the important Cygnus configure options, so we can diagnose typos.
963 case $ac_dashdash$ac_option in
965 ac_dashdash=yes ;;
967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
968 ac_prev=bindir ;;
969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
970 bindir=$ac_optarg ;;
972 -build | --build | --buil | --bui | --bu)
973 ac_prev=build_alias ;;
974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
975 build_alias=$ac_optarg ;;
977 -cache-file | --cache-file | --cache-fil | --cache-fi \
978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
979 ac_prev=cache_file ;;
980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
982 cache_file=$ac_optarg ;;
984 --config-cache | -C)
985 cache_file=config.cache ;;
987 -datadir | --datadir | --datadi | --datad)
988 ac_prev=datadir ;;
989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
990 datadir=$ac_optarg ;;
992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
993 | --dataroo | --dataro | --datar)
994 ac_prev=datarootdir ;;
995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
997 datarootdir=$ac_optarg ;;
999 -disable-* | --disable-*)
1000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1001 # Reject names that are not valid shell variable names.
1002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1003 as_fn_error "invalid feature name: $ac_useropt"
1004 ac_useropt_orig=$ac_useropt
1005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1006 case $ac_user_opts in
1008 "enable_$ac_useropt"
1009 "*) ;;
1010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1011 ac_unrecognized_sep=', ';;
1012 esac
1013 eval enable_$ac_useropt=no ;;
1015 -docdir | --docdir | --docdi | --doc | --do)
1016 ac_prev=docdir ;;
1017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1018 docdir=$ac_optarg ;;
1020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1021 ac_prev=dvidir ;;
1022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1023 dvidir=$ac_optarg ;;
1025 -enable-* | --enable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1035 "*) ;;
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1038 esac
1039 eval enable_$ac_useropt=\$ac_optarg ;;
1041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1043 | --exec | --exe | --ex)
1044 ac_prev=exec_prefix ;;
1045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1047 | --exec=* | --exe=* | --ex=*)
1048 exec_prefix=$ac_optarg ;;
1050 -gas | --gas | --ga | --g)
1051 # Obsolete; use --with-gas.
1052 with_gas=yes ;;
1054 -help | --help | --hel | --he | -h)
1055 ac_init_help=long ;;
1056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1057 ac_init_help=recursive ;;
1058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1059 ac_init_help=short ;;
1061 -host | --host | --hos | --ho)
1062 ac_prev=host_alias ;;
1063 -host=* | --host=* | --hos=* | --ho=*)
1064 host_alias=$ac_optarg ;;
1066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1067 ac_prev=htmldir ;;
1068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1069 | --ht=*)
1070 htmldir=$ac_optarg ;;
1072 -includedir | --includedir | --includedi | --included | --include \
1073 | --includ | --inclu | --incl | --inc)
1074 ac_prev=includedir ;;
1075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1076 | --includ=* | --inclu=* | --incl=* | --inc=*)
1077 includedir=$ac_optarg ;;
1079 -infodir | --infodir | --infodi | --infod | --info | --inf)
1080 ac_prev=infodir ;;
1081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1082 infodir=$ac_optarg ;;
1084 -libdir | --libdir | --libdi | --libd)
1085 ac_prev=libdir ;;
1086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1087 libdir=$ac_optarg ;;
1089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1090 | --libexe | --libex | --libe)
1091 ac_prev=libexecdir ;;
1092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1093 | --libexe=* | --libex=* | --libe=*)
1094 libexecdir=$ac_optarg ;;
1096 -localedir | --localedir | --localedi | --localed | --locale)
1097 ac_prev=localedir ;;
1098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1099 localedir=$ac_optarg ;;
1101 -localstatedir | --localstatedir | --localstatedi | --localstated \
1102 | --localstate | --localstat | --localsta | --localst | --locals)
1103 ac_prev=localstatedir ;;
1104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1106 localstatedir=$ac_optarg ;;
1108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1109 ac_prev=mandir ;;
1110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1111 mandir=$ac_optarg ;;
1113 -nfp | --nfp | --nf)
1114 # Obsolete; use --without-fp.
1115 with_fp=no ;;
1117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1118 | --no-cr | --no-c | -n)
1119 no_create=yes ;;
1121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1123 no_recursion=yes ;;
1125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1127 | --oldin | --oldi | --old | --ol | --o)
1128 ac_prev=oldincludedir ;;
1129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1132 oldincludedir=$ac_optarg ;;
1134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1135 ac_prev=prefix ;;
1136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1137 prefix=$ac_optarg ;;
1139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1140 | --program-pre | --program-pr | --program-p)
1141 ac_prev=program_prefix ;;
1142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1144 program_prefix=$ac_optarg ;;
1146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1147 | --program-suf | --program-su | --program-s)
1148 ac_prev=program_suffix ;;
1149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1151 program_suffix=$ac_optarg ;;
1153 -program-transform-name | --program-transform-name \
1154 | --program-transform-nam | --program-transform-na \
1155 | --program-transform-n | --program-transform- \
1156 | --program-transform | --program-transfor \
1157 | --program-transfo | --program-transf \
1158 | --program-trans | --program-tran \
1159 | --progr-tra | --program-tr | --program-t)
1160 ac_prev=program_transform_name ;;
1161 -program-transform-name=* | --program-transform-name=* \
1162 | --program-transform-nam=* | --program-transform-na=* \
1163 | --program-transform-n=* | --program-transform-=* \
1164 | --program-transform=* | --program-transfor=* \
1165 | --program-transfo=* | --program-transf=* \
1166 | --program-trans=* | --program-tran=* \
1167 | --progr-tra=* | --program-tr=* | --program-t=*)
1168 program_transform_name=$ac_optarg ;;
1170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1171 ac_prev=pdfdir ;;
1172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1173 pdfdir=$ac_optarg ;;
1175 -psdir | --psdir | --psdi | --psd | --ps)
1176 ac_prev=psdir ;;
1177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1178 psdir=$ac_optarg ;;
1180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1181 | -silent | --silent | --silen | --sile | --sil)
1182 silent=yes ;;
1184 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1185 ac_prev=sbindir ;;
1186 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1187 | --sbi=* | --sb=*)
1188 sbindir=$ac_optarg ;;
1190 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1191 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1192 | --sharedst | --shareds | --shared | --share | --shar \
1193 | --sha | --sh)
1194 ac_prev=sharedstatedir ;;
1195 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1196 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1197 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1198 | --sha=* | --sh=*)
1199 sharedstatedir=$ac_optarg ;;
1201 -site | --site | --sit)
1202 ac_prev=site ;;
1203 -site=* | --site=* | --sit=*)
1204 site=$ac_optarg ;;
1206 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1207 ac_prev=srcdir ;;
1208 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1209 srcdir=$ac_optarg ;;
1211 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1212 | --syscon | --sysco | --sysc | --sys | --sy)
1213 ac_prev=sysconfdir ;;
1214 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1215 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1216 sysconfdir=$ac_optarg ;;
1218 -target | --target | --targe | --targ | --tar | --ta | --t)
1219 ac_prev=target_alias ;;
1220 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1221 target_alias=$ac_optarg ;;
1223 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1224 verbose=yes ;;
1226 -version | --version | --versio | --versi | --vers | -V)
1227 ac_init_version=: ;;
1229 -with-* | --with-*)
1230 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1231 # Reject names that are not valid shell variable names.
1232 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1233 as_fn_error "invalid package name: $ac_useropt"
1234 ac_useropt_orig=$ac_useropt
1235 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1236 case $ac_user_opts in
1238 "with_$ac_useropt"
1239 "*) ;;
1240 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1241 ac_unrecognized_sep=', ';;
1242 esac
1243 eval with_$ac_useropt=\$ac_optarg ;;
1245 -without-* | --without-*)
1246 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1247 # Reject names that are not valid shell variable names.
1248 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1249 as_fn_error "invalid package name: $ac_useropt"
1250 ac_useropt_orig=$ac_useropt
1251 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1252 case $ac_user_opts in
1254 "with_$ac_useropt"
1255 "*) ;;
1256 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1257 ac_unrecognized_sep=', ';;
1258 esac
1259 eval with_$ac_useropt=no ;;
1261 --x)
1262 # Obsolete; use --with-x.
1263 with_x=yes ;;
1265 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1266 | --x-incl | --x-inc | --x-in | --x-i)
1267 ac_prev=x_includes ;;
1268 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1269 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1270 x_includes=$ac_optarg ;;
1272 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1273 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1274 ac_prev=x_libraries ;;
1275 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1276 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1277 x_libraries=$ac_optarg ;;
1279 -*) as_fn_error "unrecognized option: \`$ac_option'
1280 Try \`$0 --help' for more information."
1283 *=*)
1284 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1285 # Reject names that are not valid shell variable names.
1286 case $ac_envvar in #(
1287 '' | [0-9]* | *[!_$as_cr_alnum]* )
1288 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1289 esac
1290 eval $ac_envvar=\$ac_optarg
1291 export $ac_envvar ;;
1294 # FIXME: should be removed in autoconf 3.0.
1295 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1296 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1297 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1298 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1301 esac
1302 done
1304 if test -n "$ac_prev"; then
1305 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1306 as_fn_error "missing argument to $ac_option"
1309 if test -n "$ac_unrecognized_opts"; then
1310 case $enable_option_checking in
1311 no) ;;
1312 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1313 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1314 esac
1317 # Check all directory arguments for consistency.
1318 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1319 datadir sysconfdir sharedstatedir localstatedir includedir \
1320 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1321 libdir localedir mandir
1323 eval ac_val=\$$ac_var
1324 # Remove trailing slashes.
1325 case $ac_val in
1326 */ )
1327 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1328 eval $ac_var=\$ac_val;;
1329 esac
1330 # Be sure to have absolute directory names.
1331 case $ac_val in
1332 [\\/$]* | ?:[\\/]* ) continue;;
1333 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1334 esac
1335 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1336 done
1338 # There might be people who depend on the old broken behavior: `$host'
1339 # used to hold the argument of --host etc.
1340 # FIXME: To remove some day.
1341 build=$build_alias
1342 host=$host_alias
1343 target=$target_alias
1345 # FIXME: To remove some day.
1346 if test "x$host_alias" != x; then
1347 if test "x$build_alias" = x; then
1348 cross_compiling=maybe
1349 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1350 If a cross compiler is detected then cross compile mode will be used." >&2
1351 elif test "x$build_alias" != "x$host_alias"; then
1352 cross_compiling=yes
1356 ac_tool_prefix=
1357 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359 test "$silent" = yes && exec 6>/dev/null
1362 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1363 ac_ls_di=`ls -di .` &&
1364 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1365 as_fn_error "working directory cannot be determined"
1366 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1367 as_fn_error "pwd does not report name of working directory"
1370 # Find the source files, if location was not specified.
1371 if test -z "$srcdir"; then
1372 ac_srcdir_defaulted=yes
1373 # Try the directory containing this script, then the parent directory.
1374 ac_confdir=`$as_dirname -- "$as_myself" ||
1375 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1376 X"$as_myself" : 'X\(//\)[^/]' \| \
1377 X"$as_myself" : 'X\(//\)$' \| \
1378 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1379 $as_echo X"$as_myself" |
1380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1381 s//\1/
1384 /^X\(\/\/\)[^/].*/{
1385 s//\1/
1388 /^X\(\/\/\)$/{
1389 s//\1/
1392 /^X\(\/\).*/{
1393 s//\1/
1396 s/.*/./; q'`
1397 srcdir=$ac_confdir
1398 if test ! -r "$srcdir/$ac_unique_file"; then
1399 srcdir=..
1401 else
1402 ac_srcdir_defaulted=no
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1406 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1408 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1409 ac_abs_confdir=`(
1410 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1411 pwd)`
1412 # When building in place, set srcdir=.
1413 if test "$ac_abs_confdir" = "$ac_pwd"; then
1414 srcdir=.
1416 # Remove unnecessary trailing slashes from srcdir.
1417 # Double slashes in file names in object file debugging info
1418 # mess up M-x gdb in Emacs.
1419 case $srcdir in
1420 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1421 esac
1422 for ac_var in $ac_precious_vars; do
1423 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1424 eval ac_env_${ac_var}_value=\$${ac_var}
1425 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1426 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1427 done
1430 # Report the --help message.
1432 if test "$ac_init_help" = "long"; then
1433 # Omit some internal or obsolete options to make the list less imposing.
1434 # This message is too long to be a string in the A/UX 3.1 sh.
1435 cat <<_ACEOF
1436 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1438 Usage: $0 [OPTION]... [VAR=VALUE]...
1440 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1441 VAR=VALUE. See below for descriptions of some of the useful variables.
1443 Defaults for the options are specified in brackets.
1445 Configuration:
1446 -h, --help display this help and exit
1447 --help=short display options specific to this package
1448 --help=recursive display the short help of all the included packages
1449 -V, --version display version information and exit
1450 -q, --quiet, --silent do not print \`checking...' messages
1451 --cache-file=FILE cache test results in FILE [disabled]
1452 -C, --config-cache alias for \`--cache-file=config.cache'
1453 -n, --no-create do not create output files
1454 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456 Installation directories:
1457 --prefix=PREFIX install architecture-independent files in PREFIX
1458 [$ac_default_prefix]
1459 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1460 [PREFIX]
1462 By default, \`make install' will install all the files in
1463 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1464 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1465 for instance \`--prefix=\$HOME'.
1467 For better control, use the options below.
1469 Fine tuning of the installation directories:
1470 --bindir=DIR user executables [EPREFIX/bin]
1471 --sbindir=DIR system admin executables [EPREFIX/sbin]
1472 --libexecdir=DIR program executables [EPREFIX/libexec]
1473 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1474 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1475 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1476 --libdir=DIR object code libraries [EPREFIX/lib]
1477 --includedir=DIR C header files [PREFIX/include]
1478 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1479 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1480 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1481 --infodir=DIR info documentation [DATAROOTDIR/info]
1482 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1483 --mandir=DIR man documentation [DATAROOTDIR/man]
1484 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1485 --htmldir=DIR html documentation [DOCDIR]
1486 --dvidir=DIR dvi documentation [DOCDIR]
1487 --pdfdir=DIR pdf documentation [DOCDIR]
1488 --psdir=DIR ps documentation [DOCDIR]
1489 _ACEOF
1491 cat <<\_ACEOF
1493 Program names:
1494 --program-prefix=PREFIX prepend PREFIX to installed program names
1495 --program-suffix=SUFFIX append SUFFIX to installed program names
1496 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1498 System types:
1499 --build=BUILD configure for building on BUILD [guessed]
1500 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1501 --target=TARGET configure for building compilers for TARGET [HOST]
1502 _ACEOF
1505 if test -n "$ac_init_help"; then
1506 case $ac_init_help in
1507 short | recursive ) echo "Configuration of package-unused version-unused:";;
1508 esac
1509 cat <<\_ACEOF
1511 Optional Features:
1512 --disable-option-checking ignore unrecognized --enable/--with options
1513 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1514 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1515 --enable-multilib build many library versions (default)
1516 --enable-maintainer-mode enable make rules and dependencies not useful
1517 (and sometimes confusing) to the casual installer
1518 --enable-shared[=PKGS] build shared libraries [default=yes]
1519 --enable-static[=PKGS] build static libraries [default=yes]
1520 --enable-fast-install[=PKGS]
1521 optimize for fast installation [default=yes]
1522 --disable-libtool-lock avoid locking (might break parallel builds)
1523 --disable-hosted-libstdcxx
1524 only build freestanding C++ runtime support
1525 --disable-libstdcxx-verbose
1526 disable termination messages to standard error
1527 --enable-sjlj-exceptions
1528 force use of builtin_setjmp for exceptions
1529 [default=auto]
1530 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1531 [default=$is_hosted]
1532 --enable-cstdio[=PACKAGE]
1533 use target-specific I/O package [default=stdio]
1534 --enable-clocale[=MODEL]
1535 use MODEL for target locale package [default=auto]
1536 --enable-nls use Native Language Support (default)
1537 --enable-libstdcxx-allocator[=KIND]
1538 use KIND for target std::allocator base
1539 [default=auto]
1540 --enable-cheaders[=KIND]
1541 construct "C" headers for g++ [default=$c_model]
1542 --enable-long-long enable template specializations for 'long long'
1543 [default=yes]
1544 --enable-wchar_t enable template specializations for 'wchar_t'
1545 [default=yes]
1546 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1547 --enable-concept-checks use Boost-derived template checks [default=no]
1548 --enable-libstdcxx-debug-flags=FLAGS
1549 pass compiler FLAGS when building debug library
1550 [default="-gdwarf-4 -g3 -O0"]
1551 --enable-libstdcxx-debug
1552 build extra debug library [default=no]
1553 --enable-cxx-flags=FLAGS
1554 pass compiler FLAGS when building library [default=]
1555 --enable-fully-dynamic-string
1556 do not put empty strings in per-process static
1557 memory [default=no]
1558 --enable-extern-template
1559 enable extern template [default=yes]
1560 --enable-werror turns on -Werror [default=yes]
1561 --enable-libstdcxx-time[=KIND]
1562 use KIND for check type [default=no]
1563 --enable-tls Use thread-local storage [default=yes]
1564 --disable-rpath do not hardcode runtime library paths
1565 --enable-linux-futex use the Linux futex system call [default=default]
1566 --enable-symvers[=STYLE]
1567 enables symbol versioning of the shared library
1568 [default=yes]
1569 --enable-libstdcxx-visibility
1570 enables visibility safe usage [default=yes]
1571 --enable-libstdcxx-threads
1572 enable C++11 threads support [default=auto]
1573 --enable-version-specific-runtime-libs
1574 Specify that runtime libraries should be installed
1575 in a compiler-specific directory
1577 Optional Packages:
1578 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1579 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1580 --with-target-subdir=SUBDIR
1581 configuring in a subdirectory
1582 --with-cross-host=HOST configuring with a cross compiler
1583 --with-newlib assume newlib as a system C library
1584 --with-pic try to use only PIC/non-PIC objects [default=use
1585 both]
1586 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1587 --with-python-dir the location to install Python modules. This path is
1588 relative starting from the prefix.
1589 --with-gnu-ld assume the C compiler uses GNU ld default=no
1590 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1591 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1592 --with-system-libunwind use installed libunwind
1593 --with-gxx-include-dir=DIR
1594 installation directory for include files
1596 Some influential environment variables:
1597 CC C compiler command
1598 CFLAGS C compiler flags
1599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1600 nonstandard directory <lib dir>
1601 LIBS libraries to pass to the linker, e.g. -l<library>
1602 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1603 you have headers in a nonstandard directory <include dir>
1604 CXX C++ compiler command
1605 CXXFLAGS C++ compiler flags
1606 CPP C preprocessor
1607 CXXCPP C++ preprocessor
1608 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1609 `c++filt', `gc++filt' on PATH.
1611 Use these variables to override the choices made by `configure' or to help
1612 it to find libraries and programs with nonstandard names/locations.
1614 Report bugs to the package provider.
1615 _ACEOF
1616 ac_status=$?
1619 if test "$ac_init_help" = "recursive"; then
1620 # If there are subdirs, report their specific --help.
1621 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1622 test -d "$ac_dir" ||
1623 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1624 continue
1625 ac_builddir=.
1627 case "$ac_dir" in
1628 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1631 # A ".." for each directory in $ac_dir_suffix.
1632 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1633 case $ac_top_builddir_sub in
1634 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1635 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1636 esac ;;
1637 esac
1638 ac_abs_top_builddir=$ac_pwd
1639 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1640 # for backward compatibility:
1641 ac_top_builddir=$ac_top_build_prefix
1643 case $srcdir in
1644 .) # We are building in place.
1645 ac_srcdir=.
1646 ac_top_srcdir=$ac_top_builddir_sub
1647 ac_abs_top_srcdir=$ac_pwd ;;
1648 [\\/]* | ?:[\\/]* ) # Absolute name.
1649 ac_srcdir=$srcdir$ac_dir_suffix;
1650 ac_top_srcdir=$srcdir
1651 ac_abs_top_srcdir=$srcdir ;;
1652 *) # Relative name.
1653 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1654 ac_top_srcdir=$ac_top_build_prefix$srcdir
1655 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1656 esac
1657 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659 cd "$ac_dir" || { ac_status=$?; continue; }
1660 # Check for guested configure.
1661 if test -f "$ac_srcdir/configure.gnu"; then
1662 echo &&
1663 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1664 elif test -f "$ac_srcdir/configure"; then
1665 echo &&
1666 $SHELL "$ac_srcdir/configure" --help=recursive
1667 else
1668 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1669 fi || ac_status=$?
1670 cd "$ac_pwd" || { ac_status=$?; break; }
1671 done
1674 test -n "$ac_init_help" && exit $ac_status
1675 if $ac_init_version; then
1676 cat <<\_ACEOF
1677 package-unused configure version-unused
1678 generated by GNU Autoconf 2.64
1680 Copyright (C) 2009 Free Software Foundation, Inc.
1681 This configure script is free software; the Free Software Foundation
1682 gives unlimited permission to copy, distribute and modify it.
1683 _ACEOF
1684 exit
1687 ## ------------------------ ##
1688 ## Autoconf initialization. ##
1689 ## ------------------------ ##
1691 # ac_fn_c_try_compile LINENO
1692 # --------------------------
1693 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1694 ac_fn_c_try_compile ()
1696 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1697 rm -f conftest.$ac_objext
1698 if { { ac_try="$ac_compile"
1699 case "(($ac_try" in
1700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1701 *) ac_try_echo=$ac_try;;
1702 esac
1703 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1704 $as_echo "$ac_try_echo"; } >&5
1705 (eval "$ac_compile") 2>conftest.err
1706 ac_status=$?
1707 if test -s conftest.err; then
1708 grep -v '^ *+' conftest.err >conftest.er1
1709 cat conftest.er1 >&5
1710 mv -f conftest.er1 conftest.err
1712 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1713 test $ac_status = 0; } && {
1714 test -z "$ac_c_werror_flag" ||
1715 test ! -s conftest.err
1716 } && test -s conftest.$ac_objext; then :
1717 ac_retval=0
1718 else
1719 $as_echo "$as_me: failed program was:" >&5
1720 sed 's/^/| /' conftest.$ac_ext >&5
1722 ac_retval=1
1724 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1725 return $ac_retval
1727 } # ac_fn_c_try_compile
1729 # ac_fn_cxx_try_compile LINENO
1730 # ----------------------------
1731 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1732 ac_fn_cxx_try_compile ()
1734 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1735 rm -f conftest.$ac_objext
1736 if { { ac_try="$ac_compile"
1737 case "(($ac_try" in
1738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1739 *) ac_try_echo=$ac_try;;
1740 esac
1741 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1742 $as_echo "$ac_try_echo"; } >&5
1743 (eval "$ac_compile") 2>conftest.err
1744 ac_status=$?
1745 if test -s conftest.err; then
1746 grep -v '^ *+' conftest.err >conftest.er1
1747 cat conftest.er1 >&5
1748 mv -f conftest.er1 conftest.err
1750 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1751 test $ac_status = 0; } && {
1752 test -z "$ac_cxx_werror_flag" ||
1753 test ! -s conftest.err
1754 } && test -s conftest.$ac_objext; then :
1755 ac_retval=0
1756 else
1757 $as_echo "$as_me: failed program was:" >&5
1758 sed 's/^/| /' conftest.$ac_ext >&5
1760 ac_retval=1
1762 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1763 return $ac_retval
1765 } # ac_fn_cxx_try_compile
1767 # ac_fn_c_try_cpp LINENO
1768 # ----------------------
1769 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1770 ac_fn_c_try_cpp ()
1772 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1773 if { { ac_try="$ac_cpp conftest.$ac_ext"
1774 case "(($ac_try" in
1775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1776 *) ac_try_echo=$ac_try;;
1777 esac
1778 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1779 $as_echo "$ac_try_echo"; } >&5
1780 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1781 ac_status=$?
1782 if test -s conftest.err; then
1783 grep -v '^ *+' conftest.err >conftest.er1
1784 cat conftest.er1 >&5
1785 mv -f conftest.er1 conftest.err
1787 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1788 test $ac_status = 0; } >/dev/null && {
1789 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1790 test ! -s conftest.err
1791 }; then :
1792 ac_retval=0
1793 else
1794 $as_echo "$as_me: failed program was:" >&5
1795 sed 's/^/| /' conftest.$ac_ext >&5
1797 ac_retval=1
1799 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1800 return $ac_retval
1802 } # ac_fn_c_try_cpp
1804 # ac_fn_c_try_link LINENO
1805 # -----------------------
1806 # Try to link conftest.$ac_ext, and return whether this succeeded.
1807 ac_fn_c_try_link ()
1809 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1810 rm -f conftest.$ac_objext conftest$ac_exeext
1811 if { { ac_try="$ac_link"
1812 case "(($ac_try" in
1813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1814 *) ac_try_echo=$ac_try;;
1815 esac
1816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_link") 2>conftest.err
1819 ac_status=$?
1820 if test -s conftest.err; then
1821 grep -v '^ *+' conftest.err >conftest.er1
1822 cat conftest.er1 >&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } && {
1827 test -z "$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1829 } && test -s conftest$ac_exeext && {
1830 test "$cross_compiling" = yes ||
1831 $as_test_x conftest$ac_exeext
1832 }; then :
1833 ac_retval=0
1834 else
1835 $as_echo "$as_me: failed program was:" >&5
1836 sed 's/^/| /' conftest.$ac_ext >&5
1838 ac_retval=1
1840 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1841 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1842 # interfere with the next link command; also delete a directory that is
1843 # left behind by Apple's compiler. We do this before executing the actions.
1844 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1846 return $ac_retval
1848 } # ac_fn_c_try_link
1850 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1851 # -------------------------------------------------------
1852 # Tests whether HEADER exists and can be compiled using the include files in
1853 # INCLUDES, setting the cache variable VAR accordingly.
1854 ac_fn_c_check_header_compile ()
1856 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1858 $as_echo_n "checking for $2... " >&6; }
1859 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1860 $as_echo_n "(cached) " >&6
1861 else
1862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1863 /* end confdefs.h. */
1865 #include <$2>
1866 _ACEOF
1867 if ac_fn_c_try_compile "$LINENO"; then :
1868 eval "$3=yes"
1869 else
1870 eval "$3=no"
1872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 eval ac_res=\$$3
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1877 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879 } # ac_fn_c_check_header_compile
1881 # ac_fn_c_try_run LINENO
1882 # ----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1884 # that executables *can* be run.
1885 ac_fn_c_try_run ()
1887 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>&5
1896 ac_status=$?
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1899 { { case "(($ac_try" in
1900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1901 *) ac_try_echo=$ac_try;;
1902 esac
1903 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1904 $as_echo "$ac_try_echo"; } >&5
1905 (eval "$ac_try") 2>&5
1906 ac_status=$?
1907 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1908 test $ac_status = 0; }; }; then :
1909 ac_retval=0
1910 else
1911 $as_echo "$as_me: program exited with status $ac_status" >&5
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1915 ac_retval=$ac_status
1917 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1919 return $ac_retval
1921 } # ac_fn_c_try_run
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func ()
1928 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1932 $as_echo_n "(cached) " >&6
1933 else
1934 if test x$gcc_no_link = xyes; then
1935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1939 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1941 #define $2 innocuous_$2
1943 /* System header to define __stub macros and hopefully few prototypes,
1944 which can conflict with char $2 (); below.
1945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1946 <limits.h> exists even on freestanding compilers. */
1948 #ifdef __STDC__
1949 # include <limits.h>
1950 #else
1951 # include <assert.h>
1952 #endif
1954 #undef $2
1956 /* Override any GCC internal prototype to avoid an error.
1957 Use char because int might match the return type of a GCC
1958 builtin and then its argument prototype would still apply. */
1959 #ifdef __cplusplus
1960 extern "C"
1961 #endif
1962 char $2 ();
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined __stub_$2 || defined __stub___$2
1967 choke me
1968 #endif
1971 main ()
1973 return $2 ();
1975 return 0;
1977 _ACEOF
1978 if ac_fn_c_try_link "$LINENO"; then :
1979 eval "$3=yes"
1980 else
1981 eval "$3=no"
1983 rm -f core conftest.err conftest.$ac_objext \
1984 conftest$ac_exeext conftest.$ac_ext
1986 eval ac_res=\$$3
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1988 $as_echo "$ac_res" >&6; }
1989 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991 } # ac_fn_c_check_func
1993 # ac_fn_cxx_try_cpp LINENO
1994 # ------------------------
1995 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1996 ac_fn_cxx_try_cpp ()
1998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1999 if { { ac_try="$ac_cpp conftest.$ac_ext"
2000 case "(($ac_try" in
2001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2002 *) ac_try_echo=$ac_try;;
2003 esac
2004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2005 $as_echo "$ac_try_echo"; } >&5
2006 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2007 ac_status=$?
2008 if test -s conftest.err; then
2009 grep -v '^ *+' conftest.err >conftest.er1
2010 cat conftest.er1 >&5
2011 mv -f conftest.er1 conftest.err
2013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2014 test $ac_status = 0; } >/dev/null && {
2015 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2016 test ! -s conftest.err
2017 }; then :
2018 ac_retval=0
2019 else
2020 $as_echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 ac_retval=1
2025 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2026 return $ac_retval
2028 } # ac_fn_cxx_try_cpp
2030 # ac_fn_cxx_try_link LINENO
2031 # -------------------------
2032 # Try to link conftest.$ac_ext, and return whether this succeeded.
2033 ac_fn_cxx_try_link ()
2035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2036 rm -f conftest.$ac_objext conftest$ac_exeext
2037 if { { ac_try="$ac_link"
2038 case "(($ac_try" in
2039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2040 *) ac_try_echo=$ac_try;;
2041 esac
2042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2043 $as_echo "$ac_try_echo"; } >&5
2044 (eval "$ac_link") 2>conftest.err
2045 ac_status=$?
2046 if test -s conftest.err; then
2047 grep -v '^ *+' conftest.err >conftest.er1
2048 cat conftest.er1 >&5
2049 mv -f conftest.er1 conftest.err
2051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2052 test $ac_status = 0; } && {
2053 test -z "$ac_cxx_werror_flag" ||
2054 test ! -s conftest.err
2055 } && test -s conftest$ac_exeext && {
2056 test "$cross_compiling" = yes ||
2057 $as_test_x conftest$ac_exeext
2058 }; then :
2059 ac_retval=0
2060 else
2061 $as_echo "$as_me: failed program was:" >&5
2062 sed 's/^/| /' conftest.$ac_ext >&5
2064 ac_retval=1
2066 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2067 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2068 # interfere with the next link command; also delete a directory that is
2069 # left behind by Apple's compiler. We do this before executing the actions.
2070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2071 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2072 return $ac_retval
2074 } # ac_fn_cxx_try_link
2076 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2077 # -------------------------------------------------------
2078 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2079 # the include files in INCLUDES and setting the cache variable VAR
2080 # accordingly.
2081 ac_fn_c_check_header_mongrel ()
2083 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2084 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2086 $as_echo_n "checking for $2... " >&6; }
2087 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2088 $as_echo_n "(cached) " >&6
2090 eval ac_res=\$$3
2091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2092 $as_echo "$ac_res" >&6; }
2093 else
2094 # Is the header compilable?
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2096 $as_echo_n "checking $2 usability... " >&6; }
2097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2098 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_compile "$LINENO"; then :
2103 ac_header_compiler=yes
2104 else
2105 ac_header_compiler=no
2107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2109 $as_echo "$ac_header_compiler" >&6; }
2111 # Is the header present?
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2113 $as_echo_n "checking $2 presence... " >&6; }
2114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2115 /* end confdefs.h. */
2116 #include <$2>
2117 _ACEOF
2118 if ac_fn_c_try_cpp "$LINENO"; then :
2119 ac_header_preproc=yes
2120 else
2121 ac_header_preproc=no
2123 rm -f conftest.err conftest.$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2125 $as_echo "$ac_header_preproc" >&6; }
2127 # So? What about this header?
2128 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2129 yes:no: )
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2131 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2133 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 no:yes:* )
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2137 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2139 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2141 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2143 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2145 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 esac
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2149 $as_echo_n "checking for $2... " >&6; }
2150 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2151 $as_echo_n "(cached) " >&6
2152 else
2153 eval "$3=\$ac_header_compiler"
2155 eval ac_res=\$$3
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2157 $as_echo "$ac_res" >&6; }
2159 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161 } # ac_fn_c_check_header_mongrel
2163 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2164 # ---------------------------------------------------------
2165 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2166 # the include files in INCLUDES and setting the cache variable VAR
2167 # accordingly.
2168 ac_fn_cxx_check_header_mongrel ()
2170 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2173 $as_echo_n "checking for $2... " >&6; }
2174 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2175 $as_echo_n "(cached) " >&6
2177 eval ac_res=\$$3
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 else
2181 # Is the header compilable?
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2183 $as_echo_n "checking $2 usability... " >&6; }
2184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2185 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_compile "$LINENO"; then :
2190 ac_header_compiler=yes
2191 else
2192 ac_header_compiler=no
2194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2196 $as_echo "$ac_header_compiler" >&6; }
2198 # Is the header present?
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2200 $as_echo_n "checking $2 presence... " >&6; }
2201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2202 /* end confdefs.h. */
2203 #include <$2>
2204 _ACEOF
2205 if ac_fn_cxx_try_cpp "$LINENO"; then :
2206 ac_header_preproc=yes
2207 else
2208 ac_header_preproc=no
2210 rm -f conftest.err conftest.$ac_ext
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2212 $as_echo "$ac_header_preproc" >&6; }
2214 # So? What about this header?
2215 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2216 yes:no: )
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2218 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2220 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 no:yes:* )
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2224 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2226 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2228 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2230 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 esac
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2236 $as_echo_n "checking for $2... " >&6; }
2237 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2238 $as_echo_n "(cached) " >&6
2239 else
2240 eval "$3=\$ac_header_compiler"
2242 eval ac_res=\$$3
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2244 $as_echo "$ac_res" >&6; }
2246 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248 } # ac_fn_cxx_check_header_mongrel
2250 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2251 # --------------------------------------------
2252 # Tries to find the compile-time value of EXPR in a program that includes
2253 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2254 # computed
2255 ac_fn_c_compute_int ()
2257 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2258 if test "$cross_compiling" = yes; then
2259 # Depending upon the size, compute the lo and hi bounds.
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2264 main ()
2266 static int test_array [1 - 2 * !(($2) >= 0)];
2267 test_array [0] = 0
2270 return 0;
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_lo=0 ac_mid=0
2275 while :; do
2276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2277 /* end confdefs.h. */
2280 main ()
2282 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2283 test_array [0] = 0
2286 return 0;
2288 _ACEOF
2289 if ac_fn_c_try_compile "$LINENO"; then :
2290 ac_hi=$ac_mid; break
2291 else
2292 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2293 if test $ac_lo -le $ac_mid; then
2294 ac_lo= ac_hi=
2295 break
2297 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2300 done
2301 else
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2306 main ()
2308 static int test_array [1 - 2 * !(($2) < 0)];
2309 test_array [0] = 0
2312 return 0;
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_hi=-1 ac_mid=-1
2317 while :; do
2318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2319 /* end confdefs.h. */
2322 main ()
2324 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2325 test_array [0] = 0
2328 return 0;
2330 _ACEOF
2331 if ac_fn_c_try_compile "$LINENO"; then :
2332 ac_lo=$ac_mid; break
2333 else
2334 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2335 if test $ac_mid -le $ac_hi; then
2336 ac_lo= ac_hi=
2337 break
2339 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 done
2343 else
2344 ac_lo= ac_hi=
2346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 # Binary search between lo and hi bounds.
2350 while test "x$ac_lo" != "x$ac_hi"; do
2351 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2353 /* end confdefs.h. */
2356 main ()
2358 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2359 test_array [0] = 0
2362 return 0;
2364 _ACEOF
2365 if ac_fn_c_try_compile "$LINENO"; then :
2366 ac_hi=$ac_mid
2367 else
2368 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 done
2372 case $ac_lo in #((
2373 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2374 '') ac_retval=1 ;;
2375 esac
2376 else
2377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2378 /* end confdefs.h. */
2380 static long int longval () { return $2; }
2381 static unsigned long int ulongval () { return $2; }
2382 #include <stdio.h>
2383 #include <stdlib.h>
2385 main ()
2388 FILE *f = fopen ("conftest.val", "w");
2389 if (! f)
2390 return 1;
2391 if (($2) < 0)
2393 long int i = longval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%ld", i);
2398 else
2400 unsigned long int i = ulongval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%lu", i);
2405 /* Do not output a trailing newline, as this causes \r\n confusion
2406 on some platforms. */
2407 return ferror (f) || fclose (f) != 0;
2410 return 0;
2412 _ACEOF
2413 if ac_fn_c_try_run "$LINENO"; then :
2414 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2415 else
2416 ac_retval=1
2418 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2419 conftest.$ac_objext conftest.beam conftest.$ac_ext
2420 rm -f conftest.val
2423 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2424 return $ac_retval
2426 } # ac_fn_c_compute_int
2428 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2429 # -------------------------------------------
2430 # Tests whether TYPE exists after having included INCLUDES, setting cache
2431 # variable VAR accordingly.
2432 ac_fn_c_check_type ()
2434 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2436 $as_echo_n "checking for $2... " >&6; }
2437 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2438 $as_echo_n "(cached) " >&6
2439 else
2440 eval "$3=no"
2441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2442 /* end confdefs.h. */
2445 main ()
2447 if (sizeof ($2))
2448 return 0;
2450 return 0;
2452 _ACEOF
2453 if ac_fn_c_try_compile "$LINENO"; then :
2454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2455 /* end confdefs.h. */
2458 main ()
2460 if (sizeof (($2)))
2461 return 0;
2463 return 0;
2465 _ACEOF
2466 if ac_fn_c_try_compile "$LINENO"; then :
2468 else
2469 eval "$3=yes"
2471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 eval ac_res=\$$3
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2477 $as_echo "$ac_res" >&6; }
2478 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2480 } # ac_fn_c_check_type
2481 cat >config.log <<_ACEOF
2482 This file contains any messages produced by compilers while
2483 running configure, to aid debugging if configure makes a mistake.
2485 It was created by package-unused $as_me version-unused, which was
2486 generated by GNU Autoconf 2.64. Invocation command line was
2488 $ $0 $@
2490 _ACEOF
2491 exec 5>>config.log
2493 cat <<_ASUNAME
2494 ## --------- ##
2495 ## Platform. ##
2496 ## --------- ##
2498 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2499 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2500 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2501 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2502 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2504 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2505 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2507 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2508 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2509 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2510 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2511 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2512 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2513 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2515 _ASUNAME
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2518 for as_dir in $PATH
2520 IFS=$as_save_IFS
2521 test -z "$as_dir" && as_dir=.
2522 $as_echo "PATH: $as_dir"
2523 done
2524 IFS=$as_save_IFS
2526 } >&5
2528 cat >&5 <<_ACEOF
2531 ## ----------- ##
2532 ## Core tests. ##
2533 ## ----------- ##
2535 _ACEOF
2538 # Keep a trace of the command line.
2539 # Strip out --no-create and --no-recursion so they do not pile up.
2540 # Strip out --silent because we don't want to record it for future runs.
2541 # Also quote any args containing shell meta-characters.
2542 # Make two passes to allow for proper duplicate-argument suppression.
2543 ac_configure_args=
2544 ac_configure_args0=
2545 ac_configure_args1=
2546 ac_must_keep_next=false
2547 for ac_pass in 1 2
2549 for ac_arg
2551 case $ac_arg in
2552 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2553 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2554 | -silent | --silent | --silen | --sile | --sil)
2555 continue ;;
2556 *\'*)
2557 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2558 esac
2559 case $ac_pass in
2560 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 as_fn_append ac_configure_args1 " '$ac_arg'"
2563 if test $ac_must_keep_next = true; then
2564 ac_must_keep_next=false # Got value, back to normal.
2565 else
2566 case $ac_arg in
2567 *=* | --config-cache | -C | -disable-* | --disable-* \
2568 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2569 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2570 | -with-* | --with-* | -without-* | --without-* | --x)
2571 case "$ac_configure_args0 " in
2572 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2573 esac
2575 -* ) ac_must_keep_next=true ;;
2576 esac
2578 as_fn_append ac_configure_args " '$ac_arg'"
2580 esac
2581 done
2582 done
2583 { ac_configure_args0=; unset ac_configure_args0;}
2584 { ac_configure_args1=; unset ac_configure_args1;}
2586 # When interrupted or exit'd, cleanup temporary files, and complete
2587 # config.log. We remove comments because anyway the quotes in there
2588 # would cause problems or look ugly.
2589 # WARNING: Use '\'' to represent an apostrophe within the trap.
2590 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2591 trap 'exit_status=$?
2592 # Save into config.log some information that might help in debugging.
2594 echo
2596 cat <<\_ASBOX
2597 ## ---------------- ##
2598 ## Cache variables. ##
2599 ## ---------------- ##
2600 _ASBOX
2601 echo
2602 # The following way of writing the cache mishandles newlines in values,
2604 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2605 eval ac_val=\$$ac_var
2606 case $ac_val in #(
2607 *${as_nl}*)
2608 case $ac_var in #(
2609 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2610 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2611 esac
2612 case $ac_var in #(
2613 _ | IFS | as_nl) ;; #(
2614 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2615 *) { eval $ac_var=; unset $ac_var;} ;;
2616 esac ;;
2617 esac
2618 done
2619 (set) 2>&1 |
2620 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2621 *${as_nl}ac_space=\ *)
2622 sed -n \
2623 "s/'\''/'\''\\\\'\'''\''/g;
2624 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2625 ;; #(
2627 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 esac |
2630 sort
2632 echo
2634 cat <<\_ASBOX
2635 ## ----------------- ##
2636 ## Output variables. ##
2637 ## ----------------- ##
2638 _ASBOX
2639 echo
2640 for ac_var in $ac_subst_vars
2642 eval ac_val=\$$ac_var
2643 case $ac_val in
2644 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2645 esac
2646 $as_echo "$ac_var='\''$ac_val'\''"
2647 done | sort
2648 echo
2650 if test -n "$ac_subst_files"; then
2651 cat <<\_ASBOX
2652 ## ------------------- ##
2653 ## File substitutions. ##
2654 ## ------------------- ##
2655 _ASBOX
2656 echo
2657 for ac_var in $ac_subst_files
2659 eval ac_val=\$$ac_var
2660 case $ac_val in
2661 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2662 esac
2663 $as_echo "$ac_var='\''$ac_val'\''"
2664 done | sort
2665 echo
2668 if test -s confdefs.h; then
2669 cat <<\_ASBOX
2670 ## ----------- ##
2671 ## confdefs.h. ##
2672 ## ----------- ##
2673 _ASBOX
2674 echo
2675 cat confdefs.h
2676 echo
2678 test "$ac_signal" != 0 &&
2679 $as_echo "$as_me: caught signal $ac_signal"
2680 $as_echo "$as_me: exit $exit_status"
2681 } >&5
2682 rm -f core *.core core.conftest.* &&
2683 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2684 exit $exit_status
2686 for ac_signal in 1 2 13 15; do
2687 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2688 done
2689 ac_signal=0
2691 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2692 rm -f -r conftest* confdefs.h
2694 $as_echo "/* confdefs.h */" > confdefs.h
2696 # Predefined preprocessor variables.
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_NAME "$PACKAGE_NAME"
2700 _ACEOF
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2704 _ACEOF
2706 cat >>confdefs.h <<_ACEOF
2707 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2708 _ACEOF
2710 cat >>confdefs.h <<_ACEOF
2711 #define PACKAGE_STRING "$PACKAGE_STRING"
2712 _ACEOF
2714 cat >>confdefs.h <<_ACEOF
2715 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2716 _ACEOF
2718 cat >>confdefs.h <<_ACEOF
2719 #define PACKAGE_URL "$PACKAGE_URL"
2720 _ACEOF
2723 # Let the site file select an alternate cache file if it wants to.
2724 # Prefer an explicitly selected file to automatically selected ones.
2725 ac_site_file1=NONE
2726 ac_site_file2=NONE
2727 if test -n "$CONFIG_SITE"; then
2728 ac_site_file1=$CONFIG_SITE
2729 elif test "x$prefix" != xNONE; then
2730 ac_site_file1=$prefix/share/config.site
2731 ac_site_file2=$prefix/etc/config.site
2732 else
2733 ac_site_file1=$ac_default_prefix/share/config.site
2734 ac_site_file2=$ac_default_prefix/etc/config.site
2736 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2738 test "x$ac_site_file" = xNONE && continue
2739 if test -r "$ac_site_file"; then
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2741 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2742 sed 's/^/| /' "$ac_site_file" >&5
2743 . "$ac_site_file"
2745 done
2747 if test -r "$cache_file"; then
2748 # Some versions of bash will fail to source /dev/null (special
2749 # files actually), so we avoid doing that.
2750 if test -f "$cache_file"; then
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2752 $as_echo "$as_me: loading cache $cache_file" >&6;}
2753 case $cache_file in
2754 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2755 *) . "./$cache_file";;
2756 esac
2758 else
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2760 $as_echo "$as_me: creating cache $cache_file" >&6;}
2761 >$cache_file
2764 # Check that the precious variables saved in the cache have kept the same
2765 # value.
2766 ac_cache_corrupted=false
2767 for ac_var in $ac_precious_vars; do
2768 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2769 eval ac_new_set=\$ac_env_${ac_var}_set
2770 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2771 eval ac_new_val=\$ac_env_${ac_var}_value
2772 case $ac_old_set,$ac_new_set in
2773 set,)
2774 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2775 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2776 ac_cache_corrupted=: ;;
2777 ,set)
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2779 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2780 ac_cache_corrupted=: ;;
2781 ,);;
2783 if test "x$ac_old_val" != "x$ac_new_val"; then
2784 # differences in whitespace do not lead to failure.
2785 ac_old_val_w=`echo x $ac_old_val`
2786 ac_new_val_w=`echo x $ac_new_val`
2787 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2789 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2790 ac_cache_corrupted=:
2791 else
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2793 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2794 eval $ac_var=\$ac_old_val
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2797 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2799 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2800 fi;;
2801 esac
2802 # Pass precious variables to config.status.
2803 if test "$ac_new_set" = set; then
2804 case $ac_new_val in
2805 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2806 *) ac_arg=$ac_var=$ac_new_val ;;
2807 esac
2808 case " $ac_configure_args " in
2809 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2810 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2811 esac
2813 done
2814 if $ac_cache_corrupted; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2816 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2818 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2819 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2821 ## -------------------- ##
2822 ## Main body of script. ##
2823 ## -------------------- ##
2825 ac_ext=c
2826 ac_cpp='$CPP $CPPFLAGS'
2827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2836 ac_config_headers="$ac_config_headers config.h"
2839 # This works around the fact that libtool configuration may change LD
2840 # for this particular configuration, but some shells, instead of
2841 # keeping the changes in LD private, export them just because LD is
2842 # exported. Only used at the end of this file.
2843 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2845 # Find the rest of the source tree framework.
2846 # Default to --enable-multilib
2847 # Check whether --enable-multilib was given.
2848 if test "${enable_multilib+set}" = set; then :
2849 enableval=$enable_multilib; case "$enableval" in
2850 yes) multilib=yes ;;
2851 no) multilib=no ;;
2852 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2853 esac
2854 else
2855 multilib=yes
2859 # We may get other options which we leave undocumented:
2860 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2861 # See config-ml.in if you want the gory details.
2863 if test "$srcdir" = "."; then
2864 if test "$with_target_subdir" != "."; then
2865 multi_basedir="$srcdir/$with_multisrctop../.."
2866 else
2867 multi_basedir="$srcdir/$with_multisrctop.."
2869 else
2870 multi_basedir="$srcdir/.."
2874 # Even if the default multilib is not a cross compilation,
2875 # it may be that some of the other multilibs are.
2876 if test $cross_compiling = no && test $multilib = yes \
2877 && test "x${with_multisubdir}" != x ; then
2878 cross_compiling=maybe
2881 ac_config_commands="$ac_config_commands default-1"
2884 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 # You will slowly go insane if you do not grok the following fact: when
2887 # building v3 as part of the compiler, the top-level /target/ becomes the
2888 # library's /host/. configure then causes --target to default to --host,
2889 # exactly like any other package using autoconf. Therefore, 'target' and
2890 # 'host' will always be the same. This makes sense both for native and
2891 # cross compilers, just think about it for a little while. :-)
2893 # Also, if v3 is being configured as part of a cross compiler, the top-level
2894 # configure script will pass the "real" host as $with_cross_host.
2896 # Do not delete or change the following two lines. For why, see
2897 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2898 ac_aux_dir=
2899 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2900 for ac_t in install-sh install.sh shtool; do
2901 if test -f "$ac_dir/$ac_t"; then
2902 ac_aux_dir=$ac_dir
2903 ac_install_sh="$ac_aux_dir/$ac_t -c"
2904 break 2
2906 done
2907 done
2908 if test -z "$ac_aux_dir"; then
2909 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2912 # These three variables are undocumented and unsupported,
2913 # and are intended to be withdrawn in a future Autoconf release.
2914 # They can cause serious problems if a builder's source tree is in a directory
2915 # whose full name contains unusual characters.
2916 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2917 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2918 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2921 # Make sure we can run config.sub.
2922 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2923 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2926 $as_echo_n "checking build system type... " >&6; }
2927 if test "${ac_cv_build+set}" = set; then :
2928 $as_echo_n "(cached) " >&6
2929 else
2930 ac_build_alias=$build_alias
2931 test "x$ac_build_alias" = x &&
2932 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2933 test "x$ac_build_alias" = x &&
2934 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2935 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2936 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2940 $as_echo "$ac_cv_build" >&6; }
2941 case $ac_cv_build in
2942 *-*-*) ;;
2943 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2944 esac
2945 build=$ac_cv_build
2946 ac_save_IFS=$IFS; IFS='-'
2947 set x $ac_cv_build
2948 shift
2949 build_cpu=$1
2950 build_vendor=$2
2951 shift; shift
2952 # Remember, the first character of IFS is used to create $*,
2953 # except with old shells:
2954 build_os=$*
2955 IFS=$ac_save_IFS
2956 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2960 $as_echo_n "checking host system type... " >&6; }
2961 if test "${ac_cv_host+set}" = set; then :
2962 $as_echo_n "(cached) " >&6
2963 else
2964 if test "x$host_alias" = x; then
2965 ac_cv_host=$ac_cv_build
2966 else
2967 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2968 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2973 $as_echo "$ac_cv_host" >&6; }
2974 case $ac_cv_host in
2975 *-*-*) ;;
2976 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2977 esac
2978 host=$ac_cv_host
2979 ac_save_IFS=$IFS; IFS='-'
2980 set x $ac_cv_host
2981 shift
2982 host_cpu=$1
2983 host_vendor=$2
2984 shift; shift
2985 # Remember, the first character of IFS is used to create $*,
2986 # except with old shells:
2987 host_os=$*
2988 IFS=$ac_save_IFS
2989 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2993 $as_echo_n "checking target system type... " >&6; }
2994 if test "${ac_cv_target+set}" = set; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 if test "x$target_alias" = x; then
2998 ac_cv_target=$ac_cv_host
2999 else
3000 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3001 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3006 $as_echo "$ac_cv_target" >&6; }
3007 case $ac_cv_target in
3008 *-*-*) ;;
3009 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3010 esac
3011 target=$ac_cv_target
3012 ac_save_IFS=$IFS; IFS='-'
3013 set x $ac_cv_target
3014 shift
3015 target_cpu=$1
3016 target_vendor=$2
3017 shift; shift
3018 # Remember, the first character of IFS is used to create $*,
3019 # except with old shells:
3020 target_os=$*
3021 IFS=$ac_save_IFS
3022 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3025 # The aliases save the names the user supplied, while $host etc.
3026 # will get canonicalized.
3027 test -n "$target_alias" &&
3028 test "$program_prefix$program_suffix$program_transform_name" = \
3029 NONENONEs,x,x, &&
3030 program_prefix=${target_alias}-
3032 target_alias=${target_alias-$host_alias}
3034 # Handy for debugging:
3035 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3037 if test "$build" != "$host"; then
3038 # We are being configured with some form of cross compiler.
3039 GLIBCXX_IS_NATIVE=false
3040 case "$host","$target" in
3041 # Darwin crosses can use the host system's libraries and headers,
3042 # because of the fat library support. Of course, it must be the
3043 # same version of Darwin on both sides. Allow the user to
3044 # just say --target=foo-darwin without a version number to mean
3045 # "the version on this system".
3046 *-*-darwin*,*-*-darwin*)
3047 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3048 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3049 if test $hostos = $targetos -o $targetos = darwin ; then
3050 GLIBCXX_IS_NATIVE=true
3057 esac
3058 else
3059 GLIBCXX_IS_NATIVE=true
3062 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3063 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3064 # 1.x: minimum required version
3065 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3066 # of other PACKAGE_* variables will, however, and there's nothing
3067 # we can do about that; they come from AC_INIT).
3068 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3069 # file in the top srcdir, etc, etc), so stop complaining.
3070 # no-dependencies: turns off auto dependency generation (just for now)
3071 # no-dist: we don't want 'dist' and related rules.
3072 # -Wall: turns on all automake warnings...
3073 # -Wno-portability: ...except this one, since GNU make is now required.
3074 am__api_version='1.11'
3076 # Find a good install program. We prefer a C program (faster),
3077 # so one script is as good as another. But avoid the broken or
3078 # incompatible versions:
3079 # SysV /etc/install, /usr/sbin/install
3080 # SunOS /usr/etc/install
3081 # IRIX /sbin/install
3082 # AIX /bin/install
3083 # AmigaOS /C/install, which installs bootblocks on floppy discs
3084 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3085 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3086 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3087 # OS/2's system install, which has a completely different semantic
3088 # ./install, which can be erroneously created by make from ./install.sh.
3089 # Reject install programs that cannot install multiple files.
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3091 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3092 if test -z "$INSTALL"; then
3093 if test "${ac_cv_path_install+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3095 else
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 for as_dir in $PATH
3099 IFS=$as_save_IFS
3100 test -z "$as_dir" && as_dir=.
3101 # Account for people who put trailing slashes in PATH elements.
3102 case $as_dir/ in #((
3103 ./ | .// | /[cC]/* | \
3104 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3105 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3106 /usr/ucb/* ) ;;
3108 # OSF1 and SCO ODT 3.0 have their own names for install.
3109 # Don't use installbsd from OSF since it installs stuff as root
3110 # by default.
3111 for ac_prog in ginstall scoinst install; do
3112 for ac_exec_ext in '' $ac_executable_extensions; do
3113 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3114 if test $ac_prog = install &&
3115 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3116 # AIX install. It has an incompatible calling convention.
3118 elif test $ac_prog = install &&
3119 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3120 # program-specific install script used by HP pwplus--don't use.
3122 else
3123 rm -rf conftest.one conftest.two conftest.dir
3124 echo one > conftest.one
3125 echo two > conftest.two
3126 mkdir conftest.dir
3127 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3128 test -s conftest.one && test -s conftest.two &&
3129 test -s conftest.dir/conftest.one &&
3130 test -s conftest.dir/conftest.two
3131 then
3132 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3133 break 3
3137 done
3138 done
3140 esac
3142 done
3143 IFS=$as_save_IFS
3145 rm -rf conftest.one conftest.two conftest.dir
3148 if test "${ac_cv_path_install+set}" = set; then
3149 INSTALL=$ac_cv_path_install
3150 else
3151 # As a last resort, use the slow shell script. Don't cache a
3152 # value for INSTALL within a source directory, because that will
3153 # break other packages using the cache if that directory is
3154 # removed, or if the value is a relative name.
3155 INSTALL=$ac_install_sh
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3159 $as_echo "$INSTALL" >&6; }
3161 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3162 # It thinks the first close brace ends the variable substitution.
3163 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3165 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3167 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3170 $as_echo_n "checking whether build environment is sane... " >&6; }
3171 # Just in case
3172 sleep 1
3173 echo timestamp > conftest.file
3174 # Reject unsafe characters in $srcdir or the absolute working directory
3175 # name. Accept space and tab only in the latter.
3176 am_lf='
3178 case `pwd` in
3179 *[\\\"\#\$\&\'\`$am_lf]*)
3180 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3181 esac
3182 case $srcdir in
3183 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3184 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3185 esac
3187 # Do `set' in a subshell so we don't clobber the current shell's
3188 # arguments. Must try -L first in case configure is actually a
3189 # symlink; some systems play weird games with the mod time of symlinks
3190 # (eg FreeBSD returns the mod time of the symlink's containing
3191 # directory).
3192 if (
3193 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3194 if test "$*" = "X"; then
3195 # -L didn't work.
3196 set X `ls -t "$srcdir/configure" conftest.file`
3198 rm -f conftest.file
3199 if test "$*" != "X $srcdir/configure conftest.file" \
3200 && test "$*" != "X conftest.file $srcdir/configure"; then
3202 # If neither matched, then we have a broken ls. This can happen
3203 # if, for instance, CONFIG_SHELL is bash and it inherits a
3204 # broken ls alias from the environment. This has actually
3205 # happened. Such a system could not be considered "sane".
3206 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3207 alias in your environment" "$LINENO" 5
3210 test "$2" = conftest.file
3212 then
3213 # Ok.
3215 else
3216 as_fn_error "newly created file is older than distributed files!
3217 Check your system clock" "$LINENO" 5
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3220 $as_echo "yes" >&6; }
3221 test "$program_prefix" != NONE &&
3222 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3223 # Use a double $ so make ignores it.
3224 test "$program_suffix" != NONE &&
3225 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3226 # Double any \ or $.
3227 # By default was `s,x,x', remove it if useless.
3228 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3229 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3231 # expand $ac_aux_dir to an absolute path
3232 am_aux_dir=`cd $ac_aux_dir && pwd`
3234 if test x"${MISSING+set}" != xset; then
3235 case $am_aux_dir in
3236 *\ * | *\ *)
3237 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3239 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3240 esac
3242 # Use eval to expand $SHELL
3243 if eval "$MISSING --run true"; then
3244 am_missing_run="$MISSING --run "
3245 else
3246 am_missing_run=
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3248 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3251 if test x"${install_sh}" != xset; then
3252 case $am_aux_dir in
3253 *\ * | *\ *)
3254 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3256 install_sh="\${SHELL} $am_aux_dir/install-sh"
3257 esac
3260 # Installed binaries are usually stripped using `strip' when the user
3261 # run `make install-strip'. However `strip' might not be the right
3262 # tool to use in cross-compilation environments, therefore Automake
3263 # will honor the `STRIP' environment variable to overrule this program.
3264 if test "$cross_compiling" != no; then
3265 if test -n "$ac_tool_prefix"; then
3266 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3267 set dummy ${ac_tool_prefix}strip; ac_word=$2
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3269 $as_echo_n "checking for $ac_word... " >&6; }
3270 if test "${ac_cv_prog_STRIP+set}" = set; then :
3271 $as_echo_n "(cached) " >&6
3272 else
3273 if test -n "$STRIP"; then
3274 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3275 else
3276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3277 for as_dir in $PATH
3279 IFS=$as_save_IFS
3280 test -z "$as_dir" && as_dir=.
3281 for ac_exec_ext in '' $ac_executable_extensions; do
3282 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3283 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 break 2
3287 done
3288 done
3289 IFS=$as_save_IFS
3293 STRIP=$ac_cv_prog_STRIP
3294 if test -n "$STRIP"; then
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3296 $as_echo "$STRIP" >&6; }
3297 else
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3304 if test -z "$ac_cv_prog_STRIP"; then
3305 ac_ct_STRIP=$STRIP
3306 # Extract the first word of "strip", so it can be a program name with args.
3307 set dummy strip; ac_word=$2
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3309 $as_echo_n "checking for $ac_word... " >&6; }
3310 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3311 $as_echo_n "(cached) " >&6
3312 else
3313 if test -n "$ac_ct_STRIP"; then
3314 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3315 else
3316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3317 for as_dir in $PATH
3319 IFS=$as_save_IFS
3320 test -z "$as_dir" && as_dir=.
3321 for ac_exec_ext in '' $ac_executable_extensions; do
3322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3323 ac_cv_prog_ac_ct_STRIP="strip"
3324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3325 break 2
3327 done
3328 done
3329 IFS=$as_save_IFS
3333 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3334 if test -n "$ac_ct_STRIP"; then
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3336 $as_echo "$ac_ct_STRIP" >&6; }
3337 else
3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3339 $as_echo "no" >&6; }
3342 if test "x$ac_ct_STRIP" = x; then
3343 STRIP=":"
3344 else
3345 case $cross_compiling:$ac_tool_warned in
3346 yes:)
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3348 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3349 ac_tool_warned=yes ;;
3350 esac
3351 STRIP=$ac_ct_STRIP
3353 else
3354 STRIP="$ac_cv_prog_STRIP"
3358 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3361 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3362 if test -z "$MKDIR_P"; then
3363 if test "${ac_cv_path_mkdir+set}" = set; then :
3364 $as_echo_n "(cached) " >&6
3365 else
3366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_prog in mkdir gmkdir; do
3372 for ac_exec_ext in '' $ac_executable_extensions; do
3373 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3374 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3375 'mkdir (GNU coreutils) '* | \
3376 'mkdir (coreutils) '* | \
3377 'mkdir (fileutils) '4.1*)
3378 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3379 break 3;;
3380 esac
3381 done
3382 done
3383 done
3384 IFS=$as_save_IFS
3388 if test "${ac_cv_path_mkdir+set}" = set; then
3389 MKDIR_P="$ac_cv_path_mkdir -p"
3390 else
3391 # As a last resort, use the slow shell script. Don't cache a
3392 # value for MKDIR_P within a source directory, because that will
3393 # break other packages using the cache if that directory is
3394 # removed, or if the value is a relative name.
3395 test -d ./--version && rmdir ./--version
3396 MKDIR_P="$ac_install_sh -d"
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3400 $as_echo "$MKDIR_P" >&6; }
3402 mkdir_p="$MKDIR_P"
3403 case $mkdir_p in
3404 [\\/$]* | ?:[\\/]*) ;;
3405 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3406 esac
3408 for ac_prog in gawk mawk nawk awk
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then :
3415 $as_echo_n "(cached) " >&6
3416 else
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3419 else
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421 for as_dir in $PATH
3423 IFS=$as_save_IFS
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3429 break 2
3431 done
3432 done
3433 IFS=$as_save_IFS
3437 AWK=$ac_cv_prog_AWK
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$AWK" && break
3448 done
3450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3451 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3452 set x ${MAKE-make}
3453 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3454 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3455 $as_echo_n "(cached) " >&6
3456 else
3457 cat >conftest.make <<\_ACEOF
3458 SHELL = /bin/sh
3459 all:
3460 @echo '@@@%%%=$(MAKE)=@@@%%%'
3461 _ACEOF
3462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3463 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3464 *@@@%%%=?*=@@@%%%*)
3465 eval ac_cv_prog_make_${ac_make}_set=yes;;
3467 eval ac_cv_prog_make_${ac_make}_set=no;;
3468 esac
3469 rm -f conftest.make
3471 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3473 $as_echo "yes" >&6; }
3474 SET_MAKE=
3475 else
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3477 $as_echo "no" >&6; }
3478 SET_MAKE="MAKE=${MAKE-make}"
3481 rm -rf .tst 2>/dev/null
3482 mkdir .tst 2>/dev/null
3483 if test -d .tst; then
3484 am__leading_dot=.
3485 else
3486 am__leading_dot=_
3488 rmdir .tst 2>/dev/null
3490 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3491 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3492 # is not polluted with repeated "-I."
3493 am__isrc=' -I$(srcdir)'
3494 # test to see if srcdir already configured
3495 if test -f $srcdir/config.status; then
3496 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3500 # test whether we have cygpath
3501 if test -z "$CYGPATH_W"; then
3502 if (cygpath --version) >/dev/null 2>/dev/null; then
3503 CYGPATH_W='cygpath -w'
3504 else
3505 CYGPATH_W=echo
3510 # Define the identity of the package.
3511 PACKAGE='libstdc++'
3512 VERSION='version-unused'
3515 # Some tools Automake needs.
3517 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3520 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3523 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3526 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3529 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3531 # We need awk for the "check" target. The system "awk" is bad on
3532 # some platforms.
3533 # Always define AMTAR for backward compatibility.
3535 AMTAR=${AMTAR-"${am_missing_run}tar"}
3537 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3546 # -fno-builtin must be present here so that a non-conflicting form of
3547 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3549 save_CXXFLAGS="$CXXFLAGS"
3550 CXXFLAGS="$CXXFLAGS -fno-builtin"
3551 ac_ext=c
3552 ac_cpp='$CPP $CPPFLAGS'
3553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3556 if test -n "$ac_tool_prefix"; then
3557 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3558 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3560 $as_echo_n "checking for $ac_word... " >&6; }
3561 if test "${ac_cv_prog_CC+set}" = set; then :
3562 $as_echo_n "(cached) " >&6
3563 else
3564 if test -n "$CC"; then
3565 ac_cv_prog_CC="$CC" # Let the user override the test.
3566 else
3567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3568 for as_dir in $PATH
3570 IFS=$as_save_IFS
3571 test -z "$as_dir" && as_dir=.
3572 for ac_exec_ext in '' $ac_executable_extensions; do
3573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3574 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3576 break 2
3578 done
3579 done
3580 IFS=$as_save_IFS
3584 CC=$ac_cv_prog_CC
3585 if test -n "$CC"; then
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3587 $as_echo "$CC" >&6; }
3588 else
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3590 $as_echo "no" >&6; }
3595 if test -z "$ac_cv_prog_CC"; then
3596 ac_ct_CC=$CC
3597 # Extract the first word of "gcc", so it can be a program name with args.
3598 set dummy gcc; ac_word=$2
3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3600 $as_echo_n "checking for $ac_word... " >&6; }
3601 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3602 $as_echo_n "(cached) " >&6
3603 else
3604 if test -n "$ac_ct_CC"; then
3605 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3606 else
3607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3608 for as_dir in $PATH
3610 IFS=$as_save_IFS
3611 test -z "$as_dir" && as_dir=.
3612 for ac_exec_ext in '' $ac_executable_extensions; do
3613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3614 ac_cv_prog_ac_ct_CC="gcc"
3615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3616 break 2
3618 done
3619 done
3620 IFS=$as_save_IFS
3624 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3625 if test -n "$ac_ct_CC"; then
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3627 $as_echo "$ac_ct_CC" >&6; }
3628 else
3629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3630 $as_echo "no" >&6; }
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3644 else
3645 CC="$ac_cv_prog_CC"
3648 if test -z "$CC"; then
3649 if test -n "$ac_tool_prefix"; then
3650 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3651 set dummy ${ac_tool_prefix}cc; ac_word=$2
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3653 $as_echo_n "checking for $ac_word... " >&6; }
3654 if test "${ac_cv_prog_CC+set}" = set; then :
3655 $as_echo_n "(cached) " >&6
3656 else
3657 if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 ac_cv_prog_CC="${ac_tool_prefix}cc"
3668 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3669 break 2
3671 done
3672 done
3673 IFS=$as_save_IFS
3677 CC=$ac_cv_prog_CC
3678 if test -n "$CC"; then
3679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3680 $as_echo "$CC" >&6; }
3681 else
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3683 $as_echo "no" >&6; }
3689 if test -z "$CC"; then
3690 # Extract the first word of "cc", so it can be a program name with args.
3691 set dummy cc; ac_word=$2
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3693 $as_echo_n "checking for $ac_word... " >&6; }
3694 if test "${ac_cv_prog_CC+set}" = set; then :
3695 $as_echo_n "(cached) " >&6
3696 else
3697 if test -n "$CC"; then
3698 ac_cv_prog_CC="$CC" # Let the user override the test.
3699 else
3700 ac_prog_rejected=no
3701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 for as_dir in $PATH
3704 IFS=$as_save_IFS
3705 test -z "$as_dir" && as_dir=.
3706 for ac_exec_ext in '' $ac_executable_extensions; do
3707 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3708 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3709 ac_prog_rejected=yes
3710 continue
3712 ac_cv_prog_CC="cc"
3713 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3714 break 2
3716 done
3717 done
3718 IFS=$as_save_IFS
3720 if test $ac_prog_rejected = yes; then
3721 # We found a bogon in the path, so make sure we never use it.
3722 set dummy $ac_cv_prog_CC
3723 shift
3724 if test $# != 0; then
3725 # We chose a different compiler from the bogus one.
3726 # However, it has the same basename, so the bogon will be chosen
3727 # first if we set CC to just the basename; use the full file name.
3728 shift
3729 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3734 CC=$ac_cv_prog_CC
3735 if test -n "$CC"; then
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3737 $as_echo "$CC" >&6; }
3738 else
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3740 $as_echo "no" >&6; }
3745 if test -z "$CC"; then
3746 if test -n "$ac_tool_prefix"; then
3747 for ac_prog in cl.exe
3749 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3750 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3752 $as_echo_n "checking for $ac_word... " >&6; }
3753 if test "${ac_cv_prog_CC+set}" = set; then :
3754 $as_echo_n "(cached) " >&6
3755 else
3756 if test -n "$CC"; then
3757 ac_cv_prog_CC="$CC" # Let the user override the test.
3758 else
3759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3760 for as_dir in $PATH
3762 IFS=$as_save_IFS
3763 test -z "$as_dir" && as_dir=.
3764 for ac_exec_ext in '' $ac_executable_extensions; do
3765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3766 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3767 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 break 2
3770 done
3771 done
3772 IFS=$as_save_IFS
3776 CC=$ac_cv_prog_CC
3777 if test -n "$CC"; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3779 $as_echo "$CC" >&6; }
3780 else
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3782 $as_echo "no" >&6; }
3786 test -n "$CC" && break
3787 done
3789 if test -z "$CC"; then
3790 ac_ct_CC=$CC
3791 for ac_prog in cl.exe
3793 # Extract the first word of "$ac_prog", so it can be a program name with args.
3794 set dummy $ac_prog; ac_word=$2
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3796 $as_echo_n "checking for $ac_word... " >&6; }
3797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3798 $as_echo_n "(cached) " >&6
3799 else
3800 if test -n "$ac_ct_CC"; then
3801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3802 else
3803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3804 for as_dir in $PATH
3806 IFS=$as_save_IFS
3807 test -z "$as_dir" && as_dir=.
3808 for ac_exec_ext in '' $ac_executable_extensions; do
3809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3810 ac_cv_prog_ac_ct_CC="$ac_prog"
3811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 break 2
3814 done
3815 done
3816 IFS=$as_save_IFS
3820 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3821 if test -n "$ac_ct_CC"; then
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3823 $as_echo "$ac_ct_CC" >&6; }
3824 else
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3826 $as_echo "no" >&6; }
3830 test -n "$ac_ct_CC" && break
3831 done
3833 if test "x$ac_ct_CC" = x; then
3834 CC=""
3835 else
3836 case $cross_compiling:$ac_tool_warned in
3837 yes:)
3838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3839 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3840 ac_tool_warned=yes ;;
3841 esac
3842 CC=$ac_ct_CC
3849 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3850 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3851 as_fn_error "no acceptable C compiler found in \$PATH
3852 See \`config.log' for more details." "$LINENO" 5; }
3854 # Provide some information about the compiler.
3855 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3856 set X $ac_compile
3857 ac_compiler=$2
3858 for ac_option in --version -v -V -qversion; do
3859 { { ac_try="$ac_compiler $ac_option >&5"
3860 case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863 esac
3864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3865 $as_echo "$ac_try_echo"; } >&5
3866 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3867 ac_status=$?
3868 if test -s conftest.err; then
3869 sed '10a\
3870 ... rest of stderr output deleted ...
3871 10q' conftest.err >conftest.er1
3872 cat conftest.er1 >&5
3873 rm -f conftest.er1 conftest.err
3875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3876 test $ac_status = 0; }
3877 done
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3883 main ()
3887 return 0;
3889 _ACEOF
3890 # FIXME: Cleanup?
3891 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3892 (eval $ac_link) 2>&5
3893 ac_status=$?
3894 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3895 test $ac_status = 0; }; then :
3896 gcc_no_link=no
3897 else
3898 gcc_no_link=yes
3900 if test x$gcc_no_link = xyes; then
3901 # Setting cross_compile will disable run tests; it will
3902 # also disable AC_CHECK_FILE but that's generally
3903 # correct if we can't link.
3904 cross_compiling=yes
3905 EXEEXT=
3906 else
3907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3908 /* end confdefs.h. */
3911 main ()
3915 return 0;
3917 _ACEOF
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3920 # Try to create an executable without -o first, disregard a.out.
3921 # It will help us diagnose broken compilers, and finding out an intuition
3922 # of exeext.
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3924 $as_echo_n "checking for C compiler default output file name... " >&6; }
3925 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3927 # The possible output files:
3928 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3930 ac_rmfiles=
3931 for ac_file in $ac_files
3933 case $ac_file in
3934 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3935 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3936 esac
3937 done
3938 rm -f $ac_rmfiles
3940 if { { ac_try="$ac_link_default"
3941 case "(($ac_try" in
3942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3943 *) ac_try_echo=$ac_try;;
3944 esac
3945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3946 $as_echo "$ac_try_echo"; } >&5
3947 (eval "$ac_link_default") 2>&5
3948 ac_status=$?
3949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3950 test $ac_status = 0; }; then :
3951 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3952 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3953 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3954 # so that the user can short-circuit this test for compilers unknown to
3955 # Autoconf.
3956 for ac_file in $ac_files ''
3958 test -f "$ac_file" || continue
3959 case $ac_file in
3960 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3962 [ab].out )
3963 # We found the default executable, but exeext='' is most
3964 # certainly right.
3965 break;;
3966 *.* )
3967 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3968 then :; else
3969 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 # We set ac_cv_exeext here because the later test for it is not
3972 # safe: cross compilers may not add the suffix if given an `-o'
3973 # argument, so we may need to know it at that point already.
3974 # Even if this section looks crufty: it has the advantage of
3975 # actually working.
3976 break;;
3978 break;;
3979 esac
3980 done
3981 test "$ac_cv_exeext" = no && ac_cv_exeext=
3983 else
3984 ac_file=''
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3987 $as_echo "$ac_file" >&6; }
3988 if test -z "$ac_file"; then :
3989 $as_echo "$as_me: failed program was:" >&5
3990 sed 's/^/| /' conftest.$ac_ext >&5
3992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3994 { as_fn_set_status 77
3995 as_fn_error "C compiler cannot create executables
3996 See \`config.log' for more details." "$LINENO" 5; }; }
3998 ac_exeext=$ac_cv_exeext
4000 # Check that the compiler produces executables we can run. If not, either
4001 # the compiler is broken, or we cross compile.
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4003 $as_echo_n "checking whether the C compiler works... " >&6; }
4004 # If not cross compiling, check that we can run a simple program.
4005 if test "$cross_compiling" != yes; then
4006 if { ac_try='./$ac_file'
4007 { { case "(($ac_try" in
4008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4009 *) ac_try_echo=$ac_try;;
4010 esac
4011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4012 $as_echo "$ac_try_echo"; } >&5
4013 (eval "$ac_try") 2>&5
4014 ac_status=$?
4015 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4016 test $ac_status = 0; }; }; then
4017 cross_compiling=no
4018 else
4019 if test "$cross_compiling" = maybe; then
4020 cross_compiling=yes
4021 else
4022 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4023 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4024 as_fn_error "cannot run C compiled programs.
4025 If you meant to cross compile, use \`--host'.
4026 See \`config.log' for more details." "$LINENO" 5; }
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4031 $as_echo "yes" >&6; }
4033 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4034 ac_clean_files=$ac_clean_files_save
4035 # Check that the compiler produces executables we can run. If not, either
4036 # the compiler is broken, or we cross compile.
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4038 $as_echo_n "checking whether we are cross compiling... " >&6; }
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4040 $as_echo "$cross_compiling" >&6; }
4042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4043 $as_echo_n "checking for suffix of executables... " >&6; }
4044 if { { ac_try="$ac_link"
4045 case "(($ac_try" in
4046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4047 *) ac_try_echo=$ac_try;;
4048 esac
4049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4050 $as_echo "$ac_try_echo"; } >&5
4051 (eval "$ac_link") 2>&5
4052 ac_status=$?
4053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4054 test $ac_status = 0; }; then :
4055 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4056 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4057 # work properly (i.e., refer to `conftest.exe'), while it won't with
4058 # `rm'.
4059 for ac_file in conftest.exe conftest conftest.*; do
4060 test -f "$ac_file" || continue
4061 case $ac_file in
4062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4063 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4064 break;;
4065 * ) break;;
4066 esac
4067 done
4068 else
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 as_fn_error "cannot compute suffix of executables: cannot compile and link
4072 See \`config.log' for more details." "$LINENO" 5; }
4074 rm -f conftest$ac_cv_exeext
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4076 $as_echo "$ac_cv_exeext" >&6; }
4078 rm -f conftest.$ac_ext
4079 EXEEXT=$ac_cv_exeext
4080 ac_exeext=$EXEEXT
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4083 $as_echo_n "checking for suffix of object files... " >&6; }
4084 if test "${ac_cv_objext+set}" = set; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4091 main ()
4095 return 0;
4097 _ACEOF
4098 rm -f conftest.o conftest.obj
4099 if { { ac_try="$ac_compile"
4100 case "(($ac_try" in
4101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4102 *) ac_try_echo=$ac_try;;
4103 esac
4104 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4105 $as_echo "$ac_try_echo"; } >&5
4106 (eval "$ac_compile") 2>&5
4107 ac_status=$?
4108 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4109 test $ac_status = 0; }; then :
4110 for ac_file in conftest.o conftest.obj conftest.*; do
4111 test -f "$ac_file" || continue;
4112 case $ac_file in
4113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4114 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4115 break;;
4116 esac
4117 done
4118 else
4119 $as_echo "$as_me: failed program was:" >&5
4120 sed 's/^/| /' conftest.$ac_ext >&5
4122 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error "cannot compute suffix of object files: cannot compile
4125 See \`config.log' for more details." "$LINENO" 5; }
4127 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4130 $as_echo "$ac_cv_objext" >&6; }
4131 OBJEXT=$ac_cv_objext
4132 ac_objext=$OBJEXT
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4134 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4135 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4144 #ifndef __GNUC__
4145 choke me
4146 #endif
4149 return 0;
4151 _ACEOF
4152 if ac_fn_c_try_compile "$LINENO"; then :
4153 ac_compiler_gnu=yes
4154 else
4155 ac_compiler_gnu=no
4157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4158 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4162 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4163 if test $ac_compiler_gnu = yes; then
4164 GCC=yes
4165 else
4166 GCC=
4168 ac_test_CFLAGS=${CFLAGS+set}
4169 ac_save_CFLAGS=$CFLAGS
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4171 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4172 if test "${ac_cv_prog_cc_g+set}" = set; then :
4173 $as_echo_n "(cached) " >&6
4174 else
4175 ac_save_c_werror_flag=$ac_c_werror_flag
4176 ac_c_werror_flag=yes
4177 ac_cv_prog_cc_g=no
4178 CFLAGS="-g"
4179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4183 main ()
4187 return 0;
4189 _ACEOF
4190 if ac_fn_c_try_compile "$LINENO"; then :
4191 ac_cv_prog_cc_g=yes
4192 else
4193 CFLAGS=""
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4198 main ()
4202 return 0;
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4207 else
4208 ac_c_werror_flag=$ac_save_c_werror_flag
4209 CFLAGS="-g"
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4214 main ()
4218 return 0;
4220 _ACEOF
4221 if ac_fn_c_try_compile "$LINENO"; then :
4222 ac_cv_prog_cc_g=yes
4224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4229 ac_c_werror_flag=$ac_save_c_werror_flag
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4232 $as_echo "$ac_cv_prog_cc_g" >&6; }
4233 if test "$ac_test_CFLAGS" = set; then
4234 CFLAGS=$ac_save_CFLAGS
4235 elif test $ac_cv_prog_cc_g = yes; then
4236 if test "$GCC" = yes; then
4237 CFLAGS="-g -O2"
4238 else
4239 CFLAGS="-g"
4241 else
4242 if test "$GCC" = yes; then
4243 CFLAGS="-O2"
4244 else
4245 CFLAGS=
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4249 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4250 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_cv_prog_cc_c89=no
4254 ac_save_CC=$CC
4255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4256 /* end confdefs.h. */
4257 #include <stdarg.h>
4258 #include <stdio.h>
4259 #include <sys/types.h>
4260 #include <sys/stat.h>
4261 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4262 struct buf { int x; };
4263 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4264 static char *e (p, i)
4265 char **p;
4266 int i;
4268 return p[i];
4270 static char *f (char * (*g) (char **, int), char **p, ...)
4272 char *s;
4273 va_list v;
4274 va_start (v,p);
4275 s = g (p, va_arg (v,int));
4276 va_end (v);
4277 return s;
4280 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4281 function prototypes and stuff, but not '\xHH' hex character constants.
4282 These don't provoke an error unfortunately, instead are silently treated
4283 as 'x'. The following induces an error, until -std is added to get
4284 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4285 array size at least. It's necessary to write '\x00'==0 to get something
4286 that's true only with -std. */
4287 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4290 inside strings and character constants. */
4291 #define FOO(x) 'x'
4292 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294 int test (int i, double x);
4295 struct s1 {int (*f) (int a);};
4296 struct s2 {int (*f) (double a);};
4297 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4298 int argc;
4299 char **argv;
4301 main ()
4303 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 return 0;
4307 _ACEOF
4308 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4309 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 CC="$ac_save_CC $ac_arg"
4312 if ac_fn_c_try_compile "$LINENO"; then :
4313 ac_cv_prog_cc_c89=$ac_arg
4315 rm -f core conftest.err conftest.$ac_objext
4316 test "x$ac_cv_prog_cc_c89" != "xno" && break
4317 done
4318 rm -f conftest.$ac_ext
4319 CC=$ac_save_CC
4322 # AC_CACHE_VAL
4323 case "x$ac_cv_prog_cc_c89" in
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4326 $as_echo "none needed" >&6; } ;;
4327 xno)
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4329 $as_echo "unsupported" >&6; } ;;
4331 CC="$CC $ac_cv_prog_cc_c89"
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4333 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4334 esac
4335 if test "x$ac_cv_prog_cc_c89" != xno; then :
4339 ac_ext=c
4340 ac_cpp='$CPP $CPPFLAGS'
4341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345 ac_ext=cpp
4346 ac_cpp='$CXXCPP $CPPFLAGS'
4347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4350 if test -z "$CXX"; then
4351 if test -n "$CCC"; then
4352 CXX=$CCC
4353 else
4354 if test -n "$ac_tool_prefix"; then
4355 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4358 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4360 $as_echo_n "checking for $ac_word... " >&6; }
4361 if test "${ac_cv_prog_CXX+set}" = set; then :
4362 $as_echo_n "(cached) " >&6
4363 else
4364 if test -n "$CXX"; then
4365 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4366 else
4367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4368 for as_dir in $PATH
4370 IFS=$as_save_IFS
4371 test -z "$as_dir" && as_dir=.
4372 for ac_exec_ext in '' $ac_executable_extensions; do
4373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4374 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 break 2
4378 done
4379 done
4380 IFS=$as_save_IFS
4384 CXX=$ac_cv_prog_CXX
4385 if test -n "$CXX"; then
4386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4387 $as_echo "$CXX" >&6; }
4388 else
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4390 $as_echo "no" >&6; }
4394 test -n "$CXX" && break
4395 done
4397 if test -z "$CXX"; then
4398 ac_ct_CXX=$CXX
4399 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 # Extract the first word of "$ac_prog", so it can be a program name with args.
4402 set dummy $ac_prog; ac_word=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4407 else
4408 if test -n "$ac_ct_CXX"; then
4409 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4410 else
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH
4414 IFS=$as_save_IFS
4415 test -z "$as_dir" && as_dir=.
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_ac_ct_CXX="$ac_prog"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 break 2
4422 done
4423 done
4424 IFS=$as_save_IFS
4428 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4429 if test -n "$ac_ct_CXX"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4431 $as_echo "$ac_ct_CXX" >&6; }
4432 else
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4438 test -n "$ac_ct_CXX" && break
4439 done
4441 if test "x$ac_ct_CXX" = x; then
4442 CXX="g++"
4443 else
4444 case $cross_compiling:$ac_tool_warned in
4445 yes:)
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4447 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4448 ac_tool_warned=yes ;;
4449 esac
4450 CXX=$ac_ct_CXX
4456 # Provide some information about the compiler.
4457 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4458 set X $ac_compile
4459 ac_compiler=$2
4460 for ac_option in --version -v -V -qversion; do
4461 { { ac_try="$ac_compiler $ac_option >&5"
4462 case "(($ac_try" in
4463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4464 *) ac_try_echo=$ac_try;;
4465 esac
4466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4467 $as_echo "$ac_try_echo"; } >&5
4468 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4469 ac_status=$?
4470 if test -s conftest.err; then
4471 sed '10a\
4472 ... rest of stderr output deleted ...
4473 10q' conftest.err >conftest.er1
4474 cat conftest.er1 >&5
4475 rm -f conftest.er1 conftest.err
4477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4478 test $ac_status = 0; }
4479 done
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4482 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4483 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4492 #ifndef __GNUC__
4493 choke me
4494 #endif
4497 return 0;
4499 _ACEOF
4500 if ac_fn_cxx_try_compile "$LINENO"; then :
4501 ac_compiler_gnu=yes
4502 else
4503 ac_compiler_gnu=no
4505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4506 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4510 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4511 if test $ac_compiler_gnu = yes; then
4512 GXX=yes
4513 else
4514 GXX=
4516 ac_test_CXXFLAGS=${CXXFLAGS+set}
4517 ac_save_CXXFLAGS=$CXXFLAGS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4519 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4520 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4521 $as_echo_n "(cached) " >&6
4522 else
4523 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4524 ac_cxx_werror_flag=yes
4525 ac_cv_prog_cxx_g=no
4526 CXXFLAGS="-g"
4527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 if ac_fn_cxx_try_compile "$LINENO"; then :
4539 ac_cv_prog_cxx_g=yes
4540 else
4541 CXXFLAGS=""
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4546 main ()
4550 return 0;
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4555 else
4556 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4557 CXXFLAGS="-g"
4558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4559 /* end confdefs.h. */
4562 main ()
4566 return 0;
4568 _ACEOF
4569 if ac_fn_cxx_try_compile "$LINENO"; then :
4570 ac_cv_prog_cxx_g=yes
4572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4577 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4580 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4581 if test "$ac_test_CXXFLAGS" = set; then
4582 CXXFLAGS=$ac_save_CXXFLAGS
4583 elif test $ac_cv_prog_cxx_g = yes; then
4584 if test "$GXX" = yes; then
4585 CXXFLAGS="-g -O2"
4586 else
4587 CXXFLAGS="-g"
4589 else
4590 if test "$GXX" = yes; then
4591 CXXFLAGS="-O2"
4592 else
4593 CXXFLAGS=
4596 ac_ext=c
4597 ac_cpp='$CPP $CPPFLAGS'
4598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602 CXXFLAGS="$save_CXXFLAGS"
4604 # Runs configure.host, and assorted other critical bits. Sets
4605 # up critical shell variables.
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4613 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4614 # On Suns, sometimes $CPP names a directory.
4615 if test -n "$CPP" && test -d "$CPP"; then
4616 CPP=
4618 if test -z "$CPP"; then
4619 if test "${ac_cv_prog_CPP+set}" = set; then :
4620 $as_echo_n "(cached) " >&6
4621 else
4622 # Double quotes because CPP needs to be expanded
4623 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 ac_preproc_ok=false
4626 for ac_c_preproc_warn_flag in '' yes
4628 # Use a header file that comes with gcc, so configuring glibc
4629 # with a fresh cross-compiler works.
4630 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4631 # <limits.h> exists even on freestanding compilers.
4632 # On the NeXT, cc -E runs the code through the compiler's parser,
4633 # not just through cpp. "Syntax error" is here to catch this case.
4634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4635 /* end confdefs.h. */
4636 #ifdef __STDC__
4637 # include <limits.h>
4638 #else
4639 # include <assert.h>
4640 #endif
4641 Syntax error
4642 _ACEOF
4643 if ac_fn_c_try_cpp "$LINENO"; then :
4645 else
4646 # Broken: fails on valid input.
4647 continue
4649 rm -f conftest.err conftest.$ac_ext
4651 # OK, works on sane cases. Now check whether nonexistent headers
4652 # can be detected and how.
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4655 #include <ac_nonexistent.h>
4656 _ACEOF
4657 if ac_fn_c_try_cpp "$LINENO"; then :
4658 # Broken: success on invalid input.
4659 continue
4660 else
4661 # Passes both tests.
4662 ac_preproc_ok=:
4663 break
4665 rm -f conftest.err conftest.$ac_ext
4667 done
4668 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4669 rm -f conftest.err conftest.$ac_ext
4670 if $ac_preproc_ok; then :
4671 break
4674 done
4675 ac_cv_prog_CPP=$CPP
4678 CPP=$ac_cv_prog_CPP
4679 else
4680 ac_cv_prog_CPP=$CPP
4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4683 $as_echo "$CPP" >&6; }
4684 ac_preproc_ok=false
4685 for ac_c_preproc_warn_flag in '' yes
4687 # Use a header file that comes with gcc, so configuring glibc
4688 # with a fresh cross-compiler works.
4689 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4690 # <limits.h> exists even on freestanding compilers.
4691 # On the NeXT, cc -E runs the code through the compiler's parser,
4692 # not just through cpp. "Syntax error" is here to catch this case.
4693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4694 /* end confdefs.h. */
4695 #ifdef __STDC__
4696 # include <limits.h>
4697 #else
4698 # include <assert.h>
4699 #endif
4700 Syntax error
4701 _ACEOF
4702 if ac_fn_c_try_cpp "$LINENO"; then :
4704 else
4705 # Broken: fails on valid input.
4706 continue
4708 rm -f conftest.err conftest.$ac_ext
4710 # OK, works on sane cases. Now check whether nonexistent headers
4711 # can be detected and how.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #include <ac_nonexistent.h>
4715 _ACEOF
4716 if ac_fn_c_try_cpp "$LINENO"; then :
4717 # Broken: success on invalid input.
4718 continue
4719 else
4720 # Passes both tests.
4721 ac_preproc_ok=:
4722 break
4724 rm -f conftest.err conftest.$ac_ext
4726 done
4727 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4728 rm -f conftest.err conftest.$ac_ext
4729 if $ac_preproc_ok; then :
4731 else
4732 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4733 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4734 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4735 See \`config.log' for more details." "$LINENO" 5; }
4738 ac_ext=c
4739 ac_cpp='$CPP $CPPFLAGS'
4740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4746 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4747 if test "${ac_cv_path_GREP+set}" = set; then :
4748 $as_echo_n "(cached) " >&6
4749 else
4750 if test -z "$GREP"; then
4751 ac_path_GREP_found=false
4752 # Loop through the user's path and test for each of PROGNAME-LIST
4753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4754 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 IFS=$as_save_IFS
4757 test -z "$as_dir" && as_dir=.
4758 for ac_prog in grep ggrep; do
4759 for ac_exec_ext in '' $ac_executable_extensions; do
4760 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4761 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4762 # Check for GNU ac_path_GREP and select it if it is found.
4763 # Check for GNU $ac_path_GREP
4764 case `"$ac_path_GREP" --version 2>&1` in
4765 *GNU*)
4766 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 ac_count=0
4769 $as_echo_n 0123456789 >"conftest.in"
4770 while :
4772 cat "conftest.in" "conftest.in" >"conftest.tmp"
4773 mv "conftest.tmp" "conftest.in"
4774 cp "conftest.in" "conftest.nl"
4775 $as_echo 'GREP' >> "conftest.nl"
4776 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4777 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4778 as_fn_arith $ac_count + 1 && ac_count=$as_val
4779 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4780 # Best one so far, save it but keep looking for a better one
4781 ac_cv_path_GREP="$ac_path_GREP"
4782 ac_path_GREP_max=$ac_count
4784 # 10*(2^10) chars as input seems more than enough
4785 test $ac_count -gt 10 && break
4786 done
4787 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4788 esac
4790 $ac_path_GREP_found && break 3
4791 done
4792 done
4793 done
4794 IFS=$as_save_IFS
4795 if test -z "$ac_cv_path_GREP"; then
4796 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 else
4799 ac_cv_path_GREP=$GREP
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4804 $as_echo "$ac_cv_path_GREP" >&6; }
4805 GREP="$ac_cv_path_GREP"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4809 $as_echo_n "checking for egrep... " >&6; }
4810 if test "${ac_cv_path_EGREP+set}" = set; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4814 then ac_cv_path_EGREP="$GREP -E"
4815 else
4816 if test -z "$EGREP"; then
4817 ac_path_EGREP_found=false
4818 # Loop through the user's path and test for each of PROGNAME-LIST
4819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4820 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 IFS=$as_save_IFS
4823 test -z "$as_dir" && as_dir=.
4824 for ac_prog in egrep; do
4825 for ac_exec_ext in '' $ac_executable_extensions; do
4826 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4827 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4828 # Check for GNU ac_path_EGREP and select it if it is found.
4829 # Check for GNU $ac_path_EGREP
4830 case `"$ac_path_EGREP" --version 2>&1` in
4831 *GNU*)
4832 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 ac_count=0
4835 $as_echo_n 0123456789 >"conftest.in"
4836 while :
4838 cat "conftest.in" "conftest.in" >"conftest.tmp"
4839 mv "conftest.tmp" "conftest.in"
4840 cp "conftest.in" "conftest.nl"
4841 $as_echo 'EGREP' >> "conftest.nl"
4842 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4843 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4844 as_fn_arith $ac_count + 1 && ac_count=$as_val
4845 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4846 # Best one so far, save it but keep looking for a better one
4847 ac_cv_path_EGREP="$ac_path_EGREP"
4848 ac_path_EGREP_max=$ac_count
4850 # 10*(2^10) chars as input seems more than enough
4851 test $ac_count -gt 10 && break
4852 done
4853 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4854 esac
4856 $ac_path_EGREP_found && break 3
4857 done
4858 done
4859 done
4860 IFS=$as_save_IFS
4861 if test -z "$ac_cv_path_EGREP"; then
4862 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 else
4865 ac_cv_path_EGREP=$EGREP
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4871 $as_echo "$ac_cv_path_EGREP" >&6; }
4872 EGREP="$ac_cv_path_EGREP"
4876 # Keep these sync'd with the list in Makefile.am. The first provides an
4877 # expandable list at autoconf time; the second provides an expandable list
4878 # (i.e., shell variable) at configure time.
4880 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4882 # These need to be absolute paths, yet at the same time need to
4883 # canonicalize only relative paths, because then amd will not unmount
4884 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4885 glibcxx_builddir=`${PWDCMD-pwd}`
4886 case $srcdir in
4887 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4888 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4889 esac
4890 toplevel_builddir=${glibcxx_builddir}/..
4891 toplevel_srcdir=${glibcxx_srcdir}/..
4897 # We use these options to decide which functions to include. They are
4898 # set from the top level.
4900 # Check whether --with-target-subdir was given.
4901 if test "${with_target_subdir+set}" = set; then :
4902 withval=$with_target_subdir;
4907 # Check whether --with-cross-host was given.
4908 if test "${with_cross_host+set}" = set; then :
4909 withval=$with_cross_host;
4914 # Check whether --with-newlib was given.
4915 if test "${with_newlib+set}" = set; then :
4916 withval=$with_newlib;
4920 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4921 # available). Uncomment the next line to force a particular method.
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4923 $as_echo_n "checking whether ln -s works... " >&6; }
4924 LN_S=$as_ln_s
4925 if test "$LN_S" = "ln -s"; then
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4927 $as_echo "yes" >&6; }
4928 else
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4930 $as_echo "no, using $LN_S" >&6; }
4933 #LN_S='cp -p'
4935 if test -n "$ac_tool_prefix"; then
4936 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4937 set dummy ${ac_tool_prefix}as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$AS"; then
4944 ac_cv_prog_AS="$AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_AS="${ac_tool_prefix}as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 AS=$ac_cv_prog_AS
4964 if test -n "$AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4966 $as_echo "$AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4974 if test -z "$ac_cv_prog_AS"; then
4975 ac_ct_AS=$AS
4976 # Extract the first word of "as", so it can be a program name with args.
4977 set dummy as; ac_word=$2
4978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4979 $as_echo_n "checking for $ac_word... " >&6; }
4980 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4981 $as_echo_n "(cached) " >&6
4982 else
4983 if test -n "$ac_ct_AS"; then
4984 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4985 else
4986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4987 for as_dir in $PATH
4989 IFS=$as_save_IFS
4990 test -z "$as_dir" && as_dir=.
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4993 ac_cv_prog_ac_ct_AS="as"
4994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5003 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5004 if test -n "$ac_ct_AS"; then
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5006 $as_echo "$ac_ct_AS" >&6; }
5007 else
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5009 $as_echo "no" >&6; }
5012 if test "x$ac_ct_AS" = x; then
5013 AS=""
5014 else
5015 case $cross_compiling:$ac_tool_warned in
5016 yes:)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5020 esac
5021 AS=$ac_ct_AS
5023 else
5024 AS="$ac_cv_prog_AS"
5027 if test -n "$ac_tool_prefix"; then
5028 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5029 set dummy ${ac_tool_prefix}ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$AR"; then
5036 ac_cv_prog_AR="$AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_AR="${ac_tool_prefix}ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 AR=$ac_cv_prog_AR
5056 if test -n "$AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5058 $as_echo "$AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5066 if test -z "$ac_cv_prog_AR"; then
5067 ac_ct_AR=$AR
5068 # Extract the first word of "ar", so it can be a program name with args.
5069 set dummy ar; ac_word=$2
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5071 $as_echo_n "checking for $ac_word... " >&6; }
5072 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5073 $as_echo_n "(cached) " >&6
5074 else
5075 if test -n "$ac_ct_AR"; then
5076 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5077 else
5078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5079 for as_dir in $PATH
5081 IFS=$as_save_IFS
5082 test -z "$as_dir" && as_dir=.
5083 for ac_exec_ext in '' $ac_executable_extensions; do
5084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5085 ac_cv_prog_ac_ct_AR="ar"
5086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5087 break 2
5089 done
5090 done
5091 IFS=$as_save_IFS
5095 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5096 if test -n "$ac_ct_AR"; then
5097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5098 $as_echo "$ac_ct_AR" >&6; }
5099 else
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5101 $as_echo "no" >&6; }
5104 if test "x$ac_ct_AR" = x; then
5105 AR=""
5106 else
5107 case $cross_compiling:$ac_tool_warned in
5108 yes:)
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5110 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5111 ac_tool_warned=yes ;;
5112 esac
5113 AR=$ac_ct_AR
5115 else
5116 AR="$ac_cv_prog_AR"
5119 if test -n "$ac_tool_prefix"; then
5120 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5121 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$RANLIB"; then
5128 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 RANLIB=$ac_cv_prog_RANLIB
5148 if test -n "$RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5150 $as_echo "$RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5158 if test -z "$ac_cv_prog_RANLIB"; then
5159 ac_ct_RANLIB=$RANLIB
5160 # Extract the first word of "ranlib", so it can be a program name with args.
5161 set dummy ranlib; ac_word=$2
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5163 $as_echo_n "checking for $ac_word... " >&6; }
5164 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5165 $as_echo_n "(cached) " >&6
5166 else
5167 if test -n "$ac_ct_RANLIB"; then
5168 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5169 else
5170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5171 for as_dir in $PATH
5173 IFS=$as_save_IFS
5174 test -z "$as_dir" && as_dir=.
5175 for ac_exec_ext in '' $ac_executable_extensions; do
5176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5177 ac_cv_prog_ac_ct_RANLIB="ranlib"
5178 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5179 break 2
5181 done
5182 done
5183 IFS=$as_save_IFS
5187 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5188 if test -n "$ac_ct_RANLIB"; then
5189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5190 $as_echo "$ac_ct_RANLIB" >&6; }
5191 else
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5193 $as_echo "no" >&6; }
5196 if test "x$ac_ct_RANLIB" = x; then
5197 RANLIB="ranlib-not-found-in-path-error"
5198 else
5199 case $cross_compiling:$ac_tool_warned in
5200 yes:)
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5203 ac_tool_warned=yes ;;
5204 esac
5205 RANLIB=$ac_ct_RANLIB
5207 else
5208 RANLIB="$ac_cv_prog_RANLIB"
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5214 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5215 # Check whether --enable-maintainer-mode was given.
5216 if test "${enable_maintainer_mode+set}" = set; then :
5217 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5218 else
5219 USE_MAINTAINER_MODE=no
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5223 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5224 if test $USE_MAINTAINER_MODE = yes; then
5225 MAINTAINER_MODE_TRUE=
5226 MAINTAINER_MODE_FALSE='#'
5227 else
5228 MAINTAINER_MODE_TRUE='#'
5229 MAINTAINER_MODE_FALSE=
5232 MAINT=$MAINTAINER_MODE_TRUE
5236 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5237 # which are themselves conditionally expanded.
5238 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5239 ## other macros from doing the same. This should be automated.) -pme
5241 # Check for C library flavor since GNU/Linux platforms use different
5242 # configuration directories depending on the C library in use.
5243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5244 /* end confdefs.h. */
5246 #include <stdio.h>
5247 #if __UCLIBC__
5248 _using_uclibc
5249 #endif
5251 _ACEOF
5252 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5253 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5254 uclibc=yes
5255 else
5256 uclibc=no
5258 rm -f conftest*
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5264 #include <stdio.h>
5265 #if __BIONIC__
5266 _using_bionic
5267 #endif
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5272 bionic=yes
5273 else
5274 bionic=no
5276 rm -f conftest*
5279 # Find platform-specific directories containing configuration info.
5280 # Also possibly modify flags used elsewhere, as needed by the platform.
5282 . $glibcxx_srcdir/configure.host
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5284 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5285 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5286 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5290 # Libtool setup.
5291 if test "x${with_newlib}" != "xyes"; then
5292 enable_dlopen=yes
5297 case `pwd` in
5298 *\ * | *\ *)
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5300 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5301 esac
5305 macro_version='2.2.7a'
5306 macro_revision='1.3134'
5320 ltmain="$ac_aux_dir/ltmain.sh"
5322 # Backslashify metacharacters that are still active within
5323 # double-quoted strings.
5324 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5326 # Same as above, but do not quote variable references.
5327 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5329 # Sed substitution to delay expansion of an escaped shell variable in a
5330 # double_quote_subst'ed string.
5331 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5333 # Sed substitution to delay expansion of an escaped single quote.
5334 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5336 # Sed substitution to avoid accidental globbing in evaled expressions
5337 no_glob_subst='s/\*/\\\*/g'
5339 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5340 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5344 $as_echo_n "checking how to print strings... " >&6; }
5345 # Test print first, because it will be a builtin if present.
5346 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5347 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5348 ECHO='print -r --'
5349 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5350 ECHO='printf %s\n'
5351 else
5352 # Use this function as a fallback that always works.
5353 func_fallback_echo ()
5355 eval 'cat <<_LTECHO_EOF
5357 _LTECHO_EOF'
5359 ECHO='func_fallback_echo'
5362 # func_echo_all arg...
5363 # Invoke $ECHO with all args, space-separated.
5364 func_echo_all ()
5366 $ECHO ""
5369 case "$ECHO" in
5370 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5371 $as_echo "printf" >&6; } ;;
5372 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5373 $as_echo "print -r" >&6; } ;;
5374 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5375 $as_echo "cat" >&6; } ;;
5376 esac
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5392 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5393 if test "${ac_cv_path_SED+set}" = set; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5397 for ac_i in 1 2 3 4 5 6 7; do
5398 ac_script="$ac_script$as_nl$ac_script"
5399 done
5400 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5401 { ac_script=; unset ac_script;}
5402 if test -z "$SED"; then
5403 ac_path_SED_found=false
5404 # Loop through the user's path and test for each of PROGNAME-LIST
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_prog in sed gsed; do
5411 for ac_exec_ext in '' $ac_executable_extensions; do
5412 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5413 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5414 # Check for GNU ac_path_SED and select it if it is found.
5415 # Check for GNU $ac_path_SED
5416 case `"$ac_path_SED" --version 2>&1` in
5417 *GNU*)
5418 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5420 ac_count=0
5421 $as_echo_n 0123456789 >"conftest.in"
5422 while :
5424 cat "conftest.in" "conftest.in" >"conftest.tmp"
5425 mv "conftest.tmp" "conftest.in"
5426 cp "conftest.in" "conftest.nl"
5427 $as_echo '' >> "conftest.nl"
5428 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5429 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5430 as_fn_arith $ac_count + 1 && ac_count=$as_val
5431 if test $ac_count -gt ${ac_path_SED_max-0}; then
5432 # Best one so far, save it but keep looking for a better one
5433 ac_cv_path_SED="$ac_path_SED"
5434 ac_path_SED_max=$ac_count
5436 # 10*(2^10) chars as input seems more than enough
5437 test $ac_count -gt 10 && break
5438 done
5439 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5440 esac
5442 $ac_path_SED_found && break 3
5443 done
5444 done
5445 done
5446 IFS=$as_save_IFS
5447 if test -z "$ac_cv_path_SED"; then
5448 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5450 else
5451 ac_cv_path_SED=$SED
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5456 $as_echo "$ac_cv_path_SED" >&6; }
5457 SED="$ac_cv_path_SED"
5458 rm -f conftest.sed
5460 test -z "$SED" && SED=sed
5461 Xsed="$SED -e 1s/^X//"
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5474 $as_echo_n "checking for fgrep... " >&6; }
5475 if test "${ac_cv_path_FGREP+set}" = set; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5479 then ac_cv_path_FGREP="$GREP -F"
5480 else
5481 if test -z "$FGREP"; then
5482 ac_path_FGREP_found=false
5483 # Loop through the user's path and test for each of PROGNAME-LIST
5484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5485 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5487 IFS=$as_save_IFS
5488 test -z "$as_dir" && as_dir=.
5489 for ac_prog in fgrep; do
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5492 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5493 # Check for GNU ac_path_FGREP and select it if it is found.
5494 # Check for GNU $ac_path_FGREP
5495 case `"$ac_path_FGREP" --version 2>&1` in
5496 *GNU*)
5497 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5499 ac_count=0
5500 $as_echo_n 0123456789 >"conftest.in"
5501 while :
5503 cat "conftest.in" "conftest.in" >"conftest.tmp"
5504 mv "conftest.tmp" "conftest.in"
5505 cp "conftest.in" "conftest.nl"
5506 $as_echo 'FGREP' >> "conftest.nl"
5507 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5508 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5509 as_fn_arith $ac_count + 1 && ac_count=$as_val
5510 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5511 # Best one so far, save it but keep looking for a better one
5512 ac_cv_path_FGREP="$ac_path_FGREP"
5513 ac_path_FGREP_max=$ac_count
5515 # 10*(2^10) chars as input seems more than enough
5516 test $ac_count -gt 10 && break
5517 done
5518 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5519 esac
5521 $ac_path_FGREP_found && break 3
5522 done
5523 done
5524 done
5525 IFS=$as_save_IFS
5526 if test -z "$ac_cv_path_FGREP"; then
5527 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5529 else
5530 ac_cv_path_FGREP=$FGREP
5535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5536 $as_echo "$ac_cv_path_FGREP" >&6; }
5537 FGREP="$ac_cv_path_FGREP"
5540 test -z "$GREP" && GREP=grep
5560 # Check whether --with-gnu-ld was given.
5561 if test "${with_gnu_ld+set}" = set; then :
5562 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5563 else
5564 with_gnu_ld=no
5567 ac_prog=ld
5568 if test "$GCC" = yes; then
5569 # Check if gcc -print-prog-name=ld gives a path.
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5571 $as_echo_n "checking for ld used by $CC... " >&6; }
5572 case $host in
5573 *-*-mingw*)
5574 # gcc leaves a trailing carriage return which upsets mingw
5575 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5578 esac
5579 case $ac_prog in
5580 # Accept absolute paths.
5581 [\\/]* | ?:[\\/]*)
5582 re_direlt='/[^/][^/]*/\.\./'
5583 # Canonicalize the pathname of ld
5584 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5585 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5586 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5587 done
5588 test -z "$LD" && LD="$ac_prog"
5591 # If it fails, then pretend we aren't using GCC.
5592 ac_prog=ld
5595 # If it is relative, then search for the first ld in PATH.
5596 with_gnu_ld=unknown
5598 esac
5599 elif test "$with_gnu_ld" = yes; then
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5601 $as_echo_n "checking for GNU ld... " >&6; }
5602 else
5603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5604 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 if test "${lt_cv_path_LD+set}" = set; then :
5607 $as_echo_n "(cached) " >&6
5608 else
5609 if test -z "$LD"; then
5610 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5611 for ac_dir in $PATH; do
5612 IFS="$lt_save_ifs"
5613 test -z "$ac_dir" && ac_dir=.
5614 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5615 lt_cv_path_LD="$ac_dir/$ac_prog"
5616 # Check to see if the program is GNU ld. I'd rather use --version,
5617 # but apparently some variants of GNU ld only accept -v.
5618 # Break only if it was the GNU/non-GNU ld that we prefer.
5619 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5620 *GNU* | *'with BFD'*)
5621 test "$with_gnu_ld" != no && break
5624 test "$with_gnu_ld" != yes && break
5626 esac
5628 done
5629 IFS="$lt_save_ifs"
5630 else
5631 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5635 LD="$lt_cv_path_LD"
5636 if test -n "$LD"; then
5637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5638 $as_echo "$LD" >&6; }
5639 else
5640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5641 $as_echo "no" >&6; }
5643 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5645 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5646 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5647 $as_echo_n "(cached) " >&6
5648 else
5649 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5650 case `$LD -v 2>&1 </dev/null` in
5651 *GNU* | *'with BFD'*)
5652 lt_cv_prog_gnu_ld=yes
5655 lt_cv_prog_gnu_ld=no
5657 esac
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5660 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5661 with_gnu_ld=$lt_cv_prog_gnu_ld
5671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5672 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5673 if test "${lt_cv_path_NM+set}" = set; then :
5674 $as_echo_n "(cached) " >&6
5675 else
5676 if test -n "$NM"; then
5677 # Let the user override the test.
5678 lt_cv_path_NM="$NM"
5679 else
5680 lt_nm_to_check="${ac_tool_prefix}nm"
5681 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5682 lt_nm_to_check="$lt_nm_to_check nm"
5684 for lt_tmp_nm in $lt_nm_to_check; do
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 tmp_nm="$ac_dir/$lt_tmp_nm"
5690 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5691 # Check to see if the nm accepts a BSD-compat flag.
5692 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5693 # nm: unknown option "B" ignored
5694 # Tru64's nm complains that /dev/null is an invalid object file
5695 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5696 */dev/null* | *'Invalid file or object type'*)
5697 lt_cv_path_NM="$tmp_nm -B"
5698 break
5701 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5702 */dev/null*)
5703 lt_cv_path_NM="$tmp_nm -p"
5704 break
5707 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5708 continue # so that we can try to find one that supports BSD flags
5710 esac
5712 esac
5714 done
5715 IFS="$lt_save_ifs"
5716 done
5717 : ${lt_cv_path_NM=no}
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5721 $as_echo "$lt_cv_path_NM" >&6; }
5722 if test "$lt_cv_path_NM" != "no"; then
5723 NM="$lt_cv_path_NM"
5724 else
5725 # Didn't find any BSD compatible name lister, look for dumpbin.
5726 if test -n "$DUMPBIN"; then :
5727 # Let the user override the test.
5728 else
5729 if test -n "$ac_tool_prefix"; then
5730 for ac_prog in dumpbin "link -dump"
5732 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5733 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5735 $as_echo_n "checking for $ac_word... " >&6; }
5736 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5737 $as_echo_n "(cached) " >&6
5738 else
5739 if test -n "$DUMPBIN"; then
5740 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5741 else
5742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5743 for as_dir in $PATH
5745 IFS=$as_save_IFS
5746 test -z "$as_dir" && as_dir=.
5747 for ac_exec_ext in '' $ac_executable_extensions; do
5748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5749 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5751 break 2
5753 done
5754 done
5755 IFS=$as_save_IFS
5759 DUMPBIN=$ac_cv_prog_DUMPBIN
5760 if test -n "$DUMPBIN"; then
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5762 $as_echo "$DUMPBIN" >&6; }
5763 else
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5765 $as_echo "no" >&6; }
5769 test -n "$DUMPBIN" && break
5770 done
5772 if test -z "$DUMPBIN"; then
5773 ac_ct_DUMPBIN=$DUMPBIN
5774 for ac_prog in dumpbin "link -dump"
5776 # Extract the first word of "$ac_prog", so it can be a program name with args.
5777 set dummy $ac_prog; ac_word=$2
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5779 $as_echo_n "checking for $ac_word... " >&6; }
5780 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 if test -n "$ac_ct_DUMPBIN"; then
5784 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5785 else
5786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5787 for as_dir in $PATH
5789 IFS=$as_save_IFS
5790 test -z "$as_dir" && as_dir=.
5791 for ac_exec_ext in '' $ac_executable_extensions; do
5792 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5793 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5795 break 2
5797 done
5798 done
5799 IFS=$as_save_IFS
5803 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5804 if test -n "$ac_ct_DUMPBIN"; then
5805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5806 $as_echo "$ac_ct_DUMPBIN" >&6; }
5807 else
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5809 $as_echo "no" >&6; }
5813 test -n "$ac_ct_DUMPBIN" && break
5814 done
5816 if test "x$ac_ct_DUMPBIN" = x; then
5817 DUMPBIN=":"
5818 else
5819 case $cross_compiling:$ac_tool_warned in
5820 yes:)
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5822 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5823 ac_tool_warned=yes ;;
5824 esac
5825 DUMPBIN=$ac_ct_DUMPBIN
5829 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5830 *COFF*)
5831 DUMPBIN="$DUMPBIN -symbols"
5834 DUMPBIN=:
5836 esac
5839 if test "$DUMPBIN" != ":"; then
5840 NM="$DUMPBIN"
5843 test -z "$NM" && NM=nm
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5851 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5852 if test "${lt_cv_nm_interface+set}" = set; then :
5853 $as_echo_n "(cached) " >&6
5854 else
5855 lt_cv_nm_interface="BSD nm"
5856 echo "int some_variable = 0;" > conftest.$ac_ext
5857 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5858 (eval "$ac_compile" 2>conftest.err)
5859 cat conftest.err >&5
5860 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5861 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5862 cat conftest.err >&5
5863 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5864 cat conftest.out >&5
5865 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5866 lt_cv_nm_interface="MS dumpbin"
5868 rm -f conftest*
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5871 $as_echo "$lt_cv_nm_interface" >&6; }
5873 # find the maximum length of command line arguments
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5875 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5876 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5877 $as_echo_n "(cached) " >&6
5878 else
5880 teststring="ABCD"
5882 case $build_os in
5883 msdosdjgpp*)
5884 # On DJGPP, this test can blow up pretty badly due to problems in libc
5885 # (any single argument exceeding 2000 bytes causes a buffer overrun
5886 # during glob expansion). Even if it were fixed, the result of this
5887 # check would be larger than it should be.
5888 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5891 gnu*)
5892 # Under GNU Hurd, this test is not required because there is
5893 # no limit to the length of command line arguments.
5894 # Libtool will interpret -1 as no limit whatsoever
5895 lt_cv_sys_max_cmd_len=-1;
5898 cygwin* | mingw* | cegcc*)
5899 # On Win9x/ME, this test blows up -- it succeeds, but takes
5900 # about 5 minutes as the teststring grows exponentially.
5901 # Worse, since 9x/ME are not pre-emptively multitasking,
5902 # you end up with a "frozen" computer, even though with patience
5903 # the test eventually succeeds (with a max line length of 256k).
5904 # Instead, let's just punt: use the minimum linelength reported by
5905 # all of the supported platforms: 8192 (on NT/2K/XP).
5906 lt_cv_sys_max_cmd_len=8192;
5909 mint*)
5910 # On MiNT this can take a long time and run out of memory.
5911 lt_cv_sys_max_cmd_len=8192;
5914 amigaos*)
5915 # On AmigaOS with pdksh, this test takes hours, literally.
5916 # So we just punt and use a minimum line length of 8192.
5917 lt_cv_sys_max_cmd_len=8192;
5920 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5921 # This has been around since 386BSD, at least. Likely further.
5922 if test -x /sbin/sysctl; then
5923 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5924 elif test -x /usr/sbin/sysctl; then
5925 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5926 else
5927 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 # And add a safety zone
5930 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5934 interix*)
5935 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5936 lt_cv_sys_max_cmd_len=196608
5939 osf*)
5940 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5941 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5942 # nice to cause kernel panics so lets avoid the loop below.
5943 # First set a reasonable default.
5944 lt_cv_sys_max_cmd_len=16384
5946 if test -x /sbin/sysconfig; then
5947 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5948 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5949 esac
5952 sco3.2v5*)
5953 lt_cv_sys_max_cmd_len=102400
5955 sysv5* | sco5v6* | sysv4.2uw2*)
5956 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5957 if test -n "$kargmax"; then
5958 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5959 else
5960 lt_cv_sys_max_cmd_len=32768
5964 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5965 if test -n "$lt_cv_sys_max_cmd_len"; then
5966 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5968 else
5969 # Make teststring a little bigger before we do anything with it.
5970 # a 1K string should be a reasonable start.
5971 for i in 1 2 3 4 5 6 7 8 ; do
5972 teststring=$teststring$teststring
5973 done
5974 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5975 # If test is not a shell built-in, we'll probably end up computing a
5976 # maximum length that is only half of the actual maximum length, but
5977 # we can't tell.
5978 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5979 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5980 test $i != 17 # 1/2 MB should be enough
5982 i=`expr $i + 1`
5983 teststring=$teststring$teststring
5984 done
5985 # Only check the string length outside the loop.
5986 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5987 teststring=
5988 # Add a significant safety factor because C++ compilers can tack on
5989 # massive amounts of additional arguments before passing them to the
5990 # linker. It appears as though 1/2 is a usable value.
5991 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5994 esac
5998 if test -n $lt_cv_sys_max_cmd_len ; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6000 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6001 else
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6003 $as_echo "none" >&6; }
6005 max_cmd_len=$lt_cv_sys_max_cmd_len
6012 : ${CP="cp -f"}
6013 : ${MV="mv -f"}
6014 : ${RM="rm -f"}
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6017 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6018 # Try some XSI features
6019 xsi_shell=no
6020 ( _lt_dummy="a/b/c"
6021 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6022 = c,a/b,, \
6023 && eval 'test $(( 1 + 1 )) -eq 2 \
6024 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6025 && xsi_shell=yes
6026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6027 $as_echo "$xsi_shell" >&6; }
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6031 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6032 lt_shell_append=no
6033 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6034 >/dev/null 2>&1 \
6035 && lt_shell_append=yes
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6037 $as_echo "$lt_shell_append" >&6; }
6040 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6041 lt_unset=unset
6042 else
6043 lt_unset=false
6050 # test EBCDIC or ASCII
6051 case `echo X|tr X '\101'` in
6052 A) # ASCII based system
6053 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6054 lt_SP2NL='tr \040 \012'
6055 lt_NL2SP='tr \015\012 \040\040'
6057 *) # EBCDIC based system
6058 lt_SP2NL='tr \100 \n'
6059 lt_NL2SP='tr \r\n \100\100'
6061 esac
6071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6072 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6073 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6074 $as_echo_n "(cached) " >&6
6075 else
6076 lt_cv_ld_reload_flag='-r'
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6079 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6080 reload_flag=$lt_cv_ld_reload_flag
6081 case $reload_flag in
6082 "" | " "*) ;;
6083 *) reload_flag=" $reload_flag" ;;
6084 esac
6085 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6086 case $host_os in
6087 darwin*)
6088 if test "$GCC" = yes; then
6089 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6090 else
6091 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6094 esac
6104 if test -n "$ac_tool_prefix"; then
6105 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6106 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 $as_echo_n "checking for $ac_word... " >&6; }
6109 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6110 $as_echo_n "(cached) " >&6
6111 else
6112 if test -n "$OBJDUMP"; then
6113 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6114 else
6115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 for as_dir in $PATH
6118 IFS=$as_save_IFS
6119 test -z "$as_dir" && as_dir=.
6120 for ac_exec_ext in '' $ac_executable_extensions; do
6121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6122 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6124 break 2
6126 done
6127 done
6128 IFS=$as_save_IFS
6132 OBJDUMP=$ac_cv_prog_OBJDUMP
6133 if test -n "$OBJDUMP"; then
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6135 $as_echo "$OBJDUMP" >&6; }
6136 else
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6138 $as_echo "no" >&6; }
6143 if test -z "$ac_cv_prog_OBJDUMP"; then
6144 ac_ct_OBJDUMP=$OBJDUMP
6145 # Extract the first word of "objdump", so it can be a program name with args.
6146 set dummy objdump; ac_word=$2
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6148 $as_echo_n "checking for $ac_word... " >&6; }
6149 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 if test -n "$ac_ct_OBJDUMP"; then
6153 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6154 else
6155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 for as_dir in $PATH
6158 IFS=$as_save_IFS
6159 test -z "$as_dir" && as_dir=.
6160 for ac_exec_ext in '' $ac_executable_extensions; do
6161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6162 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6164 break 2
6166 done
6167 done
6168 IFS=$as_save_IFS
6172 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6173 if test -n "$ac_ct_OBJDUMP"; then
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6175 $as_echo "$ac_ct_OBJDUMP" >&6; }
6176 else
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6178 $as_echo "no" >&6; }
6181 if test "x$ac_ct_OBJDUMP" = x; then
6182 OBJDUMP="false"
6183 else
6184 case $cross_compiling:$ac_tool_warned in
6185 yes:)
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6188 ac_tool_warned=yes ;;
6189 esac
6190 OBJDUMP=$ac_ct_OBJDUMP
6192 else
6193 OBJDUMP="$ac_cv_prog_OBJDUMP"
6196 test -z "$OBJDUMP" && OBJDUMP=objdump
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6207 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6208 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6209 $as_echo_n "(cached) " >&6
6210 else
6211 lt_cv_file_magic_cmd='$MAGIC_CMD'
6212 lt_cv_file_magic_test_file=
6213 lt_cv_deplibs_check_method='unknown'
6214 # Need to set the preceding variable on all platforms that support
6215 # interlibrary dependencies.
6216 # 'none' -- dependencies not supported.
6217 # `unknown' -- same as none, but documents that we really don't know.
6218 # 'pass_all' -- all dependencies passed with no checks.
6219 # 'test_compile' -- check by making test program.
6220 # 'file_magic [[regex]]' -- check by looking for files in library path
6221 # which responds to the $file_magic_cmd with a given extended regex.
6222 # If you have `file' or equivalent on your system and you're not sure
6223 # whether `pass_all' will *always* work, you probably want this one.
6225 case $host_os in
6226 aix[4-9]*)
6227 lt_cv_deplibs_check_method=pass_all
6230 beos*)
6231 lt_cv_deplibs_check_method=pass_all
6234 bsdi[45]*)
6235 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6236 lt_cv_file_magic_cmd='/usr/bin/file -L'
6237 lt_cv_file_magic_test_file=/shlib/libc.so
6240 cygwin*)
6241 # func_win32_libid is a shell function defined in ltmain.sh
6242 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6243 lt_cv_file_magic_cmd='func_win32_libid'
6246 mingw* | pw32*)
6247 # Base MSYS/MinGW do not provide the 'file' command needed by
6248 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6249 # unless we find 'file', for example because we are cross-compiling.
6250 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6251 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6252 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6253 lt_cv_file_magic_cmd='func_win32_libid'
6254 else
6255 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6256 lt_cv_file_magic_cmd='$OBJDUMP -f'
6260 cegcc*)
6261 # use the weaker test based on 'objdump'. See mingw*.
6262 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6266 darwin* | rhapsody*)
6267 lt_cv_deplibs_check_method=pass_all
6270 freebsd* | dragonfly*)
6271 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 case $host_cpu in
6273 i*86 )
6274 # Not sure whether the presence of OpenBSD here was a mistake.
6275 # Let's accept both of them until this is cleared up.
6276 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6277 lt_cv_file_magic_cmd=/usr/bin/file
6278 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 esac
6281 else
6282 lt_cv_deplibs_check_method=pass_all
6286 gnu*)
6287 lt_cv_deplibs_check_method=pass_all
6290 haiku*)
6291 lt_cv_deplibs_check_method=pass_all
6294 hpux10.20* | hpux11*)
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 case $host_cpu in
6297 ia64*)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6299 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 hppa*64*)
6302 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]'
6303 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6306 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6307 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 esac
6312 interix[3-9]*)
6313 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6314 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6317 irix5* | irix6* | nonstopux*)
6318 case $LD in
6319 *-32|*"-32 ") libmagic=32-bit;;
6320 *-n32|*"-n32 ") libmagic=N32;;
6321 *-64|*"-64 ") libmagic=64-bit;;
6322 *) libmagic=never-match;;
6323 esac
6324 lt_cv_deplibs_check_method=pass_all
6327 # This must be Linux ELF.
6328 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6329 lt_cv_deplibs_check_method=pass_all
6332 netbsd*)
6333 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6334 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6335 else
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6340 newos6*)
6341 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6342 lt_cv_file_magic_cmd=/usr/bin/file
6343 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6346 *nto* | *qnx*)
6347 lt_cv_deplibs_check_method=pass_all
6350 openbsd*)
6351 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6358 osf3* | osf4* | osf5*)
6359 lt_cv_deplibs_check_method=pass_all
6362 rdos*)
6363 lt_cv_deplibs_check_method=pass_all
6366 solaris*)
6367 lt_cv_deplibs_check_method=pass_all
6370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6371 lt_cv_deplibs_check_method=pass_all
6374 sysv4 | sysv4.3*)
6375 case $host_vendor in
6376 motorola)
6377 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]'
6378 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 ncr)
6381 lt_cv_deplibs_check_method=pass_all
6383 sequent)
6384 lt_cv_file_magic_cmd='/bin/file'
6385 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 sni)
6388 lt_cv_file_magic_cmd='/bin/file'
6389 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6390 lt_cv_file_magic_test_file=/lib/libc.so
6392 siemens)
6393 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6398 esac
6401 tpf*)
6402 lt_cv_deplibs_check_method=pass_all
6404 esac
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6408 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6409 file_magic_cmd=$lt_cv_file_magic_cmd
6410 deplibs_check_method=$lt_cv_deplibs_check_method
6411 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6424 if test -n "$ac_tool_prefix"; then
6425 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6426 set dummy ${ac_tool_prefix}ar; ac_word=$2
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6428 $as_echo_n "checking for $ac_word... " >&6; }
6429 if test "${ac_cv_prog_AR+set}" = set; then :
6430 $as_echo_n "(cached) " >&6
6431 else
6432 if test -n "$AR"; then
6433 ac_cv_prog_AR="$AR" # Let the user override the test.
6434 else
6435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6436 for as_dir in $PATH
6438 IFS=$as_save_IFS
6439 test -z "$as_dir" && as_dir=.
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6442 ac_cv_prog_AR="${ac_tool_prefix}ar"
6443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 AR=$ac_cv_prog_AR
6453 if test -n "$AR"; then
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6455 $as_echo "$AR" >&6; }
6456 else
6457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 $as_echo "no" >&6; }
6463 if test -z "$ac_cv_prog_AR"; then
6464 ac_ct_AR=$AR
6465 # Extract the first word of "ar", so it can be a program name with args.
6466 set dummy ar; ac_word=$2
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6468 $as_echo_n "checking for $ac_word... " >&6; }
6469 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6470 $as_echo_n "(cached) " >&6
6471 else
6472 if test -n "$ac_ct_AR"; then
6473 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6474 else
6475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6476 for as_dir in $PATH
6478 IFS=$as_save_IFS
6479 test -z "$as_dir" && as_dir=.
6480 for ac_exec_ext in '' $ac_executable_extensions; do
6481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6482 ac_cv_prog_ac_ct_AR="ar"
6483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6484 break 2
6486 done
6487 done
6488 IFS=$as_save_IFS
6492 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6493 if test -n "$ac_ct_AR"; then
6494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6495 $as_echo "$ac_ct_AR" >&6; }
6496 else
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6498 $as_echo "no" >&6; }
6501 if test "x$ac_ct_AR" = x; then
6502 AR="false"
6503 else
6504 case $cross_compiling:$ac_tool_warned in
6505 yes:)
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6507 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6508 ac_tool_warned=yes ;;
6509 esac
6510 AR=$ac_ct_AR
6512 else
6513 AR="$ac_cv_prog_AR"
6516 test -z "$AR" && AR=ar
6517 test -z "$AR_FLAGS" && AR_FLAGS=cru
6529 if test -n "$ac_tool_prefix"; then
6530 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6531 set dummy ${ac_tool_prefix}strip; ac_word=$2
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6533 $as_echo_n "checking for $ac_word... " >&6; }
6534 if test "${ac_cv_prog_STRIP+set}" = set; then :
6535 $as_echo_n "(cached) " >&6
6536 else
6537 if test -n "$STRIP"; then
6538 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6539 else
6540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6541 for as_dir in $PATH
6543 IFS=$as_save_IFS
6544 test -z "$as_dir" && as_dir=.
6545 for ac_exec_ext in '' $ac_executable_extensions; do
6546 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6547 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6548 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6549 break 2
6551 done
6552 done
6553 IFS=$as_save_IFS
6557 STRIP=$ac_cv_prog_STRIP
6558 if test -n "$STRIP"; then
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6560 $as_echo "$STRIP" >&6; }
6561 else
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6563 $as_echo "no" >&6; }
6568 if test -z "$ac_cv_prog_STRIP"; then
6569 ac_ct_STRIP=$STRIP
6570 # Extract the first word of "strip", so it can be a program name with args.
6571 set dummy strip; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$ac_ct_STRIP"; then
6578 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_ac_ct_STRIP="strip"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6598 if test -n "$ac_ct_STRIP"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6600 $as_echo "$ac_ct_STRIP" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6606 if test "x$ac_ct_STRIP" = x; then
6607 STRIP=":"
6608 else
6609 case $cross_compiling:$ac_tool_warned in
6610 yes:)
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6613 ac_tool_warned=yes ;;
6614 esac
6615 STRIP=$ac_ct_STRIP
6617 else
6618 STRIP="$ac_cv_prog_STRIP"
6621 test -z "$STRIP" && STRIP=:
6628 if test -n "$ac_tool_prefix"; then
6629 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6630 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6632 $as_echo_n "checking for $ac_word... " >&6; }
6633 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6634 $as_echo_n "(cached) " >&6
6635 else
6636 if test -n "$RANLIB"; then
6637 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6638 else
6639 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6640 for as_dir in $PATH
6642 IFS=$as_save_IFS
6643 test -z "$as_dir" && as_dir=.
6644 for ac_exec_ext in '' $ac_executable_extensions; do
6645 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6646 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6647 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6648 break 2
6650 done
6651 done
6652 IFS=$as_save_IFS
6656 RANLIB=$ac_cv_prog_RANLIB
6657 if test -n "$RANLIB"; then
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6659 $as_echo "$RANLIB" >&6; }
6660 else
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6662 $as_echo "no" >&6; }
6667 if test -z "$ac_cv_prog_RANLIB"; then
6668 ac_ct_RANLIB=$RANLIB
6669 # Extract the first word of "ranlib", so it can be a program name with args.
6670 set dummy ranlib; ac_word=$2
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6672 $as_echo_n "checking for $ac_word... " >&6; }
6673 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6674 $as_echo_n "(cached) " >&6
6675 else
6676 if test -n "$ac_ct_RANLIB"; then
6677 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6678 else
6679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6680 for as_dir in $PATH
6682 IFS=$as_save_IFS
6683 test -z "$as_dir" && as_dir=.
6684 for ac_exec_ext in '' $ac_executable_extensions; do
6685 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6686 ac_cv_prog_ac_ct_RANLIB="ranlib"
6687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6688 break 2
6690 done
6691 done
6692 IFS=$as_save_IFS
6696 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6697 if test -n "$ac_ct_RANLIB"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6699 $as_echo "$ac_ct_RANLIB" >&6; }
6700 else
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6702 $as_echo "no" >&6; }
6705 if test "x$ac_ct_RANLIB" = x; then
6706 RANLIB=":"
6707 else
6708 case $cross_compiling:$ac_tool_warned in
6709 yes:)
6710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6711 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6712 ac_tool_warned=yes ;;
6713 esac
6714 RANLIB=$ac_ct_RANLIB
6716 else
6717 RANLIB="$ac_cv_prog_RANLIB"
6720 test -z "$RANLIB" && RANLIB=:
6727 # Determine commands to create old-style static archives.
6728 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6729 old_postinstall_cmds='chmod 644 $oldlib'
6730 old_postuninstall_cmds=
6732 if test -n "$RANLIB"; then
6733 case $host_os in
6734 openbsd*)
6735 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6738 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6740 esac
6741 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6744 case $host_os in
6745 darwin*)
6746 lock_old_archive_extraction=yes ;;
6748 lock_old_archive_extraction=no ;;
6749 esac
6789 # If no C compiler was specified, use CC.
6790 LTCC=${LTCC-"$CC"}
6792 # If no C compiler flags were specified, use CFLAGS.
6793 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795 # Allow CC to be a program name with arguments.
6796 compiler=$CC
6799 # Check for command to grab the raw symbol name followed by C symbol from nm.
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6801 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6802 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6804 else
6806 # These are sane defaults that work on at least a few old systems.
6807 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809 # Character class describing NM global symbol codes.
6810 symcode='[BCDEGRST]'
6812 # Regexp to match symbols that can be accessed directly from C.
6813 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815 # Define system-specific variables.
6816 case $host_os in
6817 aix*)
6818 symcode='[BCDT]'
6820 cygwin* | mingw* | pw32* | cegcc*)
6821 symcode='[ABCDGISTW]'
6823 hpux*)
6824 if test "$host_cpu" = ia64; then
6825 symcode='[ABCDEGRST]'
6828 irix* | nonstopux*)
6829 symcode='[BCDEGRST]'
6831 osf*)
6832 symcode='[BCDEGQRST]'
6834 solaris*)
6835 symcode='[BDRT]'
6837 sco3.2v5*)
6838 symcode='[DT]'
6840 sysv4.2uw2*)
6841 symcode='[DT]'
6843 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6844 symcode='[ABDT]'
6846 sysv4)
6847 symcode='[DFNSTU]'
6849 esac
6851 # If we're using GNU nm, then use its standard symbol codes.
6852 case `$NM -V 2>&1` in
6853 *GNU* | *'with BFD'*)
6854 symcode='[ABCDGIRSTW]' ;;
6855 esac
6857 # Transform an extracted symbol line into a proper C declaration.
6858 # Some systems (esp. on ia64) link data and code symbols differently,
6859 # so use this general approach.
6860 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862 # Transform an extracted symbol line into symbol name and symbol address
6863 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6864 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'"
6866 # Handle CRLF in mingw tool chain
6867 opt_cr=
6868 case $build_os in
6869 mingw*)
6870 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 esac
6874 # Try without a prefix underscore, then with it.
6875 for ac_symprfx in "" "_"; do
6877 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6878 symxfrm="\\1 $ac_symprfx\\2 \\2"
6880 # Write the raw and C identifiers.
6881 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6882 # Fake it for dumpbin and say T for any non-static function
6883 # and D for any global variable.
6884 # Also find C++ and __fastcall symbols from MSVC++,
6885 # which start with @ or ?.
6886 lt_cv_sys_global_symbol_pipe="$AWK '"\
6887 " {last_section=section; section=\$ 3};"\
6888 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6889 " \$ 0!~/External *\|/{next};"\
6890 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6891 " {if(hide[section]) next};"\
6892 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6893 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6894 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6895 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6896 " ' prfx=^$ac_symprfx"
6897 else
6898 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6901 # Check to see that the pipe works correctly.
6902 pipe_works=no
6904 rm -f conftest*
6905 cat > conftest.$ac_ext <<_LT_EOF
6906 #ifdef __cplusplus
6907 extern "C" {
6908 #endif
6909 char nm_test_var;
6910 void nm_test_func(void);
6911 void nm_test_func(void){}
6912 #ifdef __cplusplus
6914 #endif
6915 int main(){nm_test_var='a';nm_test_func();return(0);}
6916 _LT_EOF
6918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6919 (eval $ac_compile) 2>&5
6920 ac_status=$?
6921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6922 test $ac_status = 0; }; then
6923 # Now try to grab the symbols.
6924 nlist=conftest.nm
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6926 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; } && test -s "$nlist"; then
6930 # Try sorting and uniquifying the output.
6931 if sort "$nlist" | uniq > "$nlist"T; then
6932 mv -f "$nlist"T "$nlist"
6933 else
6934 rm -f "$nlist"T
6937 # Make sure that we snagged all the symbols we need.
6938 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6939 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6940 cat <<_LT_EOF > conftest.$ac_ext
6941 #ifdef __cplusplus
6942 extern "C" {
6943 #endif
6945 _LT_EOF
6946 # Now generate the symbol file.
6947 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6949 cat <<_LT_EOF >> conftest.$ac_ext
6951 /* The mapping between symbol names and symbols. */
6952 const struct {
6953 const char *name;
6954 void *address;
6956 lt__PROGRAM__LTX_preloaded_symbols[] =
6958 { "@PROGRAM@", (void *) 0 },
6959 _LT_EOF
6960 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6961 cat <<\_LT_EOF >> conftest.$ac_ext
6962 {0, (void *) 0}
6965 /* This works around a problem in FreeBSD linker */
6966 #ifdef FREEBSD_WORKAROUND
6967 static const void *lt_preloaded_setup() {
6968 return lt__PROGRAM__LTX_preloaded_symbols;
6970 #endif
6972 #ifdef __cplusplus
6974 #endif
6975 _LT_EOF
6976 # Now try linking the two files.
6977 mv conftest.$ac_objext conftstm.$ac_objext
6978 lt_save_LIBS="$LIBS"
6979 lt_save_CFLAGS="$CFLAGS"
6980 LIBS="conftstm.$ac_objext"
6981 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6983 (eval $ac_link) 2>&5
6984 ac_status=$?
6985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6986 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6987 pipe_works=yes
6989 LIBS="$lt_save_LIBS"
6990 CFLAGS="$lt_save_CFLAGS"
6991 else
6992 echo "cannot find nm_test_func in $nlist" >&5
6994 else
6995 echo "cannot find nm_test_var in $nlist" >&5
6997 else
6998 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 else
7001 echo "$progname: failed program was:" >&5
7002 cat conftest.$ac_ext >&5
7004 rm -rf conftest* conftst*
7006 # Do not use the global_symbol_pipe unless it works.
7007 if test "$pipe_works" = yes; then
7008 break
7009 else
7010 lt_cv_sys_global_symbol_pipe=
7012 done
7016 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7017 lt_cv_sys_global_symbol_to_cdecl=
7019 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7021 $as_echo "failed" >&6; }
7022 else
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7024 $as_echo "ok" >&6; }
7048 # Check whether --enable-libtool-lock was given.
7049 if test "${enable_libtool_lock+set}" = set; then :
7050 enableval=$enable_libtool_lock;
7053 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7055 # Some flags need to be propagated to the compiler or linker for good
7056 # libtool support.
7057 case $host in
7058 ia64-*-hpux*)
7059 # Find out which ABI we are using.
7060 echo 'int i;' > conftest.$ac_ext
7061 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7062 (eval $ac_compile) 2>&5
7063 ac_status=$?
7064 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7065 test $ac_status = 0; }; then
7066 case `/usr/bin/file conftest.$ac_objext` in
7067 *ELF-32*)
7068 HPUX_IA64_MODE="32"
7070 *ELF-64*)
7071 HPUX_IA64_MODE="64"
7073 esac
7075 rm -rf conftest*
7077 *-*-irix6*)
7078 # Find out which ABI we are using.
7079 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7081 (eval $ac_compile) 2>&5
7082 ac_status=$?
7083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7084 test $ac_status = 0; }; then
7085 if test "$lt_cv_prog_gnu_ld" = yes; then
7086 case `/usr/bin/file conftest.$ac_objext` in
7087 *32-bit*)
7088 LD="${LD-ld} -melf32bsmip"
7090 *N32*)
7091 LD="${LD-ld} -melf32bmipn32"
7093 *64-bit*)
7094 LD="${LD-ld} -melf64bmip"
7096 esac
7097 else
7098 case `/usr/bin/file conftest.$ac_objext` in
7099 *32-bit*)
7100 LD="${LD-ld} -32"
7102 *N32*)
7103 LD="${LD-ld} -n32"
7105 *64-bit*)
7106 LD="${LD-ld} -64"
7108 esac
7111 rm -rf conftest*
7114 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7115 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7116 # Find out which ABI we are using.
7117 echo 'int i;' > conftest.$ac_ext
7118 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7119 (eval $ac_compile) 2>&5
7120 ac_status=$?
7121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7122 test $ac_status = 0; }; then
7123 case `/usr/bin/file conftest.o` in
7124 *32-bit*)
7125 case $host in
7126 x86_64-*kfreebsd*-gnu)
7127 LD="${LD-ld} -m elf_i386_fbsd"
7129 x86_64-*linux*)
7130 case `/usr/bin/file conftest.o` in
7131 *x86-64*)
7132 LD="${LD-ld} -m elf32_x86_64"
7135 LD="${LD-ld} -m elf_i386"
7137 esac
7139 ppc64-*linux*|powerpc64-*linux*)
7140 LD="${LD-ld} -m elf32ppclinux"
7142 s390x-*linux*)
7143 LD="${LD-ld} -m elf_s390"
7145 sparc64-*linux*)
7146 LD="${LD-ld} -m elf32_sparc"
7148 esac
7150 *64-bit*)
7151 case $host in
7152 x86_64-*kfreebsd*-gnu)
7153 LD="${LD-ld} -m elf_x86_64_fbsd"
7155 x86_64-*linux*)
7156 LD="${LD-ld} -m elf_x86_64"
7158 ppc*-*linux*|powerpc*-*linux*)
7159 LD="${LD-ld} -m elf64ppc"
7161 s390*-*linux*|s390*-*tpf*)
7162 LD="${LD-ld} -m elf64_s390"
7164 sparc*-*linux*)
7165 LD="${LD-ld} -m elf64_sparc"
7167 esac
7169 esac
7171 rm -rf conftest*
7174 *-*-sco3.2v5*)
7175 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7176 SAVE_CFLAGS="$CFLAGS"
7177 CFLAGS="$CFLAGS -belf"
7178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7179 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7180 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7181 $as_echo_n "(cached) " >&6
7182 else
7183 ac_ext=c
7184 ac_cpp='$CPP $CPPFLAGS'
7185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189 if test x$gcc_no_link = xyes; then
7190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7196 main ()
7200 return 0;
7202 _ACEOF
7203 if ac_fn_c_try_link "$LINENO"; then :
7204 lt_cv_cc_needs_belf=yes
7205 else
7206 lt_cv_cc_needs_belf=no
7208 rm -f core conftest.err conftest.$ac_objext \
7209 conftest$ac_exeext conftest.$ac_ext
7210 ac_ext=c
7211 ac_cpp='$CPP $CPPFLAGS'
7212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7218 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7219 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7220 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7221 CFLAGS="$SAVE_CFLAGS"
7224 sparc*-*solaris*)
7225 # Find out which ABI we are using.
7226 echo 'int i;' > conftest.$ac_ext
7227 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7228 (eval $ac_compile) 2>&5
7229 ac_status=$?
7230 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7231 test $ac_status = 0; }; then
7232 case `/usr/bin/file conftest.o` in
7233 *64-bit*)
7234 case $lt_cv_prog_gnu_ld in
7235 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7238 LD="${LD-ld} -64"
7241 esac
7243 esac
7245 rm -rf conftest*
7247 esac
7249 need_locks="$enable_libtool_lock"
7252 case $host_os in
7253 rhapsody* | darwin*)
7254 if test -n "$ac_tool_prefix"; then
7255 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7256 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7258 $as_echo_n "checking for $ac_word... " >&6; }
7259 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7260 $as_echo_n "(cached) " >&6
7261 else
7262 if test -n "$DSYMUTIL"; then
7263 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 test -z "$as_dir" && as_dir=.
7270 for ac_exec_ext in '' $ac_executable_extensions; do
7271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7272 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7273 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7274 break 2
7276 done
7277 done
7278 IFS=$as_save_IFS
7282 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7283 if test -n "$DSYMUTIL"; then
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7285 $as_echo "$DSYMUTIL" >&6; }
7286 else
7287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7288 $as_echo "no" >&6; }
7293 if test -z "$ac_cv_prog_DSYMUTIL"; then
7294 ac_ct_DSYMUTIL=$DSYMUTIL
7295 # Extract the first word of "dsymutil", so it can be a program name with args.
7296 set dummy dsymutil; ac_word=$2
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7298 $as_echo_n "checking for $ac_word... " >&6; }
7299 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7300 $as_echo_n "(cached) " >&6
7301 else
7302 if test -n "$ac_ct_DSYMUTIL"; then
7303 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7304 else
7305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7306 for as_dir in $PATH
7308 IFS=$as_save_IFS
7309 test -z "$as_dir" && as_dir=.
7310 for ac_exec_ext in '' $ac_executable_extensions; do
7311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7312 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7314 break 2
7316 done
7317 done
7318 IFS=$as_save_IFS
7322 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7323 if test -n "$ac_ct_DSYMUTIL"; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7325 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7326 else
7327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7328 $as_echo "no" >&6; }
7331 if test "x$ac_ct_DSYMUTIL" = x; then
7332 DSYMUTIL=":"
7333 else
7334 case $cross_compiling:$ac_tool_warned in
7335 yes:)
7336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7337 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7338 ac_tool_warned=yes ;;
7339 esac
7340 DSYMUTIL=$ac_ct_DSYMUTIL
7342 else
7343 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7346 if test -n "$ac_tool_prefix"; then
7347 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7348 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7350 $as_echo_n "checking for $ac_word... " >&6; }
7351 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7352 $as_echo_n "(cached) " >&6
7353 else
7354 if test -n "$NMEDIT"; then
7355 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7356 else
7357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7358 for as_dir in $PATH
7360 IFS=$as_save_IFS
7361 test -z "$as_dir" && as_dir=.
7362 for ac_exec_ext in '' $ac_executable_extensions; do
7363 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7364 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7366 break 2
7368 done
7369 done
7370 IFS=$as_save_IFS
7374 NMEDIT=$ac_cv_prog_NMEDIT
7375 if test -n "$NMEDIT"; then
7376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7377 $as_echo "$NMEDIT" >&6; }
7378 else
7379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7380 $as_echo "no" >&6; }
7385 if test -z "$ac_cv_prog_NMEDIT"; then
7386 ac_ct_NMEDIT=$NMEDIT
7387 # Extract the first word of "nmedit", so it can be a program name with args.
7388 set dummy nmedit; ac_word=$2
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7390 $as_echo_n "checking for $ac_word... " >&6; }
7391 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7392 $as_echo_n "(cached) " >&6
7393 else
7394 if test -n "$ac_ct_NMEDIT"; then
7395 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7396 else
7397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7398 for as_dir in $PATH
7400 IFS=$as_save_IFS
7401 test -z "$as_dir" && as_dir=.
7402 for ac_exec_ext in '' $ac_executable_extensions; do
7403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7404 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7406 break 2
7408 done
7409 done
7410 IFS=$as_save_IFS
7414 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7415 if test -n "$ac_ct_NMEDIT"; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7417 $as_echo "$ac_ct_NMEDIT" >&6; }
7418 else
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7420 $as_echo "no" >&6; }
7423 if test "x$ac_ct_NMEDIT" = x; then
7424 NMEDIT=":"
7425 else
7426 case $cross_compiling:$ac_tool_warned in
7427 yes:)
7428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7429 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7430 ac_tool_warned=yes ;;
7431 esac
7432 NMEDIT=$ac_ct_NMEDIT
7434 else
7435 NMEDIT="$ac_cv_prog_NMEDIT"
7438 if test -n "$ac_tool_prefix"; then
7439 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7440 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7442 $as_echo_n "checking for $ac_word... " >&6; }
7443 if test "${ac_cv_prog_LIPO+set}" = set; then :
7444 $as_echo_n "(cached) " >&6
7445 else
7446 if test -n "$LIPO"; then
7447 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7448 else
7449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7450 for as_dir in $PATH
7452 IFS=$as_save_IFS
7453 test -z "$as_dir" && as_dir=.
7454 for ac_exec_ext in '' $ac_executable_extensions; do
7455 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7456 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7458 break 2
7460 done
7461 done
7462 IFS=$as_save_IFS
7466 LIPO=$ac_cv_prog_LIPO
7467 if test -n "$LIPO"; then
7468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7469 $as_echo "$LIPO" >&6; }
7470 else
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7472 $as_echo "no" >&6; }
7477 if test -z "$ac_cv_prog_LIPO"; then
7478 ac_ct_LIPO=$LIPO
7479 # Extract the first word of "lipo", so it can be a program name with args.
7480 set dummy lipo; ac_word=$2
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7482 $as_echo_n "checking for $ac_word... " >&6; }
7483 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7484 $as_echo_n "(cached) " >&6
7485 else
7486 if test -n "$ac_ct_LIPO"; then
7487 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7488 else
7489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7490 for as_dir in $PATH
7492 IFS=$as_save_IFS
7493 test -z "$as_dir" && as_dir=.
7494 for ac_exec_ext in '' $ac_executable_extensions; do
7495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7496 ac_cv_prog_ac_ct_LIPO="lipo"
7497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7498 break 2
7500 done
7501 done
7502 IFS=$as_save_IFS
7506 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7507 if test -n "$ac_ct_LIPO"; then
7508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7509 $as_echo "$ac_ct_LIPO" >&6; }
7510 else
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7512 $as_echo "no" >&6; }
7515 if test "x$ac_ct_LIPO" = x; then
7516 LIPO=":"
7517 else
7518 case $cross_compiling:$ac_tool_warned in
7519 yes:)
7520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7522 ac_tool_warned=yes ;;
7523 esac
7524 LIPO=$ac_ct_LIPO
7526 else
7527 LIPO="$ac_cv_prog_LIPO"
7530 if test -n "$ac_tool_prefix"; then
7531 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7532 set dummy ${ac_tool_prefix}otool; ac_word=$2
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7534 $as_echo_n "checking for $ac_word... " >&6; }
7535 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7536 $as_echo_n "(cached) " >&6
7537 else
7538 if test -n "$OTOOL"; then
7539 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7540 else
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 for as_dir in $PATH
7544 IFS=$as_save_IFS
7545 test -z "$as_dir" && as_dir=.
7546 for ac_exec_ext in '' $ac_executable_extensions; do
7547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7548 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7550 break 2
7552 done
7553 done
7554 IFS=$as_save_IFS
7558 OTOOL=$ac_cv_prog_OTOOL
7559 if test -n "$OTOOL"; then
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7561 $as_echo "$OTOOL" >&6; }
7562 else
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7564 $as_echo "no" >&6; }
7569 if test -z "$ac_cv_prog_OTOOL"; then
7570 ac_ct_OTOOL=$OTOOL
7571 # Extract the first word of "otool", so it can be a program name with args.
7572 set dummy otool; ac_word=$2
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7574 $as_echo_n "checking for $ac_word... " >&6; }
7575 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7577 else
7578 if test -n "$ac_ct_OTOOL"; then
7579 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7580 else
7581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7582 for as_dir in $PATH
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7588 ac_cv_prog_ac_ct_OTOOL="otool"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7598 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7599 if test -n "$ac_ct_OTOOL"; then
7600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7601 $as_echo "$ac_ct_OTOOL" >&6; }
7602 else
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7604 $as_echo "no" >&6; }
7607 if test "x$ac_ct_OTOOL" = x; then
7608 OTOOL=":"
7609 else
7610 case $cross_compiling:$ac_tool_warned in
7611 yes:)
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7614 ac_tool_warned=yes ;;
7615 esac
7616 OTOOL=$ac_ct_OTOOL
7618 else
7619 OTOOL="$ac_cv_prog_OTOOL"
7622 if test -n "$ac_tool_prefix"; then
7623 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7624 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7626 $as_echo_n "checking for $ac_word... " >&6; }
7627 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7628 $as_echo_n "(cached) " >&6
7629 else
7630 if test -n "$OTOOL64"; then
7631 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7632 else
7633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7634 for as_dir in $PATH
7636 IFS=$as_save_IFS
7637 test -z "$as_dir" && as_dir=.
7638 for ac_exec_ext in '' $ac_executable_extensions; do
7639 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7640 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7642 break 2
7644 done
7645 done
7646 IFS=$as_save_IFS
7650 OTOOL64=$ac_cv_prog_OTOOL64
7651 if test -n "$OTOOL64"; then
7652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7653 $as_echo "$OTOOL64" >&6; }
7654 else
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7656 $as_echo "no" >&6; }
7661 if test -z "$ac_cv_prog_OTOOL64"; then
7662 ac_ct_OTOOL64=$OTOOL64
7663 # Extract the first word of "otool64", so it can be a program name with args.
7664 set dummy otool64; ac_word=$2
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7666 $as_echo_n "checking for $ac_word... " >&6; }
7667 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7668 $as_echo_n "(cached) " >&6
7669 else
7670 if test -n "$ac_ct_OTOOL64"; then
7671 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7672 else
7673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7674 for as_dir in $PATH
7676 IFS=$as_save_IFS
7677 test -z "$as_dir" && as_dir=.
7678 for ac_exec_ext in '' $ac_executable_extensions; do
7679 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7680 ac_cv_prog_ac_ct_OTOOL64="otool64"
7681 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7682 break 2
7684 done
7685 done
7686 IFS=$as_save_IFS
7690 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7691 if test -n "$ac_ct_OTOOL64"; then
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7693 $as_echo "$ac_ct_OTOOL64" >&6; }
7694 else
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7696 $as_echo "no" >&6; }
7699 if test "x$ac_ct_OTOOL64" = x; then
7700 OTOOL64=":"
7701 else
7702 case $cross_compiling:$ac_tool_warned in
7703 yes:)
7704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7706 ac_tool_warned=yes ;;
7707 esac
7708 OTOOL64=$ac_ct_OTOOL64
7710 else
7711 OTOOL64="$ac_cv_prog_OTOOL64"
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7741 $as_echo_n "checking for -single_module linker flag... " >&6; }
7742 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7743 $as_echo_n "(cached) " >&6
7744 else
7745 lt_cv_apple_cc_single_mod=no
7746 if test -z "${LT_MULTI_MODULE}"; then
7747 # By default we will add the -single_module flag. You can override
7748 # by either setting the environment variable LT_MULTI_MODULE
7749 # non-empty at configure time, or by adding -multi_module to the
7750 # link flags.
7751 rm -rf libconftest.dylib*
7752 echo "int foo(void){return 1;}" > conftest.c
7753 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7754 -dynamiclib -Wl,-single_module conftest.c" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7756 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7757 _lt_result=$?
7758 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7759 lt_cv_apple_cc_single_mod=yes
7760 else
7761 cat conftest.err >&5
7763 rm -rf libconftest.dylib*
7764 rm -f conftest.*
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7768 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7770 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7771 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7773 else
7774 lt_cv_ld_exported_symbols_list=no
7775 save_LDFLAGS=$LDFLAGS
7776 echo "_main" > conftest.sym
7777 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7778 if test x$gcc_no_link = xyes; then
7779 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7782 /* end confdefs.h. */
7785 main ()
7789 return 0;
7791 _ACEOF
7792 if ac_fn_c_try_link "$LINENO"; then :
7793 lt_cv_ld_exported_symbols_list=yes
7794 else
7795 lt_cv_ld_exported_symbols_list=no
7797 rm -f core conftest.err conftest.$ac_objext \
7798 conftest$ac_exeext conftest.$ac_ext
7799 LDFLAGS="$save_LDFLAGS"
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7803 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7805 $as_echo_n "checking for -force_load linker flag... " >&6; }
7806 if test "${lt_cv_ld_force_load+set}" = set; then :
7807 $as_echo_n "(cached) " >&6
7808 else
7809 lt_cv_ld_force_load=no
7810 cat > conftest.c << _LT_EOF
7811 int forced_loaded() { return 2;}
7812 _LT_EOF
7813 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7814 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7815 echo "$AR cru libconftest.a conftest.o" >&5
7816 $AR cru libconftest.a conftest.o 2>&5
7817 cat > conftest.c << _LT_EOF
7818 int main() { return 0;}
7819 _LT_EOF
7820 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7821 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7822 _lt_result=$?
7823 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7824 lt_cv_ld_force_load=yes
7825 else
7826 cat conftest.err >&5
7828 rm -f conftest.err libconftest.a conftest conftest.c
7829 rm -rf conftest.dSYM
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7833 $as_echo "$lt_cv_ld_force_load" >&6; }
7834 case $host_os in
7835 rhapsody* | darwin1.[012])
7836 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7837 darwin1.*)
7838 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7839 darwin*) # darwin 5.x on
7840 # if running on 10.5 or later, the deployment target defaults
7841 # to the OS version, if on x86, and 10.4, the deployment
7842 # target defaults to 10.4. Don't you love it?
7843 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7844 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7845 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7846 10.[012]*)
7847 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7848 10.*)
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7850 esac
7852 esac
7853 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7854 _lt_dar_single_mod='$single_module'
7856 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7857 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7858 else
7859 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7862 _lt_dsymutil='~$DSYMUTIL $lib || :'
7863 else
7864 _lt_dsymutil=
7867 esac
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7870 $as_echo_n "checking for ANSI C header files... " >&6; }
7871 if test "${ac_cv_header_stdc+set}" = set; then :
7872 $as_echo_n "(cached) " >&6
7873 else
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <stdlib.h>
7877 #include <stdarg.h>
7878 #include <string.h>
7879 #include <float.h>
7882 main ()
7886 return 0;
7888 _ACEOF
7889 if ac_fn_c_try_compile "$LINENO"; then :
7890 ac_cv_header_stdc=yes
7891 else
7892 ac_cv_header_stdc=no
7894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896 if test $ac_cv_header_stdc = yes; then
7897 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <string.h>
7902 _ACEOF
7903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7904 $EGREP "memchr" >/dev/null 2>&1; then :
7906 else
7907 ac_cv_header_stdc=no
7909 rm -f conftest*
7913 if test $ac_cv_header_stdc = yes; then
7914 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7916 /* end confdefs.h. */
7917 #include <stdlib.h>
7919 _ACEOF
7920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7921 $EGREP "free" >/dev/null 2>&1; then :
7923 else
7924 ac_cv_header_stdc=no
7926 rm -f conftest*
7930 if test $ac_cv_header_stdc = yes; then
7931 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7932 if test "$cross_compiling" = yes; then :
7934 else
7935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7937 #include <ctype.h>
7938 #include <stdlib.h>
7939 #if ((' ' & 0x0FF) == 0x020)
7940 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7941 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7942 #else
7943 # define ISLOWER(c) \
7944 (('a' <= (c) && (c) <= 'i') \
7945 || ('j' <= (c) && (c) <= 'r') \
7946 || ('s' <= (c) && (c) <= 'z'))
7947 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7948 #endif
7950 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7952 main ()
7954 int i;
7955 for (i = 0; i < 256; i++)
7956 if (XOR (islower (i), ISLOWER (i))
7957 || toupper (i) != TOUPPER (i))
7958 return 2;
7959 return 0;
7961 _ACEOF
7962 if ac_fn_c_try_run "$LINENO"; then :
7964 else
7965 ac_cv_header_stdc=no
7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7968 conftest.$ac_objext conftest.beam conftest.$ac_ext
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7974 $as_echo "$ac_cv_header_stdc" >&6; }
7975 if test $ac_cv_header_stdc = yes; then
7977 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7981 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7983 inttypes.h stdint.h unistd.h
7984 do :
7985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7986 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7988 eval as_val=\$$as_ac_Header
7989 if test "x$as_val" = x""yes; then :
7990 cat >>confdefs.h <<_ACEOF
7991 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7992 _ACEOF
7996 done
7999 for ac_header in dlfcn.h
8000 do :
8001 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8003 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8004 cat >>confdefs.h <<_ACEOF
8005 #define HAVE_DLFCN_H 1
8006 _ACEOF
8010 done
8017 # Set options
8022 enable_win32_dll=no
8025 # Check whether --enable-shared was given.
8026 if test "${enable_shared+set}" = set; then :
8027 enableval=$enable_shared; p=${PACKAGE-default}
8028 case $enableval in
8029 yes) enable_shared=yes ;;
8030 no) enable_shared=no ;;
8032 enable_shared=no
8033 # Look at the argument we got. We use all the common list separators.
8034 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8035 for pkg in $enableval; do
8036 IFS="$lt_save_ifs"
8037 if test "X$pkg" = "X$p"; then
8038 enable_shared=yes
8040 done
8041 IFS="$lt_save_ifs"
8043 esac
8044 else
8045 enable_shared=yes
8056 # Check whether --enable-static was given.
8057 if test "${enable_static+set}" = set; then :
8058 enableval=$enable_static; p=${PACKAGE-default}
8059 case $enableval in
8060 yes) enable_static=yes ;;
8061 no) enable_static=no ;;
8063 enable_static=no
8064 # Look at the argument we got. We use all the common list separators.
8065 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8066 for pkg in $enableval; do
8067 IFS="$lt_save_ifs"
8068 if test "X$pkg" = "X$p"; then
8069 enable_static=yes
8071 done
8072 IFS="$lt_save_ifs"
8074 esac
8075 else
8076 enable_static=yes
8088 # Check whether --with-pic was given.
8089 if test "${with_pic+set}" = set; then :
8090 withval=$with_pic; pic_mode="$withval"
8091 else
8092 pic_mode=default
8096 test -z "$pic_mode" && pic_mode=default
8104 # Check whether --enable-fast-install was given.
8105 if test "${enable_fast_install+set}" = set; then :
8106 enableval=$enable_fast_install; p=${PACKAGE-default}
8107 case $enableval in
8108 yes) enable_fast_install=yes ;;
8109 no) enable_fast_install=no ;;
8111 enable_fast_install=no
8112 # Look at the argument we got. We use all the common list separators.
8113 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8114 for pkg in $enableval; do
8115 IFS="$lt_save_ifs"
8116 if test "X$pkg" = "X$p"; then
8117 enable_fast_install=yes
8119 done
8120 IFS="$lt_save_ifs"
8122 esac
8123 else
8124 enable_fast_install=yes
8137 # This can be used to rebuild libtool when needed
8138 LIBTOOL_DEPS="$ltmain"
8140 # Always use our own libtool.
8141 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8168 test -z "$LN_S" && LN_S="ln -s"
8183 if test -n "${ZSH_VERSION+set}" ; then
8184 setopt NO_GLOB_SUBST
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8188 $as_echo_n "checking for objdir... " >&6; }
8189 if test "${lt_cv_objdir+set}" = set; then :
8190 $as_echo_n "(cached) " >&6
8191 else
8192 rm -f .libs 2>/dev/null
8193 mkdir .libs 2>/dev/null
8194 if test -d .libs; then
8195 lt_cv_objdir=.libs
8196 else
8197 # MS-DOS does not allow filenames that begin with a dot.
8198 lt_cv_objdir=_libs
8200 rmdir .libs 2>/dev/null
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8203 $as_echo "$lt_cv_objdir" >&6; }
8204 objdir=$lt_cv_objdir
8210 cat >>confdefs.h <<_ACEOF
8211 #define LT_OBJDIR "$lt_cv_objdir/"
8212 _ACEOF
8217 case $host_os in
8218 aix3*)
8219 # AIX sometimes has problems with the GCC collect2 program. For some
8220 # reason, if we set the COLLECT_NAMES environment variable, the problems
8221 # vanish in a puff of smoke.
8222 if test "X${COLLECT_NAMES+set}" != Xset; then
8223 COLLECT_NAMES=
8224 export COLLECT_NAMES
8227 esac
8229 # Global variables:
8230 ofile=libtool
8231 can_build_shared=yes
8233 # All known linkers require a `.a' archive for static linking (except MSVC,
8234 # which needs '.lib').
8235 libext=a
8237 with_gnu_ld="$lt_cv_prog_gnu_ld"
8239 old_CC="$CC"
8240 old_CFLAGS="$CFLAGS"
8242 # Set sane defaults for various variables
8243 test -z "$CC" && CC=cc
8244 test -z "$LTCC" && LTCC=$CC
8245 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8246 test -z "$LD" && LD=ld
8247 test -z "$ac_objext" && ac_objext=o
8249 for cc_temp in $compiler""; do
8250 case $cc_temp in
8251 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8252 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8253 \-*) ;;
8254 *) break;;
8255 esac
8256 done
8257 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8260 # Only perform the check for file, if the check method requires it
8261 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8262 case $deplibs_check_method in
8263 file_magic*)
8264 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8266 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/${ac_tool_prefix}file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8291 else
8292 cat <<_LT_EOF 1>&2
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8303 _LT_EOF
8304 fi ;;
8305 esac
8307 break
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 esac
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8329 if test -z "$lt_cv_path_MAGIC_CMD"; then
8330 if test -n "$ac_tool_prefix"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8332 $as_echo_n "checking for file... " >&6; }
8333 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8334 $as_echo_n "(cached) " >&6
8335 else
8336 case $MAGIC_CMD in
8337 [\\/*] | ?:[\\/]*)
8338 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8341 lt_save_MAGIC_CMD="$MAGIC_CMD"
8342 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8343 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8344 for ac_dir in $ac_dummy; do
8345 IFS="$lt_save_ifs"
8346 test -z "$ac_dir" && ac_dir=.
8347 if test -f $ac_dir/file; then
8348 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8349 if test -n "$file_magic_test_file"; then
8350 case $deplibs_check_method in
8351 "file_magic "*)
8352 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8353 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8354 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8355 $EGREP "$file_magic_regex" > /dev/null; then
8357 else
8358 cat <<_LT_EOF 1>&2
8360 *** Warning: the command libtool uses to detect shared libraries,
8361 *** $file_magic_cmd, produces output that libtool cannot recognize.
8362 *** The result is that libtool may fail to recognize shared libraries
8363 *** as such. This will affect the creation of libtool libraries that
8364 *** depend on shared libraries, but programs linked with such libtool
8365 *** libraries will work regardless of this problem. Nevertheless, you
8366 *** may want to report the problem to your system manager and/or to
8367 *** bug-libtool@gnu.org
8369 _LT_EOF
8370 fi ;;
8371 esac
8373 break
8375 done
8376 IFS="$lt_save_ifs"
8377 MAGIC_CMD="$lt_save_MAGIC_CMD"
8379 esac
8382 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8383 if test -n "$MAGIC_CMD"; then
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8385 $as_echo "$MAGIC_CMD" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8388 $as_echo "no" >&6; }
8392 else
8393 MAGIC_CMD=:
8399 esac
8401 # Use C for the default configuration in the libtool script
8403 lt_save_CC="$CC"
8404 ac_ext=c
8405 ac_cpp='$CPP $CPPFLAGS'
8406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8411 # Source file extension for C test sources.
8412 ac_ext=c
8414 # Object file extension for compiled C test sources.
8415 objext=o
8416 objext=$objext
8418 # Code to be used in simple compile tests
8419 lt_simple_compile_test_code="int some_variable = 0;"
8421 # Code to be used in simple link tests
8422 lt_simple_link_test_code='int main(){return(0);}'
8430 # If no C compiler was specified, use CC.
8431 LTCC=${LTCC-"$CC"}
8433 # If no C compiler flags were specified, use CFLAGS.
8434 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8436 # Allow CC to be a program name with arguments.
8437 compiler=$CC
8439 # Save the default compiler, since it gets overwritten when the other
8440 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8441 compiler_DEFAULT=$CC
8443 # save warnings/boilerplate of simple test code
8444 ac_outfile=conftest.$ac_objext
8445 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8446 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8447 _lt_compiler_boilerplate=`cat conftest.err`
8448 $RM conftest*
8450 ac_outfile=conftest.$ac_objext
8451 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8452 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8453 _lt_linker_boilerplate=`cat conftest.err`
8454 $RM -r conftest*
8457 ## CAVEAT EMPTOR:
8458 ## There is no encapsulation within the following macros, do not change
8459 ## the running order or otherwise move them around unless you know exactly
8460 ## what you are doing...
8461 if test -n "$compiler"; then
8463 lt_prog_compiler_no_builtin_flag=
8465 if test "$GCC" = yes; then
8466 case $cc_basename in
8467 nvcc*)
8468 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8471 esac
8473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8474 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8475 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8476 $as_echo_n "(cached) " >&6
8477 else
8478 lt_cv_prog_compiler_rtti_exceptions=no
8479 ac_outfile=conftest.$ac_objext
8480 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8481 lt_compiler_flag="-fno-rtti -fno-exceptions"
8482 # Insert the option either (1) after the last *FLAGS variable, or
8483 # (2) before a word containing "conftest.", or (3) at the end.
8484 # Note that $ac_compile itself does not contain backslashes and begins
8485 # with a dollar sign (not a hyphen), so the echo should work correctly.
8486 # The option is referenced via a variable to avoid confusing sed.
8487 lt_compile=`echo "$ac_compile" | $SED \
8488 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8489 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8490 -e 's:$: $lt_compiler_flag:'`
8491 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8492 (eval "$lt_compile" 2>conftest.err)
8493 ac_status=$?
8494 cat conftest.err >&5
8495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8496 if (exit $ac_status) && test -s "$ac_outfile"; then
8497 # The compiler can only warn and ignore the option if not recognized
8498 # So say no if there are warnings other than the usual output.
8499 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8500 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8501 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8502 lt_cv_prog_compiler_rtti_exceptions=yes
8505 $RM conftest*
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8509 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8512 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8513 else
8524 lt_prog_compiler_wl=
8525 lt_prog_compiler_pic=
8526 lt_prog_compiler_static=
8528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8529 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531 if test "$GCC" = yes; then
8532 lt_prog_compiler_wl='-Wl,'
8533 lt_prog_compiler_static='-static'
8535 case $host_os in
8536 aix*)
8537 # All AIX code is PIC.
8538 if test "$host_cpu" = ia64; then
8539 # AIX 5 now supports IA64 processor
8540 lt_prog_compiler_static='-Bstatic'
8542 lt_prog_compiler_pic='-fPIC'
8545 amigaos*)
8546 case $host_cpu in
8547 powerpc)
8548 # see comment about AmigaOS4 .so support
8549 lt_prog_compiler_pic='-fPIC'
8551 m68k)
8552 # FIXME: we need at least 68020 code to build shared libraries, but
8553 # adding the `-m68020' flag to GCC prevents building anything better,
8554 # like `-m68040'.
8555 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 esac
8560 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8561 # PIC is the default for these OSes.
8564 mingw* | cygwin* | pw32* | os2* | cegcc*)
8565 # This hack is so that the source file can tell whether it is being
8566 # built for inclusion in a dll (and should export symbols for example).
8567 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8568 # (--disable-auto-import) libraries
8569 lt_prog_compiler_pic='-DDLL_EXPORT'
8572 darwin* | rhapsody*)
8573 # PIC is the default on this platform
8574 # Common symbols not allowed in MH_DYLIB files
8575 lt_prog_compiler_pic='-fno-common'
8578 haiku*)
8579 # PIC is the default for Haiku.
8580 # The "-static" flag exists, but is broken.
8581 lt_prog_compiler_static=
8584 hpux*)
8585 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8586 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8587 # sets the default TLS model and affects inlining.
8588 case $host_cpu in
8589 hppa*64*)
8590 # +Z the default
8593 lt_prog_compiler_pic='-fPIC'
8595 esac
8598 interix[3-9]*)
8599 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8600 # Instead, we relocate shared libraries at runtime.
8603 msdosdjgpp*)
8604 # Just because we use GCC doesn't mean we suddenly get shared libraries
8605 # on systems that don't support them.
8606 lt_prog_compiler_can_build_shared=no
8607 enable_shared=no
8610 *nto* | *qnx*)
8611 # QNX uses GNU C++, but need to define -shared option too, otherwise
8612 # it will coredump.
8613 lt_prog_compiler_pic='-fPIC -shared'
8616 sysv4*MP*)
8617 if test -d /usr/nec; then
8618 lt_prog_compiler_pic=-Kconform_pic
8623 lt_prog_compiler_pic='-fPIC'
8625 esac
8627 case $cc_basename in
8628 nvcc*) # Cuda Compiler Driver 2.2
8629 lt_prog_compiler_wl='-Xlinker '
8630 lt_prog_compiler_pic='-Xcompiler -fPIC'
8632 esac
8633 else
8634 # PORTME Check for flag to pass linker flags through the system compiler.
8635 case $host_os in
8636 aix*)
8637 lt_prog_compiler_wl='-Wl,'
8638 if test "$host_cpu" = ia64; then
8639 # AIX 5 now supports IA64 processor
8640 lt_prog_compiler_static='-Bstatic'
8641 else
8642 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8646 mingw* | cygwin* | pw32* | os2* | cegcc*)
8647 # This hack is so that the source file can tell whether it is being
8648 # built for inclusion in a dll (and should export symbols for example).
8649 lt_prog_compiler_pic='-DDLL_EXPORT'
8652 hpux9* | hpux10* | hpux11*)
8653 lt_prog_compiler_wl='-Wl,'
8654 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8655 # not for PA HP-UX.
8656 case $host_cpu in
8657 hppa*64*|ia64*)
8658 # +Z the default
8661 lt_prog_compiler_pic='+Z'
8663 esac
8664 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8665 lt_prog_compiler_static='${wl}-a ${wl}archive'
8668 irix5* | irix6* | nonstopux*)
8669 lt_prog_compiler_wl='-Wl,'
8670 # PIC (with -KPIC) is the default.
8671 lt_prog_compiler_static='-non_shared'
8674 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8675 case $cc_basename in
8676 # old Intel for x86_64 which still supported -KPIC.
8677 ecc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 lt_prog_compiler_pic='-KPIC'
8680 lt_prog_compiler_static='-static'
8682 # icc used to be incompatible with GCC.
8683 # ICC 10 doesn't accept -KPIC any more.
8684 icc* | ifort*)
8685 lt_prog_compiler_wl='-Wl,'
8686 lt_prog_compiler_pic='-fPIC'
8687 lt_prog_compiler_static='-static'
8689 # Lahey Fortran 8.1.
8690 lf95*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='--shared'
8693 lt_prog_compiler_static='--static'
8695 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8696 # Portland Group compilers (*not* the Pentium gcc compiler,
8697 # which looks to be a dead project)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fpic'
8700 lt_prog_compiler_static='-Bstatic'
8702 ccc*)
8703 lt_prog_compiler_wl='-Wl,'
8704 # All Alpha code is PIC.
8705 lt_prog_compiler_static='-non_shared'
8707 xl* | bgxl* | bgf* | mpixl*)
8708 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-qpic'
8711 lt_prog_compiler_static='-qstaticlink'
8714 case `$CC -V 2>&1 | sed 5q` in
8715 *Sun\ F* | *Sun*Fortran*)
8716 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8717 lt_prog_compiler_pic='-KPIC'
8718 lt_prog_compiler_static='-Bstatic'
8719 lt_prog_compiler_wl=''
8721 *Sun\ C*)
8722 # Sun C 5.9
8723 lt_prog_compiler_pic='-KPIC'
8724 lt_prog_compiler_static='-Bstatic'
8725 lt_prog_compiler_wl='-Wl,'
8727 esac
8729 esac
8732 newsos6)
8733 lt_prog_compiler_pic='-KPIC'
8734 lt_prog_compiler_static='-Bstatic'
8737 *nto* | *qnx*)
8738 # QNX uses GNU C++, but need to define -shared option too, otherwise
8739 # it will coredump.
8740 lt_prog_compiler_pic='-fPIC -shared'
8743 osf3* | osf4* | osf5*)
8744 lt_prog_compiler_wl='-Wl,'
8745 # All OSF/1 code is PIC.
8746 lt_prog_compiler_static='-non_shared'
8749 rdos*)
8750 lt_prog_compiler_static='-non_shared'
8753 solaris*)
8754 lt_prog_compiler_pic='-KPIC'
8755 lt_prog_compiler_static='-Bstatic'
8756 case $cc_basename in
8757 f77* | f90* | f95*)
8758 lt_prog_compiler_wl='-Qoption ld ';;
8760 lt_prog_compiler_wl='-Wl,';;
8761 esac
8764 sunos4*)
8765 lt_prog_compiler_wl='-Qoption ld '
8766 lt_prog_compiler_pic='-PIC'
8767 lt_prog_compiler_static='-Bstatic'
8770 sysv4 | sysv4.2uw2* | sysv4.3*)
8771 lt_prog_compiler_wl='-Wl,'
8772 lt_prog_compiler_pic='-KPIC'
8773 lt_prog_compiler_static='-Bstatic'
8776 sysv4*MP*)
8777 if test -d /usr/nec ;then
8778 lt_prog_compiler_pic='-Kconform_pic'
8779 lt_prog_compiler_static='-Bstatic'
8783 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 unicos*)
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_can_build_shared=no
8794 uts4*)
8795 lt_prog_compiler_pic='-pic'
8796 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_can_build_shared=no
8802 esac
8805 case $host_os in
8806 # For platforms which do not support PIC, -DPIC is meaningless:
8807 *djgpp*)
8808 lt_prog_compiler_pic=
8811 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8813 esac
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8815 $as_echo "$lt_prog_compiler_pic" >&6; }
8823 # Check to make sure the PIC flag actually works.
8825 if test -n "$lt_prog_compiler_pic"; then
8826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8828 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8829 $as_echo_n "(cached) " >&6
8830 else
8831 lt_cv_prog_compiler_pic_works=no
8832 ac_outfile=conftest.$ac_objext
8833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8834 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8835 # Insert the option either (1) after the last *FLAGS variable, or
8836 # (2) before a word containing "conftest.", or (3) at the end.
8837 # Note that $ac_compile itself does not contain backslashes and begins
8838 # with a dollar sign (not a hyphen), so the echo should work correctly.
8839 # The option is referenced via a variable to avoid confusing sed.
8840 lt_compile=`echo "$ac_compile" | $SED \
8841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8843 -e 's:$: $lt_compiler_flag:'`
8844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8845 (eval "$lt_compile" 2>conftest.err)
8846 ac_status=$?
8847 cat conftest.err >&5
8848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8849 if (exit $ac_status) && test -s "$ac_outfile"; then
8850 # The compiler can only warn and ignore the option if not recognized
8851 # So say no if there are warnings other than the usual output.
8852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8855 lt_cv_prog_compiler_pic_works=yes
8858 $RM conftest*
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8862 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8865 case $lt_prog_compiler_pic in
8866 "" | " "*) ;;
8867 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8868 esac
8869 else
8870 lt_prog_compiler_pic=
8871 lt_prog_compiler_can_build_shared=no
8882 # Check to make sure the static flag actually works.
8884 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8886 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8887 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8888 $as_echo_n "(cached) " >&6
8889 else
8890 lt_cv_prog_compiler_static_works=no
8891 save_LDFLAGS="$LDFLAGS"
8892 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8893 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8894 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8895 # The linker can only warn and ignore the option if not recognized
8896 # So say no if there are warnings
8897 if test -s conftest.err; then
8898 # Append any errors to the config.log.
8899 cat conftest.err 1>&5
8900 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8901 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8902 if diff conftest.exp conftest.er2 >/dev/null; then
8903 lt_cv_prog_compiler_static_works=yes
8905 else
8906 lt_cv_prog_compiler_static_works=yes
8909 $RM -r conftest*
8910 LDFLAGS="$save_LDFLAGS"
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8914 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 else
8919 lt_prog_compiler_static=
8928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8929 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8930 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8931 $as_echo_n "(cached) " >&6
8932 else
8933 lt_cv_prog_compiler_c_o=no
8934 $RM -r conftest 2>/dev/null
8935 mkdir conftest
8936 cd conftest
8937 mkdir out
8938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940 lt_compiler_flag="-o out/conftest2.$ac_objext"
8941 # Insert the option either (1) after the last *FLAGS variable, or
8942 # (2) before a word containing "conftest.", or (3) at the end.
8943 # Note that $ac_compile itself does not contain backslashes and begins
8944 # with a dollar sign (not a hyphen), so the echo should work correctly.
8945 lt_compile=`echo "$ac_compile" | $SED \
8946 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8947 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8948 -e 's:$: $lt_compiler_flag:'`
8949 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8950 (eval "$lt_compile" 2>out/conftest.err)
8951 ac_status=$?
8952 cat out/conftest.err >&5
8953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8954 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8955 then
8956 # The compiler can only warn and ignore the option if not recognized
8957 # So say no if there are warnings
8958 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8959 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8960 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8961 lt_cv_prog_compiler_c_o=yes
8964 chmod u+w . 2>&5
8965 $RM conftest*
8966 # SGI C++ compiler will create directory out/ii_files/ for
8967 # template instantiation
8968 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8969 $RM out/* && rmdir out
8970 cd ..
8971 $RM -r conftest
8972 $RM conftest*
8975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8976 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8984 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8985 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8986 $as_echo_n "(cached) " >&6
8987 else
8988 lt_cv_prog_compiler_c_o=no
8989 $RM -r conftest 2>/dev/null
8990 mkdir conftest
8991 cd conftest
8992 mkdir out
8993 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995 lt_compiler_flag="-o out/conftest2.$ac_objext"
8996 # Insert the option either (1) after the last *FLAGS variable, or
8997 # (2) before a word containing "conftest.", or (3) at the end.
8998 # Note that $ac_compile itself does not contain backslashes and begins
8999 # with a dollar sign (not a hyphen), so the echo should work correctly.
9000 lt_compile=`echo "$ac_compile" | $SED \
9001 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9002 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9003 -e 's:$: $lt_compiler_flag:'`
9004 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9005 (eval "$lt_compile" 2>out/conftest.err)
9006 ac_status=$?
9007 cat out/conftest.err >&5
9008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9009 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9010 then
9011 # The compiler can only warn and ignore the option if not recognized
9012 # So say no if there are warnings
9013 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9014 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9015 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9016 lt_cv_prog_compiler_c_o=yes
9019 chmod u+w . 2>&5
9020 $RM conftest*
9021 # SGI C++ compiler will create directory out/ii_files/ for
9022 # template instantiation
9023 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9024 $RM out/* && rmdir out
9025 cd ..
9026 $RM -r conftest
9027 $RM conftest*
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9031 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9036 hard_links="nottested"
9037 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9038 # do not overwrite the value of need_locks provided by the user
9039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9040 $as_echo_n "checking if we can lock with hard links... " >&6; }
9041 hard_links=yes
9042 $RM conftest*
9043 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9044 touch conftest.a
9045 ln conftest.a conftest.b 2>&5 || hard_links=no
9046 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9048 $as_echo "$hard_links" >&6; }
9049 if test "$hard_links" = no; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9051 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9052 need_locks=warn
9054 else
9055 need_locks=no
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9064 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066 runpath_var=
9067 allow_undefined_flag=
9068 always_export_symbols=no
9069 archive_cmds=
9070 archive_expsym_cmds=
9071 compiler_needs_object=no
9072 enable_shared_with_static_runtimes=no
9073 export_dynamic_flag_spec=
9074 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9075 hardcode_automatic=no
9076 hardcode_direct=no
9077 hardcode_direct_absolute=no
9078 hardcode_libdir_flag_spec=
9079 hardcode_libdir_flag_spec_ld=
9080 hardcode_libdir_separator=
9081 hardcode_minus_L=no
9082 hardcode_shlibpath_var=unsupported
9083 inherit_rpath=no
9084 link_all_deplibs=unknown
9085 module_cmds=
9086 module_expsym_cmds=
9087 old_archive_from_new_cmds=
9088 old_archive_from_expsyms_cmds=
9089 thread_safe_flag_spec=
9090 whole_archive_flag_spec=
9091 # include_expsyms should be a list of space-separated symbols to be *always*
9092 # included in the symbol list
9093 include_expsyms=
9094 # exclude_expsyms can be an extended regexp of symbols to exclude
9095 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9096 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9097 # as well as any symbol that contains `d'.
9098 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9099 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9100 # platforms (ab)use it in PIC code, but their linkers get confused if
9101 # the symbol is explicitly referenced. Since portable code cannot
9102 # rely on this symbol name, it's probably fine to never include it in
9103 # preloaded symbol tables.
9104 # Exclude shared library initialization/finalization symbols.
9105 extract_expsyms_cmds=
9107 case $host_os in
9108 cygwin* | mingw* | pw32* | cegcc*)
9109 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9110 # When not using gcc, we currently assume that we are using
9111 # Microsoft Visual C++.
9112 if test "$GCC" != yes; then
9113 with_gnu_ld=no
9116 interix*)
9117 # we just hope/assume this is gcc and not c89 (= MSVC++)
9118 with_gnu_ld=yes
9120 openbsd*)
9121 with_gnu_ld=no
9123 esac
9125 ld_shlibs=yes
9127 # On some targets, GNU ld is compatible enough with the native linker
9128 # that we're better off using the native interface for both.
9129 lt_use_gnu_ld_interface=no
9130 if test "$with_gnu_ld" = yes; then
9131 case $host_os in
9132 aix*)
9133 # The AIX port of GNU ld has always aspired to compatibility
9134 # with the native linker. However, as the warning in the GNU ld
9135 # block says, versions before 2.19.5* couldn't really create working
9136 # shared libraries, regardless of the interface used.
9137 case `$LD -v 2>&1` in
9138 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9139 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9140 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9142 lt_use_gnu_ld_interface=yes
9144 esac
9147 lt_use_gnu_ld_interface=yes
9149 esac
9152 if test "$lt_use_gnu_ld_interface" = yes; then
9153 # If archive_cmds runs LD, not CC, wlarc should be empty
9154 wlarc='${wl}'
9156 # Set some defaults for GNU ld with shared library support. These
9157 # are reset later if shared libraries are not supported. Putting them
9158 # here allows them to be overridden if necessary.
9159 runpath_var=LD_RUN_PATH
9160 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9161 export_dynamic_flag_spec='${wl}--export-dynamic'
9162 # ancient GNU ld didn't support --whole-archive et. al.
9163 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9164 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9165 else
9166 whole_archive_flag_spec=
9168 supports_anon_versioning=no
9169 case `$LD -v 2>&1` in
9170 *GNU\ gold*) supports_anon_versioning=yes ;;
9171 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9172 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9173 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9174 *\ 2.11.*) ;; # other 2.11 versions
9175 *) supports_anon_versioning=yes ;;
9176 esac
9178 # See if GNU ld supports shared libraries.
9179 case $host_os in
9180 aix[3-9]*)
9181 # On AIX/PPC, the GNU linker is very broken
9182 if test "$host_cpu" != ia64; then
9183 ld_shlibs=no
9184 cat <<_LT_EOF 1>&2
9186 *** Warning: the GNU linker, at least up to release 2.19, is reported
9187 *** to be unable to reliably create shared libraries on AIX.
9188 *** Therefore, libtool is disabling shared libraries support. If you
9189 *** really care for shared libraries, you may want to install binutils
9190 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9191 *** You will then need to restart the configuration process.
9193 _LT_EOF
9197 amigaos*)
9198 case $host_cpu in
9199 powerpc)
9200 # see comment about AmigaOS4 .so support
9201 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9202 archive_expsym_cmds=''
9204 m68k)
9205 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)'
9206 hardcode_libdir_flag_spec='-L$libdir'
9207 hardcode_minus_L=yes
9209 esac
9212 beos*)
9213 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9214 allow_undefined_flag=unsupported
9215 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9216 # support --undefined. This deserves some investigation. FIXME
9217 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9218 else
9219 ld_shlibs=no
9223 cygwin* | mingw* | pw32* | cegcc*)
9224 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9225 # as there is no search path for DLLs.
9226 hardcode_libdir_flag_spec='-L$libdir'
9227 export_dynamic_flag_spec='${wl}--export-all-symbols'
9228 allow_undefined_flag=unsupported
9229 always_export_symbols=no
9230 enable_shared_with_static_runtimes=yes
9231 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9234 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 # If the export-symbols file already is a .def file (1st line
9236 # is EXPORTS), use it as is; otherwise, prepend...
9237 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9238 cp $export_symbols $output_objdir/$soname.def;
9239 else
9240 echo EXPORTS > $output_objdir/$soname.def;
9241 cat $export_symbols >> $output_objdir/$soname.def;
9243 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9244 else
9245 ld_shlibs=no
9249 haiku*)
9250 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9251 link_all_deplibs=yes
9254 interix[3-9]*)
9255 hardcode_direct=no
9256 hardcode_shlibpath_var=no
9257 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9258 export_dynamic_flag_spec='${wl}-E'
9259 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9260 # Instead, shared libraries are loaded at an image base (0x10000000 by
9261 # default) and relocated if they conflict, which is a slow very memory
9262 # consuming and fragmenting process. To avoid this, we pick a random,
9263 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9264 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9265 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9266 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'
9269 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9270 tmp_diet=no
9271 if test "$host_os" = linux-dietlibc; then
9272 case $cc_basename in
9273 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9274 esac
9276 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9277 && test "$tmp_diet" = no
9278 then
9279 tmp_addflag=
9280 tmp_sharedflag='-shared'
9281 case $cc_basename,$host_cpu in
9282 pgcc*) # Portland Group C compiler
9283 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'
9284 tmp_addflag=' $pic_flag'
9286 pgf77* | pgf90* | pgf95* | pgfortran*)
9287 # Portland Group f77 and f90 compilers
9288 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'
9289 tmp_addflag=' $pic_flag -Mnomain' ;;
9290 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9291 tmp_addflag=' -i_dynamic' ;;
9292 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9293 tmp_addflag=' -i_dynamic -nofor_main' ;;
9294 ifc* | ifort*) # Intel Fortran compiler
9295 tmp_addflag=' -nofor_main' ;;
9296 lf95*) # Lahey Fortran 8.1
9297 whole_archive_flag_spec=
9298 tmp_sharedflag='--shared' ;;
9299 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9300 tmp_sharedflag='-qmkshrobj'
9301 tmp_addflag= ;;
9302 nvcc*) # Cuda Compiler Driver 2.2
9303 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'
9304 compiler_needs_object=yes
9306 esac
9307 case `$CC -V 2>&1 | sed 5q` in
9308 *Sun\ C*) # Sun C 5.9
9309 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'
9310 compiler_needs_object=yes
9311 tmp_sharedflag='-G' ;;
9312 *Sun\ F*) # Sun Fortran 8.3
9313 tmp_sharedflag='-G' ;;
9314 esac
9315 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317 if test "x$supports_anon_versioning" = xyes; then
9318 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9319 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9320 echo "local: *; };" >> $output_objdir/$libname.ver~
9321 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9324 case $cc_basename in
9325 xlf* | bgf* | bgxlf* | mpixlf*)
9326 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9327 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9328 hardcode_libdir_flag_spec=
9329 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9330 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9331 if test "x$supports_anon_versioning" = xyes; then
9332 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9333 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9334 echo "local: *; };" >> $output_objdir/$libname.ver~
9335 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9338 esac
9339 else
9340 ld_shlibs=no
9344 netbsd*)
9345 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9346 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9347 wlarc=
9348 else
9349 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9354 solaris*)
9355 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9356 ld_shlibs=no
9357 cat <<_LT_EOF 1>&2
9359 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9360 *** create shared libraries on Solaris systems. Therefore, libtool
9361 *** is disabling shared libraries support. We urge you to upgrade GNU
9362 *** binutils to release 2.9.1 or newer. Another option is to modify
9363 *** your PATH or compiler configuration so that the native linker is
9364 *** used, and then restart.
9366 _LT_EOF
9367 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9368 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9369 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9370 else
9371 ld_shlibs=no
9375 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9376 case `$LD -v 2>&1` in
9377 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9378 ld_shlibs=no
9379 cat <<_LT_EOF 1>&2
9381 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9382 *** reliably create shared libraries on SCO systems. Therefore, libtool
9383 *** is disabling shared libraries support. We urge you to upgrade GNU
9384 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9385 *** your PATH or compiler configuration so that the native linker is
9386 *** used, and then restart.
9388 _LT_EOF
9391 # For security reasons, it is highly recommended that you always
9392 # use absolute paths for naming shared libraries, and exclude the
9393 # DT_RUNPATH tag from executables and libraries. But doing so
9394 # requires that you compile everything twice, which is a pain.
9395 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9397 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9399 else
9400 ld_shlibs=no
9403 esac
9406 sunos4*)
9407 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9408 wlarc=
9409 hardcode_direct=yes
9410 hardcode_shlibpath_var=no
9414 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9415 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9416 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9417 else
9418 ld_shlibs=no
9421 esac
9423 if test "$ld_shlibs" = no; then
9424 runpath_var=
9425 hardcode_libdir_flag_spec=
9426 export_dynamic_flag_spec=
9427 whole_archive_flag_spec=
9429 else
9430 # PORTME fill in a description of your system's linker (not GNU ld)
9431 case $host_os in
9432 aix3*)
9433 allow_undefined_flag=unsupported
9434 always_export_symbols=yes
9435 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'
9436 # Note: this linker hardcodes the directories in LIBPATH if there
9437 # are no directories specified by -L.
9438 hardcode_minus_L=yes
9439 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9440 # Neither direct hardcoding nor static linking is supported with a
9441 # broken collect2.
9442 hardcode_direct=unsupported
9446 aix[4-9]*)
9447 if test "$host_cpu" = ia64; then
9448 # On IA64, the linker does run time linking by default, so we don't
9449 # have to do anything special.
9450 aix_use_runtimelinking=no
9451 exp_sym_flag='-Bexport'
9452 no_entry_flag=""
9453 else
9454 # If we're using GNU nm, then we don't want the "-C" option.
9455 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9456 # Also, AIX nm treats weak defined symbols like other global
9457 # defined symbols, whereas GNU nm marks them as "W".
9458 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9459 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'
9460 else
9461 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'
9463 aix_use_runtimelinking=no
9465 # Test if we are trying to use run time linking or normal
9466 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9467 # need to do runtime linking.
9468 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9469 for ld_flag in $LDFLAGS; do
9470 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9471 aix_use_runtimelinking=yes
9472 break
9474 done
9476 esac
9478 exp_sym_flag='-bexport'
9479 no_entry_flag='-bnoentry'
9482 # When large executables or shared objects are built, AIX ld can
9483 # have problems creating the table of contents. If linking a library
9484 # or program results in "error TOC overflow" add -mminimal-toc to
9485 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9486 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9488 archive_cmds=''
9489 hardcode_direct=yes
9490 hardcode_direct_absolute=yes
9491 hardcode_libdir_separator=':'
9492 link_all_deplibs=yes
9493 file_list_spec='${wl}-f,'
9495 if test "$GCC" = yes; then
9496 case $host_os in aix4.[012]|aix4.[012].*)
9497 # We only want to do this on AIX 4.2 and lower, the check
9498 # below for broken collect2 doesn't work under 4.3+
9499 collect2name=`${CC} -print-prog-name=collect2`
9500 if test -f "$collect2name" &&
9501 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9502 then
9503 # We have reworked collect2
9505 else
9506 # We have old collect2
9507 hardcode_direct=unsupported
9508 # It fails to find uninstalled libraries when the uninstalled
9509 # path is not listed in the libpath. Setting hardcode_minus_L
9510 # to unsupported forces relinking
9511 hardcode_minus_L=yes
9512 hardcode_libdir_flag_spec='-L$libdir'
9513 hardcode_libdir_separator=
9516 esac
9517 shared_flag='-shared'
9518 if test "$aix_use_runtimelinking" = yes; then
9519 shared_flag="$shared_flag "'${wl}-G'
9521 else
9522 # not using gcc
9523 if test "$host_cpu" = ia64; then
9524 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9525 # chokes on -Wl,-G. The following line is correct:
9526 shared_flag='-G'
9527 else
9528 if test "$aix_use_runtimelinking" = yes; then
9529 shared_flag='${wl}-G'
9530 else
9531 shared_flag='${wl}-bM:SRE'
9536 export_dynamic_flag_spec='${wl}-bexpall'
9537 # It seems that -bexpall does not export symbols beginning with
9538 # underscore (_), so it is better to generate a list of symbols to export.
9539 always_export_symbols=yes
9540 if test "$aix_use_runtimelinking" = yes; then
9541 # Warning - without using the other runtime loading flags (-brtl),
9542 # -berok will link without error, but may produce a broken library.
9543 allow_undefined_flag='-berok'
9544 # Determine the default libpath from the value encoded in an
9545 # empty executable.
9546 if test x$gcc_no_link = xyes; then
9547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9550 /* end confdefs.h. */
9553 main ()
9557 return 0;
9559 _ACEOF
9560 if ac_fn_c_try_link "$LINENO"; then :
9562 lt_aix_libpath_sed='
9563 /Import File Strings/,/^$/ {
9564 /^0/ {
9565 s/^0 *\(.*\)$/\1/
9569 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9570 # Check for a 64-bit object if we didn't find anything.
9571 if test -z "$aix_libpath"; then
9572 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9575 rm -f core conftest.err conftest.$ac_objext \
9576 conftest$ac_exeext conftest.$ac_ext
9577 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9579 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9580 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"
9581 else
9582 if test "$host_cpu" = ia64; then
9583 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9584 allow_undefined_flag="-z nodefs"
9585 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"
9586 else
9587 # Determine the default libpath from the value encoded in an
9588 # empty executable.
9589 if test x$gcc_no_link = xyes; then
9590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9593 /* end confdefs.h. */
9596 main ()
9600 return 0;
9602 _ACEOF
9603 if ac_fn_c_try_link "$LINENO"; then :
9605 lt_aix_libpath_sed='
9606 /Import File Strings/,/^$/ {
9607 /^0/ {
9608 s/^0 *\(.*\)$/\1/
9612 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9613 # Check for a 64-bit object if we didn't find anything.
9614 if test -z "$aix_libpath"; then
9615 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9618 rm -f core conftest.err conftest.$ac_objext \
9619 conftest$ac_exeext conftest.$ac_ext
9620 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9622 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9623 # Warning - without using the other run time loading flags,
9624 # -berok will link without error, but may produce a broken library.
9625 no_undefined_flag=' ${wl}-bernotok'
9626 allow_undefined_flag=' ${wl}-berok'
9627 if test "$with_gnu_ld" = yes; then
9628 # We only use this code for GNU lds that support --whole-archive.
9629 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9630 else
9631 # Exported symbols can be pulled into shared objects from archives
9632 whole_archive_flag_spec='$convenience'
9634 archive_cmds_need_lc=yes
9635 # This is similar to how AIX traditionally builds its shared libraries.
9636 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'
9641 amigaos*)
9642 case $host_cpu in
9643 powerpc)
9644 # see comment about AmigaOS4 .so support
9645 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9646 archive_expsym_cmds=''
9648 m68k)
9649 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)'
9650 hardcode_libdir_flag_spec='-L$libdir'
9651 hardcode_minus_L=yes
9653 esac
9656 bsdi[45]*)
9657 export_dynamic_flag_spec=-rdynamic
9660 cygwin* | mingw* | pw32* | cegcc*)
9661 # When not using gcc, we currently assume that we are using
9662 # Microsoft Visual C++.
9663 # hardcode_libdir_flag_spec is actually meaningless, as there is
9664 # no search path for DLLs.
9665 hardcode_libdir_flag_spec=' '
9666 allow_undefined_flag=unsupported
9667 # Tell ltmain to make .lib files, not .a files.
9668 libext=lib
9669 # Tell ltmain to make .dll files, not .so files.
9670 shrext_cmds=".dll"
9671 # FIXME: Setting linknames here is a bad hack.
9672 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9673 # The linker will automatically build a .lib file if we build a DLL.
9674 old_archive_from_new_cmds='true'
9675 # FIXME: Should let the user specify the lib program.
9676 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9677 fix_srcfile_path='`cygpath -w "$srcfile"`'
9678 enable_shared_with_static_runtimes=yes
9681 darwin* | rhapsody*)
9684 archive_cmds_need_lc=no
9685 hardcode_direct=no
9686 hardcode_automatic=yes
9687 hardcode_shlibpath_var=unsupported
9688 if test "$lt_cv_ld_force_load" = "yes"; then
9689 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\"`'
9690 else
9691 whole_archive_flag_spec=''
9693 link_all_deplibs=yes
9694 allow_undefined_flag="$_lt_dar_allow_undefined"
9695 case $cc_basename in
9696 ifort*) _lt_dar_can_shared=yes ;;
9697 *) _lt_dar_can_shared=$GCC ;;
9698 esac
9699 if test "$_lt_dar_can_shared" = "yes"; then
9700 output_verbose_link_cmd=func_echo_all
9701 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9702 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9703 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}"
9704 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}"
9706 else
9707 ld_shlibs=no
9712 dgux*)
9713 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9714 hardcode_libdir_flag_spec='-L$libdir'
9715 hardcode_shlibpath_var=no
9718 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9719 # support. Future versions do this automatically, but an explicit c++rt0.o
9720 # does not break anything, and helps significantly (at the cost of a little
9721 # extra space).
9722 freebsd2.2*)
9723 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9724 hardcode_libdir_flag_spec='-R$libdir'
9725 hardcode_direct=yes
9726 hardcode_shlibpath_var=no
9729 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9730 freebsd2.*)
9731 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9732 hardcode_direct=yes
9733 hardcode_minus_L=yes
9734 hardcode_shlibpath_var=no
9737 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9738 freebsd* | dragonfly*)
9739 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9740 hardcode_libdir_flag_spec='-R$libdir'
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9745 hpux9*)
9746 if test "$GCC" = yes; then
9747 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'
9748 else
9749 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'
9751 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9752 hardcode_libdir_separator=:
9753 hardcode_direct=yes
9755 # hardcode_minus_L: Not really in the search PATH,
9756 # but as the default location of the library.
9757 hardcode_minus_L=yes
9758 export_dynamic_flag_spec='${wl}-E'
9761 hpux10*)
9762 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9763 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9764 else
9765 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9767 if test "$with_gnu_ld" = no; then
9768 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9769 hardcode_libdir_flag_spec_ld='+b $libdir'
9770 hardcode_libdir_separator=:
9771 hardcode_direct=yes
9772 hardcode_direct_absolute=yes
9773 export_dynamic_flag_spec='${wl}-E'
9774 # hardcode_minus_L: Not really in the search PATH,
9775 # but as the default location of the library.
9776 hardcode_minus_L=yes
9780 hpux11*)
9781 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9782 case $host_cpu in
9783 hppa*64*)
9784 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 ia64*)
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9790 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 esac
9793 else
9794 case $host_cpu in
9795 hppa*64*)
9796 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ia64*)
9799 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 # Older versions of the 11.00 compiler do not understand -b yet
9804 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9806 $as_echo_n "checking if $CC understands -b... " >&6; }
9807 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 lt_cv_prog_compiler__b=no
9811 save_LDFLAGS="$LDFLAGS"
9812 LDFLAGS="$LDFLAGS -b"
9813 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9814 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9815 # The linker can only warn and ignore the option if not recognized
9816 # So say no if there are warnings
9817 if test -s conftest.err; then
9818 # Append any errors to the config.log.
9819 cat conftest.err 1>&5
9820 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9821 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9822 if diff conftest.exp conftest.er2 >/dev/null; then
9823 lt_cv_prog_compiler__b=yes
9825 else
9826 lt_cv_prog_compiler__b=yes
9829 $RM -r conftest*
9830 LDFLAGS="$save_LDFLAGS"
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9834 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9836 if test x"$lt_cv_prog_compiler__b" = xyes; then
9837 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9838 else
9839 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9843 esac
9845 if test "$with_gnu_ld" = no; then
9846 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9847 hardcode_libdir_separator=:
9849 case $host_cpu in
9850 hppa*64*|ia64*)
9851 hardcode_direct=no
9852 hardcode_shlibpath_var=no
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9859 # hardcode_minus_L: Not really in the search PATH,
9860 # but as the default location of the library.
9861 hardcode_minus_L=yes
9863 esac
9867 irix5* | irix6* | nonstopux*)
9868 if test "$GCC" = yes; then
9869 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'
9870 # Try to use the -exported_symbol ld option, if it does not
9871 # work, assume that -exports_file does not work either and
9872 # implicitly export all symbols.
9873 save_LDFLAGS="$LDFLAGS"
9874 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9875 if test x$gcc_no_link = xyes; then
9876 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9879 /* end confdefs.h. */
9880 int foo(void) {}
9881 _ACEOF
9882 if ac_fn_c_try_link "$LINENO"; then :
9883 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'
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LDFLAGS="$save_LDFLAGS"
9889 else
9890 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'
9891 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'
9893 archive_cmds_need_lc='no'
9894 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9895 hardcode_libdir_separator=:
9896 inherit_rpath=yes
9897 link_all_deplibs=yes
9900 netbsd*)
9901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9902 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9903 else
9904 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 hardcode_libdir_flag_spec='-R$libdir'
9907 hardcode_direct=yes
9908 hardcode_shlibpath_var=no
9911 newsos6)
9912 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9913 hardcode_direct=yes
9914 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9915 hardcode_libdir_separator=:
9916 hardcode_shlibpath_var=no
9919 *nto* | *qnx*)
9922 openbsd*)
9923 if test -f /usr/libexec/ld.so; then
9924 hardcode_direct=yes
9925 hardcode_shlibpath_var=no
9926 hardcode_direct_absolute=yes
9927 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9928 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9929 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9930 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9931 export_dynamic_flag_spec='${wl}-E'
9932 else
9933 case $host_os in
9934 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9935 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9936 hardcode_libdir_flag_spec='-R$libdir'
9939 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9940 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9942 esac
9944 else
9945 ld_shlibs=no
9949 os2*)
9950 hardcode_libdir_flag_spec='-L$libdir'
9951 hardcode_minus_L=yes
9952 allow_undefined_flag=unsupported
9953 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'
9954 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9957 osf3*)
9958 if test "$GCC" = yes; then
9959 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9960 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'
9961 else
9962 allow_undefined_flag=' -expect_unresolved \*'
9963 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'
9965 archive_cmds_need_lc='no'
9966 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9967 hardcode_libdir_separator=:
9970 osf4* | osf5*) # as osf3* with the addition of -msym flag
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-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'
9974 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9975 else
9976 allow_undefined_flag=' -expect_unresolved \*'
9977 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'
9978 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~
9979 $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'
9981 # Both c and cxx compiler support -rpath directly
9982 hardcode_libdir_flag_spec='-rpath $libdir'
9984 archive_cmds_need_lc='no'
9985 hardcode_libdir_separator=:
9988 solaris*)
9989 no_undefined_flag=' -z defs'
9990 if test "$GCC" = yes; then
9991 wlarc='${wl}'
9992 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9993 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9994 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9995 else
9996 case `$CC -V 2>&1` in
9997 *"Compilers 5.0"*)
9998 wlarc=''
9999 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10000 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10001 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10004 wlarc='${wl}'
10005 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 esac
10011 hardcode_libdir_flag_spec='-R$libdir'
10012 hardcode_shlibpath_var=no
10013 case $host_os in
10014 solaris2.[0-5] | solaris2.[0-5].*) ;;
10016 # The compiler driver will combine and reorder linker options,
10017 # but understands `-z linker_flag'. GCC discards it without `$wl',
10018 # but is careful enough not to reorder.
10019 # Supported since Solaris 2.6 (maybe 2.5.1?)
10020 if test "$GCC" = yes; then
10021 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10022 else
10023 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10026 esac
10027 link_all_deplibs=yes
10030 sunos4*)
10031 if test "x$host_vendor" = xsequent; then
10032 # Use $CC to link under sequent, because it throws in some extra .o
10033 # files that make .init and .fini sections work.
10034 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10035 else
10036 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 hardcode_libdir_flag_spec='-L$libdir'
10039 hardcode_direct=yes
10040 hardcode_minus_L=yes
10041 hardcode_shlibpath_var=no
10044 sysv4)
10045 case $host_vendor in
10046 sni)
10047 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10048 hardcode_direct=yes # is this really true???
10050 siemens)
10051 ## LD is ld it makes a PLAMLIB
10052 ## CC just makes a GrossModule.
10053 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10054 reload_cmds='$CC -r -o $output$reload_objs'
10055 hardcode_direct=no
10057 motorola)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10061 esac
10062 runpath_var='LD_RUN_PATH'
10063 hardcode_shlibpath_var=no
10066 sysv4.3*)
10067 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10068 hardcode_shlibpath_var=no
10069 export_dynamic_flag_spec='-Bexport'
10072 sysv4*MP*)
10073 if test -d /usr/nec; then
10074 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10075 hardcode_shlibpath_var=no
10076 runpath_var=LD_RUN_PATH
10077 hardcode_runpath_var=yes
10078 ld_shlibs=yes
10082 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10083 no_undefined_flag='${wl}-z,text'
10084 archive_cmds_need_lc=no
10085 hardcode_shlibpath_var=no
10086 runpath_var='LD_RUN_PATH'
10088 if test "$GCC" = yes; then
10089 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 else
10092 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10093 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10097 sysv5* | sco3.2v5* | sco5v6*)
10098 # Note: We can NOT use -z defs as we might desire, because we do not
10099 # link with -lc, and that would cause any symbols used from libc to
10100 # always be unresolved, which means just about no library would
10101 # ever link correctly. If we're not using GNU ld we use -z text
10102 # though, which does catch some bad symbols but isn't as heavy-handed
10103 # as -z defs.
10104 no_undefined_flag='${wl}-z,text'
10105 allow_undefined_flag='${wl}-z,nodefs'
10106 archive_cmds_need_lc=no
10107 hardcode_shlibpath_var=no
10108 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10109 hardcode_libdir_separator=':'
10110 link_all_deplibs=yes
10111 export_dynamic_flag_spec='${wl}-Bexport'
10112 runpath_var='LD_RUN_PATH'
10114 if test "$GCC" = yes; then
10115 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10116 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 else
10118 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10119 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10123 uts4*)
10124 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10125 hardcode_libdir_flag_spec='-L$libdir'
10126 hardcode_shlibpath_var=no
10130 ld_shlibs=no
10132 esac
10134 if test x$host_vendor = xsni; then
10135 case $host in
10136 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10137 export_dynamic_flag_spec='${wl}-Blargedynsym'
10139 esac
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10144 $as_echo "$ld_shlibs" >&6; }
10145 test "$ld_shlibs" = no && can_build_shared=no
10147 with_gnu_ld=$with_gnu_ld
10164 # Do we need to explicitly link libc?
10166 case "x$archive_cmds_need_lc" in
10167 x|xyes)
10168 # Assume -lc should be added
10169 archive_cmds_need_lc=yes
10171 if test "$enable_shared" = yes && test "$GCC" = yes; then
10172 case $archive_cmds in
10173 *'~'*)
10174 # FIXME: we may have to deal with multi-command sequences.
10176 '$CC '*)
10177 # Test whether the compiler implicitly links with -lc since on some
10178 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10179 # to ld, don't add -lc before -lgcc.
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10181 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10182 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10183 $as_echo_n "(cached) " >&6
10184 else
10185 $RM conftest*
10186 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10188 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10189 (eval $ac_compile) 2>&5
10190 ac_status=$?
10191 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10192 test $ac_status = 0; } 2>conftest.err; then
10193 soname=conftest
10194 lib=conftest
10195 libobjs=conftest.$ac_objext
10196 deplibs=
10197 wl=$lt_prog_compiler_wl
10198 pic_flag=$lt_prog_compiler_pic
10199 compiler_flags=-v
10200 linker_flags=-v
10201 verstring=
10202 output_objdir=.
10203 libname=conftest
10204 lt_save_allow_undefined_flag=$allow_undefined_flag
10205 allow_undefined_flag=
10206 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10207 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10208 ac_status=$?
10209 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10210 test $ac_status = 0; }
10211 then
10212 lt_cv_archive_cmds_need_lc=no
10213 else
10214 lt_cv_archive_cmds_need_lc=yes
10216 allow_undefined_flag=$lt_save_allow_undefined_flag
10217 else
10218 cat conftest.err 1>&5
10220 $RM conftest*
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10224 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10225 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10227 esac
10230 esac
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10389 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391 if test "$GCC" = yes; then
10392 case $host_os in
10393 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10394 *) lt_awk_arg="/^libraries:/" ;;
10395 esac
10396 case $host_os in
10397 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10398 *) lt_sed_strip_eq="s,=/,/,g" ;;
10399 esac
10400 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10401 case $lt_search_path_spec in
10402 *\;*)
10403 # if the path contains ";" then we assume it to be the separator
10404 # otherwise default to the standard path separator (i.e. ":") - it is
10405 # assumed that no part of a normal pathname contains ";" but that should
10406 # okay in the real world where ";" in dirpaths is itself problematic.
10407 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10410 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10412 esac
10413 # Ok, now we have the path, separated by spaces, we can step through it
10414 # and add multilib dir if necessary.
10415 lt_tmp_lt_search_path_spec=
10416 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10417 for lt_sys_path in $lt_search_path_spec; do
10418 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10419 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10420 else
10421 test -d "$lt_sys_path" && \
10422 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 done
10425 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10426 BEGIN {RS=" "; FS="/|\n";} {
10427 lt_foo="";
10428 lt_count=0;
10429 for (lt_i = NF; lt_i > 0; lt_i--) {
10430 if ($lt_i != "" && $lt_i != ".") {
10431 if ($lt_i == "..") {
10432 lt_count++;
10433 } else {
10434 if (lt_count == 0) {
10435 lt_foo="/" $lt_i lt_foo;
10436 } else {
10437 lt_count--;
10442 if (lt_foo != "") { lt_freq[lt_foo]++; }
10443 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 # AWK program above erroneously prepends '/' to C:/dos/paths
10446 # for these hosts.
10447 case $host_os in
10448 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10449 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10450 esac
10451 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10452 else
10453 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10455 library_names_spec=
10456 libname_spec='lib$name'
10457 soname_spec=
10458 shrext_cmds=".so"
10459 postinstall_cmds=
10460 postuninstall_cmds=
10461 finish_cmds=
10462 finish_eval=
10463 shlibpath_var=
10464 shlibpath_overrides_runpath=unknown
10465 version_type=none
10466 dynamic_linker="$host_os ld.so"
10467 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10468 need_lib_prefix=unknown
10469 hardcode_into_libs=no
10471 # when you set need_version to no, make sure it does not cause -set_version
10472 # flags to be left without arguments
10473 need_version=unknown
10475 case $host_os in
10476 aix3*)
10477 version_type=linux
10478 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10479 shlibpath_var=LIBPATH
10481 # AIX 3 has no versioning support, so we append a major version to the name.
10482 soname_spec='${libname}${release}${shared_ext}$major'
10485 aix[4-9]*)
10486 version_type=linux
10487 need_lib_prefix=no
10488 need_version=no
10489 hardcode_into_libs=yes
10490 if test "$host_cpu" = ia64; then
10491 # AIX 5 supports IA64
10492 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 else
10495 # With GCC up to 2.95.x, collect2 would create an import file
10496 # for dependence libraries. The import file would start with
10497 # the line `#! .'. This would cause the generated library to
10498 # depend on `.', always an invalid library. This was fixed in
10499 # development snapshots of GCC prior to 3.0.
10500 case $host_os in
10501 aix4 | aix4.[01] | aix4.[01].*)
10502 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10503 echo ' yes '
10504 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10506 else
10507 can_build_shared=no
10510 esac
10511 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10512 # soname into executable. Probably we can add versioning support to
10513 # collect2, so additional links can be useful in future.
10514 if test "$aix_use_runtimelinking" = yes; then
10515 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10516 # instead of lib<name>.a to let people know that these are not
10517 # typical AIX shared libraries.
10518 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10519 else
10520 # We preserve .a as extension for shared libraries through AIX4.2
10521 # and later when we are not doing run time linking.
10522 library_names_spec='${libname}${release}.a $libname.a'
10523 soname_spec='${libname}${release}${shared_ext}$major'
10525 shlibpath_var=LIBPATH
10529 amigaos*)
10530 case $host_cpu in
10531 powerpc)
10532 # Since July 2007 AmigaOS4 officially supports .so libraries.
10533 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10534 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 m68k)
10537 library_names_spec='$libname.ixlibrary $libname.a'
10538 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10539 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'
10541 esac
10544 beos*)
10545 library_names_spec='${libname}${shared_ext}'
10546 dynamic_linker="$host_os ld.so"
10547 shlibpath_var=LIBRARY_PATH
10550 bsdi[45]*)
10551 version_type=linux
10552 need_version=no
10553 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10554 soname_spec='${libname}${release}${shared_ext}$major'
10555 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10556 shlibpath_var=LD_LIBRARY_PATH
10557 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10558 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10559 # the default ld.so.conf also contains /usr/contrib/lib and
10560 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10561 # libtool to hard-code these into programs
10564 cygwin* | mingw* | pw32* | cegcc*)
10565 version_type=windows
10566 shrext_cmds=".dll"
10567 need_version=no
10568 need_lib_prefix=no
10570 case $GCC,$host_os in
10571 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10572 library_names_spec='$libname.dll.a'
10573 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10574 postinstall_cmds='base_file=`basename \${file}`~
10575 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10576 dldir=$destdir/`dirname \$dlpath`~
10577 test -d \$dldir || mkdir -p \$dldir~
10578 $install_prog $dir/$dlname \$dldir/$dlname~
10579 chmod a+x \$dldir/$dlname~
10580 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10581 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10584 dlpath=$dir/\$dldll~
10585 $RM \$dlpath'
10586 shlibpath_overrides_runpath=yes
10588 case $host_os in
10589 cygwin*)
10590 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10591 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10595 mingw* | cegcc*)
10596 # MinGW DLLs use traditional 'lib' prefix
10597 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 pw32*)
10600 # pw32 DLLs use 'pw' prefix rather than 'lib'
10601 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 esac
10607 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10609 esac
10610 dynamic_linker='Win32 ld.exe'
10611 # FIXME: first we should search . and the directory the executable is in
10612 shlibpath_var=PATH
10615 darwin* | rhapsody*)
10616 dynamic_linker="$host_os dyld"
10617 version_type=darwin
10618 need_lib_prefix=no
10619 need_version=no
10620 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10621 soname_spec='${libname}${release}${major}$shared_ext'
10622 shlibpath_overrides_runpath=yes
10623 shlibpath_var=DYLD_LIBRARY_PATH
10624 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10626 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10627 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10630 dgux*)
10631 version_type=linux
10632 need_lib_prefix=no
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 shlibpath_var=LD_LIBRARY_PATH
10639 freebsd* | dragonfly*)
10640 # DragonFly does not have aout. When/if they implement a new
10641 # versioning mechanism, adjust this.
10642 if test -x /usr/bin/objformat; then
10643 objformat=`/usr/bin/objformat`
10644 else
10645 case $host_os in
10646 freebsd[23].*) objformat=aout ;;
10647 *) objformat=elf ;;
10648 esac
10650 version_type=freebsd-$objformat
10651 case $version_type in
10652 freebsd-elf*)
10653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10654 need_version=no
10655 need_lib_prefix=no
10657 freebsd-*)
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10659 need_version=yes
10661 esac
10662 shlibpath_var=LD_LIBRARY_PATH
10663 case $host_os in
10664 freebsd2.*)
10665 shlibpath_overrides_runpath=yes
10667 freebsd3.[01]* | freebsdelf3.[01]*)
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10671 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10672 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10673 shlibpath_overrides_runpath=no
10674 hardcode_into_libs=yes
10676 *) # from 4.6 on, and DragonFly
10677 shlibpath_overrides_runpath=yes
10678 hardcode_into_libs=yes
10680 esac
10683 gnu*)
10684 version_type=linux
10685 need_lib_prefix=no
10686 need_version=no
10687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10688 soname_spec='${libname}${release}${shared_ext}$major'
10689 shlibpath_var=LD_LIBRARY_PATH
10690 hardcode_into_libs=yes
10693 haiku*)
10694 version_type=linux
10695 need_lib_prefix=no
10696 need_version=no
10697 dynamic_linker="$host_os runtime_loader"
10698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10699 soname_spec='${libname}${release}${shared_ext}$major'
10700 shlibpath_var=LIBRARY_PATH
10701 shlibpath_overrides_runpath=yes
10702 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10703 hardcode_into_libs=yes
10706 hpux9* | hpux10* | hpux11*)
10707 # Give a soname corresponding to the major version so that dld.sl refuses to
10708 # link against other versions.
10709 version_type=sunos
10710 need_lib_prefix=no
10711 need_version=no
10712 case $host_cpu in
10713 ia64*)
10714 shrext_cmds='.so'
10715 hardcode_into_libs=yes
10716 dynamic_linker="$host_os dld.so"
10717 shlibpath_var=LD_LIBRARY_PATH
10718 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 if test "X$HPUX_IA64_MODE" = X32; then
10722 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10723 else
10724 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10728 hppa*64*)
10729 shrext_cmds='.sl'
10730 hardcode_into_libs=yes
10731 dynamic_linker="$host_os dld.sl"
10732 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10733 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10735 soname_spec='${libname}${release}${shared_ext}$major'
10736 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10737 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 shrext_cmds='.sl'
10741 dynamic_linker="$host_os dld.sl"
10742 shlibpath_var=SHLIB_PATH
10743 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10745 soname_spec='${libname}${release}${shared_ext}$major'
10747 esac
10748 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10749 postinstall_cmds='chmod 555 $lib'
10750 # or fails outright, so override atomically:
10751 install_override_mode=555
10754 interix[3-9]*)
10755 version_type=linux
10756 need_lib_prefix=no
10757 need_version=no
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10761 shlibpath_var=LD_LIBRARY_PATH
10762 shlibpath_overrides_runpath=no
10763 hardcode_into_libs=yes
10766 irix5* | irix6* | nonstopux*)
10767 case $host_os in
10768 nonstopux*) version_type=nonstopux ;;
10770 if test "$lt_cv_prog_gnu_ld" = yes; then
10771 version_type=linux
10772 else
10773 version_type=irix
10774 fi ;;
10775 esac
10776 need_lib_prefix=no
10777 need_version=no
10778 soname_spec='${libname}${release}${shared_ext}$major'
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10780 case $host_os in
10781 irix5* | nonstopux*)
10782 libsuff= shlibsuff=
10785 case $LD in # libtool.m4 will add one of these switches to LD
10786 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10787 libsuff= shlibsuff= libmagic=32-bit;;
10788 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10789 libsuff=32 shlibsuff=N32 libmagic=N32;;
10790 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10791 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10792 *) libsuff= shlibsuff= libmagic=never-match;;
10793 esac
10795 esac
10796 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10797 shlibpath_overrides_runpath=no
10798 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10799 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10800 hardcode_into_libs=yes
10803 # No shared lib support for Linux oldld, aout, or coff.
10804 linux*oldld* | linux*aout* | linux*coff*)
10805 dynamic_linker=no
10808 # This must be Linux ELF.
10809 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10810 version_type=linux
10811 need_lib_prefix=no
10812 need_version=no
10813 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10816 shlibpath_var=LD_LIBRARY_PATH
10817 shlibpath_overrides_runpath=no
10819 # Some binutils ld are patched to set DT_RUNPATH
10820 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10822 else
10823 lt_cv_shlibpath_overrides_runpath=no
10824 save_LDFLAGS=$LDFLAGS
10825 save_libdir=$libdir
10826 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10827 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10828 if test x$gcc_no_link = xyes; then
10829 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10832 /* end confdefs.h. */
10835 main ()
10839 return 0;
10841 _ACEOF
10842 if ac_fn_c_try_link "$LINENO"; then :
10843 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10844 lt_cv_shlibpath_overrides_runpath=yes
10847 rm -f core conftest.err conftest.$ac_objext \
10848 conftest$ac_exeext conftest.$ac_ext
10849 LDFLAGS=$save_LDFLAGS
10850 libdir=$save_libdir
10854 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856 # This implies no fast_install, which is unacceptable.
10857 # Some rework will be needed to allow for fast_install
10858 # before this can be enabled.
10859 hardcode_into_libs=yes
10861 # Append ld.so.conf contents to the search path
10862 if test -f /etc/ld.so.conf; then
10863 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' ' '`
10864 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10867 # We used to test for /lib/ld.so.1 and disable shared libraries on
10868 # powerpc, because MkLinux only supported shared libraries with the
10869 # GNU dynamic linker. Since this was broken with cross compilers,
10870 # most powerpc-linux boxes support dynamic linking these days and
10871 # people can always --disable-shared, the test was removed, and we
10872 # assume the GNU/Linux dynamic linker is in use.
10873 dynamic_linker='GNU/Linux ld.so'
10876 netbsd*)
10877 version_type=sunos
10878 need_lib_prefix=no
10879 need_version=no
10880 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10881 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10882 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10883 dynamic_linker='NetBSD (a.out) ld.so'
10884 else
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 dynamic_linker='NetBSD ld.elf_so'
10889 shlibpath_var=LD_LIBRARY_PATH
10890 shlibpath_overrides_runpath=yes
10891 hardcode_into_libs=yes
10894 newsos6)
10895 version_type=linux
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=yes
10901 *nto* | *qnx*)
10902 version_type=qnx
10903 need_lib_prefix=no
10904 need_version=no
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 soname_spec='${libname}${release}${shared_ext}$major'
10907 shlibpath_var=LD_LIBRARY_PATH
10908 shlibpath_overrides_runpath=no
10909 hardcode_into_libs=yes
10910 dynamic_linker='ldqnx.so'
10913 openbsd*)
10914 version_type=sunos
10915 sys_lib_dlsearch_path_spec="/usr/lib"
10916 need_lib_prefix=no
10917 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10918 case $host_os in
10919 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10920 *) need_version=no ;;
10921 esac
10922 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10923 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10924 shlibpath_var=LD_LIBRARY_PATH
10925 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10926 case $host_os in
10927 openbsd2.[89] | openbsd2.[89].*)
10928 shlibpath_overrides_runpath=no
10931 shlibpath_overrides_runpath=yes
10933 esac
10934 else
10935 shlibpath_overrides_runpath=yes
10939 os2*)
10940 libname_spec='$name'
10941 shrext_cmds=".dll"
10942 need_lib_prefix=no
10943 library_names_spec='$libname${shared_ext} $libname.a'
10944 dynamic_linker='OS/2 ld.exe'
10945 shlibpath_var=LIBPATH
10948 osf3* | osf4* | osf5*)
10949 version_type=osf
10950 need_lib_prefix=no
10951 need_version=no
10952 soname_spec='${libname}${release}${shared_ext}$major'
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10954 shlibpath_var=LD_LIBRARY_PATH
10955 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10956 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10959 rdos*)
10960 dynamic_linker=no
10963 solaris*)
10964 version_type=linux
10965 need_lib_prefix=no
10966 need_version=no
10967 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10968 soname_spec='${libname}${release}${shared_ext}$major'
10969 shlibpath_var=LD_LIBRARY_PATH
10970 shlibpath_overrides_runpath=yes
10971 hardcode_into_libs=yes
10972 # ldd complains unless libraries are executable
10973 postinstall_cmds='chmod +x $lib'
10976 sunos4*)
10977 version_type=sunos
10978 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10979 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10982 if test "$with_gnu_ld" = yes; then
10983 need_lib_prefix=no
10985 need_version=yes
10988 sysv4 | sysv4.3*)
10989 version_type=linux
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10991 soname_spec='${libname}${release}${shared_ext}$major'
10992 shlibpath_var=LD_LIBRARY_PATH
10993 case $host_vendor in
10994 sni)
10995 shlibpath_overrides_runpath=no
10996 need_lib_prefix=no
10997 runpath_var=LD_RUN_PATH
10999 siemens)
11000 need_lib_prefix=no
11002 motorola)
11003 need_lib_prefix=no
11004 need_version=no
11005 shlibpath_overrides_runpath=no
11006 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11008 esac
11011 sysv4*MP*)
11012 if test -d /usr/nec ;then
11013 version_type=linux
11014 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11015 soname_spec='$libname${shared_ext}.$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11020 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11021 version_type=freebsd-elf
11022 need_lib_prefix=no
11023 need_version=no
11024 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11025 soname_spec='${libname}${release}${shared_ext}$major'
11026 shlibpath_var=LD_LIBRARY_PATH
11027 shlibpath_overrides_runpath=yes
11028 hardcode_into_libs=yes
11029 if test "$with_gnu_ld" = yes; then
11030 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11031 else
11032 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11033 case $host_os in
11034 sco3.2v5*)
11035 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11037 esac
11039 sys_lib_dlsearch_path_spec='/usr/lib'
11042 tpf*)
11043 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11044 version_type=linux
11045 need_lib_prefix=no
11046 need_version=no
11047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 shlibpath_overrides_runpath=no
11050 hardcode_into_libs=yes
11053 uts4*)
11054 version_type=linux
11055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11056 soname_spec='${libname}${release}${shared_ext}$major'
11057 shlibpath_var=LD_LIBRARY_PATH
11061 dynamic_linker=no
11063 esac
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11065 $as_echo "$dynamic_linker" >&6; }
11066 test "$dynamic_linker" = no && can_build_shared=no
11068 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11069 if test "$GCC" = yes; then
11070 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11073 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11074 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11077 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11172 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11173 hardcode_action=
11174 if test -n "$hardcode_libdir_flag_spec" ||
11175 test -n "$runpath_var" ||
11176 test "X$hardcode_automatic" = "Xyes" ; then
11178 # We can hardcode non-existent directories.
11179 if test "$hardcode_direct" != no &&
11180 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11181 # have to relink, otherwise we might link with an installed library
11182 # when we should be linking with a yet-to-be-installed one
11183 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11184 test "$hardcode_minus_L" != no; then
11185 # Linking always hardcodes the temporary library directory.
11186 hardcode_action=relink
11187 else
11188 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11189 hardcode_action=immediate
11191 else
11192 # We cannot hardcode anything, or else we can only hardcode existing
11193 # directories.
11194 hardcode_action=unsupported
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11197 $as_echo "$hardcode_action" >&6; }
11199 if test "$hardcode_action" = relink ||
11200 test "$inherit_rpath" = yes; then
11201 # Fast installation is not supported
11202 enable_fast_install=no
11203 elif test "$shlibpath_overrides_runpath" = yes ||
11204 test "$enable_shared" = no; then
11205 # Fast installation is not necessary
11206 enable_fast_install=needless
11214 if test "x$enable_dlopen" != xyes; then
11215 enable_dlopen=unknown
11216 enable_dlopen_self=unknown
11217 enable_dlopen_self_static=unknown
11218 else
11219 lt_cv_dlopen=no
11220 lt_cv_dlopen_libs=
11222 case $host_os in
11223 beos*)
11224 lt_cv_dlopen="load_add_on"
11225 lt_cv_dlopen_libs=
11226 lt_cv_dlopen_self=yes
11229 mingw* | pw32* | cegcc*)
11230 lt_cv_dlopen="LoadLibrary"
11231 lt_cv_dlopen_libs=
11234 cygwin*)
11235 lt_cv_dlopen="dlopen"
11236 lt_cv_dlopen_libs=
11239 darwin*)
11240 # if libdl is installed we need to link against it
11241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11242 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11243 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11244 $as_echo_n "(cached) " >&6
11245 else
11246 ac_check_lib_save_LIBS=$LIBS
11247 LIBS="-ldl $LIBS"
11248 if test x$gcc_no_link = xyes; then
11249 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11257 #ifdef __cplusplus
11258 extern "C"
11259 #endif
11260 char dlopen ();
11262 main ()
11264 return dlopen ();
11266 return 0;
11268 _ACEOF
11269 if ac_fn_c_try_link "$LINENO"; then :
11270 ac_cv_lib_dl_dlopen=yes
11271 else
11272 ac_cv_lib_dl_dlopen=no
11274 rm -f core conftest.err conftest.$ac_objext \
11275 conftest$ac_exeext conftest.$ac_ext
11276 LIBS=$ac_check_lib_save_LIBS
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11280 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11281 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11282 else
11284 lt_cv_dlopen="dyld"
11285 lt_cv_dlopen_libs=
11286 lt_cv_dlopen_self=yes
11293 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11294 if test "x$ac_cv_func_shl_load" = x""yes; then :
11295 lt_cv_dlopen="shl_load"
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11298 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11299 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11300 $as_echo_n "(cached) " >&6
11301 else
11302 ac_check_lib_save_LIBS=$LIBS
11303 LIBS="-ldld $LIBS"
11304 if test x$gcc_no_link = xyes; then
11305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11308 /* end confdefs.h. */
11310 /* Override any GCC internal prototype to avoid an error.
11311 Use char because int might match the return type of a GCC
11312 builtin and then its argument prototype would still apply. */
11313 #ifdef __cplusplus
11314 extern "C"
11315 #endif
11316 char shl_load ();
11318 main ()
11320 return shl_load ();
11322 return 0;
11324 _ACEOF
11325 if ac_fn_c_try_link "$LINENO"; then :
11326 ac_cv_lib_dld_shl_load=yes
11327 else
11328 ac_cv_lib_dld_shl_load=no
11330 rm -f core conftest.err conftest.$ac_objext \
11331 conftest$ac_exeext conftest.$ac_ext
11332 LIBS=$ac_check_lib_save_LIBS
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11335 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11336 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11337 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11338 else
11339 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11340 if test "x$ac_cv_func_dlopen" = x""yes; then :
11341 lt_cv_dlopen="dlopen"
11342 else
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11345 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11346 $as_echo_n "(cached) " >&6
11347 else
11348 ac_check_lib_save_LIBS=$LIBS
11349 LIBS="-ldl $LIBS"
11350 if test x$gcc_no_link = xyes; then
11351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11356 /* Override any GCC internal prototype to avoid an error.
11357 Use char because int might match the return type of a GCC
11358 builtin and then its argument prototype would still apply. */
11359 #ifdef __cplusplus
11360 extern "C"
11361 #endif
11362 char dlopen ();
11364 main ()
11366 return dlopen ();
11368 return 0;
11370 _ACEOF
11371 if ac_fn_c_try_link "$LINENO"; then :
11372 ac_cv_lib_dl_dlopen=yes
11373 else
11374 ac_cv_lib_dl_dlopen=no
11376 rm -f core conftest.err conftest.$ac_objext \
11377 conftest$ac_exeext conftest.$ac_ext
11378 LIBS=$ac_check_lib_save_LIBS
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11381 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11382 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11383 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11384 else
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11386 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11387 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11388 $as_echo_n "(cached) " >&6
11389 else
11390 ac_check_lib_save_LIBS=$LIBS
11391 LIBS="-lsvld $LIBS"
11392 if test x$gcc_no_link = xyes; then
11393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11401 #ifdef __cplusplus
11402 extern "C"
11403 #endif
11404 char dlopen ();
11406 main ()
11408 return dlopen ();
11410 return 0;
11412 _ACEOF
11413 if ac_fn_c_try_link "$LINENO"; then :
11414 ac_cv_lib_svld_dlopen=yes
11415 else
11416 ac_cv_lib_svld_dlopen=no
11418 rm -f core conftest.err conftest.$ac_objext \
11419 conftest$ac_exeext conftest.$ac_ext
11420 LIBS=$ac_check_lib_save_LIBS
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11423 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11424 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11428 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11429 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldld $LIBS"
11434 if test x$gcc_no_link = xyes; then
11435 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11438 /* end confdefs.h. */
11440 /* Override any GCC internal prototype to avoid an error.
11441 Use char because int might match the return type of a GCC
11442 builtin and then its argument prototype would still apply. */
11443 #ifdef __cplusplus
11444 extern "C"
11445 #endif
11446 char dld_link ();
11448 main ()
11450 return dld_link ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dld_dld_link=yes
11457 else
11458 ac_cv_lib_dld_dld_link=no
11460 rm -f core conftest.err conftest.$ac_objext \
11461 conftest$ac_exeext conftest.$ac_ext
11462 LIBS=$ac_check_lib_save_LIBS
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11465 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11466 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11467 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11486 esac
11488 if test "x$lt_cv_dlopen" != xno; then
11489 enable_dlopen=yes
11490 else
11491 enable_dlopen=no
11494 case $lt_cv_dlopen in
11495 dlopen)
11496 save_CPPFLAGS="$CPPFLAGS"
11497 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11499 save_LDFLAGS="$LDFLAGS"
11500 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502 save_LIBS="$LIBS"
11503 LIBS="$lt_cv_dlopen_libs $LIBS"
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11506 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11507 if test "${lt_cv_dlopen_self+set}" = set; then :
11508 $as_echo_n "(cached) " >&6
11509 else
11510 if test "$cross_compiling" = yes; then :
11511 lt_cv_dlopen_self=cross
11512 else
11513 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11514 lt_status=$lt_dlunknown
11515 cat > conftest.$ac_ext <<_LT_EOF
11516 #line 11516 "configure"
11517 #include "confdefs.h"
11519 #if HAVE_DLFCN_H
11520 #include <dlfcn.h>
11521 #endif
11523 #include <stdio.h>
11525 #ifdef RTLD_GLOBAL
11526 # define LT_DLGLOBAL RTLD_GLOBAL
11527 #else
11528 # ifdef DL_GLOBAL
11529 # define LT_DLGLOBAL DL_GLOBAL
11530 # else
11531 # define LT_DLGLOBAL 0
11532 # endif
11533 #endif
11535 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11536 find out it does not work in some platform. */
11537 #ifndef LT_DLLAZY_OR_NOW
11538 # ifdef RTLD_LAZY
11539 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11540 # else
11541 # ifdef DL_LAZY
11542 # define LT_DLLAZY_OR_NOW DL_LAZY
11543 # else
11544 # ifdef RTLD_NOW
11545 # define LT_DLLAZY_OR_NOW RTLD_NOW
11546 # else
11547 # ifdef DL_NOW
11548 # define LT_DLLAZY_OR_NOW DL_NOW
11549 # else
11550 # define LT_DLLAZY_OR_NOW 0
11551 # endif
11552 # endif
11553 # endif
11554 # endif
11555 #endif
11557 /* When -fvisbility=hidden is used, assume the code has been annotated
11558 correspondingly for the symbols needed. */
11559 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11560 void fnord () __attribute__((visibility("default")));
11561 #endif
11563 void fnord () { int i=42; }
11564 int main ()
11566 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11567 int status = $lt_dlunknown;
11569 if (self)
11571 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11572 else
11574 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11575 else puts (dlerror ());
11577 /* dlclose (self); */
11579 else
11580 puts (dlerror ());
11582 return status;
11584 _LT_EOF
11585 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11586 (eval $ac_link) 2>&5
11587 ac_status=$?
11588 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11589 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11590 (./conftest; exit; ) >&5 2>/dev/null
11591 lt_status=$?
11592 case x$lt_status in
11593 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11594 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11596 esac
11597 else :
11598 # compilation failed
11599 lt_cv_dlopen_self=no
11602 rm -fr conftest*
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11607 $as_echo "$lt_cv_dlopen_self" >&6; }
11609 if test "x$lt_cv_dlopen_self" = xyes; then
11610 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11612 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11613 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 if test "$cross_compiling" = yes; then :
11617 lt_cv_dlopen_self_static=cross
11618 else
11619 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11620 lt_status=$lt_dlunknown
11621 cat > conftest.$ac_ext <<_LT_EOF
11622 #line 11622 "configure"
11623 #include "confdefs.h"
11625 #if HAVE_DLFCN_H
11626 #include <dlfcn.h>
11627 #endif
11629 #include <stdio.h>
11631 #ifdef RTLD_GLOBAL
11632 # define LT_DLGLOBAL RTLD_GLOBAL
11633 #else
11634 # ifdef DL_GLOBAL
11635 # define LT_DLGLOBAL DL_GLOBAL
11636 # else
11637 # define LT_DLGLOBAL 0
11638 # endif
11639 #endif
11641 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11642 find out it does not work in some platform. */
11643 #ifndef LT_DLLAZY_OR_NOW
11644 # ifdef RTLD_LAZY
11645 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11646 # else
11647 # ifdef DL_LAZY
11648 # define LT_DLLAZY_OR_NOW DL_LAZY
11649 # else
11650 # ifdef RTLD_NOW
11651 # define LT_DLLAZY_OR_NOW RTLD_NOW
11652 # else
11653 # ifdef DL_NOW
11654 # define LT_DLLAZY_OR_NOW DL_NOW
11655 # else
11656 # define LT_DLLAZY_OR_NOW 0
11657 # endif
11658 # endif
11659 # endif
11660 # endif
11661 #endif
11663 /* When -fvisbility=hidden is used, assume the code has been annotated
11664 correspondingly for the symbols needed. */
11665 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11666 void fnord () __attribute__((visibility("default")));
11667 #endif
11669 void fnord () { int i=42; }
11670 int main ()
11672 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11673 int status = $lt_dlunknown;
11675 if (self)
11677 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11678 else
11680 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11681 else puts (dlerror ());
11683 /* dlclose (self); */
11685 else
11686 puts (dlerror ());
11688 return status;
11690 _LT_EOF
11691 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11692 (eval $ac_link) 2>&5
11693 ac_status=$?
11694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11695 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11696 (./conftest; exit; ) >&5 2>/dev/null
11697 lt_status=$?
11698 case x$lt_status in
11699 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11700 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11702 esac
11703 else :
11704 # compilation failed
11705 lt_cv_dlopen_self_static=no
11708 rm -fr conftest*
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11713 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11716 CPPFLAGS="$save_CPPFLAGS"
11717 LDFLAGS="$save_LDFLAGS"
11718 LIBS="$save_LIBS"
11720 esac
11722 case $lt_cv_dlopen_self in
11723 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11724 *) enable_dlopen_self=unknown ;;
11725 esac
11727 case $lt_cv_dlopen_self_static in
11728 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11729 *) enable_dlopen_self_static=unknown ;;
11730 esac
11749 striplib=
11750 old_striplib=
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11752 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11753 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11754 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11755 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 # FIXME - insert some real tests, host_os isn't really good enough
11760 case $host_os in
11761 darwin*)
11762 if test -n "$STRIP" ; then
11763 striplib="$STRIP -x"
11764 old_striplib="$STRIP -S"
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11766 $as_echo "yes" >&6; }
11767 else
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11769 $as_echo "no" >&6; }
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11774 $as_echo "no" >&6; }
11776 esac
11790 # Report which library types will actually be built
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11792 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11794 $as_echo "$can_build_shared" >&6; }
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11797 $as_echo_n "checking whether to build shared libraries... " >&6; }
11798 test "$can_build_shared" = "no" && enable_shared=no
11800 # On AIX, shared libraries and static libraries use the same namespace, and
11801 # are all built from PIC.
11802 case $host_os in
11803 aix3*)
11804 test "$enable_shared" = yes && enable_static=no
11805 if test -n "$RANLIB"; then
11806 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11807 postinstall_cmds='$RANLIB $lib'
11811 aix[4-9]*)
11812 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11813 test "$enable_shared" = yes && enable_static=no
11816 esac
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11818 $as_echo "$enable_shared" >&6; }
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11821 $as_echo_n "checking whether to build static libraries... " >&6; }
11822 # Make sure either enable_shared or enable_static is yes.
11823 test "$enable_shared" = yes || enable_static=yes
11824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11825 $as_echo "$enable_static" >&6; }
11831 ac_ext=c
11832 ac_cpp='$CPP $CPPFLAGS'
11833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11837 CC="$lt_save_CC"
11839 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11840 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11841 (test "X$CXX" != "Xg++"))) ; then
11842 ac_ext=cpp
11843 ac_cpp='$CXXCPP $CPPFLAGS'
11844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11848 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11849 if test -z "$CXXCPP"; then
11850 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11851 $as_echo_n "(cached) " >&6
11852 else
11853 # Double quotes because CXXCPP needs to be expanded
11854 for CXXCPP in "$CXX -E" "/lib/cpp"
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876 else
11877 # Broken: fails on valid input.
11878 continue
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11896 rm -f conftest.err conftest.$ac_ext
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11902 break
11905 done
11906 ac_cv_prog_CXXCPP=$CXXCPP
11909 CXXCPP=$ac_cv_prog_CXXCPP
11910 else
11911 ac_cv_prog_CXXCPP=$CXXCPP
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11914 $as_echo "$CXXCPP" >&6; }
11915 ac_preproc_ok=false
11916 for ac_cxx_preproc_warn_flag in '' yes
11918 # Use a header file that comes with gcc, so configuring glibc
11919 # with a fresh cross-compiler works.
11920 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11921 # <limits.h> exists even on freestanding compilers.
11922 # On the NeXT, cc -E runs the code through the compiler's parser,
11923 # not just through cpp. "Syntax error" is here to catch this case.
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #ifdef __STDC__
11927 # include <limits.h>
11928 #else
11929 # include <assert.h>
11930 #endif
11931 Syntax error
11932 _ACEOF
11933 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935 else
11936 # Broken: fails on valid input.
11937 continue
11939 rm -f conftest.err conftest.$ac_ext
11941 # OK, works on sane cases. Now check whether nonexistent headers
11942 # can be detected and how.
11943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <ac_nonexistent.h>
11946 _ACEOF
11947 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 # Broken: success on invalid input.
11949 continue
11950 else
11951 # Passes both tests.
11952 ac_preproc_ok=:
11953 break
11955 rm -f conftest.err conftest.$ac_ext
11957 done
11958 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11959 rm -f conftest.err conftest.$ac_ext
11960 if $ac_preproc_ok; then :
11962 else
11963 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11964 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11965 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11966 See \`config.log' for more details." "$LINENO" 5; }
11969 ac_ext=c
11970 ac_cpp='$CPP $CPPFLAGS'
11971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11975 else
11976 _lt_caught_CXX_error=yes
11979 ac_ext=cpp
11980 ac_cpp='$CXXCPP $CPPFLAGS'
11981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985 archive_cmds_need_lc_CXX=no
11986 allow_undefined_flag_CXX=
11987 always_export_symbols_CXX=no
11988 archive_expsym_cmds_CXX=
11989 compiler_needs_object_CXX=no
11990 export_dynamic_flag_spec_CXX=
11991 hardcode_direct_CXX=no
11992 hardcode_direct_absolute_CXX=no
11993 hardcode_libdir_flag_spec_CXX=
11994 hardcode_libdir_flag_spec_ld_CXX=
11995 hardcode_libdir_separator_CXX=
11996 hardcode_minus_L_CXX=no
11997 hardcode_shlibpath_var_CXX=unsupported
11998 hardcode_automatic_CXX=no
11999 inherit_rpath_CXX=no
12000 module_cmds_CXX=
12001 module_expsym_cmds_CXX=
12002 link_all_deplibs_CXX=unknown
12003 old_archive_cmds_CXX=$old_archive_cmds
12004 reload_flag_CXX=$reload_flag
12005 reload_cmds_CXX=$reload_cmds
12006 no_undefined_flag_CXX=
12007 whole_archive_flag_spec_CXX=
12008 enable_shared_with_static_runtimes_CXX=no
12010 # Source file extension for C++ test sources.
12011 ac_ext=cpp
12013 # Object file extension for compiled C++ test sources.
12014 objext=o
12015 objext_CXX=$objext
12017 # No sense in running all these tests if we already determined that
12018 # the CXX compiler isn't working. Some variables (like enable_shared)
12019 # are currently assumed to apply to all compilers on this platform,
12020 # and will be corrupted by setting them based on a non-working compiler.
12021 if test "$_lt_caught_CXX_error" != yes; then
12022 # Code to be used in simple compile tests
12023 lt_simple_compile_test_code="int some_variable = 0;"
12025 # Code to be used in simple link tests
12026 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12028 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12035 # If no C compiler was specified, use CC.
12036 LTCC=${LTCC-"$CC"}
12038 # If no C compiler flags were specified, use CFLAGS.
12039 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12041 # Allow CC to be a program name with arguments.
12042 compiler=$CC
12045 # save warnings/boilerplate of simple test code
12046 ac_outfile=conftest.$ac_objext
12047 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12048 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12049 _lt_compiler_boilerplate=`cat conftest.err`
12050 $RM conftest*
12052 ac_outfile=conftest.$ac_objext
12053 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12054 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12055 _lt_linker_boilerplate=`cat conftest.err`
12056 $RM -r conftest*
12059 # Allow CC to be a program name with arguments.
12060 lt_save_CC=$CC
12061 lt_save_LD=$LD
12062 lt_save_GCC=$GCC
12063 GCC=$GXX
12064 lt_save_with_gnu_ld=$with_gnu_ld
12065 lt_save_path_LD=$lt_cv_path_LD
12066 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12067 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12068 else
12069 $as_unset lt_cv_prog_gnu_ld
12071 if test -n "${lt_cv_path_LDCXX+set}"; then
12072 lt_cv_path_LD=$lt_cv_path_LDCXX
12073 else
12074 $as_unset lt_cv_path_LD
12076 test -z "${LDCXX+set}" || LD=$LDCXX
12077 CC=${CXX-"c++"}
12078 compiler=$CC
12079 compiler_CXX=$CC
12080 for cc_temp in $compiler""; do
12081 case $cc_temp in
12082 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12083 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12084 \-*) ;;
12085 *) break;;
12086 esac
12087 done
12088 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12091 if test -n "$compiler"; then
12092 # We don't want -fno-exception when compiling C++ code, so set the
12093 # no_builtin_flag separately
12094 if test "$GXX" = yes; then
12095 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12096 else
12097 lt_prog_compiler_no_builtin_flag_CXX=
12100 if test "$GXX" = yes; then
12101 # Set up default GNU C++ configuration
12105 # Check whether --with-gnu-ld was given.
12106 if test "${with_gnu_ld+set}" = set; then :
12107 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12108 else
12109 with_gnu_ld=no
12112 ac_prog=ld
12113 if test "$GCC" = yes; then
12114 # Check if gcc -print-prog-name=ld gives a path.
12115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12116 $as_echo_n "checking for ld used by $CC... " >&6; }
12117 case $host in
12118 *-*-mingw*)
12119 # gcc leaves a trailing carriage return which upsets mingw
12120 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12122 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12123 esac
12124 case $ac_prog in
12125 # Accept absolute paths.
12126 [\\/]* | ?:[\\/]*)
12127 re_direlt='/[^/][^/]*/\.\./'
12128 # Canonicalize the pathname of ld
12129 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12130 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12131 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12132 done
12133 test -z "$LD" && LD="$ac_prog"
12136 # If it fails, then pretend we aren't using GCC.
12137 ac_prog=ld
12140 # If it is relative, then search for the first ld in PATH.
12141 with_gnu_ld=unknown
12143 esac
12144 elif test "$with_gnu_ld" = yes; then
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12146 $as_echo_n "checking for GNU ld... " >&6; }
12147 else
12148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12149 $as_echo_n "checking for non-GNU ld... " >&6; }
12151 if test "${lt_cv_path_LD+set}" = set; then :
12152 $as_echo_n "(cached) " >&6
12153 else
12154 if test -z "$LD"; then
12155 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12156 for ac_dir in $PATH; do
12157 IFS="$lt_save_ifs"
12158 test -z "$ac_dir" && ac_dir=.
12159 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12160 lt_cv_path_LD="$ac_dir/$ac_prog"
12161 # Check to see if the program is GNU ld. I'd rather use --version,
12162 # but apparently some variants of GNU ld only accept -v.
12163 # Break only if it was the GNU/non-GNU ld that we prefer.
12164 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12165 *GNU* | *'with BFD'*)
12166 test "$with_gnu_ld" != no && break
12169 test "$with_gnu_ld" != yes && break
12171 esac
12173 done
12174 IFS="$lt_save_ifs"
12175 else
12176 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12180 LD="$lt_cv_path_LD"
12181 if test -n "$LD"; then
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12183 $as_echo "$LD" >&6; }
12184 else
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12186 $as_echo "no" >&6; }
12188 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12190 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12191 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12192 $as_echo_n "(cached) " >&6
12193 else
12194 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12195 case `$LD -v 2>&1 </dev/null` in
12196 *GNU* | *'with BFD'*)
12197 lt_cv_prog_gnu_ld=yes
12200 lt_cv_prog_gnu_ld=no
12202 esac
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12205 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12206 with_gnu_ld=$lt_cv_prog_gnu_ld
12214 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12215 # archiving commands below assume that GNU ld is being used.
12216 if test "$with_gnu_ld" = yes; then
12217 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12218 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'
12220 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12221 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12223 # If archive_cmds runs LD, not CC, wlarc should be empty
12224 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12225 # investigate it a little bit more. (MM)
12226 wlarc='${wl}'
12228 # ancient GNU ld didn't support --whole-archive et. al.
12229 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12230 $GREP 'no-whole-archive' > /dev/null; then
12231 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12232 else
12233 whole_archive_flag_spec_CXX=
12235 else
12236 with_gnu_ld=no
12237 wlarc=
12239 # A generic and very simple default shared library creation
12240 # command for GNU C++ for the case where it uses the native
12241 # linker, instead of GNU ld. If possible, this setting should
12242 # overridden to take advantage of the native linker features on
12243 # the platform it is being used on.
12244 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12247 # Commands to make compiler produce verbose output that lists
12248 # what "hidden" libraries, object files and flags are used when
12249 # linking a shared library.
12250 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12252 else
12253 GXX=no
12254 with_gnu_ld=no
12255 wlarc=
12258 # PORTME: fill in a description of your system's C++ link characteristics
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12260 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12261 ld_shlibs_CXX=yes
12262 case $host_os in
12263 aix3*)
12264 # FIXME: insert proper C++ library support
12265 ld_shlibs_CXX=no
12267 aix[4-9]*)
12268 if test "$host_cpu" = ia64; then
12269 # On IA64, the linker does run time linking by default, so we don't
12270 # have to do anything special.
12271 aix_use_runtimelinking=no
12272 exp_sym_flag='-Bexport'
12273 no_entry_flag=""
12274 else
12275 aix_use_runtimelinking=no
12277 # Test if we are trying to use run time linking or normal
12278 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12279 # need to do runtime linking.
12280 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12281 for ld_flag in $LDFLAGS; do
12282 case $ld_flag in
12283 *-brtl*)
12284 aix_use_runtimelinking=yes
12285 break
12287 esac
12288 done
12290 esac
12292 exp_sym_flag='-bexport'
12293 no_entry_flag='-bnoentry'
12296 # When large executables or shared objects are built, AIX ld can
12297 # have problems creating the table of contents. If linking a library
12298 # or program results in "error TOC overflow" add -mminimal-toc to
12299 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12300 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12302 archive_cmds_CXX=''
12303 hardcode_direct_CXX=yes
12304 hardcode_direct_absolute_CXX=yes
12305 hardcode_libdir_separator_CXX=':'
12306 link_all_deplibs_CXX=yes
12307 file_list_spec_CXX='${wl}-f,'
12309 if test "$GXX" = yes; then
12310 case $host_os in aix4.[012]|aix4.[012].*)
12311 # We only want to do this on AIX 4.2 and lower, the check
12312 # below for broken collect2 doesn't work under 4.3+
12313 collect2name=`${CC} -print-prog-name=collect2`
12314 if test -f "$collect2name" &&
12315 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12316 then
12317 # We have reworked collect2
12319 else
12320 # We have old collect2
12321 hardcode_direct_CXX=unsupported
12322 # It fails to find uninstalled libraries when the uninstalled
12323 # path is not listed in the libpath. Setting hardcode_minus_L
12324 # to unsupported forces relinking
12325 hardcode_minus_L_CXX=yes
12326 hardcode_libdir_flag_spec_CXX='-L$libdir'
12327 hardcode_libdir_separator_CXX=
12329 esac
12330 shared_flag='-shared'
12331 if test "$aix_use_runtimelinking" = yes; then
12332 shared_flag="$shared_flag "'${wl}-G'
12334 else
12335 # not using gcc
12336 if test "$host_cpu" = ia64; then
12337 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12338 # chokes on -Wl,-G. The following line is correct:
12339 shared_flag='-G'
12340 else
12341 if test "$aix_use_runtimelinking" = yes; then
12342 shared_flag='${wl}-G'
12343 else
12344 shared_flag='${wl}-bM:SRE'
12349 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12350 # It seems that -bexpall does not export symbols beginning with
12351 # underscore (_), so it is better to generate a list of symbols to
12352 # export.
12353 always_export_symbols_CXX=yes
12354 if test "$aix_use_runtimelinking" = yes; then
12355 # Warning - without using the other runtime loading flags (-brtl),
12356 # -berok will link without error, but may produce a broken library.
12357 allow_undefined_flag_CXX='-berok'
12358 # Determine the default libpath from the value encoded in an empty
12359 # executable.
12360 if test x$gcc_no_link = xyes; then
12361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12367 main ()
12371 return 0;
12373 _ACEOF
12374 if ac_fn_cxx_try_link "$LINENO"; then :
12376 lt_aix_libpath_sed='
12377 /Import File Strings/,/^$/ {
12378 /^0/ {
12379 s/^0 *\(.*\)$/\1/
12383 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12384 # Check for a 64-bit object if we didn't find anything.
12385 if test -z "$aix_libpath"; then
12386 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12389 rm -f core conftest.err conftest.$ac_objext \
12390 conftest$ac_exeext conftest.$ac_ext
12391 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395 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"
12396 else
12397 if test "$host_cpu" = ia64; then
12398 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12399 allow_undefined_flag_CXX="-z nodefs"
12400 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"
12401 else
12402 # Determine the default libpath from the value encoded in an
12403 # empty executable.
12404 if test x$gcc_no_link = xyes; then
12405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12411 main ()
12415 return 0;
12417 _ACEOF
12418 if ac_fn_cxx_try_link "$LINENO"; then :
12420 lt_aix_libpath_sed='
12421 /Import File Strings/,/^$/ {
12422 /^0/ {
12423 s/^0 *\(.*\)$/\1/
12427 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12428 # Check for a 64-bit object if we didn't find anything.
12429 if test -z "$aix_libpath"; then
12430 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12433 rm -f core conftest.err conftest.$ac_objext \
12434 conftest$ac_exeext conftest.$ac_ext
12435 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12437 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12438 # Warning - without using the other run time loading flags,
12439 # -berok will link without error, but may produce a broken library.
12440 no_undefined_flag_CXX=' ${wl}-bernotok'
12441 allow_undefined_flag_CXX=' ${wl}-berok'
12442 if test "$with_gnu_ld" = yes; then
12443 # We only use this code for GNU lds that support --whole-archive.
12444 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12445 else
12446 # Exported symbols can be pulled into shared objects from archives
12447 whole_archive_flag_spec_CXX='$convenience'
12449 archive_cmds_need_lc_CXX=yes
12450 # This is similar to how AIX traditionally builds its shared
12451 # libraries.
12452 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'
12457 beos*)
12458 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12459 allow_undefined_flag_CXX=unsupported
12460 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12461 # support --undefined. This deserves some investigation. FIXME
12462 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12463 else
12464 ld_shlibs_CXX=no
12468 chorus*)
12469 case $cc_basename in
12471 # FIXME: insert proper C++ library support
12472 ld_shlibs_CXX=no
12474 esac
12477 cygwin* | mingw* | pw32* | cegcc*)
12478 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12479 # as there is no search path for DLLs.
12480 hardcode_libdir_flag_spec_CXX='-L$libdir'
12481 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12482 allow_undefined_flag_CXX=unsupported
12483 always_export_symbols_CXX=no
12484 enable_shared_with_static_runtimes_CXX=yes
12486 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12487 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'
12488 # If the export-symbols file already is a .def file (1st line
12489 # is EXPORTS), use it as is; otherwise, prepend...
12490 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12491 cp $export_symbols $output_objdir/$soname.def;
12492 else
12493 echo EXPORTS > $output_objdir/$soname.def;
12494 cat $export_symbols >> $output_objdir/$soname.def;
12496 $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'
12497 else
12498 ld_shlibs_CXX=no
12501 darwin* | rhapsody*)
12504 archive_cmds_need_lc_CXX=no
12505 hardcode_direct_CXX=no
12506 hardcode_automatic_CXX=yes
12507 hardcode_shlibpath_var_CXX=unsupported
12508 if test "$lt_cv_ld_force_load" = "yes"; then
12509 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\"`'
12510 else
12511 whole_archive_flag_spec_CXX=''
12513 link_all_deplibs_CXX=yes
12514 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12515 case $cc_basename in
12516 ifort*) _lt_dar_can_shared=yes ;;
12517 *) _lt_dar_can_shared=$GCC ;;
12518 esac
12519 if test "$_lt_dar_can_shared" = "yes"; then
12520 output_verbose_link_cmd=func_echo_all
12521 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}"
12522 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12523 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}"
12524 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}"
12525 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12526 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}"
12527 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}"
12530 else
12531 ld_shlibs_CXX=no
12536 dgux*)
12537 case $cc_basename in
12538 ec++*)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12542 ghcx*)
12543 # Green Hills C++ Compiler
12544 # FIXME: insert proper C++ library support
12545 ld_shlibs_CXX=no
12548 # FIXME: insert proper C++ library support
12549 ld_shlibs_CXX=no
12551 esac
12554 freebsd2.*)
12555 # C++ shared libraries reported to be fairly broken before
12556 # switch to ELF
12557 ld_shlibs_CXX=no
12560 freebsd-elf*)
12561 archive_cmds_need_lc_CXX=no
12564 freebsd* | dragonfly*)
12565 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12566 # conventions
12567 ld_shlibs_CXX=yes
12570 gnu*)
12573 haiku*)
12574 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12575 link_all_deplibs_CXX=yes
12578 hpux9*)
12579 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12580 hardcode_libdir_separator_CXX=:
12581 export_dynamic_flag_spec_CXX='${wl}-E'
12582 hardcode_direct_CXX=yes
12583 hardcode_minus_L_CXX=yes # Not in the search PATH,
12584 # but as the default
12585 # location of the library.
12587 case $cc_basename in
12588 CC*)
12589 # FIXME: insert proper C++ library support
12590 ld_shlibs_CXX=no
12592 aCC*)
12593 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'
12594 # Commands to make compiler produce verbose output that lists
12595 # what "hidden" libraries, object files and flags are used when
12596 # linking a shared library.
12598 # There doesn't appear to be a way to prevent this compiler from
12599 # explicitly linking system object files so we need to strip them
12600 # from the output so that they don't get included in the library
12601 # dependencies.
12602 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"'
12605 if test "$GXX" = yes; then
12606 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'
12607 else
12608 # FIXME: insert proper C++ library support
12609 ld_shlibs_CXX=no
12612 esac
12615 hpux10*|hpux11*)
12616 if test $with_gnu_ld = no; then
12617 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12618 hardcode_libdir_separator_CXX=:
12620 case $host_cpu in
12621 hppa*64*|ia64*)
12624 export_dynamic_flag_spec_CXX='${wl}-E'
12626 esac
12628 case $host_cpu in
12629 hppa*64*|ia64*)
12630 hardcode_direct_CXX=no
12631 hardcode_shlibpath_var_CXX=no
12634 hardcode_direct_CXX=yes
12635 hardcode_direct_absolute_CXX=yes
12636 hardcode_minus_L_CXX=yes # Not in the search PATH,
12637 # but as the default
12638 # location of the library.
12640 esac
12642 case $cc_basename in
12643 CC*)
12644 # FIXME: insert proper C++ library support
12645 ld_shlibs_CXX=no
12647 aCC*)
12648 case $host_cpu in
12649 hppa*64*)
12650 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ia64*)
12653 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12656 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 esac
12659 # Commands to make compiler produce verbose output that lists
12660 # what "hidden" libraries, object files and flags are used when
12661 # linking a shared library.
12663 # There doesn't appear to be a way to prevent this compiler from
12664 # explicitly linking system object files so we need to strip them
12665 # from the output so that they don't get included in the library
12666 # dependencies.
12667 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"'
12670 if test "$GXX" = yes; then
12671 if test $with_gnu_ld = no; then
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ia64*)
12677 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12680 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'
12682 esac
12684 else
12685 # FIXME: insert proper C++ library support
12686 ld_shlibs_CXX=no
12689 esac
12692 interix[3-9]*)
12693 hardcode_direct_CXX=no
12694 hardcode_shlibpath_var_CXX=no
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}-E'
12697 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12698 # Instead, shared libraries are loaded at an image base (0x10000000 by
12699 # default) and relocated if they conflict, which is a slow very memory
12700 # consuming and fragmenting process. To avoid this, we pick a random,
12701 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12702 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12703 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'
12704 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'
12706 irix5* | irix6*)
12707 case $cc_basename in
12708 CC*)
12709 # SGI C++
12710 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'
12712 # Archives containing C++ object files must be created using
12713 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12714 # necessary to make sure instantiated templates are included
12715 # in the archive.
12716 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12719 if test "$GXX" = yes; then
12720 if test "$with_gnu_ld" = no; then
12721 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'
12722 else
12723 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'
12726 link_all_deplibs_CXX=yes
12728 esac
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12730 hardcode_libdir_separator_CXX=:
12731 inherit_rpath_CXX=yes
12734 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12735 case $cc_basename in
12736 KCC*)
12737 # Kuck and Associates, Inc. (KAI) C++ Compiler
12739 # KCC will only create a shared library if the output file
12740 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12741 # to its proper name (with version) after linking.
12742 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'
12743 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'
12744 # Commands to make compiler produce verbose output that lists
12745 # what "hidden" libraries, object files and flags are used when
12746 # linking a shared library.
12748 # There doesn't appear to be a way to prevent this compiler from
12749 # explicitly linking system object files so we need to strip them
12750 # from the output so that they don't get included in the library
12751 # dependencies.
12752 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"'
12754 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12755 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 # Archives containing C++ object files must be created using
12758 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12759 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12761 icpc* | ecpc* )
12762 # Intel C++
12763 with_gnu_ld=yes
12764 # version 8.0 and above of icpc choke on multiply defined symbols
12765 # if we add $predep_objects and $postdep_objects, however 7.1 and
12766 # earlier do not add the objects themselves.
12767 case `$CC -V 2>&1` in
12768 *"Version 7."*)
12769 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12770 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'
12772 *) # Version 8.0 or newer
12773 tmp_idyn=
12774 case $host_cpu in
12775 ia64*) tmp_idyn=' -i_dynamic';;
12776 esac
12777 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12778 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'
12780 esac
12781 archive_cmds_need_lc_CXX=no
12782 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12783 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12784 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12786 pgCC* | pgcpp*)
12787 # Portland Group C++ compiler
12788 case `$CC -V` in
12789 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12790 prelink_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12793 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12794 old_archive_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12797 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12798 $RANLIB $oldlib'
12799 archive_cmds_CXX='tpldir=Template.dir~
12800 rm -rf $tpldir~
12801 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12802 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12803 archive_expsym_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12806 $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'
12808 *) # Version 6 and above use weak symbols
12809 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12810 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'
12812 esac
12814 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 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'
12818 cxx*)
12819 # Compaq C++
12820 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12821 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'
12823 runpath_var=LD_RUN_PATH
12824 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12825 hardcode_libdir_separator_CXX=:
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 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'
12837 xl* | mpixl* | bgxl*)
12838 # IBM XL 8.0 on PPC, with GNU ld
12839 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12840 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12842 if test "x$supports_anon_versioning" = xyes; then
12843 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12844 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12845 echo "local: *; };" >> $output_objdir/$libname.ver~
12846 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12850 case `$CC -V 2>&1 | sed 5q` in
12851 *Sun\ C*)
12852 # Sun C++ 5.9
12853 no_undefined_flag_CXX=' -zdefs'
12854 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12855 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'
12856 hardcode_libdir_flag_spec_CXX='-R$libdir'
12857 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'
12858 compiler_needs_object_CXX=yes
12860 # Not sure whether something based on
12861 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12862 # would be better.
12863 output_verbose_link_cmd='func_echo_all'
12865 # Archives containing C++ object files must be created using
12866 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12867 # necessary to make sure instantiated templates are included
12868 # in the archive.
12869 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12871 esac
12873 esac
12876 lynxos*)
12877 # FIXME: insert proper C++ library support
12878 ld_shlibs_CXX=no
12881 m88k*)
12882 # FIXME: insert proper C++ library support
12883 ld_shlibs_CXX=no
12886 mvs*)
12887 case $cc_basename in
12888 cxx*)
12889 # FIXME: insert proper C++ library support
12890 ld_shlibs_CXX=no
12893 # FIXME: insert proper C++ library support
12894 ld_shlibs_CXX=no
12896 esac
12899 netbsd*)
12900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12901 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12902 wlarc=
12903 hardcode_libdir_flag_spec_CXX='-R$libdir'
12904 hardcode_direct_CXX=yes
12905 hardcode_shlibpath_var_CXX=no
12907 # Workaround some broken pre-1.5 toolchains
12908 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12911 *nto* | *qnx*)
12912 ld_shlibs_CXX=yes
12915 openbsd2*)
12916 # C++ shared libraries are fairly broken
12917 ld_shlibs_CXX=no
12920 openbsd*)
12921 if test -f /usr/libexec/ld.so; then
12922 hardcode_direct_CXX=yes
12923 hardcode_shlibpath_var_CXX=no
12924 hardcode_direct_absolute_CXX=yes
12925 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12926 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12927 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12928 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12929 export_dynamic_flag_spec_CXX='${wl}-E'
12930 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12932 output_verbose_link_cmd=func_echo_all
12933 else
12934 ld_shlibs_CXX=no
12938 osf3* | osf4* | osf5*)
12939 case $cc_basename in
12940 KCC*)
12941 # Kuck and Associates, Inc. (KAI) C++ Compiler
12943 # KCC will only create a shared library if the output file
12944 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12945 # to its proper name (with version) after linking.
12946 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'
12948 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12949 hardcode_libdir_separator_CXX=:
12951 # Archives containing C++ object files must be created using
12952 # the KAI C++ compiler.
12953 case $host in
12954 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12955 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12956 esac
12958 RCC*)
12959 # Rational C++ 2.4.1
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12963 cxx*)
12964 case $host in
12965 osf3*)
12966 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12967 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'
12968 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12971 allow_undefined_flag_CXX=' -expect_unresolved \*'
12972 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'
12973 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12974 echo "-hidden">> $lib.exp~
12975 $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~
12976 $RM $lib.exp'
12977 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12979 esac
12981 hardcode_libdir_separator_CXX=:
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12987 # There doesn't appear to be a way to prevent this compiler from
12988 # explicitly linking system object files so we need to strip them
12989 # from the output so that they don't get included in the library
12990 # dependencies.
12991 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"'
12994 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12996 case $host in
12997 osf3*)
12998 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'
13001 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'
13003 esac
13005 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13006 hardcode_libdir_separator_CXX=:
13008 # Commands to make compiler produce verbose output that lists
13009 # what "hidden" libraries, object files and flags are used when
13010 # linking a shared library.
13011 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13013 else
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13018 esac
13021 psos*)
13022 # FIXME: insert proper C++ library support
13023 ld_shlibs_CXX=no
13026 sunos4*)
13027 case $cc_basename in
13028 CC*)
13029 # Sun C++ 4.x
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13033 lcc*)
13034 # Lucid
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 # FIXME: insert proper C++ library support
13040 ld_shlibs_CXX=no
13042 esac
13045 solaris*)
13046 case $cc_basename in
13047 CC*)
13048 # Sun C++ 4.2, 5.x and Centerline C++
13049 archive_cmds_need_lc_CXX=yes
13050 no_undefined_flag_CXX=' -zdefs'
13051 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13052 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13053 $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'
13055 hardcode_libdir_flag_spec_CXX='-R$libdir'
13056 hardcode_shlibpath_var_CXX=no
13057 case $host_os in
13058 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 # The compiler driver will combine and reorder linker options,
13061 # but understands `-z linker_flag'.
13062 # Supported since Solaris 2.6 (maybe 2.5.1?)
13063 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13065 esac
13066 link_all_deplibs_CXX=yes
13068 output_verbose_link_cmd='func_echo_all'
13070 # Archives containing C++ object files must be created using
13071 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13072 # necessary to make sure instantiated templates are included
13073 # in the archive.
13074 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13076 gcx*)
13077 # Green Hills C++ Compiler
13078 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 # The C++ compiler must be used to create the archive.
13081 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13084 # GNU C++ compiler with Solaris linker
13085 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13086 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13087 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13088 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13089 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13090 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13092 # Commands to make compiler produce verbose output that lists
13093 # what "hidden" libraries, object files and flags are used when
13094 # linking a shared library.
13095 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13098 # platform.
13099 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13100 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13101 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103 # Commands to make compiler produce verbose output that lists
13104 # what "hidden" libraries, object files and flags are used when
13105 # linking a shared library.
13106 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13110 case $host_os in
13111 solaris2.[0-5] | solaris2.[0-5].*) ;;
13113 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13115 esac
13118 esac
13121 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13122 no_undefined_flag_CXX='${wl}-z,text'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 runpath_var='LD_RUN_PATH'
13127 case $cc_basename in
13128 CC*)
13129 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13130 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13133 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 esac
13139 sysv5* | sco3.2v5* | sco5v6*)
13140 # Note: We can NOT use -z defs as we might desire, because we do not
13141 # link with -lc, and that would cause any symbols used from libc to
13142 # always be unresolved, which means just about no library would
13143 # ever link correctly. If we're not using GNU ld we use -z text
13144 # though, which does catch some bad symbols but isn't as heavy-handed
13145 # as -z defs.
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 allow_undefined_flag_CXX='${wl}-z,nodefs'
13148 archive_cmds_need_lc_CXX=no
13149 hardcode_shlibpath_var_CXX=no
13150 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13151 hardcode_libdir_separator_CXX=':'
13152 link_all_deplibs_CXX=yes
13153 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13154 runpath_var='LD_RUN_PATH'
13156 case $cc_basename in
13157 CC*)
13158 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13161 '"$old_archive_cmds_CXX"
13162 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13163 '"$reload_cmds_CXX"
13166 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13167 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 esac
13172 tandem*)
13173 case $cc_basename in
13174 NCC*)
13175 # NonStop-UX NCC 3.20
13176 # FIXME: insert proper C++ library support
13177 ld_shlibs_CXX=no
13180 # FIXME: insert proper C++ library support
13181 ld_shlibs_CXX=no
13183 esac
13186 vxworks*)
13187 # FIXME: insert proper C++ library support
13188 ld_shlibs_CXX=no
13192 # FIXME: insert proper C++ library support
13193 ld_shlibs_CXX=no
13195 esac
13197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13198 $as_echo "$ld_shlibs_CXX" >&6; }
13199 test "$ld_shlibs_CXX" = no && can_build_shared=no
13201 GCC_CXX="$GXX"
13202 LD_CXX="$LD"
13204 ## CAVEAT EMPTOR:
13205 ## There is no encapsulation within the following macros, do not change
13206 ## the running order or otherwise move them around unless you know exactly
13207 ## what you are doing...
13208 # Dependencies to place before and after the object being linked:
13209 predep_objects_CXX=
13210 postdep_objects_CXX=
13211 predeps_CXX=
13212 postdeps_CXX=
13213 compiler_lib_search_path_CXX=
13215 cat > conftest.$ac_ext <<_LT_EOF
13216 class Foo
13218 public:
13219 Foo (void) { a = 0; }
13220 private:
13221 int a;
13223 _LT_EOF
13225 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13226 (eval $ac_compile) 2>&5
13227 ac_status=$?
13228 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13229 test $ac_status = 0; }; then
13230 # Parse the compiler output and extract the necessary
13231 # objects, libraries and library flags.
13233 # Sentinel used to keep track of whether or not we are before
13234 # the conftest object file.
13235 pre_test_object_deps_done=no
13237 for p in `eval "$output_verbose_link_cmd"`; do
13238 case $p in
13240 -L* | -R* | -l*)
13241 # Some compilers place space between "-{L,R}" and the path.
13242 # Remove the space.
13243 if test $p = "-L" ||
13244 test $p = "-R"; then
13245 prev=$p
13246 continue
13247 else
13248 prev=
13251 if test "$pre_test_object_deps_done" = no; then
13252 case $p in
13253 -L* | -R*)
13254 # Internal compiler library paths should come after those
13255 # provided the user. The postdeps already come after the
13256 # user supplied libs so there is no need to process them.
13257 if test -z "$compiler_lib_search_path_CXX"; then
13258 compiler_lib_search_path_CXX="${prev}${p}"
13259 else
13260 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13263 # The "-l" case would never come before the object being
13264 # linked, so don't bother handling this case.
13265 esac
13266 else
13267 if test -z "$postdeps_CXX"; then
13268 postdeps_CXX="${prev}${p}"
13269 else
13270 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13275 *.$objext)
13276 # This assumes that the test object file only shows up
13277 # once in the compiler output.
13278 if test "$p" = "conftest.$objext"; then
13279 pre_test_object_deps_done=yes
13280 continue
13283 if test "$pre_test_object_deps_done" = no; then
13284 if test -z "$predep_objects_CXX"; then
13285 predep_objects_CXX="$p"
13286 else
13287 predep_objects_CXX="$predep_objects_CXX $p"
13289 else
13290 if test -z "$postdep_objects_CXX"; then
13291 postdep_objects_CXX="$p"
13292 else
13293 postdep_objects_CXX="$postdep_objects_CXX $p"
13298 *) ;; # Ignore the rest.
13300 esac
13301 done
13303 # Clean up.
13304 rm -f a.out a.exe
13305 else
13306 echo "libtool.m4: error: problem compiling CXX test program"
13309 $RM -f confest.$objext
13311 # PORTME: override above test on systems where it is broken
13312 case $host_os in
13313 interix[3-9]*)
13314 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13315 # hack all around it, let's just trust "g++" to DTRT.
13316 predep_objects_CXX=
13317 postdep_objects_CXX=
13318 postdeps_CXX=
13321 linux*)
13322 case `$CC -V 2>&1 | sed 5q` in
13323 *Sun\ C*)
13324 # Sun C++ 5.9
13326 # The more standards-conforming stlport4 library is
13327 # incompatible with the Cstd library. Avoid specifying
13328 # it if it's in CXXFLAGS. Ignore libCrun as
13329 # -library=stlport4 depends on it.
13330 case " $CXX $CXXFLAGS " in
13331 *" -library=stlport4 "*)
13332 solaris_use_stlport4=yes
13334 esac
13336 if test "$solaris_use_stlport4" != yes; then
13337 postdeps_CXX='-library=Cstd -library=Crun'
13340 esac
13343 solaris*)
13344 case $cc_basename in
13345 CC*)
13346 # The more standards-conforming stlport4 library is
13347 # incompatible with the Cstd library. Avoid specifying
13348 # it if it's in CXXFLAGS. Ignore libCrun as
13349 # -library=stlport4 depends on it.
13350 case " $CXX $CXXFLAGS " in
13351 *" -library=stlport4 "*)
13352 solaris_use_stlport4=yes
13354 esac
13356 # Adding this requires a known-good setup of shared libraries for
13357 # Sun compiler versions before 5.6, else PIC objects from an old
13358 # archive will be linked into the output, leading to subtle bugs.
13359 if test "$solaris_use_stlport4" != yes; then
13360 postdeps_CXX='-library=Cstd -library=Crun'
13363 esac
13365 esac
13368 case " $postdeps_CXX " in
13369 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13370 esac
13371 compiler_lib_search_dirs_CXX=
13372 if test -n "${compiler_lib_search_path_CXX}"; then
13373 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13406 lt_prog_compiler_wl_CXX=
13407 lt_prog_compiler_pic_CXX=
13408 lt_prog_compiler_static_CXX=
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13411 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13413 # C++ specific cases for pic, static, wl, etc.
13414 if test "$GXX" = yes; then
13415 lt_prog_compiler_wl_CXX='-Wl,'
13416 lt_prog_compiler_static_CXX='-static'
13418 case $host_os in
13419 aix*)
13420 # All AIX code is PIC.
13421 if test "$host_cpu" = ia64; then
13422 # AIX 5 now supports IA64 processor
13423 lt_prog_compiler_static_CXX='-Bstatic'
13425 lt_prog_compiler_pic_CXX='-fPIC'
13428 amigaos*)
13429 case $host_cpu in
13430 powerpc)
13431 # see comment about AmigaOS4 .so support
13432 lt_prog_compiler_pic_CXX='-fPIC'
13434 m68k)
13435 # FIXME: we need at least 68020 code to build shared libraries, but
13436 # adding the `-m68020' flag to GCC prevents building anything better,
13437 # like `-m68040'.
13438 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13440 esac
13443 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13444 # PIC is the default for these OSes.
13446 mingw* | cygwin* | os2* | pw32* | cegcc*)
13447 # This hack is so that the source file can tell whether it is being
13448 # built for inclusion in a dll (and should export symbols for example).
13449 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13450 # (--disable-auto-import) libraries
13451 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13453 darwin* | rhapsody*)
13454 # PIC is the default on this platform
13455 # Common symbols not allowed in MH_DYLIB files
13456 lt_prog_compiler_pic_CXX='-fno-common'
13458 *djgpp*)
13459 # DJGPP does not support shared libraries at all
13460 lt_prog_compiler_pic_CXX=
13462 haiku*)
13463 # PIC is the default for Haiku.
13464 # The "-static" flag exists, but is broken.
13465 lt_prog_compiler_static_CXX=
13467 interix[3-9]*)
13468 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13469 # Instead, we relocate shared libraries at runtime.
13471 sysv4*MP*)
13472 if test -d /usr/nec; then
13473 lt_prog_compiler_pic_CXX=-Kconform_pic
13476 hpux*)
13477 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13478 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13479 # sets the default TLS model and affects inlining.
13480 case $host_cpu in
13481 hppa*64*)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13486 esac
13488 *qnx* | *nto*)
13489 # QNX uses GNU C++, but need to define -shared option too, otherwise
13490 # it will coredump.
13491 lt_prog_compiler_pic_CXX='-fPIC -shared'
13494 lt_prog_compiler_pic_CXX='-fPIC'
13496 esac
13497 else
13498 case $host_os in
13499 aix[4-9]*)
13500 # All AIX code is PIC.
13501 if test "$host_cpu" = ia64; then
13502 # AIX 5 now supports IA64 processor
13503 lt_prog_compiler_static_CXX='-Bstatic'
13504 else
13505 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13508 chorus*)
13509 case $cc_basename in
13510 cxch68*)
13511 # Green Hills C++ Compiler
13512 # _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"
13514 esac
13516 dgux*)
13517 case $cc_basename in
13518 ec++*)
13519 lt_prog_compiler_pic_CXX='-KPIC'
13521 ghcx*)
13522 # Green Hills C++ Compiler
13523 lt_prog_compiler_pic_CXX='-pic'
13527 esac
13529 freebsd* | dragonfly*)
13530 # FreeBSD uses GNU C++
13532 hpux9* | hpux10* | hpux11*)
13533 case $cc_basename in
13534 CC*)
13535 lt_prog_compiler_wl_CXX='-Wl,'
13536 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13537 if test "$host_cpu" != ia64; then
13538 lt_prog_compiler_pic_CXX='+Z'
13541 aCC*)
13542 lt_prog_compiler_wl_CXX='-Wl,'
13543 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13544 case $host_cpu in
13545 hppa*64*|ia64*)
13546 # +Z the default
13549 lt_prog_compiler_pic_CXX='+Z'
13551 esac
13555 esac
13557 interix*)
13558 # This is c89, which is MS Visual C++ (no shared libs)
13559 # Anyone wants to do a port?
13561 irix5* | irix6* | nonstopux*)
13562 case $cc_basename in
13563 CC*)
13564 lt_prog_compiler_wl_CXX='-Wl,'
13565 lt_prog_compiler_static_CXX='-non_shared'
13566 # CC pic flag -KPIC is the default.
13570 esac
13572 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13573 case $cc_basename in
13574 KCC*)
13575 # KAI C++ Compiler
13576 lt_prog_compiler_wl_CXX='--backend -Wl,'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 ecpc* )
13580 # old Intel C++ for x86_64 which still supported -KPIC.
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-KPIC'
13583 lt_prog_compiler_static_CXX='-static'
13585 icpc* )
13586 # Intel C++, used to be incompatible with GCC.
13587 # ICC 10 doesn't accept -KPIC any more.
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_pic_CXX='-fPIC'
13590 lt_prog_compiler_static_CXX='-static'
13592 pgCC* | pgcpp*)
13593 # Portland Group C++ compiler
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-fpic'
13596 lt_prog_compiler_static_CXX='-Bstatic'
13598 cxx*)
13599 # Compaq C++
13600 # Make sure the PIC flag is empty. It appears that all Alpha
13601 # Linux and Compaq Tru64 Unix objects are PIC.
13602 lt_prog_compiler_pic_CXX=
13603 lt_prog_compiler_static_CXX='-non_shared'
13605 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13606 # IBM XL 8.0, 9.0 on PPC and BlueGene
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-qpic'
13609 lt_prog_compiler_static_CXX='-qstaticlink'
13612 case `$CC -V 2>&1 | sed 5q` in
13613 *Sun\ C*)
13614 # Sun C++ 5.9
13615 lt_prog_compiler_pic_CXX='-KPIC'
13616 lt_prog_compiler_static_CXX='-Bstatic'
13617 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 esac
13621 esac
13623 lynxos*)
13625 m88k*)
13627 mvs*)
13628 case $cc_basename in
13629 cxx*)
13630 lt_prog_compiler_pic_CXX='-W c,exportall'
13634 esac
13636 netbsd*)
13638 *qnx* | *nto*)
13639 # QNX uses GNU C++, but need to define -shared option too, otherwise
13640 # it will coredump.
13641 lt_prog_compiler_pic_CXX='-fPIC -shared'
13643 osf3* | osf4* | osf5*)
13644 case $cc_basename in
13645 KCC*)
13646 lt_prog_compiler_wl_CXX='--backend -Wl,'
13648 RCC*)
13649 # Rational C++ 2.4.1
13650 lt_prog_compiler_pic_CXX='-pic'
13652 cxx*)
13653 # Digital/Compaq C++
13654 lt_prog_compiler_wl_CXX='-Wl,'
13655 # Make sure the PIC flag is empty. It appears that all Alpha
13656 # Linux and Compaq Tru64 Unix objects are PIC.
13657 lt_prog_compiler_pic_CXX=
13658 lt_prog_compiler_static_CXX='-non_shared'
13662 esac
13664 psos*)
13666 solaris*)
13667 case $cc_basename in
13668 CC*)
13669 # Sun C++ 4.2, 5.x and Centerline C++
13670 lt_prog_compiler_pic_CXX='-KPIC'
13671 lt_prog_compiler_static_CXX='-Bstatic'
13672 lt_prog_compiler_wl_CXX='-Qoption ld '
13674 gcx*)
13675 # Green Hills C++ Compiler
13676 lt_prog_compiler_pic_CXX='-PIC'
13680 esac
13682 sunos4*)
13683 case $cc_basename in
13684 CC*)
13685 # Sun C++ 4.x
13686 lt_prog_compiler_pic_CXX='-pic'
13687 lt_prog_compiler_static_CXX='-Bstatic'
13689 lcc*)
13690 # Lucid
13691 lt_prog_compiler_pic_CXX='-pic'
13695 esac
13697 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13698 case $cc_basename in
13699 CC*)
13700 lt_prog_compiler_wl_CXX='-Wl,'
13701 lt_prog_compiler_pic_CXX='-KPIC'
13702 lt_prog_compiler_static_CXX='-Bstatic'
13704 esac
13706 tandem*)
13707 case $cc_basename in
13708 NCC*)
13709 # NonStop-UX NCC 3.20
13710 lt_prog_compiler_pic_CXX='-KPIC'
13714 esac
13716 vxworks*)
13719 lt_prog_compiler_can_build_shared_CXX=no
13721 esac
13724 case $host_os in
13725 # For platforms which do not support PIC, -DPIC is meaningless:
13726 *djgpp*)
13727 lt_prog_compiler_pic_CXX=
13730 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13732 esac
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13734 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13739 # Check to make sure the PIC flag actually works.
13741 if test -n "$lt_prog_compiler_pic_CXX"; then
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13743 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13744 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13746 else
13747 lt_cv_prog_compiler_pic_works_CXX=no
13748 ac_outfile=conftest.$ac_objext
13749 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13750 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13751 # Insert the option either (1) after the last *FLAGS variable, or
13752 # (2) before a word containing "conftest.", or (3) at the end.
13753 # Note that $ac_compile itself does not contain backslashes and begins
13754 # with a dollar sign (not a hyphen), so the echo should work correctly.
13755 # The option is referenced via a variable to avoid confusing sed.
13756 lt_compile=`echo "$ac_compile" | $SED \
13757 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13758 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13759 -e 's:$: $lt_compiler_flag:'`
13760 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13761 (eval "$lt_compile" 2>conftest.err)
13762 ac_status=$?
13763 cat conftest.err >&5
13764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13765 if (exit $ac_status) && test -s "$ac_outfile"; then
13766 # The compiler can only warn and ignore the option if not recognized
13767 # So say no if there are warnings other than the usual output.
13768 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13769 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13770 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13771 lt_cv_prog_compiler_pic_works_CXX=yes
13774 $RM conftest*
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13778 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13780 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13781 case $lt_prog_compiler_pic_CXX in
13782 "" | " "*) ;;
13783 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13784 esac
13785 else
13786 lt_prog_compiler_pic_CXX=
13787 lt_prog_compiler_can_build_shared_CXX=no
13795 # Check to make sure the static flag actually works.
13797 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13799 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13800 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13801 $as_echo_n "(cached) " >&6
13802 else
13803 lt_cv_prog_compiler_static_works_CXX=no
13804 save_LDFLAGS="$LDFLAGS"
13805 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13806 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13807 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13808 # The linker can only warn and ignore the option if not recognized
13809 # So say no if there are warnings
13810 if test -s conftest.err; then
13811 # Append any errors to the config.log.
13812 cat conftest.err 1>&5
13813 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13814 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13815 if diff conftest.exp conftest.er2 >/dev/null; then
13816 lt_cv_prog_compiler_static_works_CXX=yes
13818 else
13819 lt_cv_prog_compiler_static_works_CXX=yes
13822 $RM -r conftest*
13823 LDFLAGS="$save_LDFLAGS"
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13827 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13829 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13831 else
13832 lt_prog_compiler_static_CXX=
13838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13839 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13840 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13841 $as_echo_n "(cached) " >&6
13842 else
13843 lt_cv_prog_compiler_c_o_CXX=no
13844 $RM -r conftest 2>/dev/null
13845 mkdir conftest
13846 cd conftest
13847 mkdir out
13848 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850 lt_compiler_flag="-o out/conftest2.$ac_objext"
13851 # Insert the option either (1) after the last *FLAGS variable, or
13852 # (2) before a word containing "conftest.", or (3) at the end.
13853 # Note that $ac_compile itself does not contain backslashes and begins
13854 # with a dollar sign (not a hyphen), so the echo should work correctly.
13855 lt_compile=`echo "$ac_compile" | $SED \
13856 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13857 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13858 -e 's:$: $lt_compiler_flag:'`
13859 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13860 (eval "$lt_compile" 2>out/conftest.err)
13861 ac_status=$?
13862 cat out/conftest.err >&5
13863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13864 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13865 then
13866 # The compiler can only warn and ignore the option if not recognized
13867 # So say no if there are warnings
13868 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13869 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13870 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13871 lt_cv_prog_compiler_c_o_CXX=yes
13874 chmod u+w . 2>&5
13875 $RM conftest*
13876 # SGI C++ compiler will create directory out/ii_files/ for
13877 # template instantiation
13878 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13879 $RM out/* && rmdir out
13880 cd ..
13881 $RM -r conftest
13882 $RM conftest*
13885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13886 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13891 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13892 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13893 $as_echo_n "(cached) " >&6
13894 else
13895 lt_cv_prog_compiler_c_o_CXX=no
13896 $RM -r conftest 2>/dev/null
13897 mkdir conftest
13898 cd conftest
13899 mkdir out
13900 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13902 lt_compiler_flag="-o out/conftest2.$ac_objext"
13903 # Insert the option either (1) after the last *FLAGS variable, or
13904 # (2) before a word containing "conftest.", or (3) at the end.
13905 # Note that $ac_compile itself does not contain backslashes and begins
13906 # with a dollar sign (not a hyphen), so the echo should work correctly.
13907 lt_compile=`echo "$ac_compile" | $SED \
13908 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13909 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13910 -e 's:$: $lt_compiler_flag:'`
13911 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13912 (eval "$lt_compile" 2>out/conftest.err)
13913 ac_status=$?
13914 cat out/conftest.err >&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13917 then
13918 # The compiler can only warn and ignore the option if not recognized
13919 # So say no if there are warnings
13920 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13921 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13922 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13923 lt_cv_prog_compiler_c_o_CXX=yes
13926 chmod u+w . 2>&5
13927 $RM conftest*
13928 # SGI C++ compiler will create directory out/ii_files/ for
13929 # template instantiation
13930 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13931 $RM out/* && rmdir out
13932 cd ..
13933 $RM -r conftest
13934 $RM conftest*
13937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13938 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13943 hard_links="nottested"
13944 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13945 # do not overwrite the value of need_locks provided by the user
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13947 $as_echo_n "checking if we can lock with hard links... " >&6; }
13948 hard_links=yes
13949 $RM conftest*
13950 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13951 touch conftest.a
13952 ln conftest.a conftest.b 2>&5 || hard_links=no
13953 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13955 $as_echo "$hard_links" >&6; }
13956 if test "$hard_links" = no; then
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13958 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13959 need_locks=warn
13961 else
13962 need_locks=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13968 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13970 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13971 case $host_os in
13972 aix[4-9]*)
13973 # If we're using GNU nm, then we don't want the "-C" option.
13974 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13975 # Also, AIX nm treats weak defined symbols like other global defined
13976 # symbols, whereas GNU nm marks them as "W".
13977 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13978 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'
13979 else
13980 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'
13983 pw32*)
13984 export_symbols_cmds_CXX="$ltdll_cmds"
13986 cygwin* | mingw* | cegcc*)
13987 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'
13990 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13992 esac
13993 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13996 $as_echo "$ld_shlibs_CXX" >&6; }
13997 test "$ld_shlibs_CXX" = no && can_build_shared=no
13999 with_gnu_ld_CXX=$with_gnu_ld
14007 # Do we need to explicitly link libc?
14009 case "x$archive_cmds_need_lc_CXX" in
14010 x|xyes)
14011 # Assume -lc should be added
14012 archive_cmds_need_lc_CXX=yes
14014 if test "$enable_shared" = yes && test "$GCC" = yes; then
14015 case $archive_cmds_CXX in
14016 *'~'*)
14017 # FIXME: we may have to deal with multi-command sequences.
14019 '$CC '*)
14020 # Test whether the compiler implicitly links with -lc since on some
14021 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14022 # to ld, don't add -lc before -lgcc.
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14024 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14025 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14026 $as_echo_n "(cached) " >&6
14027 else
14028 $RM conftest*
14029 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14032 (eval $ac_compile) 2>&5
14033 ac_status=$?
14034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14035 test $ac_status = 0; } 2>conftest.err; then
14036 soname=conftest
14037 lib=conftest
14038 libobjs=conftest.$ac_objext
14039 deplibs=
14040 wl=$lt_prog_compiler_wl_CXX
14041 pic_flag=$lt_prog_compiler_pic_CXX
14042 compiler_flags=-v
14043 linker_flags=-v
14044 verstring=
14045 output_objdir=.
14046 libname=conftest
14047 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14048 allow_undefined_flag_CXX=
14049 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14050 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14051 ac_status=$?
14052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14053 test $ac_status = 0; }
14054 then
14055 lt_cv_archive_cmds_need_lc_CXX=no
14056 else
14057 lt_cv_archive_cmds_need_lc_CXX=yes
14059 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14060 else
14061 cat conftest.err 1>&5
14063 $RM conftest*
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14067 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14068 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14070 esac
14073 esac
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14139 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14141 library_names_spec=
14142 libname_spec='lib$name'
14143 soname_spec=
14144 shrext_cmds=".so"
14145 postinstall_cmds=
14146 postuninstall_cmds=
14147 finish_cmds=
14148 finish_eval=
14149 shlibpath_var=
14150 shlibpath_overrides_runpath=unknown
14151 version_type=none
14152 dynamic_linker="$host_os ld.so"
14153 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14154 need_lib_prefix=unknown
14155 hardcode_into_libs=no
14157 # when you set need_version to no, make sure it does not cause -set_version
14158 # flags to be left without arguments
14159 need_version=unknown
14161 case $host_os in
14162 aix3*)
14163 version_type=linux
14164 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14165 shlibpath_var=LIBPATH
14167 # AIX 3 has no versioning support, so we append a major version to the name.
14168 soname_spec='${libname}${release}${shared_ext}$major'
14171 aix[4-9]*)
14172 version_type=linux
14173 need_lib_prefix=no
14174 need_version=no
14175 hardcode_into_libs=yes
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 supports IA64
14178 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14179 shlibpath_var=LD_LIBRARY_PATH
14180 else
14181 # With GCC up to 2.95.x, collect2 would create an import file
14182 # for dependence libraries. The import file would start with
14183 # the line `#! .'. This would cause the generated library to
14184 # depend on `.', always an invalid library. This was fixed in
14185 # development snapshots of GCC prior to 3.0.
14186 case $host_os in
14187 aix4 | aix4.[01] | aix4.[01].*)
14188 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14189 echo ' yes '
14190 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14192 else
14193 can_build_shared=no
14196 esac
14197 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14198 # soname into executable. Probably we can add versioning support to
14199 # collect2, so additional links can be useful in future.
14200 if test "$aix_use_runtimelinking" = yes; then
14201 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14202 # instead of lib<name>.a to let people know that these are not
14203 # typical AIX shared libraries.
14204 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14205 else
14206 # We preserve .a as extension for shared libraries through AIX4.2
14207 # and later when we are not doing run time linking.
14208 library_names_spec='${libname}${release}.a $libname.a'
14209 soname_spec='${libname}${release}${shared_ext}$major'
14211 shlibpath_var=LIBPATH
14215 amigaos*)
14216 case $host_cpu in
14217 powerpc)
14218 # Since July 2007 AmigaOS4 officially supports .so libraries.
14219 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14220 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 m68k)
14223 library_names_spec='$libname.ixlibrary $libname.a'
14224 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14225 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'
14227 esac
14230 beos*)
14231 library_names_spec='${libname}${shared_ext}'
14232 dynamic_linker="$host_os ld.so"
14233 shlibpath_var=LIBRARY_PATH
14236 bsdi[45]*)
14237 version_type=linux
14238 need_version=no
14239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14240 soname_spec='${libname}${release}${shared_ext}$major'
14241 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14244 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14245 # the default ld.so.conf also contains /usr/contrib/lib and
14246 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14247 # libtool to hard-code these into programs
14250 cygwin* | mingw* | pw32* | cegcc*)
14251 version_type=windows
14252 shrext_cmds=".dll"
14253 need_version=no
14254 need_lib_prefix=no
14256 case $GCC,$host_os in
14257 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14258 library_names_spec='$libname.dll.a'
14259 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14260 postinstall_cmds='base_file=`basename \${file}`~
14261 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14262 dldir=$destdir/`dirname \$dlpath`~
14263 test -d \$dldir || mkdir -p \$dldir~
14264 $install_prog $dir/$dlname \$dldir/$dlname~
14265 chmod a+x \$dldir/$dlname~
14266 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14267 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14269 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14270 dlpath=$dir/\$dldll~
14271 $RM \$dlpath'
14272 shlibpath_overrides_runpath=yes
14274 case $host_os in
14275 cygwin*)
14276 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14277 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14280 mingw* | cegcc*)
14281 # MinGW DLLs use traditional 'lib' prefix
14282 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 pw32*)
14285 # pw32 DLLs use 'pw' prefix rather than 'lib'
14286 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14288 esac
14292 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14294 esac
14295 dynamic_linker='Win32 ld.exe'
14296 # FIXME: first we should search . and the directory the executable is in
14297 shlibpath_var=PATH
14300 darwin* | rhapsody*)
14301 dynamic_linker="$host_os dyld"
14302 version_type=darwin
14303 need_lib_prefix=no
14304 need_version=no
14305 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14306 soname_spec='${libname}${release}${major}$shared_ext'
14307 shlibpath_overrides_runpath=yes
14308 shlibpath_var=DYLD_LIBRARY_PATH
14309 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14311 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14314 dgux*)
14315 version_type=linux
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14319 soname_spec='${libname}${release}${shared_ext}$major'
14320 shlibpath_var=LD_LIBRARY_PATH
14323 freebsd* | dragonfly*)
14324 # DragonFly does not have aout. When/if they implement a new
14325 # versioning mechanism, adjust this.
14326 if test -x /usr/bin/objformat; then
14327 objformat=`/usr/bin/objformat`
14328 else
14329 case $host_os in
14330 freebsd[23].*) objformat=aout ;;
14331 *) objformat=elf ;;
14332 esac
14334 version_type=freebsd-$objformat
14335 case $version_type in
14336 freebsd-elf*)
14337 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14338 need_version=no
14339 need_lib_prefix=no
14341 freebsd-*)
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14343 need_version=yes
14345 esac
14346 shlibpath_var=LD_LIBRARY_PATH
14347 case $host_os in
14348 freebsd2.*)
14349 shlibpath_overrides_runpath=yes
14351 freebsd3.[01]* | freebsdelf3.[01]*)
14352 shlibpath_overrides_runpath=yes
14353 hardcode_into_libs=yes
14355 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14356 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14357 shlibpath_overrides_runpath=no
14358 hardcode_into_libs=yes
14360 *) # from 4.6 on, and DragonFly
14361 shlibpath_overrides_runpath=yes
14362 hardcode_into_libs=yes
14364 esac
14367 gnu*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14372 soname_spec='${libname}${release}${shared_ext}$major'
14373 shlibpath_var=LD_LIBRARY_PATH
14374 hardcode_into_libs=yes
14377 haiku*)
14378 version_type=linux
14379 need_lib_prefix=no
14380 need_version=no
14381 dynamic_linker="$host_os runtime_loader"
14382 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14383 soname_spec='${libname}${release}${shared_ext}$major'
14384 shlibpath_var=LIBRARY_PATH
14385 shlibpath_overrides_runpath=yes
14386 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14387 hardcode_into_libs=yes
14390 hpux9* | hpux10* | hpux11*)
14391 # Give a soname corresponding to the major version so that dld.sl refuses to
14392 # link against other versions.
14393 version_type=sunos
14394 need_lib_prefix=no
14395 need_version=no
14396 case $host_cpu in
14397 ia64*)
14398 shrext_cmds='.so'
14399 hardcode_into_libs=yes
14400 dynamic_linker="$host_os dld.so"
14401 shlibpath_var=LD_LIBRARY_PATH
14402 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14403 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14404 soname_spec='${libname}${release}${shared_ext}$major'
14405 if test "X$HPUX_IA64_MODE" = X32; then
14406 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14407 else
14408 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14410 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 hppa*64*)
14413 shrext_cmds='.sl'
14414 hardcode_into_libs=yes
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14417 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14421 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424 shrext_cmds='.sl'
14425 dynamic_linker="$host_os dld.sl"
14426 shlibpath_var=SHLIB_PATH
14427 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14428 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14429 soname_spec='${libname}${release}${shared_ext}$major'
14431 esac
14432 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14433 postinstall_cmds='chmod 555 $lib'
14434 # or fails outright, so override atomically:
14435 install_override_mode=555
14438 interix[3-9]*)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14445 shlibpath_var=LD_LIBRARY_PATH
14446 shlibpath_overrides_runpath=no
14447 hardcode_into_libs=yes
14450 irix5* | irix6* | nonstopux*)
14451 case $host_os in
14452 nonstopux*) version_type=nonstopux ;;
14454 if test "$lt_cv_prog_gnu_ld" = yes; then
14455 version_type=linux
14456 else
14457 version_type=irix
14458 fi ;;
14459 esac
14460 need_lib_prefix=no
14461 need_version=no
14462 soname_spec='${libname}${release}${shared_ext}$major'
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14464 case $host_os in
14465 irix5* | nonstopux*)
14466 libsuff= shlibsuff=
14469 case $LD in # libtool.m4 will add one of these switches to LD
14470 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14471 libsuff= shlibsuff= libmagic=32-bit;;
14472 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14473 libsuff=32 shlibsuff=N32 libmagic=N32;;
14474 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14475 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14476 *) libsuff= shlibsuff= libmagic=never-match;;
14477 esac
14479 esac
14480 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14481 shlibpath_overrides_runpath=no
14482 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14483 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14484 hardcode_into_libs=yes
14487 # No shared lib support for Linux oldld, aout, or coff.
14488 linux*oldld* | linux*aout* | linux*coff*)
14489 dynamic_linker=no
14492 # This must be Linux ELF.
14493 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14494 version_type=linux
14495 need_lib_prefix=no
14496 need_version=no
14497 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14498 soname_spec='${libname}${release}${shared_ext}$major'
14499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14500 shlibpath_var=LD_LIBRARY_PATH
14501 shlibpath_overrides_runpath=no
14503 # Some binutils ld are patched to set DT_RUNPATH
14504 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14505 $as_echo_n "(cached) " >&6
14506 else
14507 lt_cv_shlibpath_overrides_runpath=no
14508 save_LDFLAGS=$LDFLAGS
14509 save_libdir=$libdir
14510 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14511 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14512 if test x$gcc_no_link = xyes; then
14513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14516 /* end confdefs.h. */
14519 main ()
14523 return 0;
14525 _ACEOF
14526 if ac_fn_cxx_try_link "$LINENO"; then :
14527 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14528 lt_cv_shlibpath_overrides_runpath=yes
14531 rm -f core conftest.err conftest.$ac_objext \
14532 conftest$ac_exeext conftest.$ac_ext
14533 LDFLAGS=$save_LDFLAGS
14534 libdir=$save_libdir
14538 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14540 # This implies no fast_install, which is unacceptable.
14541 # Some rework will be needed to allow for fast_install
14542 # before this can be enabled.
14543 hardcode_into_libs=yes
14545 # Append ld.so.conf contents to the search path
14546 if test -f /etc/ld.so.conf; then
14547 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' ' '`
14548 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14551 # We used to test for /lib/ld.so.1 and disable shared libraries on
14552 # powerpc, because MkLinux only supported shared libraries with the
14553 # GNU dynamic linker. Since this was broken with cross compilers,
14554 # most powerpc-linux boxes support dynamic linking these days and
14555 # people can always --disable-shared, the test was removed, and we
14556 # assume the GNU/Linux dynamic linker is in use.
14557 dynamic_linker='GNU/Linux ld.so'
14560 netbsd*)
14561 version_type=sunos
14562 need_lib_prefix=no
14563 need_version=no
14564 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14565 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14566 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14567 dynamic_linker='NetBSD (a.out) ld.so'
14568 else
14569 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14570 soname_spec='${libname}${release}${shared_ext}$major'
14571 dynamic_linker='NetBSD ld.elf_so'
14573 shlibpath_var=LD_LIBRARY_PATH
14574 shlibpath_overrides_runpath=yes
14575 hardcode_into_libs=yes
14578 newsos6)
14579 version_type=linux
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=yes
14585 *nto* | *qnx*)
14586 version_type=qnx
14587 need_lib_prefix=no
14588 need_version=no
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14590 soname_spec='${libname}${release}${shared_ext}$major'
14591 shlibpath_var=LD_LIBRARY_PATH
14592 shlibpath_overrides_runpath=no
14593 hardcode_into_libs=yes
14594 dynamic_linker='ldqnx.so'
14597 openbsd*)
14598 version_type=sunos
14599 sys_lib_dlsearch_path_spec="/usr/lib"
14600 need_lib_prefix=no
14601 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14602 case $host_os in
14603 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14604 *) need_version=no ;;
14605 esac
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14610 case $host_os in
14611 openbsd2.[89] | openbsd2.[89].*)
14612 shlibpath_overrides_runpath=no
14615 shlibpath_overrides_runpath=yes
14617 esac
14618 else
14619 shlibpath_overrides_runpath=yes
14623 os2*)
14624 libname_spec='$name'
14625 shrext_cmds=".dll"
14626 need_lib_prefix=no
14627 library_names_spec='$libname${shared_ext} $libname.a'
14628 dynamic_linker='OS/2 ld.exe'
14629 shlibpath_var=LIBPATH
14632 osf3* | osf4* | osf5*)
14633 version_type=osf
14634 need_lib_prefix=no
14635 need_version=no
14636 soname_spec='${libname}${release}${shared_ext}$major'
14637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14640 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14643 rdos*)
14644 dynamic_linker=no
14647 solaris*)
14648 version_type=linux
14649 need_lib_prefix=no
14650 need_version=no
14651 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14652 soname_spec='${libname}${release}${shared_ext}$major'
14653 shlibpath_var=LD_LIBRARY_PATH
14654 shlibpath_overrides_runpath=yes
14655 hardcode_into_libs=yes
14656 # ldd complains unless libraries are executable
14657 postinstall_cmds='chmod +x $lib'
14660 sunos4*)
14661 version_type=sunos
14662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14663 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14666 if test "$with_gnu_ld" = yes; then
14667 need_lib_prefix=no
14669 need_version=yes
14672 sysv4 | sysv4.3*)
14673 version_type=linux
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14675 soname_spec='${libname}${release}${shared_ext}$major'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 case $host_vendor in
14678 sni)
14679 shlibpath_overrides_runpath=no
14680 need_lib_prefix=no
14681 runpath_var=LD_RUN_PATH
14683 siemens)
14684 need_lib_prefix=no
14686 motorola)
14687 need_lib_prefix=no
14688 need_version=no
14689 shlibpath_overrides_runpath=no
14690 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14692 esac
14695 sysv4*MP*)
14696 if test -d /usr/nec ;then
14697 version_type=linux
14698 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14699 soname_spec='$libname${shared_ext}.$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14704 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14705 version_type=freebsd-elf
14706 need_lib_prefix=no
14707 need_version=no
14708 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14709 soname_spec='${libname}${release}${shared_ext}$major'
14710 shlibpath_var=LD_LIBRARY_PATH
14711 shlibpath_overrides_runpath=yes
14712 hardcode_into_libs=yes
14713 if test "$with_gnu_ld" = yes; then
14714 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14715 else
14716 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14717 case $host_os in
14718 sco3.2v5*)
14719 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14721 esac
14723 sys_lib_dlsearch_path_spec='/usr/lib'
14726 tpf*)
14727 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14728 version_type=linux
14729 need_lib_prefix=no
14730 need_version=no
14731 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14732 shlibpath_var=LD_LIBRARY_PATH
14733 shlibpath_overrides_runpath=no
14734 hardcode_into_libs=yes
14737 uts4*)
14738 version_type=linux
14739 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14740 soname_spec='${libname}${release}${shared_ext}$major'
14741 shlibpath_var=LD_LIBRARY_PATH
14745 dynamic_linker=no
14747 esac
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14749 $as_echo "$dynamic_linker" >&6; }
14750 test "$dynamic_linker" = no && can_build_shared=no
14752 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14753 if test "$GCC" = yes; then
14754 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14757 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14758 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14760 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14761 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14802 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14803 hardcode_action_CXX=
14804 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14805 test -n "$runpath_var_CXX" ||
14806 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14808 # We can hardcode non-existent directories.
14809 if test "$hardcode_direct_CXX" != no &&
14810 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14811 # have to relink, otherwise we might link with an installed library
14812 # when we should be linking with a yet-to-be-installed one
14813 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14814 test "$hardcode_minus_L_CXX" != no; then
14815 # Linking always hardcodes the temporary library directory.
14816 hardcode_action_CXX=relink
14817 else
14818 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14819 hardcode_action_CXX=immediate
14821 else
14822 # We cannot hardcode anything, or else we can only hardcode existing
14823 # directories.
14824 hardcode_action_CXX=unsupported
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14827 $as_echo "$hardcode_action_CXX" >&6; }
14829 if test "$hardcode_action_CXX" = relink ||
14830 test "$inherit_rpath_CXX" = yes; then
14831 # Fast installation is not supported
14832 enable_fast_install=no
14833 elif test "$shlibpath_overrides_runpath" = yes ||
14834 test "$enable_shared" = no; then
14835 # Fast installation is not necessary
14836 enable_fast_install=needless
14845 fi # test -n "$compiler"
14847 CC=$lt_save_CC
14848 LDCXX=$LD
14849 LD=$lt_save_LD
14850 GCC=$lt_save_GCC
14851 with_gnu_ld=$lt_save_with_gnu_ld
14852 lt_cv_path_LDCXX=$lt_cv_path_LD
14853 lt_cv_path_LD=$lt_save_path_LD
14854 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14855 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14856 fi # test "$_lt_caught_CXX_error" != yes
14858 ac_ext=c
14859 ac_cpp='$CPP $CPPFLAGS'
14860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876 ac_config_commands="$ac_config_commands libtool"
14881 # Only expand once:
14887 case $host in
14888 *-cygwin* | *-mingw*)
14889 # 'host' will be top-level target in the case of a target lib,
14890 # we must compare to with_cross_host to decide if this is a native
14891 # or cross-compiler and select where to install dlls appropriately.
14892 if test -n "$with_cross_host" &&
14893 test x"$with_cross_host" != x"no"; then
14894 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14895 else
14896 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14900 lt_host_flags=
14902 esac
14909 # libtool variables for C++ shared and position-independent compiles.
14911 # Use glibcxx_lt_pic_flag to designate the automake variable
14912 # used to encapsulate the default libtool approach to creating objects
14913 # with position-independent code. Default: -prefer-pic.
14915 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14916 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14918 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14919 # creating position-independent objects. This varies with the target
14920 # hardware and operating system, but is often: -DPIC -fPIC.
14921 if test "$enable_shared" = yes; then
14922 glibcxx_lt_pic_flag="-prefer-pic"
14923 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14924 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14926 else
14927 glibcxx_lt_pic_flag=
14928 glibcxx_compiler_pic_flag=
14929 glibcxx_compiler_shared_flag=
14935 # Override the libtool's pic_flag and pic_mode.
14936 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14937 # NB: this impacts --with-pic and --without-pic.
14938 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14939 pic_mode='default'
14941 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14942 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14944 # Possibly disable most of the library.
14945 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14946 ## than just ignoring the results. Faster /and/ more correct, win win.
14948 # Check whether --enable-hosted-libstdcxx was given.
14949 if test "${enable_hosted_libstdcxx+set}" = set; then :
14950 enableval=$enable_hosted_libstdcxx;
14951 else
14952 case "$host" in
14953 arm*-*-symbianelf*)
14954 enable_hosted_libstdcxx=no
14957 enable_hosted_libstdcxx=yes
14959 esac
14962 if test "$enable_hosted_libstdcxx" = no; then
14963 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14964 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14965 is_hosted=no
14966 hosted_define=0
14967 enable_abi_check=no
14968 enable_libstdcxx_pch=no
14969 else
14970 is_hosted=yes
14971 hosted_define=1
14975 cat >>confdefs.h <<_ACEOF
14976 #define _GLIBCXX_HOSTED $hosted_define
14977 _ACEOF
14981 # Enable descriptive messages to standard output on termination.
14983 # Check whether --enable-libstdcxx-verbose was given.
14984 if test "${enable_libstdcxx_verbose+set}" = set; then :
14985 enableval=$enable_libstdcxx_verbose;
14986 else
14987 enable_libstdcxx_verbose=yes
14990 if test x"$enable_libstdcxx_verbose" = xyes; then
14991 verbose_define=1
14992 else
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14994 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14995 verbose_define=0
14998 cat >>confdefs.h <<_ACEOF
14999 #define _GLIBCXX_VERBOSE $verbose_define
15000 _ACEOF
15004 # Enable compiler support that doesn't require linking.
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15007 $as_echo_n "checking for exception model to use... " >&6; }
15009 ac_ext=cpp
15010 ac_cpp='$CXXCPP $CPPFLAGS'
15011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015 # Check whether --enable-sjlj-exceptions was given.
15016 if test "${enable_sjlj_exceptions+set}" = set; then :
15017 enableval=$enable_sjlj_exceptions;
15018 case "$enableval" in
15019 yes|no|auto) ;;
15020 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15021 esac
15023 else
15024 enable_sjlj_exceptions=auto
15029 if test $enable_sjlj_exceptions = auto; then
15030 # Botheration. Now we've got to detect the exception model. Link tests
15031 # against libgcc.a are problematic since we've not been given proper -L
15032 # bits for single-tree newlib and libgloss.
15034 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15035 cat > conftest.$ac_ext << EOF
15036 #line 15036 "configure"
15037 struct S { ~S(); };
15038 void bar();
15039 void foo()
15041 S s;
15042 bar();
15045 old_CXXFLAGS="$CXXFLAGS"
15046 CXXFLAGS=-S
15047 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15048 (eval $ac_compile) 2>&5
15049 ac_status=$?
15050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15051 test $ac_status = 0; }; then
15052 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15053 enable_sjlj_exceptions=yes
15054 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15055 enable_sjlj_exceptions=no
15056 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15057 enable_sjlj_exceptions=no
15060 CXXFLAGS="$old_CXXFLAGS"
15061 rm -f conftest*
15064 # This is a tad weird, for hysterical raisins. We have to map
15065 # enable/disable to two different models.
15066 case $enable_sjlj_exceptions in
15067 yes)
15069 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15071 ac_exception_model_name=sjlj
15074 ac_exception_model_name="call frame"
15077 as_fn_error "unable to detect exception model" "$LINENO" 5
15079 esac
15080 ac_ext=c
15081 ac_cpp='$CPP $CPPFLAGS'
15082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15087 $as_echo "$ac_exception_model_name" >&6; }
15090 # Check whether --enable-libstdcxx-pch was given.
15091 if test "${enable_libstdcxx_pch+set}" = set; then :
15092 enableval=$enable_libstdcxx_pch;
15093 case "$enableval" in
15094 yes|no) ;;
15095 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15096 esac
15098 else
15099 enable_libstdcxx_pch=$is_hosted
15103 if test $enable_libstdcxx_pch = yes; then
15104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15105 $as_echo_n "checking for compiler with PCH support... " >&6; }
15106 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15107 $as_echo_n "(cached) " >&6
15108 else
15109 ac_save_CXXFLAGS="$CXXFLAGS"
15110 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15112 ac_ext=cpp
15113 ac_cpp='$CXXCPP $CPPFLAGS'
15114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15118 echo '#include <math.h>' > conftest.h
15119 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15120 -o conftest.h.gch 1>&5 2>&1 &&
15121 echo '#error "pch failed"' > conftest.h &&
15122 echo '#include "conftest.h"' > conftest.cc &&
15123 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15124 then
15125 glibcxx_cv_prog_CXX_pch=yes
15126 else
15127 glibcxx_cv_prog_CXX_pch=no
15129 rm -f conftest*
15130 CXXFLAGS=$ac_save_CXXFLAGS
15131 ac_ext=c
15132 ac_cpp='$CPP $CPPFLAGS'
15133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15140 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15141 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15145 $as_echo_n "checking for enabled PCH... " >&6; }
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15147 $as_echo "$enable_libstdcxx_pch" >&6; }
15150 if test $enable_libstdcxx_pch = yes; then
15151 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15152 else
15153 glibcxx_PCHFLAGS=""
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15159 $as_echo_n "checking for thread model used by GCC... " >&6; }
15160 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15162 $as_echo "$target_thread_file" >&6; }
15166 ac_ext=cpp
15167 ac_cpp='$CXXCPP $CPPFLAGS'
15168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15172 old_CXXFLAGS="$CXXFLAGS"
15174 # Do link tests if possible, instead asm tests, limited to some platforms
15175 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15176 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15177 atomic_builtins_link_tests=no
15178 if test x$gcc_no_link != xyes; then
15179 # Can do link tests. Limit to some tested platforms
15180 case "$host" in
15181 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15182 atomic_builtins_link_tests=yes
15184 esac
15187 if test x$atomic_builtins_link_tests = xyes; then
15189 # Do link tests.
15191 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15194 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15195 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15196 $as_echo_n "(cached) " >&6
15197 else
15199 if test x$gcc_no_link = xyes; then
15200 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15203 /* end confdefs.h. */
15206 main ()
15208 typedef bool atomic_type;
15209 atomic_type c1;
15210 atomic_type c2;
15211 atomic_type c3(0);
15212 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15213 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15214 __ATOMIC_RELAXED);
15215 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15216 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15219 return 0;
15221 _ACEOF
15222 if ac_fn_cxx_try_link "$LINENO"; then :
15223 glibcxx_cv_atomic_bool=yes
15224 else
15225 glibcxx_cv_atomic_bool=no
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15233 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15236 $as_echo_n "checking for atomic builtins for short... " >&6; }
15237 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15238 $as_echo_n "(cached) " >&6
15239 else
15241 if test x$gcc_no_link = xyes; then
15242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15248 main ()
15250 typedef short atomic_type;
15251 atomic_type c1;
15252 atomic_type c2;
15253 atomic_type c3(0);
15254 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15255 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15256 __ATOMIC_RELAXED);
15257 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15258 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15261 return 0;
15263 _ACEOF
15264 if ac_fn_cxx_try_link "$LINENO"; then :
15265 glibcxx_cv_atomic_short=yes
15266 else
15267 glibcxx_cv_atomic_short=no
15269 rm -f core conftest.err conftest.$ac_objext \
15270 conftest$ac_exeext conftest.$ac_ext
15274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15275 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15278 $as_echo_n "checking for atomic builtins for int... " >&6; }
15279 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15280 $as_echo_n "(cached) " >&6
15281 else
15283 if test x$gcc_no_link = xyes; then
15284 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15287 /* end confdefs.h. */
15290 main ()
15292 typedef int atomic_type;
15293 atomic_type c1;
15294 atomic_type c2;
15295 atomic_type c3(0);
15296 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15297 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15298 __ATOMIC_RELAXED);
15299 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15300 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15303 return 0;
15305 _ACEOF
15306 if ac_fn_cxx_try_link "$LINENO"; then :
15307 glibcxx_cv_atomic_int=yes
15308 else
15309 glibcxx_cv_atomic_int=no
15311 rm -f core conftest.err conftest.$ac_objext \
15312 conftest$ac_exeext conftest.$ac_ext
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15317 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15320 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15321 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15322 $as_echo_n "(cached) " >&6
15323 else
15325 if test x$gcc_no_link = xyes; then
15326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15329 /* end confdefs.h. */
15332 main ()
15334 typedef long long atomic_type;
15335 atomic_type c1;
15336 atomic_type c2;
15337 atomic_type c3(0);
15338 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15339 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15340 __ATOMIC_RELAXED);
15341 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15342 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15345 return 0;
15347 _ACEOF
15348 if ac_fn_cxx_try_link "$LINENO"; then :
15349 glibcxx_cv_atomic_long_long=yes
15350 else
15351 glibcxx_cv_atomic_long_long=no
15353 rm -f core conftest.err conftest.$ac_objext \
15354 conftest$ac_exeext conftest.$ac_ext
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15359 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15361 else
15363 # Do asm tests.
15365 # Compile unoptimized.
15366 CXXFLAGS='-O0 -S'
15368 # Fake what AC_TRY_COMPILE does.
15370 cat > conftest.$ac_ext << EOF
15371 #line 15371 "configure"
15372 int main()
15374 typedef bool atomic_type;
15375 atomic_type c1;
15376 atomic_type c2;
15377 atomic_type c3(0);
15378 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15379 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15380 __ATOMIC_RELAXED);
15381 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15382 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15384 return 0;
15388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15389 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15390 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15391 (eval $ac_compile) 2>&5
15392 ac_status=$?
15393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15394 test $ac_status = 0; }; then
15395 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15396 glibcxx_cv_atomic_bool=no
15397 else
15398 glibcxx_cv_atomic_bool=yes
15401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15402 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15403 rm -f conftest*
15405 cat > conftest.$ac_ext << EOF
15406 #line 15406 "configure"
15407 int main()
15409 typedef short atomic_type;
15410 atomic_type c1;
15411 atomic_type c2;
15412 atomic_type c3(0);
15413 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15414 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15415 __ATOMIC_RELAXED);
15416 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15417 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15419 return 0;
15423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15424 $as_echo_n "checking for atomic builtins for short... " >&6; }
15425 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15426 (eval $ac_compile) 2>&5
15427 ac_status=$?
15428 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15429 test $ac_status = 0; }; then
15430 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15431 glibcxx_cv_atomic_short=no
15432 else
15433 glibcxx_cv_atomic_short=yes
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15437 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15438 rm -f conftest*
15440 cat > conftest.$ac_ext << EOF
15441 #line 15441 "configure"
15442 int main()
15444 // NB: _Atomic_word not necessarily int.
15445 typedef int atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455 return 0;
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15460 $as_echo_n "checking for atomic builtins for int... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_int=no
15468 else
15469 glibcxx_cv_atomic_int=yes
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15473 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15474 rm -f conftest*
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15480 typedef long long atomic_type;
15481 atomic_type c1;
15482 atomic_type c2;
15483 atomic_type c3(0);
15484 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15485 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15486 __ATOMIC_RELAXED);
15487 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15488 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15490 return 0;
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15495 $as_echo_n "checking for atomic builtins for long long... " >&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
15501 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15502 glibcxx_cv_atomic_long_long=no
15503 else
15504 glibcxx_cv_atomic_long_long=yes
15507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15508 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15509 rm -f conftest*
15513 CXXFLAGS="$old_CXXFLAGS"
15514 ac_ext=c
15515 ac_cpp='$CPP $CPPFLAGS'
15516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15521 # Set atomicity_dir to builtins if all but the long long test above passes.
15522 if test $glibcxx_cv_atomic_bool = yes \
15523 && test $glibcxx_cv_atomic_short = yes \
15524 && test $glibcxx_cv_atomic_int = yes; then
15526 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15528 atomicity_dir=cpu/generic/atomicity_builtins
15531 # If still generic, set to mutex.
15532 if test $atomicity_dir = "cpu/generic" ; then
15533 atomicity_dir=cpu/generic/atomicity_mutex
15534 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15535 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15536 if test "x$target_thread_file" = xsingle; then
15537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15538 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15540 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15541 else
15542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15543 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15545 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15552 # Fake what AC_TRY_COMPILE does, without linking as this is
15553 # unnecessary for this test.
15555 cat > conftest.$ac_ext << EOF
15556 #line 15556 "configure"
15557 int main()
15559 _Decimal32 d1;
15560 _Decimal64 d2;
15561 _Decimal128 d3;
15562 return 0;
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15567 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15568 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15569 (eval $ac_compile) 2>&5
15570 ac_status=$?
15571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15572 test $ac_status = 0; }; then
15574 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15576 enable_dfp=yes
15577 else
15578 enable_dfp=no
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15581 $as_echo "$enable_dfp" >&6; }
15582 rm -f conftest*
15587 ac_ext=cpp
15588 ac_cpp='$CXXCPP $CPPFLAGS'
15589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15594 # Fake what AC_TRY_COMPILE does, without linking as this is
15595 # unnecessary for this test.
15597 cat > conftest.$ac_ext << EOF
15598 #line 15598 "configure"
15599 template<typename T1, typename T2>
15600 struct same
15601 { typedef T2 type; };
15603 template<typename T>
15604 struct same<T, T>;
15606 int main()
15608 typename same<long, __int128>::type i1;
15609 typename same<long long, __int128>::type i2;
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15614 $as_echo_n "checking for __int128... " >&6; }
15615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15616 (eval $ac_compile) 2>&5
15617 ac_status=$?
15618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619 test $ac_status = 0; }; then
15621 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15623 enable_int128=yes
15624 else
15625 enable_int128=no
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15628 $as_echo "$enable_int128" >&6; }
15629 rm -f conftest*
15631 cat > conftest.$ac_ext << EOF
15632 #line 15632 "configure"
15633 template<typename T1, typename T2>
15634 struct same
15635 { typedef T2 type; };
15637 template<typename T>
15638 struct same<T, T>;
15640 int main()
15642 typename same<double, __float128>::type f1;
15643 typename same<long double, __float128>::type f2;
15647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15648 $as_echo_n "checking for __float128... " >&6; }
15649 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15650 (eval $ac_compile) 2>&5
15651 ac_status=$?
15652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15653 test $ac_status = 0; }; then
15655 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15657 enable_float128=yes
15658 else
15659 enable_float128=no
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15662 $as_echo "$enable_float128" >&6; }
15663 rm -f conftest*
15665 ac_ext=c
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15673 # Checks for compiler support that doesn't require linking.
15675 # All these tests are for C++; save the language and the compiler flags.
15676 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15677 # found in GLIBCXX_CONFIGURE.
15679 ac_ext=cpp
15680 ac_cpp='$CXXCPP $CPPFLAGS'
15681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15685 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15686 ac_save_CXXFLAGS="$CXXFLAGS"
15688 # Check for maintainer-mode bits.
15689 if test x"$USE_MAINTAINER_MODE" = xno; then
15690 WERROR=''
15691 else
15692 WERROR='-Werror'
15695 # Check for -ffunction-sections -fdata-sections
15696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15697 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15698 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15700 /* end confdefs.h. */
15701 int foo; void bar() { };
15703 main ()
15707 return 0;
15709 _ACEOF
15710 if ac_fn_cxx_try_compile "$LINENO"; then :
15711 ac_fdsections=yes
15712 else
15713 ac_fdsections=no
15715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15716 if test "$ac_test_CXXFLAGS" = set; then
15717 CXXFLAGS="$ac_save_CXXFLAGS"
15718 else
15719 # this is the suspicious part
15720 CXXFLAGS=''
15722 if test x"$ac_fdsections" = x"yes"; then
15723 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15726 $as_echo "$ac_fdsections" >&6; }
15728 ac_ext=c
15729 ac_cpp='$CPP $CPPFLAGS'
15730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15738 # Enable all the variable C++ runtime options that don't require linking.
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15741 $as_echo_n "checking for underlying I/O to use... " >&6; }
15742 # Check whether --enable-cstdio was given.
15743 if test "${enable_cstdio+set}" = set; then :
15744 enableval=$enable_cstdio;
15745 case "$enableval" in
15746 stdio) ;;
15747 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15748 esac
15750 else
15751 enable_cstdio=stdio
15756 # Now that libio has been removed, you can have any color you want as long
15757 # as it's black. This is one big no-op until other packages are added, but
15758 # showing the framework never hurts.
15759 case ${enable_cstdio} in
15760 stdio)
15761 CSTDIO_H=config/io/c_io_stdio.h
15762 BASIC_FILE_H=config/io/basic_file_stdio.h
15763 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15765 $as_echo "stdio" >&6; }
15767 esac
15774 # Check whether --enable-clocale was given.
15775 if test "${enable_clocale+set}" = set; then :
15776 enableval=$enable_clocale;
15777 case "$enableval" in
15778 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15779 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15780 esac
15782 else
15783 enable_clocale=auto
15788 # Deal with gettext issues. Default to not using it (=no) until we detect
15789 # support for it later. Let the user turn it off via --e/d, but let that
15790 # default to on for easier handling.
15791 USE_NLS=no
15792 # Check whether --enable-nls was given.
15793 if test "${enable_nls+set}" = set; then :
15794 enableval=$enable_nls;
15795 else
15796 enable_nls=yes
15800 # Either a known package, or "auto"
15801 if test $enable_clocale = no || test $enable_clocale = yes; then
15802 enable_clocale=auto
15804 enable_clocale_flag=$enable_clocale
15806 # Probe for locale model to use if none specified.
15807 # Default to "generic".
15808 if test $enable_clocale_flag = auto; then
15809 case ${target_os} in
15810 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15811 enable_clocale_flag=gnu
15813 darwin* | freebsd*)
15814 enable_clocale_flag=darwin
15817 if test x"$with_newlib" = x"yes"; then
15818 enable_clocale_flag=newlib
15819 else
15820 enable_clocale_flag=generic
15823 esac
15826 # Sanity check model, and test for special functionality.
15827 if test $enable_clocale_flag = gnu; then
15828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15829 /* end confdefs.h. */
15831 #include <features.h>
15832 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15833 _GLIBCXX_ok
15834 #endif
15836 _ACEOF
15837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15838 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15839 enable_clocale_flag=gnu
15840 else
15841 enable_clocale_flag=generic
15843 rm -f conftest*
15846 # Set it to scream when it hurts.
15847 ac_save_CFLAGS="$CFLAGS"
15848 CFLAGS="-Wimplicit-function-declaration -Werror"
15850 # Use strxfrm_l if available.
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15853 #define _GNU_SOURCE 1
15854 #include <string.h>
15855 #include <locale.h>
15857 main ()
15859 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15861 return 0;
15863 _ACEOF
15864 if ac_fn_c_try_compile "$LINENO"; then :
15866 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15871 # Use strerror_l if available.
15872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15873 /* end confdefs.h. */
15874 #define _GNU_SOURCE 1
15875 #include <string.h>
15876 #include <locale.h>
15878 main ()
15880 __locale_t loc; strerror_l(5, loc);
15882 return 0;
15884 _ACEOF
15885 if ac_fn_c_try_compile "$LINENO"; then :
15887 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15892 CFLAGS="$ac_save_CFLAGS"
15895 # Perhaps use strerror_r if available, and strerror_l isn't.
15896 ac_save_CFLAGS="$CFLAGS"
15897 CFLAGS="-Wimplicit-function-declaration -Werror"
15898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15899 /* end confdefs.h. */
15900 #define _GNU_SOURCE 1
15901 #include <string.h>
15902 #include <locale.h>
15904 main ()
15906 char s[128]; strerror_r(5, s, 128);
15908 return 0;
15910 _ACEOF
15911 if ac_fn_c_try_compile "$LINENO"; then :
15913 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15917 CFLAGS="$ac_save_CFLAGS"
15919 # Set configure bits for specified locale package
15920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15921 $as_echo_n "checking for C locale to use... " >&6; }
15922 case ${enable_clocale_flag} in
15923 generic)
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15925 $as_echo "generic" >&6; }
15927 CLOCALE_H=config/locale/generic/c_locale.h
15928 CLOCALE_CC=config/locale/generic/c_locale.cc
15929 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15930 CCOLLATE_CC=config/locale/generic/collate_members.cc
15931 CCTYPE_CC=config/locale/generic/ctype_members.cc
15932 CMESSAGES_H=config/locale/generic/messages_members.h
15933 CMESSAGES_CC=config/locale/generic/messages_members.cc
15934 CMONEY_CC=config/locale/generic/monetary_members.cc
15935 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15936 CTIME_H=config/locale/generic/time_members.h
15937 CTIME_CC=config/locale/generic/time_members.cc
15938 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15940 darwin)
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15942 $as_echo "darwin or freebsd" >&6; }
15944 CLOCALE_H=config/locale/generic/c_locale.h
15945 CLOCALE_CC=config/locale/generic/c_locale.cc
15946 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15947 CCOLLATE_CC=config/locale/generic/collate_members.cc
15948 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15949 CMESSAGES_H=config/locale/generic/messages_members.h
15950 CMESSAGES_CC=config/locale/generic/messages_members.cc
15951 CMONEY_CC=config/locale/generic/monetary_members.cc
15952 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15953 CTIME_H=config/locale/generic/time_members.h
15954 CTIME_CC=config/locale/generic/time_members.cc
15955 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15958 gnu)
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15960 $as_echo "gnu" >&6; }
15962 # Declare intention to use gettext, and add support for specific
15963 # languages.
15964 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15965 ALL_LINGUAS="de fr"
15967 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15968 # Extract the first word of "msgfmt", so it can be a program name with args.
15969 set dummy msgfmt; ac_word=$2
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15971 $as_echo_n "checking for $ac_word... " >&6; }
15972 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15973 $as_echo_n "(cached) " >&6
15974 else
15975 if test -n "$check_msgfmt"; then
15976 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15977 else
15978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15979 for as_dir in $PATH
15981 IFS=$as_save_IFS
15982 test -z "$as_dir" && as_dir=.
15983 for ac_exec_ext in '' $ac_executable_extensions; do
15984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15985 ac_cv_prog_check_msgfmt="yes"
15986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15987 break 2
15989 done
15990 done
15991 IFS=$as_save_IFS
15993 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15996 check_msgfmt=$ac_cv_prog_check_msgfmt
15997 if test -n "$check_msgfmt"; then
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15999 $as_echo "$check_msgfmt" >&6; }
16000 else
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16002 $as_echo "no" >&6; }
16006 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16007 USE_NLS=yes
16009 # Export the build objects.
16010 for ling in $ALL_LINGUAS; do \
16011 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16012 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16013 done
16017 CLOCALE_H=config/locale/gnu/c_locale.h
16018 CLOCALE_CC=config/locale/gnu/c_locale.cc
16019 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16020 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16021 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16022 CMESSAGES_H=config/locale/gnu/messages_members.h
16023 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16024 CMONEY_CC=config/locale/gnu/monetary_members.cc
16025 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16026 CTIME_H=config/locale/gnu/time_members.h
16027 CTIME_CC=config/locale/gnu/time_members.cc
16028 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16030 ieee_1003.1-2001)
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16032 $as_echo "IEEE 1003.1" >&6; }
16034 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16035 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16036 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16037 CCOLLATE_CC=config/locale/generic/collate_members.cc
16038 CCTYPE_CC=config/locale/generic/ctype_members.cc
16039 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16040 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16041 CMONEY_CC=config/locale/generic/monetary_members.cc
16042 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16043 CTIME_H=config/locale/generic/time_members.h
16044 CTIME_CC=config/locale/generic/time_members.cc
16045 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16047 newlib)
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16049 $as_echo "newlib" >&6; }
16051 CLOCALE_H=config/locale/generic/c_locale.h
16052 CLOCALE_CC=config/locale/generic/c_locale.cc
16053 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16054 CCOLLATE_CC=config/locale/generic/collate_members.cc
16055 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16056 CMESSAGES_H=config/locale/generic/messages_members.h
16057 CMESSAGES_CC=config/locale/generic/messages_members.cc
16058 CMONEY_CC=config/locale/generic/monetary_members.cc
16059 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16060 CTIME_H=config/locale/generic/time_members.h
16061 CTIME_CC=config/locale/generic/time_members.cc
16062 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16064 esac
16066 # This is where the testsuite looks for locale catalogs, using the
16067 # -DLOCALEDIR define during testsuite compilation.
16068 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16071 # A standalone libintl (e.g., GNU libintl) may be in use.
16072 if test $USE_NLS = yes; then
16073 for ac_header in libintl.h
16074 do :
16075 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16076 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16077 cat >>confdefs.h <<_ACEOF
16078 #define HAVE_LIBINTL_H 1
16079 _ACEOF
16081 else
16082 USE_NLS=no
16085 done
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16088 $as_echo_n "checking for library containing gettext... " >&6; }
16089 if test "${ac_cv_search_gettext+set}" = set; then :
16090 $as_echo_n "(cached) " >&6
16091 else
16092 ac_func_search_save_LIBS=$LIBS
16093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16094 /* end confdefs.h. */
16096 /* Override any GCC internal prototype to avoid an error.
16097 Use char because int might match the return type of a GCC
16098 builtin and then its argument prototype would still apply. */
16099 #ifdef __cplusplus
16100 extern "C"
16101 #endif
16102 char gettext ();
16104 main ()
16106 return gettext ();
16108 return 0;
16110 _ACEOF
16111 for ac_lib in '' intl; do
16112 if test -z "$ac_lib"; then
16113 ac_res="none required"
16114 else
16115 ac_res=-l$ac_lib
16116 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16118 if test x$gcc_no_link = xyes; then
16119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16121 if ac_fn_c_try_link "$LINENO"; then :
16122 ac_cv_search_gettext=$ac_res
16124 rm -f core conftest.err conftest.$ac_objext \
16125 conftest$ac_exeext
16126 if test "${ac_cv_search_gettext+set}" = set; then :
16127 break
16129 done
16130 if test "${ac_cv_search_gettext+set}" = set; then :
16132 else
16133 ac_cv_search_gettext=no
16135 rm conftest.$ac_ext
16136 LIBS=$ac_func_search_save_LIBS
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16139 $as_echo "$ac_cv_search_gettext" >&6; }
16140 ac_res=$ac_cv_search_gettext
16141 if test "$ac_res" != no; then :
16142 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16144 else
16145 USE_NLS=no
16149 if test $USE_NLS = yes; then
16151 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16171 $as_echo_n "checking for std::allocator base class... " >&6; }
16172 # Check whether --enable-libstdcxx-allocator was given.
16173 if test "${enable_libstdcxx_allocator+set}" = set; then :
16174 enableval=$enable_libstdcxx_allocator;
16175 case "$enableval" in
16176 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16177 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16178 esac
16180 else
16181 enable_libstdcxx_allocator=auto
16186 # If they didn't use this option switch, or if they specified --enable
16187 # with no specific model, we'll have to look for one. If they
16188 # specified --disable (???), do likewise.
16189 if test $enable_libstdcxx_allocator = no ||
16190 test $enable_libstdcxx_allocator = yes;
16191 then
16192 enable_libstdcxx_allocator=auto
16195 # Either a known package, or "auto". Auto implies the default choice
16196 # for a particular platform.
16197 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16199 # Probe for host-specific support if no specific model is specified.
16200 # Default to "new".
16201 if test $enable_libstdcxx_allocator_flag = auto; then
16202 case ${target_os} in
16203 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16204 enable_libstdcxx_allocator_flag=new
16207 enable_libstdcxx_allocator_flag=new
16209 esac
16211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16212 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16215 # Set configure bits for specified locale package
16216 case ${enable_libstdcxx_allocator_flag} in
16217 bitmap)
16218 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16219 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16221 malloc)
16222 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16223 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16226 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16227 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16229 new)
16230 ALLOCATOR_H=config/allocator/new_allocator_base.h
16231 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16233 pool)
16234 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16235 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16237 esac
16243 # Check whether --enable-cheaders was given.
16244 if test "${enable_cheaders+set}" = set; then :
16245 enableval=$enable_cheaders;
16246 case "$enableval" in
16247 c|c_std|c_global) ;;
16248 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16249 esac
16251 else
16252 enable_cheaders=$c_model
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16257 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16259 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16261 # Allow overrides to configure.host here.
16262 if test $enable_cheaders = c_global; then
16263 c_compatibility=yes
16272 # Check whether --enable-long-long was given.
16273 if test "${enable_long_long+set}" = set; then :
16274 enableval=$enable_long_long;
16275 case "$enableval" in
16276 yes|no) ;;
16277 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16278 esac
16280 else
16281 enable_long_long=yes
16285 if test $enable_long_long = yes; then
16287 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16291 $as_echo_n "checking for enabled long long specializations... " >&6; }
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16293 $as_echo "$enable_long_long" >&6; }
16296 # Check whether --enable-wchar_t was given.
16297 if test "${enable_wchar_t+set}" = set; then :
16298 enableval=$enable_wchar_t;
16299 case "$enableval" in
16300 yes|no) ;;
16301 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16302 esac
16304 else
16305 enable_wchar_t=yes
16310 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16311 for ac_header in wchar.h
16312 do :
16313 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16314 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16315 cat >>confdefs.h <<_ACEOF
16316 #define HAVE_WCHAR_H 1
16317 _ACEOF
16318 ac_has_wchar_h=yes
16319 else
16320 ac_has_wchar_h=no
16323 done
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16326 $as_echo_n "checking for mbstate_t... " >&6; }
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16329 #include <wchar.h>
16331 main ()
16333 mbstate_t teststate;
16335 return 0;
16337 _ACEOF
16338 if ac_fn_c_try_compile "$LINENO"; then :
16339 have_mbstate_t=yes
16340 else
16341 have_mbstate_t=no
16343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16345 $as_echo "$have_mbstate_t" >&6; }
16346 if test x"$have_mbstate_t" = xyes; then
16348 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16352 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16353 # ac_has_wchar_h.
16354 for ac_header in wctype.h
16355 do :
16356 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16357 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16358 cat >>confdefs.h <<_ACEOF
16359 #define HAVE_WCTYPE_H 1
16360 _ACEOF
16361 ac_has_wctype_h=yes
16362 else
16363 ac_has_wctype_h=no
16366 done
16369 if test x"$enable_wchar_t" = x"yes"; then
16372 ac_ext=cpp
16373 ac_cpp='$CXXCPP $CPPFLAGS'
16374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16379 if test x"$ac_has_wchar_h" = xyes &&
16380 test x"$ac_has_wctype_h" = xyes; then
16381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16382 /* end confdefs.h. */
16383 #include <wchar.h>
16384 #include <stddef.h>
16385 wint_t i;
16386 long l = WEOF;
16387 long j = WCHAR_MIN;
16388 long k = WCHAR_MAX;
16389 namespace test
16391 using ::btowc;
16392 using ::fgetwc;
16393 using ::fgetws;
16394 using ::fputwc;
16395 using ::fputws;
16396 using ::fwide;
16397 using ::fwprintf;
16398 using ::fwscanf;
16399 using ::getwc;
16400 using ::getwchar;
16401 using ::mbrlen;
16402 using ::mbrtowc;
16403 using ::mbsinit;
16404 using ::mbsrtowcs;
16405 using ::putwc;
16406 using ::putwchar;
16407 using ::swprintf;
16408 using ::swscanf;
16409 using ::ungetwc;
16410 using ::vfwprintf;
16411 using ::vswprintf;
16412 using ::vwprintf;
16413 using ::wcrtomb;
16414 using ::wcscat;
16415 using ::wcschr;
16416 using ::wcscmp;
16417 using ::wcscoll;
16418 using ::wcscpy;
16419 using ::wcscspn;
16420 using ::wcsftime;
16421 using ::wcslen;
16422 using ::wcsncat;
16423 using ::wcsncmp;
16424 using ::wcsncpy;
16425 using ::wcspbrk;
16426 using ::wcsrchr;
16427 using ::wcsrtombs;
16428 using ::wcsspn;
16429 using ::wcsstr;
16430 using ::wcstod;
16431 using ::wcstok;
16432 using ::wcstol;
16433 using ::wcstoul;
16434 using ::wcsxfrm;
16435 using ::wctob;
16436 using ::wmemchr;
16437 using ::wmemcmp;
16438 using ::wmemcpy;
16439 using ::wmemmove;
16440 using ::wmemset;
16441 using ::wprintf;
16442 using ::wscanf;
16446 main ()
16450 return 0;
16452 _ACEOF
16453 if ac_fn_cxx_try_compile "$LINENO"; then :
16455 else
16456 enable_wchar_t=no
16458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16459 else
16460 enable_wchar_t=no
16463 ac_ext=c
16464 ac_cpp='$CPP $CPPFLAGS'
16465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16471 if test x"$enable_wchar_t" = x"yes"; then
16473 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16478 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16480 $as_echo "$enable_wchar_t" >&6; }
16484 # Check whether --enable-c99 was given.
16485 if test "${enable_c99+set}" = set; then :
16486 enableval=$enable_c99;
16487 case "$enableval" in
16488 yes|no) ;;
16489 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16490 esac
16492 else
16493 enable_c99=yes
16498 if test x"$enable_c99" = x"yes"; then
16501 ac_ext=cpp
16502 ac_cpp='$CXXCPP $CPPFLAGS'
16503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16508 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16509 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16510 # spuriously enabled.
16511 # Long term, -std=c++0x could be even better, could manage to explicitely
16512 # request C99 facilities to the underlying C headers.
16513 ac_save_CXXFLAGS="$CXXFLAGS"
16514 CXXFLAGS="$CXXFLAGS -std=c++98"
16515 ac_save_LIBS="$LIBS"
16516 ac_save_gcc_no_link="$gcc_no_link"
16518 if test x$gcc_no_link != xyes; then
16519 # Use -fno-exceptions to that the C driver can link these tests without
16520 # hitting undefined references to personality routines.
16521 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16523 $as_echo_n "checking for sin in -lm... " >&6; }
16524 if test "${ac_cv_lib_m_sin+set}" = set; then :
16525 $as_echo_n "(cached) " >&6
16526 else
16527 ac_check_lib_save_LIBS=$LIBS
16528 LIBS="-lm $LIBS"
16529 if test x$gcc_no_link = xyes; then
16530 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 /* Override any GCC internal prototype to avoid an error.
16536 Use char because int might match the return type of a GCC
16537 builtin and then its argument prototype would still apply. */
16538 #ifdef __cplusplus
16539 extern "C"
16540 #endif
16541 char sin ();
16543 main ()
16545 return sin ();
16547 return 0;
16549 _ACEOF
16550 if ac_fn_cxx_try_link "$LINENO"; then :
16551 ac_cv_lib_m_sin=yes
16552 else
16553 ac_cv_lib_m_sin=no
16555 rm -f core conftest.err conftest.$ac_objext \
16556 conftest$ac_exeext conftest.$ac_ext
16557 LIBS=$ac_check_lib_save_LIBS
16559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16560 $as_echo "$ac_cv_lib_m_sin" >&6; }
16561 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16563 LIBS="$LIBS -lm"
16565 else
16567 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16568 gcc_no_link=yes
16574 # Check for the existence of <math.h> functions used if C99 is enabled.
16575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16576 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16577 if test "${glibcxx_cv_c99_math+set}" = set; then :
16578 $as_echo_n "(cached) " >&6
16579 else
16581 if test x$gcc_no_link = xyes; then
16582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16583 /* end confdefs.h. */
16584 #include <math.h>
16585 volatile double d1, d2;
16586 volatile int i;
16588 main ()
16590 i = fpclassify(d1);
16591 i = isfinite(d1);
16592 i = isinf(d1);
16593 i = isnan(d1);
16594 i = isnormal(d1);
16595 i = signbit(d1);
16596 i = isgreater(d1, d2);
16597 i = isgreaterequal(d1, d2);
16598 i = isless(d1, d2);
16599 i = islessequal(d1, d2);
16600 i = islessgreater(d1, d2);
16601 i = islessgreater(d1, d2);
16602 i = isunordered(d1, d2);
16605 return 0;
16607 _ACEOF
16608 if ac_fn_cxx_try_compile "$LINENO"; then :
16609 glibcxx_cv_c99_math=yes
16610 else
16611 glibcxx_cv_c99_math=no
16613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16614 else
16615 if test x$gcc_no_link = xyes; then
16616 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16619 /* end confdefs.h. */
16620 #include <math.h>
16621 volatile double d1, d2;
16622 volatile int i;
16624 main ()
16626 i = fpclassify(d1);
16627 i = isfinite(d1);
16628 i = isinf(d1);
16629 i = isnan(d1);
16630 i = isnormal(d1);
16631 i = signbit(d1);
16632 i = isgreater(d1, d2);
16633 i = isgreaterequal(d1, d2);
16634 i = isless(d1, d2);
16635 i = islessequal(d1, d2);
16636 i = islessgreater(d1, d2);
16637 i = islessgreater(d1, d2);
16638 i = isunordered(d1, d2);
16641 return 0;
16643 _ACEOF
16644 if ac_fn_cxx_try_link "$LINENO"; then :
16645 glibcxx_cv_c99_math=yes
16646 else
16647 glibcxx_cv_c99_math=no
16649 rm -f core conftest.err conftest.$ac_objext \
16650 conftest$ac_exeext conftest.$ac_ext
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16656 $as_echo "$glibcxx_cv_c99_math" >&6; }
16657 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16659 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16663 # Check for the existence of <complex.h> complex math functions.
16664 # This is necessary even though libstdc++ uses the builtin versions
16665 # of these functions, because if the builtin cannot be used, a reference
16666 # to the library function is emitted.
16667 for ac_header in tgmath.h
16668 do :
16669 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16670 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16671 cat >>confdefs.h <<_ACEOF
16672 #define HAVE_TGMATH_H 1
16673 _ACEOF
16674 ac_has_tgmath_h=yes
16675 else
16676 ac_has_tgmath_h=no
16679 done
16681 for ac_header in complex.h
16682 do :
16683 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16684 if test "x$ac_cv_header_complex_h" = x""yes; then :
16685 cat >>confdefs.h <<_ACEOF
16686 #define HAVE_COMPLEX_H 1
16687 _ACEOF
16688 ac_has_complex_h=yes
16689 else
16690 ac_has_complex_h=no
16693 done
16695 glibcxx_cv_c99_complex=no;
16696 if test x"$ac_has_complex_h" = x"yes"; then
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16698 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16699 if test x$gcc_no_link = xyes; then
16700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16701 /* end confdefs.h. */
16702 #include <complex.h>
16703 typedef __complex__ float float_type;
16704 typedef __complex__ double double_type;
16705 typedef __complex__ long double ld_type;
16706 volatile float_type tmpf;
16707 volatile double_type tmpd;
16708 volatile ld_type tmpld;
16709 volatile float f;
16710 volatile double d;
16711 volatile long double ld;
16713 main ()
16715 f = cabsf(tmpf);
16716 f = cargf(tmpf);
16717 tmpf = ccosf(tmpf);
16718 tmpf = ccoshf(tmpf);
16719 tmpf = cexpf(tmpf);
16720 tmpf = clogf(tmpf);
16721 tmpf = csinf(tmpf);
16722 tmpf = csinhf(tmpf);
16723 tmpf = csqrtf(tmpf);
16724 tmpf = ctanf(tmpf);
16725 tmpf = ctanhf(tmpf);
16726 tmpf = cpowf(tmpf, tmpf);
16727 tmpf = cprojf(tmpf);
16728 d = cabs(tmpd);
16729 d = carg(tmpd);
16730 tmpd = ccos(tmpd);
16731 tmpd = ccosh(tmpd);
16732 tmpd = cexp(tmpd);
16733 tmpd = clog(tmpd);
16734 tmpd = csin(tmpd);
16735 tmpd = csinh(tmpd);
16736 tmpd = csqrt(tmpd);
16737 tmpd = ctan(tmpd);
16738 tmpd = ctanh(tmpd);
16739 tmpd = cpow(tmpd, tmpd);
16740 tmpd = cproj(tmpd);
16741 ld = cabsl(tmpld);
16742 ld = cargl(tmpld);
16743 tmpld = ccosl(tmpld);
16744 tmpld = ccoshl(tmpld);
16745 tmpld = cexpl(tmpld);
16746 tmpld = clogl(tmpld);
16747 tmpld = csinl(tmpld);
16748 tmpld = csinhl(tmpld);
16749 tmpld = csqrtl(tmpld);
16750 tmpld = ctanl(tmpld);
16751 tmpld = ctanhl(tmpld);
16752 tmpld = cpowl(tmpld, tmpld);
16753 tmpld = cprojl(tmpld);
16756 return 0;
16758 _ACEOF
16759 if ac_fn_cxx_try_compile "$LINENO"; then :
16760 glibcxx_cv_c99_complex=yes
16761 else
16762 glibcxx_cv_c99_complex=no
16764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16765 else
16766 if test x$gcc_no_link = xyes; then
16767 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16770 /* end confdefs.h. */
16771 #include <complex.h>
16772 typedef __complex__ float float_type;
16773 typedef __complex__ double double_type;
16774 typedef __complex__ long double ld_type;
16775 volatile float_type tmpf;
16776 volatile double_type tmpd;
16777 volatile ld_type tmpld;
16778 volatile float f;
16779 volatile double d;
16780 volatile long double ld;
16782 main ()
16784 f = cabsf(tmpf);
16785 f = cargf(tmpf);
16786 tmpf = ccosf(tmpf);
16787 tmpf = ccoshf(tmpf);
16788 tmpf = cexpf(tmpf);
16789 tmpf = clogf(tmpf);
16790 tmpf = csinf(tmpf);
16791 tmpf = csinhf(tmpf);
16792 tmpf = csqrtf(tmpf);
16793 tmpf = ctanf(tmpf);
16794 tmpf = ctanhf(tmpf);
16795 tmpf = cpowf(tmpf, tmpf);
16796 tmpf = cprojf(tmpf);
16797 d = cabs(tmpd);
16798 d = carg(tmpd);
16799 tmpd = ccos(tmpd);
16800 tmpd = ccosh(tmpd);
16801 tmpd = cexp(tmpd);
16802 tmpd = clog(tmpd);
16803 tmpd = csin(tmpd);
16804 tmpd = csinh(tmpd);
16805 tmpd = csqrt(tmpd);
16806 tmpd = ctan(tmpd);
16807 tmpd = ctanh(tmpd);
16808 tmpd = cpow(tmpd, tmpd);
16809 tmpd = cproj(tmpd);
16810 ld = cabsl(tmpld);
16811 ld = cargl(tmpld);
16812 tmpld = ccosl(tmpld);
16813 tmpld = ccoshl(tmpld);
16814 tmpld = cexpl(tmpld);
16815 tmpld = clogl(tmpld);
16816 tmpld = csinl(tmpld);
16817 tmpld = csinhl(tmpld);
16818 tmpld = csqrtl(tmpld);
16819 tmpld = ctanl(tmpld);
16820 tmpld = ctanhl(tmpld);
16821 tmpld = cpowl(tmpld, tmpld);
16822 tmpld = cprojl(tmpld);
16825 return 0;
16827 _ACEOF
16828 if ac_fn_cxx_try_link "$LINENO"; then :
16829 glibcxx_cv_c99_complex=yes
16830 else
16831 glibcxx_cv_c99_complex=no
16833 rm -f core conftest.err conftest.$ac_objext \
16834 conftest$ac_exeext conftest.$ac_ext
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16838 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16839 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16841 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16845 # Check for the existence in <stdio.h> of vscanf, et. al.
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16847 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16848 if test "${glibcxx_cv_c99_stdio+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 <stdio.h>
16856 #include <stdarg.h>
16857 void foo(char* fmt, ...)
16859 va_list args; va_start(args, fmt);
16860 vfscanf(stderr, "%i", args);
16861 vscanf("%i", args);
16862 vsnprintf(fmt, 0, "%i", args);
16863 vsscanf(fmt, "%i", args);
16866 main ()
16868 snprintf("12", 0, "%i");
16870 return 0;
16872 _ACEOF
16873 if ac_fn_cxx_try_compile "$LINENO"; then :
16874 glibcxx_cv_c99_stdio=yes
16875 else
16876 glibcxx_cv_c99_stdio=no
16878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16879 else
16880 if test x$gcc_no_link = xyes; then
16881 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16884 /* end confdefs.h. */
16885 #include <stdio.h>
16886 #include <stdarg.h>
16887 void foo(char* fmt, ...)
16889 va_list args; va_start(args, fmt);
16890 vfscanf(stderr, "%i", args);
16891 vscanf("%i", args);
16892 vsnprintf(fmt, 0, "%i", args);
16893 vsscanf(fmt, "%i", args);
16896 main ()
16898 snprintf("12", 0, "%i");
16900 return 0;
16902 _ACEOF
16903 if ac_fn_cxx_try_link "$LINENO"; then :
16904 glibcxx_cv_c99_stdio=yes
16905 else
16906 glibcxx_cv_c99_stdio=no
16908 rm -f core conftest.err conftest.$ac_objext \
16909 conftest$ac_exeext conftest.$ac_ext
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16915 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16917 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16919 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16920 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16921 $as_echo_n "(cached) " >&6
16922 else
16924 if test x$gcc_no_link = xyes; then
16925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16926 /* end confdefs.h. */
16927 #include <stdlib.h>
16928 volatile float f;
16929 volatile long double ld;
16930 volatile unsigned long long ll;
16931 lldiv_t mydivt;
16933 main ()
16935 char* tmp;
16936 f = strtof("gnu", &tmp);
16937 ld = strtold("gnu", &tmp);
16938 ll = strtoll("gnu", &tmp, 10);
16939 ll = strtoull("gnu", &tmp, 10);
16940 ll = llabs(10);
16941 mydivt = lldiv(10,1);
16942 ll = mydivt.quot;
16943 ll = mydivt.rem;
16944 ll = atoll("10");
16945 _Exit(0);
16948 return 0;
16950 _ACEOF
16951 if ac_fn_cxx_try_compile "$LINENO"; then :
16952 glibcxx_cv_c99_stdlib=yes
16953 else
16954 glibcxx_cv_c99_stdlib=no
16956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16957 else
16958 if test x$gcc_no_link = xyes; then
16959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 #include <stdlib.h>
16964 volatile float f;
16965 volatile long double ld;
16966 volatile unsigned long long ll;
16967 lldiv_t mydivt;
16969 main ()
16971 char* tmp;
16972 f = strtof("gnu", &tmp);
16973 ld = strtold("gnu", &tmp);
16974 ll = strtoll("gnu", &tmp, 10);
16975 ll = strtoull("gnu", &tmp, 10);
16976 ll = llabs(10);
16977 mydivt = lldiv(10,1);
16978 ll = mydivt.quot;
16979 ll = mydivt.rem;
16980 ll = atoll("10");
16981 _Exit(0);
16984 return 0;
16986 _ACEOF
16987 if ac_fn_cxx_try_link "$LINENO"; then :
16988 glibcxx_cv_c99_stdlib=yes
16989 else
16990 glibcxx_cv_c99_stdlib=no
16992 rm -f core conftest.err conftest.$ac_objext \
16993 conftest$ac_exeext conftest.$ac_ext
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16999 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17001 # Check for the existence in <wchar.h> of wcstold, etc.
17002 glibcxx_cv_c99_wchar=no;
17003 if test x"$ac_has_wchar_h" = xyes &&
17004 test x"$ac_has_wctype_h" = xyes; then
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17006 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17008 /* end confdefs.h. */
17009 #include <wchar.h>
17010 namespace test
17012 using ::wcstold;
17013 using ::wcstoll;
17014 using ::wcstoull;
17018 main ()
17022 return 0;
17024 _ACEOF
17025 if ac_fn_cxx_try_compile "$LINENO"; then :
17026 glibcxx_cv_c99_wchar=yes
17027 else
17028 glibcxx_cv_c99_wchar=no
17030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032 # Checks for wide character functions that may not be present.
17033 # Injection of these is wrapped with guard macros.
17034 # NB: only put functions here, instead of immediately above, if
17035 # absolutely necessary.
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 #include <wchar.h>
17039 namespace test { using ::vfwscanf; }
17041 main ()
17045 return 0;
17047 _ACEOF
17048 if ac_fn_cxx_try_compile "$LINENO"; then :
17050 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 #include <wchar.h>
17058 namespace test { using ::vswscanf; }
17060 main ()
17064 return 0;
17066 _ACEOF
17067 if ac_fn_cxx_try_compile "$LINENO"; then :
17069 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test { using ::vwscanf; }
17079 main ()
17083 return 0;
17085 _ACEOF
17086 if ac_fn_cxx_try_compile "$LINENO"; then :
17088 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17094 /* end confdefs.h. */
17095 #include <wchar.h>
17096 namespace test { using ::wcstof; }
17098 main ()
17102 return 0;
17104 _ACEOF
17105 if ac_fn_cxx_try_compile "$LINENO"; then :
17107 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #include <wctype.h>
17116 main ()
17118 wint_t t; int i = iswblank(t);
17120 return 0;
17122 _ACEOF
17123 if ac_fn_cxx_try_compile "$LINENO"; then :
17125 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17131 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17134 # Option parsed, now set things appropriately.
17135 if test x"$glibcxx_cv_c99_math" = x"no" ||
17136 test x"$glibcxx_cv_c99_complex" = x"no" ||
17137 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17138 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17139 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17140 enable_c99=no;
17141 else
17143 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17147 gcc_no_link="$ac_save_gcc_no_link"
17148 LIBS="$ac_save_LIBS"
17149 CXXFLAGS="$ac_save_CXXFLAGS"
17150 ac_ext=c
17151 ac_cpp='$CPP $CPPFLAGS'
17152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17159 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17161 $as_echo "$enable_c99" >&6; }
17164 # Check whether --enable-concept-checks was given.
17165 if test "${enable_concept_checks+set}" = set; then :
17166 enableval=$enable_concept_checks;
17167 case "$enableval" in
17168 yes|no) ;;
17169 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17170 esac
17172 else
17173 enable_concept_checks=no
17177 if test $enable_concept_checks = yes; then
17179 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17184 # Check whether --enable-libstdcxx-debug-flags was given.
17185 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17186 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17187 xno | x) enable_libstdcxx_debug_flags= ;;
17188 x-*) ;;
17189 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17190 esac
17191 else
17192 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17197 # Option parsed, now set things appropriately
17198 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17201 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17202 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17206 $as_echo_n "checking for additional debug build... " >&6; }
17207 # Check whether --enable-libstdcxx-debug was given.
17208 if test "${enable_libstdcxx_debug+set}" = set; then :
17209 enableval=$enable_libstdcxx_debug;
17210 case "$enableval" in
17211 yes|no) ;;
17212 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17213 esac
17215 else
17216 enable_libstdcxx_debug=no
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17221 $as_echo "$enable_libstdcxx_debug" >&6; }
17226 enable_parallel=no;
17228 # See if configured libgomp/omp.h exists. (libgomp may be in
17229 # noconfigdirs but not explicitly disabled.)
17230 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17231 enable_parallel=yes;
17232 else
17233 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17234 $as_echo "$as_me: target-libgomp not built" >&6;}
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17238 $as_echo_n "checking for parallel mode support... " >&6; }
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17240 $as_echo "$enable_parallel" >&6; }
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17244 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17245 # Check whether --enable-cxx-flags was given.
17246 if test "${enable_cxx_flags+set}" = set; then :
17247 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17248 xno | x) enable_cxx_flags= ;;
17249 x-*) ;;
17250 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17251 esac
17252 else
17253 enable_cxx_flags=
17258 # Run through flags (either default or command-line) and set anything
17259 # extra (e.g., #defines) that must accompany particular g++ options.
17260 if test -n "$enable_cxx_flags"; then
17261 for f in $enable_cxx_flags; do
17262 case "$f" in
17263 -fhonor-std) ;;
17264 -*) ;;
17265 *) # and we're trying to pass /what/ exactly?
17266 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17267 esac
17268 done
17271 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17273 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17277 # Check whether --enable-fully-dynamic-string was given.
17278 if test "${enable_fully_dynamic_string+set}" = set; then :
17279 enableval=$enable_fully_dynamic_string;
17280 case "$enableval" in
17281 yes|no) ;;
17282 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17283 esac
17285 else
17286 enable_fully_dynamic_string=no
17290 if test $enable_fully_dynamic_string = yes; then
17291 enable_fully_dynamic_string_def=1
17292 else
17293 enable_fully_dynamic_string_def=0
17296 cat >>confdefs.h <<_ACEOF
17297 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17298 _ACEOF
17303 # Check whether --enable-extern-template was given.
17304 if test "${enable_extern_template+set}" = set; then :
17305 enableval=$enable_extern_template;
17306 case "$enableval" in
17307 yes|no) ;;
17308 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17309 esac
17311 else
17312 enable_extern_template=yes
17317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17318 $as_echo_n "checking for extern template support... " >&6; }
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17320 $as_echo "$enable_extern_template" >&6; }
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17327 $as_echo_n "checking for custom python install directory... " >&6; }
17329 # Check whether --with-python-dir was given.
17330 if test "${with_python_dir+set}" = set; then :
17331 withval=$with_python_dir; with_python_dir=$withval
17332 else
17333 with_python_dir="no"
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17337 $as_echo "${with_python_dir}" >&6; }
17339 # Needed for installing Python modules during make install.
17340 python_mod_dir="${with_python_dir}"
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17346 $as_echo_n "checking for -Werror... " >&6; }
17347 # Check whether --enable-werror was given.
17348 if test "${enable_werror+set}" = set; then :
17349 enableval=$enable_werror;
17350 case "$enableval" in
17351 yes|no) ;;
17352 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17353 esac
17355 else
17356 enable_werror=yes
17360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17361 $as_echo "$enable_werror" >&6; }
17365 # Checks for operating systems support that doesn't require linking.
17369 ac_ext=cpp
17370 ac_cpp='$CXXCPP $CPPFLAGS'
17371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17377 $as_echo_n "checking for gets declaration... " >&6; }
17378 if test "${glibcxx_cv_gets+set}" = set; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17383 /* end confdefs.h. */
17384 #include <stdio.h>
17385 namespace test
17387 using ::gets;
17390 _ACEOF
17391 if ac_fn_cxx_try_compile "$LINENO"; then :
17392 glibcxx_cv_gets=yes
17393 else
17394 glibcxx_cv_gets=no
17397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17401 if test $glibcxx_cv_gets = yes; then
17403 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17407 $as_echo "$glibcxx_cv_gets" >&6; }
17409 ac_ext=c
17410 ac_cpp='$CPP $CPPFLAGS'
17411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17419 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17420 if test "${glibcxx_cv_system_error1+set}" = set; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17425 /* end confdefs.h. */
17426 #include <errno.h>
17428 main ()
17430 int i = EOWNERDEAD;
17432 return 0;
17434 _ACEOF
17435 if ac_fn_c_try_compile "$LINENO"; then :
17436 glibcxx_cv_system_error1=yes
17437 else
17438 glibcxx_cv_system_error1=no
17440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17445 $as_echo "$glibcxx_cv_system_error1" >&6; }
17446 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17448 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17452 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17453 if test "${glibcxx_cv_system_error2+set}" = set; then :
17454 $as_echo_n "(cached) " >&6
17455 else
17457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17458 /* end confdefs.h. */
17459 #include <errno.h>
17461 main ()
17463 int i = ENOTRECOVERABLE;
17465 return 0;
17467 _ACEOF
17468 if ac_fn_c_try_compile "$LINENO"; then :
17469 glibcxx_cv_system_error2=yes
17470 else
17471 glibcxx_cv_system_error2=no
17473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17478 $as_echo "$glibcxx_cv_system_error2" >&6; }
17479 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17481 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17485 $as_echo_n "checking for ENOLINK... " >&6; }
17486 if test "${glibcxx_cv_system_error3+set}" = set; then :
17487 $as_echo_n "(cached) " >&6
17488 else
17490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17491 /* end confdefs.h. */
17492 #include <errno.h>
17494 main ()
17496 int i = ENOLINK;
17498 return 0;
17500 _ACEOF
17501 if ac_fn_c_try_compile "$LINENO"; then :
17502 glibcxx_cv_system_error3=yes
17503 else
17504 glibcxx_cv_system_error3=no
17506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17511 $as_echo "$glibcxx_cv_system_error3" >&6; }
17512 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17514 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17518 $as_echo_n "checking for EPROTO... " >&6; }
17519 if test "${glibcxx_cv_system_error4+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <errno.h>
17527 main ()
17529 int i = EPROTO;
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 glibcxx_cv_system_error4=yes
17536 else
17537 glibcxx_cv_system_error4=no
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17544 $as_echo "$glibcxx_cv_system_error4" >&6; }
17545 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17547 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17551 $as_echo_n "checking for ENODATA... " >&6; }
17552 if test "${glibcxx_cv_system_error5+set}" = set; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <errno.h>
17560 main ()
17562 int i = ENODATA;
17564 return 0;
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 glibcxx_cv_system_error5=yes
17569 else
17570 glibcxx_cv_system_error5=no
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17577 $as_echo "$glibcxx_cv_system_error5" >&6; }
17578 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17580 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17584 $as_echo_n "checking for ENOSR... " >&6; }
17585 if test "${glibcxx_cv_system_error6+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <errno.h>
17593 main ()
17595 int i = ENOSR;
17597 return 0;
17599 _ACEOF
17600 if ac_fn_c_try_compile "$LINENO"; then :
17601 glibcxx_cv_system_error6=yes
17602 else
17603 glibcxx_cv_system_error6=no
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17610 $as_echo "$glibcxx_cv_system_error6" >&6; }
17611 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17613 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17617 $as_echo_n "checking for ENOSTR... " >&6; }
17618 if test "${glibcxx_cv_system_error7+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <errno.h>
17626 main ()
17628 int i = ENOSTR;
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 glibcxx_cv_system_error7=yes
17635 else
17636 glibcxx_cv_system_error7=no
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17643 $as_echo "$glibcxx_cv_system_error7" >&6; }
17644 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17646 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17650 $as_echo_n "checking for ETIME... " >&6; }
17651 if test "${glibcxx_cv_system_error8+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <errno.h>
17659 main ()
17661 int i = ETIME;
17663 return 0;
17665 _ACEOF
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 glibcxx_cv_system_error8=yes
17668 else
17669 glibcxx_cv_system_error8=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17676 $as_echo "$glibcxx_cv_system_error8" >&6; }
17677 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17679 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17683 $as_echo_n "checking for EBADMSG... " >&6; }
17684 if test "${glibcxx_cv_system_error9+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 #include <errno.h>
17692 main ()
17694 int i = EBADMSG;
17696 return 0;
17698 _ACEOF
17699 if ac_fn_c_try_compile "$LINENO"; then :
17700 glibcxx_cv_system_error9=yes
17701 else
17702 glibcxx_cv_system_error9=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17709 $as_echo "$glibcxx_cv_system_error9" >&6; }
17710 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17712 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17716 $as_echo_n "checking for ECANCELED... " >&6; }
17717 if test "${glibcxx_cv_system_error10+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #include <errno.h>
17725 main ()
17727 int i = ECANCELED;
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_compile "$LINENO"; then :
17733 glibcxx_cv_system_error10=yes
17734 else
17735 glibcxx_cv_system_error10=no
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17742 $as_echo "$glibcxx_cv_system_error10" >&6; }
17743 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17745 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17749 $as_echo_n "checking for EOVERFLOW... " >&6; }
17750 if test "${glibcxx_cv_system_error11+set}" = set; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 #include <errno.h>
17758 main ()
17760 int i = EOVERFLOW;
17762 return 0;
17764 _ACEOF
17765 if ac_fn_c_try_compile "$LINENO"; then :
17766 glibcxx_cv_system_error11=yes
17767 else
17768 glibcxx_cv_system_error11=no
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17775 $as_echo "$glibcxx_cv_system_error11" >&6; }
17776 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17778 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17782 $as_echo_n "checking for ENOTSUP... " >&6; }
17783 if test "${glibcxx_cv_system_error12+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <errno.h>
17791 main ()
17793 int i = ENOTSUP;
17795 return 0;
17797 _ACEOF
17798 if ac_fn_c_try_compile "$LINENO"; then :
17799 glibcxx_cv_system_error12=yes
17800 else
17801 glibcxx_cv_system_error12=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17808 $as_echo "$glibcxx_cv_system_error12" >&6; }
17809 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17811 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17815 $as_echo_n "checking for EIDRM... " >&6; }
17816 if test "${glibcxx_cv_system_error13+set}" = set; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <errno.h>
17824 main ()
17826 int i = EIDRM;
17828 return 0;
17830 _ACEOF
17831 if ac_fn_c_try_compile "$LINENO"; then :
17832 glibcxx_cv_system_error13=yes
17833 else
17834 glibcxx_cv_system_error13=no
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17841 $as_echo "$glibcxx_cv_system_error13" >&6; }
17842 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17844 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17848 $as_echo_n "checking for ETXTBSY... " >&6; }
17849 if test "${glibcxx_cv_system_error14+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <errno.h>
17857 main ()
17859 int i = ETXTBSY;
17861 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_compile "$LINENO"; then :
17865 glibcxx_cv_system_error14=yes
17866 else
17867 glibcxx_cv_system_error14=no
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17874 $as_echo "$glibcxx_cv_system_error14" >&6; }
17875 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17877 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17881 $as_echo_n "checking for ECHILD... " >&6; }
17882 if test "${glibcxx_cv_system_error15+set}" = set; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #include <errno.h>
17890 main ()
17892 int i = ECHILD;
17894 return 0;
17896 _ACEOF
17897 if ac_fn_c_try_compile "$LINENO"; then :
17898 glibcxx_cv_system_error15=yes
17899 else
17900 glibcxx_cv_system_error15=no
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17907 $as_echo "$glibcxx_cv_system_error15" >&6; }
17908 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17910 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17914 $as_echo_n "checking for ENOSPC... " >&6; }
17915 if test "${glibcxx_cv_system_error16+set}" = set; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <errno.h>
17923 main ()
17925 int i = ENOSPC;
17927 return 0;
17929 _ACEOF
17930 if ac_fn_c_try_compile "$LINENO"; then :
17931 glibcxx_cv_system_error16=yes
17932 else
17933 glibcxx_cv_system_error16=no
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17940 $as_echo "$glibcxx_cv_system_error16" >&6; }
17941 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17943 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17947 $as_echo_n "checking for EPERM... " >&6; }
17948 if test "${glibcxx_cv_system_error17+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #include <errno.h>
17956 main ()
17958 int i = EPERM;
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 glibcxx_cv_system_error17=yes
17965 else
17966 glibcxx_cv_system_error17=no
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17973 $as_echo "$glibcxx_cv_system_error17" >&6; }
17974 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17976 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17980 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17981 if test "${glibcxx_cv_system_error18+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #include <errno.h>
17989 main ()
17991 int i = ETIMEDOUT;
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_compile "$LINENO"; then :
17997 glibcxx_cv_system_error18=yes
17998 else
17999 glibcxx_cv_system_error18=no
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18006 $as_echo "$glibcxx_cv_system_error18" >&6; }
18007 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18009 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18013 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18014 if test "${glibcxx_cv_system_error19+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #include <errno.h>
18022 main ()
18024 int i = EWOULDBLOCK;
18026 return 0;
18028 _ACEOF
18029 if ac_fn_c_try_compile "$LINENO"; then :
18030 glibcxx_cv_system_error19=yes
18031 else
18032 glibcxx_cv_system_error19=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18039 $as_echo "$glibcxx_cv_system_error19" >&6; }
18040 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18042 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18048 # For the streamoff typedef.
18052 ac_ext=cpp
18053 ac_cpp='$CXXCPP $CPPFLAGS'
18054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18060 $as_echo_n "checking for int64_t... " >&6; }
18061 if test "${glibcxx_cv_INT64_T+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>
18069 main ()
18071 int64_t var;
18073 return 0;
18075 _ACEOF
18076 if ac_fn_cxx_try_compile "$LINENO"; then :
18077 glibcxx_cv_INT64_T=yes
18078 else
18079 glibcxx_cv_INT64_T=no
18081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18086 if test $glibcxx_cv_INT64_T = yes; then
18088 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18091 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18094 $as_echo_n "checking for int64_t as long... " >&6; }
18095 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18096 $as_echo_n "(cached) " >&6
18097 else
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18101 #include <stdint.h>
18102 template<typename, typename> struct same { enum { value = -1 }; };
18103 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18104 int array[same<int64_t, long>::value];
18106 main ()
18110 return 0;
18112 _ACEOF
18113 if ac_fn_cxx_try_compile "$LINENO"; then :
18114 glibcxx_cv_int64_t_long=yes
18115 else
18116 glibcxx_cv_int64_t_long=no
18118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18123 if test $glibcxx_cv_int64_t_long = yes; then
18125 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18128 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18132 $as_echo_n "checking for int64_t as long long... " >&6; }
18133 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18134 $as_echo_n "(cached) " >&6
18135 else
18137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18138 /* end confdefs.h. */
18139 #include <stdint.h>
18140 template<typename, typename> struct same { enum { value = -1 }; };
18141 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18142 int array[same<int64_t, long long>::value];
18144 main ()
18148 return 0;
18150 _ACEOF
18151 if ac_fn_cxx_try_compile "$LINENO"; then :
18152 glibcxx_cv_int64_t_long_long=yes
18153 else
18154 glibcxx_cv_int64_t_long_long=no
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18161 if test $glibcxx_cv_int64_t_long_long = yes; then
18163 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18166 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18170 ac_ext=c
18171 ac_cpp='$CPP $CPPFLAGS'
18172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18178 # For LFS support.
18181 ac_ext=cpp
18182 ac_cpp='$CXXCPP $CPPFLAGS'
18183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187 ac_save_CXXFLAGS="$CXXFLAGS"
18188 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18190 $as_echo_n "checking for LFS support... " >&6; }
18191 if test "${glibcxx_cv_LFS+set}" = set; then :
18192 $as_echo_n "(cached) " >&6
18193 else
18195 if test x$gcc_no_link = xyes; then
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18198 #include <unistd.h>
18199 #include <stdio.h>
18200 #include <sys/stat.h>
18203 main ()
18205 FILE* fp;
18206 fopen64("t", "w");
18207 fseeko64(fp, 0, SEEK_CUR);
18208 ftello64(fp);
18209 lseek64(1, 0, SEEK_CUR);
18210 struct stat64 buf;
18211 fstat64(1, &buf);
18213 return 0;
18215 _ACEOF
18216 if ac_fn_cxx_try_compile "$LINENO"; then :
18217 glibcxx_cv_LFS=yes
18218 else
18219 glibcxx_cv_LFS=no
18221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222 else
18223 if test x$gcc_no_link = xyes; then
18224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18227 /* end confdefs.h. */
18228 #include <unistd.h>
18229 #include <stdio.h>
18230 #include <sys/stat.h>
18233 main ()
18235 FILE* fp;
18236 fopen64("t", "w");
18237 fseeko64(fp, 0, SEEK_CUR);
18238 ftello64(fp);
18239 lseek64(1, 0, SEEK_CUR);
18240 struct stat64 buf;
18241 fstat64(1, &buf);
18243 return 0;
18245 _ACEOF
18246 if ac_fn_cxx_try_link "$LINENO"; then :
18247 glibcxx_cv_LFS=yes
18248 else
18249 glibcxx_cv_LFS=no
18251 rm -f core conftest.err conftest.$ac_objext \
18252 conftest$ac_exeext conftest.$ac_ext
18257 if test $glibcxx_cv_LFS = yes; then
18259 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18263 $as_echo "$glibcxx_cv_LFS" >&6; }
18264 CXXFLAGS="$ac_save_CXXFLAGS"
18265 ac_ext=c
18266 ac_cpp='$CPP $CPPFLAGS'
18267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18273 # For showmanyc_helper().
18274 for ac_header in sys/ioctl.h sys/filio.h
18275 do :
18276 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18277 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18278 eval as_val=\$$as_ac_Header
18279 if test "x$as_val" = x""yes; then :
18280 cat >>confdefs.h <<_ACEOF
18281 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18282 _ACEOF
18286 done
18291 ac_ext=cpp
18292 ac_cpp='$CXXCPP $CPPFLAGS'
18293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18297 ac_save_CXXFLAGS="$CXXFLAGS"
18298 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18301 $as_echo_n "checking for poll... " >&6; }
18302 if test "${glibcxx_cv_POLL+set}" = set; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18306 if test x$gcc_no_link = xyes; then
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18309 #include <poll.h>
18311 main ()
18313 struct pollfd pfd[1];
18314 pfd[0].events = POLLIN;
18315 poll(pfd, 1, 0);
18317 return 0;
18319 _ACEOF
18320 if ac_fn_cxx_try_compile "$LINENO"; then :
18321 glibcxx_cv_POLL=yes
18322 else
18323 glibcxx_cv_POLL=no
18325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18326 else
18327 if test x$gcc_no_link = xyes; then
18328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #include <poll.h>
18334 main ()
18336 struct pollfd pfd[1];
18337 pfd[0].events = POLLIN;
18338 poll(pfd, 1, 0);
18340 return 0;
18342 _ACEOF
18343 if ac_fn_cxx_try_link "$LINENO"; then :
18344 glibcxx_cv_POLL=yes
18345 else
18346 glibcxx_cv_POLL=no
18348 rm -f core conftest.err conftest.$ac_objext \
18349 conftest$ac_exeext conftest.$ac_ext
18354 if test $glibcxx_cv_POLL = yes; then
18356 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18360 $as_echo "$glibcxx_cv_POLL" >&6; }
18362 CXXFLAGS="$ac_save_CXXFLAGS"
18363 ac_ext=c
18364 ac_cpp='$CPP $CPPFLAGS'
18365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18373 ac_ext=cpp
18374 ac_cpp='$CXXCPP $CPPFLAGS'
18375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18379 ac_save_CXXFLAGS="$CXXFLAGS"
18380 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18383 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18384 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18385 $as_echo_n "(cached) " >&6
18386 else
18388 if test x$gcc_no_link = xyes; then
18389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18390 /* end confdefs.h. */
18391 #include <sys/stat.h>
18393 main ()
18395 struct stat buffer;
18396 fstat(0, &buffer);
18397 S_ISREG(buffer.st_mode);
18399 return 0;
18401 _ACEOF
18402 if ac_fn_cxx_try_compile "$LINENO"; then :
18403 glibcxx_cv_S_ISREG=yes
18404 else
18405 glibcxx_cv_S_ISREG=no
18407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18408 else
18409 if test x$gcc_no_link = xyes; then
18410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18413 /* end confdefs.h. */
18414 #include <sys/stat.h>
18416 main ()
18418 struct stat buffer;
18419 fstat(0, &buffer);
18420 S_ISREG(buffer.st_mode);
18422 return 0;
18424 _ACEOF
18425 if ac_fn_cxx_try_link "$LINENO"; then :
18426 glibcxx_cv_S_ISREG=yes
18427 else
18428 glibcxx_cv_S_ISREG=no
18430 rm -f core conftest.err conftest.$ac_objext \
18431 conftest$ac_exeext conftest.$ac_ext
18436 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18437 $as_echo_n "(cached) " >&6
18438 else
18440 if test x$gcc_no_link = xyes; then
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <sys/stat.h>
18445 main ()
18447 struct stat buffer;
18448 fstat(0, &buffer);
18449 S_IFREG & buffer.st_mode;
18451 return 0;
18453 _ACEOF
18454 if ac_fn_cxx_try_compile "$LINENO"; then :
18455 glibcxx_cv_S_IFREG=yes
18456 else
18457 glibcxx_cv_S_IFREG=no
18459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18460 else
18461 if test x$gcc_no_link = xyes; then
18462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <sys/stat.h>
18468 main ()
18470 struct stat buffer;
18471 fstat(0, &buffer);
18472 S_IFREG & buffer.st_mode;
18474 return 0;
18476 _ACEOF
18477 if ac_fn_cxx_try_link "$LINENO"; then :
18478 glibcxx_cv_S_IFREG=yes
18479 else
18480 glibcxx_cv_S_IFREG=no
18482 rm -f core conftest.err conftest.$ac_objext \
18483 conftest$ac_exeext conftest.$ac_ext
18488 res=no
18489 if test $glibcxx_cv_S_ISREG = yes; then
18491 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18493 res=S_ISREG
18494 elif test $glibcxx_cv_S_IFREG = yes; then
18496 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18498 res=S_IFREG
18500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18501 $as_echo "$res" >&6; }
18503 CXXFLAGS="$ac_save_CXXFLAGS"
18504 ac_ext=c
18505 ac_cpp='$CPP $CPPFLAGS'
18506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18512 # For xsputn_2().
18513 for ac_header in sys/uio.h
18514 do :
18515 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18516 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define HAVE_SYS_UIO_H 1
18519 _ACEOF
18523 done
18528 ac_ext=cpp
18529 ac_cpp='$CXXCPP $CPPFLAGS'
18530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18534 ac_save_CXXFLAGS="$CXXFLAGS"
18535 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18538 $as_echo_n "checking for writev... " >&6; }
18539 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18540 $as_echo_n "(cached) " >&6
18541 else
18543 if test x$gcc_no_link = xyes; then
18544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18545 /* end confdefs.h. */
18546 #include <sys/uio.h>
18548 main ()
18550 struct iovec iov[2];
18551 writev(0, iov, 0);
18553 return 0;
18555 _ACEOF
18556 if ac_fn_cxx_try_compile "$LINENO"; then :
18557 glibcxx_cv_WRITEV=yes
18558 else
18559 glibcxx_cv_WRITEV=no
18561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18562 else
18563 if test x$gcc_no_link = xyes; then
18564 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18567 /* end confdefs.h. */
18568 #include <sys/uio.h>
18570 main ()
18572 struct iovec iov[2];
18573 writev(0, iov, 0);
18575 return 0;
18577 _ACEOF
18578 if ac_fn_cxx_try_link "$LINENO"; then :
18579 glibcxx_cv_WRITEV=yes
18580 else
18581 glibcxx_cv_WRITEV=no
18583 rm -f core conftest.err conftest.$ac_objext \
18584 conftest$ac_exeext conftest.$ac_ext
18589 if test $glibcxx_cv_WRITEV = yes; then
18591 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18595 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18597 CXXFLAGS="$ac_save_CXXFLAGS"
18598 ac_ext=c
18599 ac_cpp='$CPP $CPPFLAGS'
18600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18606 # For C99 support to TR1.
18610 ac_ext=cpp
18611 ac_cpp='$CXXCPP $CPPFLAGS'
18612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18617 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18618 # undefined and fake C99 facilities may be spuriously enabled.
18619 ac_save_CXXFLAGS="$CXXFLAGS"
18620 CXXFLAGS="$CXXFLAGS -std=c++98"
18622 # Check for the existence of <complex.h> complex math functions used
18623 # by tr1/complex.
18624 for ac_header in complex.h
18625 do :
18626 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18627 if test "x$ac_cv_header_complex_h" = x""yes; then :
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_COMPLEX_H 1
18630 _ACEOF
18631 ac_has_complex_h=yes
18632 else
18633 ac_has_complex_h=no
18636 done
18638 ac_c99_complex_tr1=no;
18639 if test x"$ac_has_complex_h" = x"yes"; then
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18641 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18643 /* end confdefs.h. */
18644 #include <complex.h>
18646 main ()
18648 typedef __complex__ float float_type; float_type tmpf;
18649 cacosf(tmpf);
18650 casinf(tmpf);
18651 catanf(tmpf);
18652 cacoshf(tmpf);
18653 casinhf(tmpf);
18654 catanhf(tmpf);
18655 typedef __complex__ double double_type; double_type tmpd;
18656 cacos(tmpd);
18657 casin(tmpd);
18658 catan(tmpd);
18659 cacosh(tmpd);
18660 casinh(tmpd);
18661 catanh(tmpd);
18662 typedef __complex__ long double ld_type; ld_type tmpld;
18663 cacosl(tmpld);
18664 casinl(tmpld);
18665 catanl(tmpld);
18666 cacoshl(tmpld);
18667 casinhl(tmpld);
18668 catanhl(tmpld);
18671 return 0;
18673 _ACEOF
18674 if ac_fn_cxx_try_compile "$LINENO"; then :
18675 ac_c99_complex_tr1=yes
18676 else
18677 ac_c99_complex_tr1=no
18679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18682 $as_echo "$ac_c99_complex_tr1" >&6; }
18683 if test x"$ac_c99_complex_tr1" = x"yes"; then
18685 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18689 # Check for the existence of <ctype.h> functions.
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18691 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18692 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18693 $as_echo_n "(cached) " >&6
18694 else
18696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18697 /* end confdefs.h. */
18698 #include <ctype.h>
18700 main ()
18702 int ch;
18703 int ret;
18704 ret = isblank(ch);
18707 return 0;
18709 _ACEOF
18710 if ac_fn_cxx_try_compile "$LINENO"; then :
18711 glibcxx_cv_c99_ctype_tr1=yes
18712 else
18713 glibcxx_cv_c99_ctype_tr1=no
18715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18720 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18721 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18723 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18727 # Check for the existence of <fenv.h> functions.
18728 for ac_header in fenv.h
18729 do :
18730 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18731 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_FENV_H 1
18734 _ACEOF
18735 ac_has_fenv_h=yes
18736 else
18737 ac_has_fenv_h=no
18740 done
18742 ac_c99_fenv_tr1=no;
18743 if test x"$ac_has_fenv_h" = x"yes"; then
18744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18745 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 #include <fenv.h>
18750 main ()
18752 int except, mode;
18753 fexcept_t* pflag;
18754 fenv_t* penv;
18755 int ret;
18756 ret = feclearexcept(except);
18757 ret = fegetexceptflag(pflag, except);
18758 ret = feraiseexcept(except);
18759 ret = fesetexceptflag(pflag, except);
18760 ret = fetestexcept(except);
18761 ret = fegetround();
18762 ret = fesetround(mode);
18763 ret = fegetenv(penv);
18764 ret = feholdexcept(penv);
18765 ret = fesetenv(penv);
18766 ret = feupdateenv(penv);
18769 return 0;
18771 _ACEOF
18772 if ac_fn_cxx_try_compile "$LINENO"; then :
18773 ac_c99_fenv_tr1=yes
18774 else
18775 ac_c99_fenv_tr1=no
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18780 $as_echo "$ac_c99_fenv_tr1" >&6; }
18781 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18783 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18787 # Check for the existence of <stdint.h> types.
18788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18789 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18790 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18791 $as_echo_n "(cached) " >&6
18792 else
18794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18795 /* end confdefs.h. */
18796 #define __STDC_LIMIT_MACROS
18797 #define __STDC_CONSTANT_MACROS
18798 #include <stdint.h>
18800 main ()
18802 typedef int8_t my_int8_t;
18803 my_int8_t i8 = INT8_MIN;
18804 i8 = INT8_MAX;
18805 typedef int16_t my_int16_t;
18806 my_int16_t i16 = INT16_MIN;
18807 i16 = INT16_MAX;
18808 typedef int32_t my_int32_t;
18809 my_int32_t i32 = INT32_MIN;
18810 i32 = INT32_MAX;
18811 typedef int64_t my_int64_t;
18812 my_int64_t i64 = INT64_MIN;
18813 i64 = INT64_MAX;
18814 typedef int_fast8_t my_int_fast8_t;
18815 my_int_fast8_t if8 = INT_FAST8_MIN;
18816 if8 = INT_FAST8_MAX;
18817 typedef int_fast16_t my_int_fast16_t;
18818 my_int_fast16_t if16 = INT_FAST16_MIN;
18819 if16 = INT_FAST16_MAX;
18820 typedef int_fast32_t my_int_fast32_t;
18821 my_int_fast32_t if32 = INT_FAST32_MIN;
18822 if32 = INT_FAST32_MAX;
18823 typedef int_fast64_t my_int_fast64_t;
18824 my_int_fast64_t if64 = INT_FAST64_MIN;
18825 if64 = INT_FAST64_MAX;
18826 typedef int_least8_t my_int_least8_t;
18827 my_int_least8_t il8 = INT_LEAST8_MIN;
18828 il8 = INT_LEAST8_MAX;
18829 typedef int_least16_t my_int_least16_t;
18830 my_int_least16_t il16 = INT_LEAST16_MIN;
18831 il16 = INT_LEAST16_MAX;
18832 typedef int_least32_t my_int_least32_t;
18833 my_int_least32_t il32 = INT_LEAST32_MIN;
18834 il32 = INT_LEAST32_MAX;
18835 typedef int_least64_t my_int_least64_t;
18836 my_int_least64_t il64 = INT_LEAST64_MIN;
18837 il64 = INT_LEAST64_MAX;
18838 typedef intmax_t my_intmax_t;
18839 my_intmax_t im = INTMAX_MAX;
18840 im = INTMAX_MIN;
18841 typedef intptr_t my_intptr_t;
18842 my_intptr_t ip = INTPTR_MAX;
18843 ip = INTPTR_MIN;
18844 typedef uint8_t my_uint8_t;
18845 my_uint8_t ui8 = UINT8_MAX;
18846 ui8 = UINT8_MAX;
18847 typedef uint16_t my_uint16_t;
18848 my_uint16_t ui16 = UINT16_MAX;
18849 ui16 = UINT16_MAX;
18850 typedef uint32_t my_uint32_t;
18851 my_uint32_t ui32 = UINT32_MAX;
18852 ui32 = UINT32_MAX;
18853 typedef uint64_t my_uint64_t;
18854 my_uint64_t ui64 = UINT64_MAX;
18855 ui64 = UINT64_MAX;
18856 typedef uint_fast8_t my_uint_fast8_t;
18857 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18858 uif8 = UINT_FAST8_MAX;
18859 typedef uint_fast16_t my_uint_fast16_t;
18860 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18861 uif16 = UINT_FAST16_MAX;
18862 typedef uint_fast32_t my_uint_fast32_t;
18863 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18864 uif32 = UINT_FAST32_MAX;
18865 typedef uint_fast64_t my_uint_fast64_t;
18866 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18867 uif64 = UINT_FAST64_MAX;
18868 typedef uint_least8_t my_uint_least8_t;
18869 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18870 uil8 = UINT_LEAST8_MAX;
18871 typedef uint_least16_t my_uint_least16_t;
18872 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18873 uil16 = UINT_LEAST16_MAX;
18874 typedef uint_least32_t my_uint_least32_t;
18875 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18876 uil32 = UINT_LEAST32_MAX;
18877 typedef uint_least64_t my_uint_least64_t;
18878 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18879 uil64 = UINT_LEAST64_MAX;
18880 typedef uintmax_t my_uintmax_t;
18881 my_uintmax_t uim = UINTMAX_MAX;
18882 uim = UINTMAX_MAX;
18883 typedef uintptr_t my_uintptr_t;
18884 my_uintptr_t uip = UINTPTR_MAX;
18885 uip = UINTPTR_MAX;
18888 return 0;
18890 _ACEOF
18891 if ac_fn_cxx_try_compile "$LINENO"; then :
18892 glibcxx_cv_c99_stdint_tr1=yes
18893 else
18894 glibcxx_cv_c99_stdint_tr1=no
18896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18901 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18902 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18904 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18908 # Check for the existence of <math.h> functions.
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18910 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18911 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18912 $as_echo_n "(cached) " >&6
18913 else
18915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18916 /* end confdefs.h. */
18917 #include <math.h>
18919 main ()
18921 typedef double_t my_double_t;
18922 typedef float_t my_float_t;
18923 acosh(0.0);
18924 acoshf(0.0f);
18925 acoshl(0.0l);
18926 asinh(0.0);
18927 asinhf(0.0f);
18928 asinhl(0.0l);
18929 atanh(0.0);
18930 atanhf(0.0f);
18931 atanhl(0.0l);
18932 cbrt(0.0);
18933 cbrtf(0.0f);
18934 cbrtl(0.0l);
18935 copysign(0.0, 0.0);
18936 copysignf(0.0f, 0.0f);
18937 copysignl(0.0l, 0.0l);
18938 erf(0.0);
18939 erff(0.0f);
18940 erfl(0.0l);
18941 erfc(0.0);
18942 erfcf(0.0f);
18943 erfcl(0.0l);
18944 exp2(0.0);
18945 exp2f(0.0f);
18946 exp2l(0.0l);
18947 expm1(0.0);
18948 expm1f(0.0f);
18949 expm1l(0.0l);
18950 fdim(0.0, 0.0);
18951 fdimf(0.0f, 0.0f);
18952 fdiml(0.0l, 0.0l);
18953 fma(0.0, 0.0, 0.0);
18954 fmaf(0.0f, 0.0f, 0.0f);
18955 fmal(0.0l, 0.0l, 0.0l);
18956 fmax(0.0, 0.0);
18957 fmaxf(0.0f, 0.0f);
18958 fmaxl(0.0l, 0.0l);
18959 fmin(0.0, 0.0);
18960 fminf(0.0f, 0.0f);
18961 fminl(0.0l, 0.0l);
18962 hypot(0.0, 0.0);
18963 hypotf(0.0f, 0.0f);
18964 hypotl(0.0l, 0.0l);
18965 ilogb(0.0);
18966 ilogbf(0.0f);
18967 ilogbl(0.0l);
18968 lgamma(0.0);
18969 lgammaf(0.0f);
18970 lgammal(0.0l);
18971 llrint(0.0);
18972 llrintf(0.0f);
18973 llrintl(0.0l);
18974 llround(0.0);
18975 llroundf(0.0f);
18976 llroundl(0.0l);
18977 log1p(0.0);
18978 log1pf(0.0f);
18979 log1pl(0.0l);
18980 log2(0.0);
18981 log2f(0.0f);
18982 log2l(0.0l);
18983 logb(0.0);
18984 logbf(0.0f);
18985 logbl(0.0l);
18986 lrint(0.0);
18987 lrintf(0.0f);
18988 lrintl(0.0l);
18989 lround(0.0);
18990 lroundf(0.0f);
18991 lroundl(0.0l);
18992 nan(0);
18993 nanf(0);
18994 nanl(0);
18995 nearbyint(0.0);
18996 nearbyintf(0.0f);
18997 nearbyintl(0.0l);
18998 nextafter(0.0, 0.0);
18999 nextafterf(0.0f, 0.0f);
19000 nextafterl(0.0l, 0.0l);
19001 nexttoward(0.0, 0.0);
19002 nexttowardf(0.0f, 0.0f);
19003 nexttowardl(0.0l, 0.0l);
19004 remainder(0.0, 0.0);
19005 remainderf(0.0f, 0.0f);
19006 remainderl(0.0l, 0.0l);
19007 remquo(0.0, 0.0, 0);
19008 remquof(0.0f, 0.0f, 0);
19009 remquol(0.0l, 0.0l, 0);
19010 rint(0.0);
19011 rintf(0.0f);
19012 rintl(0.0l);
19013 round(0.0);
19014 roundf(0.0f);
19015 roundl(0.0l);
19016 scalbln(0.0, 0l);
19017 scalblnf(0.0f, 0l);
19018 scalblnl(0.0l, 0l);
19019 scalbn(0.0, 0);
19020 scalbnf(0.0f, 0);
19021 scalbnl(0.0l, 0);
19022 tgamma(0.0);
19023 tgammaf(0.0f);
19024 tgammal(0.0l);
19025 trunc(0.0);
19026 truncf(0.0f);
19027 truncl(0.0l);
19030 return 0;
19032 _ACEOF
19033 if ac_fn_cxx_try_compile "$LINENO"; then :
19034 glibcxx_cv_c99_math_tr1=yes
19035 else
19036 glibcxx_cv_c99_math_tr1=no
19038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19043 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19044 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19046 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19050 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19051 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19052 ac_c99_inttypes_tr1=no;
19053 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19055 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 #include <inttypes.h>
19060 main ()
19062 intmax_t i, numer, denom, base;
19063 const char* s;
19064 char** endptr;
19065 intmax_t ret = imaxabs(i);
19066 imaxdiv_t dret = imaxdiv(numer, denom);
19067 ret = strtoimax(s, endptr, base);
19068 uintmax_t uret = strtoumax(s, endptr, base);
19071 return 0;
19073 _ACEOF
19074 if ac_fn_cxx_try_compile "$LINENO"; then :
19075 ac_c99_inttypes_tr1=yes
19076 else
19077 ac_c99_inttypes_tr1=no
19079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19082 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19083 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19085 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19089 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19090 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19091 ac_c99_inttypes_wchar_t_tr1=no;
19092 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19094 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19097 #include <inttypes.h>
19099 main ()
19101 intmax_t base;
19102 const wchar_t* s;
19103 wchar_t** endptr;
19104 intmax_t ret = wcstoimax(s, endptr, base);
19105 uintmax_t uret = wcstoumax(s, endptr, base);
19108 return 0;
19110 _ACEOF
19111 if ac_fn_cxx_try_compile "$LINENO"; then :
19112 ac_c99_inttypes_wchar_t_tr1=yes
19113 else
19114 ac_c99_inttypes_wchar_t_tr1=no
19116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19119 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19120 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19122 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19126 # Check for the existence of the <stdbool.h> header.
19127 for ac_header in stdbool.h
19128 do :
19129 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19130 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STDBOOL_H 1
19133 _ACEOF
19137 done
19140 # Check for the existence of the <stdalign.h> header.
19141 for ac_header in stdalign.h
19142 do :
19143 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19144 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STDALIGN_H 1
19147 _ACEOF
19151 done
19154 CXXFLAGS="$ac_save_CXXFLAGS"
19155 ac_ext=c
19156 ac_cpp='$CPP $CPPFLAGS'
19157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19163 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19167 $as_echo_n "checking for the value of EOF... " >&6; }
19168 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19169 $as_echo_n "(cached) " >&6
19170 else
19172 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19174 else
19175 as_fn_error "computing EOF failed" "$LINENO" 5
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19181 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19183 cat >>confdefs.h <<_ACEOF
19184 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19185 _ACEOF
19188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19189 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19190 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19191 $as_echo_n "(cached) " >&6
19192 else
19194 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19196 else
19197 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19203 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19205 cat >>confdefs.h <<_ACEOF
19206 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19207 _ACEOF
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19211 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19212 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19213 $as_echo_n "(cached) " >&6
19214 else
19216 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19218 else
19219 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19225 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19227 cat >>confdefs.h <<_ACEOF
19228 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19229 _ACEOF
19233 # For gettimeofday support.
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19237 $as_echo_n "checking for gettimeofday... " >&6; }
19240 ac_ext=cpp
19241 ac_cpp='$CXXCPP $CPPFLAGS'
19242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19246 ac_save_CXXFLAGS="$CXXFLAGS"
19247 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19249 ac_has_gettimeofday=no;
19250 for ac_header in sys/time.h
19251 do :
19252 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19253 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19254 cat >>confdefs.h <<_ACEOF
19255 #define HAVE_SYS_TIME_H 1
19256 _ACEOF
19257 ac_has_sys_time_h=yes
19258 else
19259 ac_has_sys_time_h=no
19262 done
19264 if test x"$ac_has_sys_time_h" = x"yes"; then
19265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19266 $as_echo_n "checking for gettimeofday... " >&6; }
19267 if test x$gcc_no_link = xyes; then
19268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19269 /* end confdefs.h. */
19270 #include <sys/time.h>
19272 main ()
19274 timeval tv; gettimeofday(&tv, 0);
19276 return 0;
19278 _ACEOF
19279 if ac_fn_cxx_try_compile "$LINENO"; then :
19280 ac_has_gettimeofday=yes
19281 else
19282 ac_has_gettimeofday=no
19284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19285 else
19286 if test x$gcc_no_link = xyes; then
19287 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19290 /* end confdefs.h. */
19291 #include <sys/time.h>
19293 main ()
19295 timeval tv; gettimeofday(&tv, 0);
19297 return 0;
19299 _ACEOF
19300 if ac_fn_cxx_try_link "$LINENO"; then :
19301 ac_has_gettimeofday=yes
19302 else
19303 ac_has_gettimeofday=no
19305 rm -f core conftest.err conftest.$ac_objext \
19306 conftest$ac_exeext conftest.$ac_ext
19309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19310 $as_echo "$ac_has_gettimeofday" >&6; }
19313 if test x"$ac_has_gettimeofday" = x"yes"; then
19315 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19319 CXXFLAGS="$ac_save_CXXFLAGS"
19320 ac_ext=c
19321 ac_cpp='$CPP $CPPFLAGS'
19322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19328 # For clock_gettime, nanosleep and sched_yield support.
19329 # NB: The default is [no], because otherwise it requires linking.
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19333 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19334 # Check whether --enable-libstdcxx-time was given.
19335 if test "${enable_libstdcxx_time+set}" = set; then :
19336 enableval=$enable_libstdcxx_time;
19337 case "$enableval" in
19338 yes|no|rt) ;;
19339 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19340 esac
19342 else
19343 enable_libstdcxx_time=no
19349 ac_ext=cpp
19350 ac_cpp='$CXXCPP $CPPFLAGS'
19351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19355 ac_save_CXXFLAGS="$CXXFLAGS"
19356 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19357 ac_save_LIBS="$LIBS"
19359 ac_has_clock_monotonic=no
19360 ac_has_clock_realtime=no
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19362 $as_echo "$enable_libstdcxx_time" >&6; }
19364 if test x"$enable_libstdcxx_time" != x"no"; then
19366 if test x"$enable_libstdcxx_time" = x"rt"; then
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19368 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19369 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19370 $as_echo_n "(cached) " >&6
19371 else
19372 ac_func_search_save_LIBS=$LIBS
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19376 /* Override any GCC internal prototype to avoid an error.
19377 Use char because int might match the return type of a GCC
19378 builtin and then its argument prototype would still apply. */
19379 #ifdef __cplusplus
19380 extern "C"
19381 #endif
19382 char clock_gettime ();
19384 main ()
19386 return clock_gettime ();
19388 return 0;
19390 _ACEOF
19391 for ac_lib in '' rt posix4; do
19392 if test -z "$ac_lib"; then
19393 ac_res="none required"
19394 else
19395 ac_res=-l$ac_lib
19396 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19398 if test x$gcc_no_link = xyes; then
19399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19401 if ac_fn_cxx_try_link "$LINENO"; then :
19402 ac_cv_search_clock_gettime=$ac_res
19404 rm -f core conftest.err conftest.$ac_objext \
19405 conftest$ac_exeext
19406 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19407 break
19409 done
19410 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19412 else
19413 ac_cv_search_clock_gettime=no
19415 rm conftest.$ac_ext
19416 LIBS=$ac_func_search_save_LIBS
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19419 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19420 ac_res=$ac_cv_search_clock_gettime
19421 if test "$ac_res" != no; then :
19422 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19427 $as_echo_n "checking for library containing nanosleep... " >&6; }
19428 if test "${ac_cv_search_nanosleep+set}" = set; then :
19429 $as_echo_n "(cached) " >&6
19430 else
19431 ac_func_search_save_LIBS=$LIBS
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19435 /* Override any GCC internal prototype to avoid an error.
19436 Use char because int might match the return type of a GCC
19437 builtin and then its argument prototype would still apply. */
19438 #ifdef __cplusplus
19439 extern "C"
19440 #endif
19441 char nanosleep ();
19443 main ()
19445 return nanosleep ();
19447 return 0;
19449 _ACEOF
19450 for ac_lib in '' rt posix4; do
19451 if test -z "$ac_lib"; then
19452 ac_res="none required"
19453 else
19454 ac_res=-l$ac_lib
19455 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19457 if test x$gcc_no_link = xyes; then
19458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19460 if ac_fn_cxx_try_link "$LINENO"; then :
19461 ac_cv_search_nanosleep=$ac_res
19463 rm -f core conftest.err conftest.$ac_objext \
19464 conftest$ac_exeext
19465 if test "${ac_cv_search_nanosleep+set}" = set; then :
19466 break
19468 done
19469 if test "${ac_cv_search_nanosleep+set}" = set; then :
19471 else
19472 ac_cv_search_nanosleep=no
19474 rm conftest.$ac_ext
19475 LIBS=$ac_func_search_save_LIBS
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19478 $as_echo "$ac_cv_search_nanosleep" >&6; }
19479 ac_res=$ac_cv_search_nanosleep
19480 if test "$ac_res" != no; then :
19481 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19485 else
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19487 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19488 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19489 $as_echo_n "(cached) " >&6
19490 else
19491 ac_func_search_save_LIBS=$LIBS
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19495 /* Override any GCC internal prototype to avoid an error.
19496 Use char because int might match the return type of a GCC
19497 builtin and then its argument prototype would still apply. */
19498 #ifdef __cplusplus
19499 extern "C"
19500 #endif
19501 char clock_gettime ();
19503 main ()
19505 return clock_gettime ();
19507 return 0;
19509 _ACEOF
19510 for ac_lib in '' posix4; do
19511 if test -z "$ac_lib"; then
19512 ac_res="none required"
19513 else
19514 ac_res=-l$ac_lib
19515 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19517 if test x$gcc_no_link = xyes; then
19518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19520 if ac_fn_cxx_try_link "$LINENO"; then :
19521 ac_cv_search_clock_gettime=$ac_res
19523 rm -f core conftest.err conftest.$ac_objext \
19524 conftest$ac_exeext
19525 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19526 break
19528 done
19529 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19531 else
19532 ac_cv_search_clock_gettime=no
19534 rm conftest.$ac_ext
19535 LIBS=$ac_func_search_save_LIBS
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19538 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19539 ac_res=$ac_cv_search_clock_gettime
19540 if test "$ac_res" != no; then :
19541 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19546 $as_echo_n "checking for library containing nanosleep... " >&6; }
19547 if test "${ac_cv_search_nanosleep+set}" = set; then :
19548 $as_echo_n "(cached) " >&6
19549 else
19550 ac_func_search_save_LIBS=$LIBS
19551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19554 /* Override any GCC internal prototype to avoid an error.
19555 Use char because int might match the return type of a GCC
19556 builtin and then its argument prototype would still apply. */
19557 #ifdef __cplusplus
19558 extern "C"
19559 #endif
19560 char nanosleep ();
19562 main ()
19564 return nanosleep ();
19566 return 0;
19568 _ACEOF
19569 for ac_lib in '' posix4; do
19570 if test -z "$ac_lib"; then
19571 ac_res="none required"
19572 else
19573 ac_res=-l$ac_lib
19574 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19576 if test x$gcc_no_link = xyes; then
19577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19579 if ac_fn_cxx_try_link "$LINENO"; then :
19580 ac_cv_search_nanosleep=$ac_res
19582 rm -f core conftest.err conftest.$ac_objext \
19583 conftest$ac_exeext
19584 if test "${ac_cv_search_nanosleep+set}" = set; then :
19585 break
19587 done
19588 if test "${ac_cv_search_nanosleep+set}" = set; then :
19590 else
19591 ac_cv_search_nanosleep=no
19593 rm conftest.$ac_ext
19594 LIBS=$ac_func_search_save_LIBS
19596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19597 $as_echo "$ac_cv_search_nanosleep" >&6; }
19598 ac_res=$ac_cv_search_nanosleep
19599 if test "$ac_res" != no; then :
19600 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19606 case "$ac_cv_search_clock_gettime" in
19607 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19609 esac
19610 case "$ac_cv_search_nanosleep" in
19611 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19613 esac
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19616 $as_echo_n "checking for library containing sched_yield... " >&6; }
19617 if test "${ac_cv_search_sched_yield+set}" = set; then :
19618 $as_echo_n "(cached) " >&6
19619 else
19620 ac_func_search_save_LIBS=$LIBS
19621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19622 /* end confdefs.h. */
19624 /* Override any GCC internal prototype to avoid an error.
19625 Use char because int might match the return type of a GCC
19626 builtin and then its argument prototype would still apply. */
19627 #ifdef __cplusplus
19628 extern "C"
19629 #endif
19630 char sched_yield ();
19632 main ()
19634 return sched_yield ();
19636 return 0;
19638 _ACEOF
19639 for ac_lib in '' rt posix4; do
19640 if test -z "$ac_lib"; then
19641 ac_res="none required"
19642 else
19643 ac_res=-l$ac_lib
19644 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19646 if test x$gcc_no_link = xyes; then
19647 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19649 if ac_fn_cxx_try_link "$LINENO"; then :
19650 ac_cv_search_sched_yield=$ac_res
19652 rm -f core conftest.err conftest.$ac_objext \
19653 conftest$ac_exeext
19654 if test "${ac_cv_search_sched_yield+set}" = set; then :
19655 break
19657 done
19658 if test "${ac_cv_search_sched_yield+set}" = set; then :
19660 else
19661 ac_cv_search_sched_yield=no
19663 rm conftest.$ac_ext
19664 LIBS=$ac_func_search_save_LIBS
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19667 $as_echo "$ac_cv_search_sched_yield" >&6; }
19668 ac_res=$ac_cv_search_sched_yield
19669 if test "$ac_res" != no; then :
19670 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19675 case "$ac_cv_search_sched_yield" in
19676 -lposix4*)
19677 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19679 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19682 -lrt*)
19683 if test x"$enable_libstdcxx_time" = x"rt"; then
19684 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19686 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19692 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19695 esac
19697 for ac_header in unistd.h
19698 do :
19699 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19700 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19701 cat >>confdefs.h <<_ACEOF
19702 #define HAVE_UNISTD_H 1
19703 _ACEOF
19704 ac_has_unistd_h=yes
19705 else
19706 ac_has_unistd_h=no
19709 done
19712 if test x"$ac_has_unistd_h" = x"yes"; then
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19714 $as_echo_n "checking for monotonic clock... " >&6; }
19715 if test x$gcc_no_link = xyes; then
19716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19719 /* end confdefs.h. */
19720 #include <unistd.h>
19721 #include <time.h>
19724 main ()
19726 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19727 timespec tp;
19728 #endif
19729 clock_gettime(CLOCK_MONOTONIC, &tp);
19732 return 0;
19734 _ACEOF
19735 if ac_fn_cxx_try_link "$LINENO"; then :
19736 ac_has_clock_monotonic=yes
19737 else
19738 ac_has_clock_monotonic=no
19740 rm -f core conftest.err conftest.$ac_objext \
19741 conftest$ac_exeext conftest.$ac_ext
19743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19744 $as_echo "$ac_has_clock_monotonic" >&6; }
19746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19747 $as_echo_n "checking for realtime clock... " >&6; }
19748 if test x$gcc_no_link = xyes; then
19749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19752 /* end confdefs.h. */
19753 #include <unistd.h>
19754 #include <time.h>
19757 main ()
19759 #if _POSIX_TIMERS > 0
19760 timespec tp;
19761 #endif
19762 clock_gettime(CLOCK_REALTIME, &tp);
19765 return 0;
19767 _ACEOF
19768 if ac_fn_cxx_try_link "$LINENO"; then :
19769 ac_has_clock_realtime=yes
19770 else
19771 ac_has_clock_realtime=no
19773 rm -f core conftest.err conftest.$ac_objext \
19774 conftest$ac_exeext conftest.$ac_ext
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19777 $as_echo "$ac_has_clock_realtime" >&6; }
19779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19780 $as_echo_n "checking for nanosleep... " >&6; }
19781 if test x$gcc_no_link = xyes; then
19782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19785 /* end confdefs.h. */
19786 #include <unistd.h>
19787 #include <time.h>
19790 main ()
19792 #if _POSIX_TIMERS > 0
19793 timespec tp;
19794 #endif
19795 nanosleep(&tp, 0);
19798 return 0;
19800 _ACEOF
19801 if ac_fn_cxx_try_link "$LINENO"; then :
19802 ac_has_nanosleep=yes
19803 else
19804 ac_has_nanosleep=no
19806 rm -f core conftest.err conftest.$ac_objext \
19807 conftest$ac_exeext conftest.$ac_ext
19809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19810 $as_echo "$ac_has_nanosleep" >&6; }
19814 if test x"$ac_has_clock_monotonic" = x"yes"; then
19816 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19820 if test x"$ac_has_clock_realtime" = x"yes"; then
19822 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19826 if test x"$ac_has_nanosleep" = x"yes"; then
19828 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19834 CXXFLAGS="$ac_save_CXXFLAGS"
19835 LIBS="$ac_save_LIBS"
19836 ac_ext=c
19837 ac_cpp='$CPP $CPPFLAGS'
19838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19845 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19846 if test "x$ac_cv_header_locale_h" = x""yes; then :
19848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19849 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19850 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19851 $as_echo_n "(cached) " >&6
19852 else
19853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19854 /* end confdefs.h. */
19855 #include <locale.h>
19857 main ()
19859 return LC_MESSAGES
19861 return 0;
19863 _ACEOF
19864 if ac_fn_c_try_compile "$LINENO"; then :
19865 ac_cv_val_LC_MESSAGES=yes
19866 else
19867 ac_cv_val_LC_MESSAGES=no
19869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19872 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19873 if test $ac_cv_val_LC_MESSAGES = yes; then
19875 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19884 # For hardware_concurrency
19885 for ac_header in sys/sysinfo.h
19886 do :
19887 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19888 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19889 cat >>confdefs.h <<_ACEOF
19890 #define HAVE_SYS_SYSINFO_H 1
19891 _ACEOF
19895 done
19900 ac_ext=cpp
19901 ac_cpp='$CXXCPP $CPPFLAGS'
19902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19906 ac_save_CXXFLAGS="$CXXFLAGS"
19907 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19910 $as_echo_n "checking for get_nprocs... " >&6; }
19911 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19912 $as_echo_n "(cached) " >&6
19913 else
19915 if test x$gcc_no_link = xyes; then
19916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19917 /* end confdefs.h. */
19918 #include <sys/sysinfo.h>
19920 main ()
19922 int n = get_nprocs();
19924 return 0;
19926 _ACEOF
19927 if ac_fn_cxx_try_compile "$LINENO"; then :
19928 glibcxx_cv_GET_NPROCS=yes
19929 else
19930 glibcxx_cv_GET_NPROCS=no
19932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19933 else
19934 if test x$gcc_no_link = xyes; then
19935 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19938 /* end confdefs.h. */
19939 #include <sys/sysinfo.h>
19941 main ()
19943 int n = get_nprocs();
19945 return 0;
19947 _ACEOF
19948 if ac_fn_cxx_try_link "$LINENO"; then :
19949 glibcxx_cv_GET_NPROCS=yes
19950 else
19951 glibcxx_cv_GET_NPROCS=no
19953 rm -f core conftest.err conftest.$ac_objext \
19954 conftest$ac_exeext conftest.$ac_ext
19959 if test $glibcxx_cv_GET_NPROCS = yes; then
19961 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19965 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19967 CXXFLAGS="$ac_save_CXXFLAGS"
19968 ac_ext=c
19969 ac_cpp='$CPP $CPPFLAGS'
19970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19975 for ac_header in unistd.h
19976 do :
19977 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19978 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19979 cat >>confdefs.h <<_ACEOF
19980 #define HAVE_UNISTD_H 1
19981 _ACEOF
19985 done
19990 ac_ext=cpp
19991 ac_cpp='$CXXCPP $CPPFLAGS'
19992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19996 ac_save_CXXFLAGS="$CXXFLAGS"
19997 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20000 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20001 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20002 $as_echo_n "(cached) " >&6
20003 else
20005 if test x$gcc_no_link = xyes; then
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008 #include <unistd.h>
20010 main ()
20012 int n = sysconf(_SC_NPROCESSORS_ONLN);
20014 return 0;
20016 _ACEOF
20017 if ac_fn_cxx_try_compile "$LINENO"; then :
20018 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20019 else
20020 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20023 else
20024 if test x$gcc_no_link = xyes; then
20025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20028 /* end confdefs.h. */
20029 #include <unistd.h>
20031 main ()
20033 int n = sysconf(_SC_NPROCESSORS_ONLN);
20035 return 0;
20037 _ACEOF
20038 if ac_fn_cxx_try_link "$LINENO"; then :
20039 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20040 else
20041 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20043 rm -f core conftest.err conftest.$ac_objext \
20044 conftest$ac_exeext conftest.$ac_ext
20049 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20051 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20055 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20057 CXXFLAGS="$ac_save_CXXFLAGS"
20058 ac_ext=c
20059 ac_cpp='$CPP $CPPFLAGS'
20060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20068 ac_ext=cpp
20069 ac_cpp='$CXXCPP $CPPFLAGS'
20070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20074 ac_save_CXXFLAGS="$CXXFLAGS"
20075 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20078 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20079 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20080 $as_echo_n "(cached) " >&6
20081 else
20083 if test x$gcc_no_link = xyes; then
20084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20085 /* end confdefs.h. */
20086 #include <unistd.h>
20088 main ()
20090 int n = sysconf(_SC_NPROC_ONLN);
20092 return 0;
20094 _ACEOF
20095 if ac_fn_cxx_try_compile "$LINENO"; then :
20096 glibcxx_cv_SC_NPROC_ONLN=yes
20097 else
20098 glibcxx_cv_SC_NPROC_ONLN=no
20100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20101 else
20102 if test x$gcc_no_link = xyes; then
20103 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #include <unistd.h>
20109 main ()
20111 int n = sysconf(_SC_NPROC_ONLN);
20113 return 0;
20115 _ACEOF
20116 if ac_fn_cxx_try_link "$LINENO"; then :
20117 glibcxx_cv_SC_NPROC_ONLN=yes
20118 else
20119 glibcxx_cv_SC_NPROC_ONLN=no
20121 rm -f core conftest.err conftest.$ac_objext \
20122 conftest$ac_exeext conftest.$ac_ext
20127 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20129 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20133 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20135 CXXFLAGS="$ac_save_CXXFLAGS"
20136 ac_ext=c
20137 ac_cpp='$CPP $CPPFLAGS'
20138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20146 ac_ext=cpp
20147 ac_cpp='$CXXCPP $CPPFLAGS'
20148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20152 ac_save_CXXFLAGS="$CXXFLAGS"
20153 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20156 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20157 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20158 $as_echo_n "(cached) " >&6
20159 else
20161 if test x$gcc_no_link = xyes; then
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20164 #include <pthread.h>
20166 main ()
20168 int n = pthread_num_processors_np();
20170 return 0;
20172 _ACEOF
20173 if ac_fn_cxx_try_compile "$LINENO"; then :
20174 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20175 else
20176 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 else
20180 if test x$gcc_no_link = xyes; then
20181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20185 #include <pthread.h>
20187 main ()
20189 int n = pthread_num_processors_np();
20191 return 0;
20193 _ACEOF
20194 if ac_fn_cxx_try_link "$LINENO"; then :
20195 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20196 else
20197 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20199 rm -f core conftest.err conftest.$ac_objext \
20200 conftest$ac_exeext conftest.$ac_ext
20205 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20207 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20211 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20213 CXXFLAGS="$ac_save_CXXFLAGS"
20214 ac_ext=c
20215 ac_cpp='$CPP $CPPFLAGS'
20216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224 ac_ext=cpp
20225 ac_cpp='$CXXCPP $CPPFLAGS'
20226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20230 ac_save_CXXFLAGS="$CXXFLAGS"
20231 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20234 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20235 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20236 $as_echo_n "(cached) " >&6
20237 else
20239 if test x$gcc_no_link = xyes; then
20240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20241 /* end confdefs.h. */
20243 #include <stddef.h>
20244 #include <sys/sysctl.h>
20247 main ()
20250 int count;
20251 size_t size = sizeof(count);
20252 int mib[] = { CTL_HW, HW_NCPU };
20253 sysctl(mib, 2, &count, &size, NULL, 0);
20256 return 0;
20258 _ACEOF
20259 if ac_fn_cxx_try_compile "$LINENO"; then :
20260 glibcxx_cv_SYSCTL_HW_NCPU=yes
20261 else
20262 glibcxx_cv_SYSCTL_HW_NCPU=no
20264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20265 else
20266 if test x$gcc_no_link = xyes; then
20267 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20270 /* end confdefs.h. */
20272 #include <stddef.h>
20273 #include <sys/sysctl.h>
20276 main ()
20279 int count;
20280 size_t size = sizeof(count);
20281 int mib[] = { CTL_HW, HW_NCPU };
20282 sysctl(mib, 2, &count, &size, NULL, 0);
20285 return 0;
20287 _ACEOF
20288 if ac_fn_cxx_try_link "$LINENO"; then :
20289 glibcxx_cv_SYSCTL_HW_NCPU=yes
20290 else
20291 glibcxx_cv_SYSCTL_HW_NCPU=no
20293 rm -f core conftest.err conftest.$ac_objext \
20294 conftest$ac_exeext conftest.$ac_ext
20299 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20301 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20305 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20307 CXXFLAGS="$ac_save_CXXFLAGS"
20308 ac_ext=c
20309 ac_cpp='$CPP $CPPFLAGS'
20310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20316 # Check for available headers.
20317 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20318 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20319 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20320 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20321 wchar.h wctype.h
20322 do :
20323 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20324 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20325 eval as_val=\$$as_ac_Header
20326 if test "x$as_val" = x""yes; then :
20327 cat >>confdefs.h <<_ACEOF
20328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20329 _ACEOF
20333 done
20336 # Only do link tests if native. Else, hardcode.
20337 if $GLIBCXX_IS_NATIVE; then
20339 # We can do more elaborate tests that assume a working linker.
20340 CANADIAN=no
20344 # Check whether --with-gnu-ld was given.
20345 if test "${with_gnu_ld+set}" = set; then :
20346 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20347 else
20348 with_gnu_ld=no
20351 ac_prog=ld
20352 if test "$GCC" = yes; then
20353 # Check if gcc -print-prog-name=ld gives a path.
20354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20355 $as_echo_n "checking for ld used by $CC... " >&6; }
20356 case $host in
20357 *-*-mingw*)
20358 # gcc leaves a trailing carriage return which upsets mingw
20359 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20361 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20362 esac
20363 case $ac_prog in
20364 # Accept absolute paths.
20365 [\\/]* | ?:[\\/]*)
20366 re_direlt='/[^/][^/]*/\.\./'
20367 # Canonicalize the pathname of ld
20368 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20369 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20370 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20371 done
20372 test -z "$LD" && LD="$ac_prog"
20375 # If it fails, then pretend we aren't using GCC.
20376 ac_prog=ld
20379 # If it is relative, then search for the first ld in PATH.
20380 with_gnu_ld=unknown
20382 esac
20383 elif test "$with_gnu_ld" = yes; then
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20385 $as_echo_n "checking for GNU ld... " >&6; }
20386 else
20387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20388 $as_echo_n "checking for non-GNU ld... " >&6; }
20390 if test "${lt_cv_path_LD+set}" = set; then :
20391 $as_echo_n "(cached) " >&6
20392 else
20393 if test -z "$LD"; then
20394 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20395 for ac_dir in $PATH; do
20396 IFS="$lt_save_ifs"
20397 test -z "$ac_dir" && ac_dir=.
20398 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20399 lt_cv_path_LD="$ac_dir/$ac_prog"
20400 # Check to see if the program is GNU ld. I'd rather use --version,
20401 # but apparently some variants of GNU ld only accept -v.
20402 # Break only if it was the GNU/non-GNU ld that we prefer.
20403 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20404 *GNU* | *'with BFD'*)
20405 test "$with_gnu_ld" != no && break
20408 test "$with_gnu_ld" != yes && break
20410 esac
20412 done
20413 IFS="$lt_save_ifs"
20414 else
20415 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20419 LD="$lt_cv_path_LD"
20420 if test -n "$LD"; then
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20422 $as_echo "$LD" >&6; }
20423 else
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20425 $as_echo "no" >&6; }
20427 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20429 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20430 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20431 $as_echo_n "(cached) " >&6
20432 else
20433 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20434 case `$LD -v 2>&1 </dev/null` in
20435 *GNU* | *'with BFD'*)
20436 lt_cv_prog_gnu_ld=yes
20439 lt_cv_prog_gnu_ld=no
20441 esac
20443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20444 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20445 with_gnu_ld=$lt_cv_prog_gnu_ld
20453 # If we're not using GNU ld, then there's no point in even trying these
20454 # tests. Check for that first. We should have already tested for gld
20455 # by now (in libtool), but require it now just to be safe...
20456 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20457 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20461 # The name set by libtool depends on the version of libtool. Shame on us
20462 # for depending on an impl detail, but c'est la vie. Older versions used
20463 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20464 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20465 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20466 # set (hence we're using an older libtool), then set it.
20467 if test x${with_gnu_ld+set} != xset; then
20468 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20469 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20470 with_gnu_ld=no
20471 else
20472 with_gnu_ld=$ac_cv_prog_gnu_ld
20476 # Start by getting the version number. I think the libtool test already
20477 # does some of this, but throws away the result.
20478 glibcxx_ld_is_gold=no
20479 if test x"$with_gnu_ld" = x"yes"; then
20480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20481 $as_echo_n "checking for ld version... " >&6; }
20483 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20484 glibcxx_ld_is_gold=yes
20486 ldver=`$LD --version 2>/dev/null |
20487 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'`
20489 glibcxx_gnu_ld_version=`echo $ldver | \
20490 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20492 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20495 # Set --gc-sections.
20496 glibcxx_have_gc_sections=no
20497 if test "$glibcxx_ld_is_gold" = "yes"; then
20498 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20499 glibcxx_have_gc_sections=yes
20501 else
20502 glibcxx_gcsections_min_ld=21602
20503 if test x"$with_gnu_ld" = x"yes" &&
20504 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20505 glibcxx_have_gc_sections=yes
20508 if test "$glibcxx_have_gc_sections" = "yes"; then
20509 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20510 # NB: This flag only works reliably after 2.16.1. Configure tests
20511 # for this are difficult, so hard wire a value that should work.
20513 ac_test_CFLAGS="${CFLAGS+set}"
20514 ac_save_CFLAGS="$CFLAGS"
20515 CFLAGS='-Wl,--gc-sections'
20517 # Check for -Wl,--gc-sections
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20519 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20520 if test x$gcc_no_link = xyes; then
20521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20524 /* end confdefs.h. */
20525 int one(void) { return 1; }
20526 int two(void) { return 2; }
20529 main ()
20531 two();
20533 return 0;
20535 _ACEOF
20536 if ac_fn_c_try_link "$LINENO"; then :
20537 ac_gcsections=yes
20538 else
20539 ac_gcsections=no
20541 rm -f core conftest.err conftest.$ac_objext \
20542 conftest$ac_exeext conftest.$ac_ext
20543 if test "$ac_gcsections" = "yes"; then
20544 rm -f conftest.c
20545 touch conftest.c
20546 if $CC -c conftest.c; then
20547 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20548 grep "Warning: gc-sections option ignored" > /dev/null; then
20549 ac_gcsections=no
20552 rm -f conftest.c conftest.o conftest
20554 if test "$ac_gcsections" = "yes"; then
20555 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20558 $as_echo "$ac_gcsections" >&6; }
20560 if test "$ac_test_CFLAGS" = set; then
20561 CFLAGS="$ac_save_CFLAGS"
20562 else
20563 # this is the suspicious part
20564 CFLAGS=''
20568 # Set -z,relro.
20569 # Note this is only for shared objects.
20570 ac_ld_relro=no
20571 if test x"$with_gnu_ld" = x"yes"; then
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20573 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20574 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20575 if test -n "$cxx_z_relo"; then
20576 OPT_LDFLAGS="-Wl,-z,relro"
20577 ac_ld_relro=yes
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20580 $as_echo "$ac_ld_relro" >&6; }
20583 # Set linker optimization flags.
20584 if test x"$with_gnu_ld" = x"yes"; then
20585 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20593 ac_save_CXXFLAGS="$CXXFLAGS"
20594 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20597 $as_echo_n "checking for sin in -lm... " >&6; }
20598 if test "${ac_cv_lib_m_sin+set}" = set; then :
20599 $as_echo_n "(cached) " >&6
20600 else
20601 ac_check_lib_save_LIBS=$LIBS
20602 LIBS="-lm $LIBS"
20603 if test x$gcc_no_link = xyes; then
20604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20607 /* end confdefs.h. */
20609 /* Override any GCC internal prototype to avoid an error.
20610 Use char because int might match the return type of a GCC
20611 builtin and then its argument prototype would still apply. */
20612 #ifdef __cplusplus
20613 extern "C"
20614 #endif
20615 char sin ();
20617 main ()
20619 return sin ();
20621 return 0;
20623 _ACEOF
20624 if ac_fn_c_try_link "$LINENO"; then :
20625 ac_cv_lib_m_sin=yes
20626 else
20627 ac_cv_lib_m_sin=no
20629 rm -f core conftest.err conftest.$ac_objext \
20630 conftest$ac_exeext conftest.$ac_ext
20631 LIBS=$ac_check_lib_save_LIBS
20633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20634 $as_echo "$ac_cv_lib_m_sin" >&6; }
20635 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20636 libm="-lm"
20639 ac_save_LIBS="$LIBS"
20640 LIBS="$LIBS $libm"
20644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20645 $as_echo_n "checking for isinf declaration... " >&6; }
20646 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20647 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20652 ac_ext=cpp
20653 ac_cpp='$CXXCPP $CPPFLAGS'
20654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20659 /* end confdefs.h. */
20660 #include <math.h>
20661 #ifdef HAVE_IEEEFP_H
20662 #include <ieeefp.h>
20663 #endif
20666 main ()
20668 isinf(0);
20670 return 0;
20672 _ACEOF
20673 if ac_fn_cxx_try_compile "$LINENO"; then :
20674 glibcxx_cv_func_isinf_use=yes
20675 else
20676 glibcxx_cv_func_isinf_use=no
20678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20679 ac_ext=c
20680 ac_cpp='$CPP $CPPFLAGS'
20681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20690 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20692 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20693 for ac_func in isinf
20694 do :
20695 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20696 if test "x$ac_cv_func_isinf" = x""yes; then :
20697 cat >>confdefs.h <<_ACEOF
20698 #define HAVE_ISINF 1
20699 _ACEOF
20702 done
20704 else
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20707 $as_echo_n "checking for _isinf declaration... " >&6; }
20708 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20709 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20710 $as_echo_n "(cached) " >&6
20711 else
20714 ac_ext=cpp
20715 ac_cpp='$CXXCPP $CPPFLAGS'
20716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20721 /* end confdefs.h. */
20722 #include <math.h>
20723 #ifdef HAVE_IEEEFP_H
20724 #include <ieeefp.h>
20725 #endif
20728 main ()
20730 _isinf(0);
20732 return 0;
20734 _ACEOF
20735 if ac_fn_cxx_try_compile "$LINENO"; then :
20736 glibcxx_cv_func__isinf_use=yes
20737 else
20738 glibcxx_cv_func__isinf_use=no
20740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20741 ac_ext=c
20742 ac_cpp='$CPP $CPPFLAGS'
20743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20752 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20754 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20755 for ac_func in _isinf
20756 do :
20757 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20758 if test "x$ac_cv_func__isinf" = x""yes; then :
20759 cat >>confdefs.h <<_ACEOF
20760 #define HAVE__ISINF 1
20761 _ACEOF
20764 done
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20774 $as_echo_n "checking for isnan declaration... " >&6; }
20775 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20776 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20777 $as_echo_n "(cached) " >&6
20778 else
20781 ac_ext=cpp
20782 ac_cpp='$CXXCPP $CPPFLAGS'
20783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20788 /* end confdefs.h. */
20789 #include <math.h>
20790 #ifdef HAVE_IEEEFP_H
20791 #include <ieeefp.h>
20792 #endif
20795 main ()
20797 isnan(0);
20799 return 0;
20801 _ACEOF
20802 if ac_fn_cxx_try_compile "$LINENO"; then :
20803 glibcxx_cv_func_isnan_use=yes
20804 else
20805 glibcxx_cv_func_isnan_use=no
20807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 ac_ext=c
20809 ac_cpp='$CPP $CPPFLAGS'
20810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20819 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20821 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20822 for ac_func in isnan
20823 do :
20824 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20825 if test "x$ac_cv_func_isnan" = x""yes; then :
20826 cat >>confdefs.h <<_ACEOF
20827 #define HAVE_ISNAN 1
20828 _ACEOF
20831 done
20833 else
20835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20836 $as_echo_n "checking for _isnan declaration... " >&6; }
20837 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20838 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20839 $as_echo_n "(cached) " >&6
20840 else
20843 ac_ext=cpp
20844 ac_cpp='$CXXCPP $CPPFLAGS'
20845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850 /* end confdefs.h. */
20851 #include <math.h>
20852 #ifdef HAVE_IEEEFP_H
20853 #include <ieeefp.h>
20854 #endif
20857 main ()
20859 _isnan(0);
20861 return 0;
20863 _ACEOF
20864 if ac_fn_cxx_try_compile "$LINENO"; then :
20865 glibcxx_cv_func__isnan_use=yes
20866 else
20867 glibcxx_cv_func__isnan_use=no
20869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20870 ac_ext=c
20871 ac_cpp='$CPP $CPPFLAGS'
20872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20881 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20883 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20884 for ac_func in _isnan
20885 do :
20886 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20887 if test "x$ac_cv_func__isnan" = x""yes; then :
20888 cat >>confdefs.h <<_ACEOF
20889 #define HAVE__ISNAN 1
20890 _ACEOF
20893 done
20902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20903 $as_echo_n "checking for finite declaration... " >&6; }
20904 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20905 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20906 $as_echo_n "(cached) " >&6
20907 else
20910 ac_ext=cpp
20911 ac_cpp='$CXXCPP $CPPFLAGS'
20912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20917 /* end confdefs.h. */
20918 #include <math.h>
20919 #ifdef HAVE_IEEEFP_H
20920 #include <ieeefp.h>
20921 #endif
20924 main ()
20926 finite(0);
20928 return 0;
20930 _ACEOF
20931 if ac_fn_cxx_try_compile "$LINENO"; then :
20932 glibcxx_cv_func_finite_use=yes
20933 else
20934 glibcxx_cv_func_finite_use=no
20936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20937 ac_ext=c
20938 ac_cpp='$CPP $CPPFLAGS'
20939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20948 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20950 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20951 for ac_func in finite
20952 do :
20953 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20954 if test "x$ac_cv_func_finite" = x""yes; then :
20955 cat >>confdefs.h <<_ACEOF
20956 #define HAVE_FINITE 1
20957 _ACEOF
20960 done
20962 else
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20965 $as_echo_n "checking for _finite declaration... " >&6; }
20966 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20967 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20968 $as_echo_n "(cached) " >&6
20969 else
20972 ac_ext=cpp
20973 ac_cpp='$CXXCPP $CPPFLAGS'
20974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20979 /* end confdefs.h. */
20980 #include <math.h>
20981 #ifdef HAVE_IEEEFP_H
20982 #include <ieeefp.h>
20983 #endif
20986 main ()
20988 _finite(0);
20990 return 0;
20992 _ACEOF
20993 if ac_fn_cxx_try_compile "$LINENO"; then :
20994 glibcxx_cv_func__finite_use=yes
20995 else
20996 glibcxx_cv_func__finite_use=no
20998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20999 ac_ext=c
21000 ac_cpp='$CPP $CPPFLAGS'
21001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21010 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21012 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21013 for ac_func in _finite
21014 do :
21015 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21016 if test "x$ac_cv_func__finite" = x""yes; then :
21017 cat >>confdefs.h <<_ACEOF
21018 #define HAVE__FINITE 1
21019 _ACEOF
21022 done
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21032 $as_echo_n "checking for sincos declaration... " >&6; }
21033 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21034 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21035 $as_echo_n "(cached) " >&6
21036 else
21039 ac_ext=cpp
21040 ac_cpp='$CXXCPP $CPPFLAGS'
21041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21046 /* end confdefs.h. */
21047 #include <math.h>
21049 main ()
21051 sincos(0, 0, 0);
21053 return 0;
21055 _ACEOF
21056 if ac_fn_cxx_try_compile "$LINENO"; then :
21057 glibcxx_cv_func_sincos_use=yes
21058 else
21059 glibcxx_cv_func_sincos_use=no
21061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21062 ac_ext=c
21063 ac_cpp='$CPP $CPPFLAGS'
21064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21073 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21075 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21076 for ac_func in sincos
21077 do :
21078 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21079 if test "x$ac_cv_func_sincos" = x""yes; then :
21080 cat >>confdefs.h <<_ACEOF
21081 #define HAVE_SINCOS 1
21082 _ACEOF
21085 done
21087 else
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21090 $as_echo_n "checking for _sincos declaration... " >&6; }
21091 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21092 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21093 $as_echo_n "(cached) " >&6
21094 else
21097 ac_ext=cpp
21098 ac_cpp='$CXXCPP $CPPFLAGS'
21099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <math.h>
21107 main ()
21109 _sincos(0, 0, 0);
21111 return 0;
21113 _ACEOF
21114 if ac_fn_cxx_try_compile "$LINENO"; then :
21115 glibcxx_cv_func__sincos_use=yes
21116 else
21117 glibcxx_cv_func__sincos_use=no
21119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21120 ac_ext=c
21121 ac_cpp='$CPP $CPPFLAGS'
21122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21131 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21133 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21134 for ac_func in _sincos
21135 do :
21136 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21137 if test "x$ac_cv_func__sincos" = x""yes; then :
21138 cat >>confdefs.h <<_ACEOF
21139 #define HAVE__SINCOS 1
21140 _ACEOF
21143 done
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21153 $as_echo_n "checking for fpclass declaration... " >&6; }
21154 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21155 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21156 $as_echo_n "(cached) " >&6
21157 else
21160 ac_ext=cpp
21161 ac_cpp='$CXXCPP $CPPFLAGS'
21162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21167 /* end confdefs.h. */
21168 #include <math.h>
21169 #ifdef HAVE_IEEEFP_H
21170 #include <ieeefp.h>
21171 #endif
21174 main ()
21176 fpclass(0);
21178 return 0;
21180 _ACEOF
21181 if ac_fn_cxx_try_compile "$LINENO"; then :
21182 glibcxx_cv_func_fpclass_use=yes
21183 else
21184 glibcxx_cv_func_fpclass_use=no
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21187 ac_ext=c
21188 ac_cpp='$CPP $CPPFLAGS'
21189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21198 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21200 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21201 for ac_func in fpclass
21202 do :
21203 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21204 if test "x$ac_cv_func_fpclass" = x""yes; then :
21205 cat >>confdefs.h <<_ACEOF
21206 #define HAVE_FPCLASS 1
21207 _ACEOF
21210 done
21212 else
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21215 $as_echo_n "checking for _fpclass declaration... " >&6; }
21216 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21217 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21218 $as_echo_n "(cached) " >&6
21219 else
21222 ac_ext=cpp
21223 ac_cpp='$CXXCPP $CPPFLAGS'
21224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21229 /* end confdefs.h. */
21230 #include <math.h>
21231 #ifdef HAVE_IEEEFP_H
21232 #include <ieeefp.h>
21233 #endif
21236 main ()
21238 _fpclass(0);
21240 return 0;
21242 _ACEOF
21243 if ac_fn_cxx_try_compile "$LINENO"; then :
21244 glibcxx_cv_func__fpclass_use=yes
21245 else
21246 glibcxx_cv_func__fpclass_use=no
21248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21249 ac_ext=c
21250 ac_cpp='$CPP $CPPFLAGS'
21251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21260 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21262 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21263 for ac_func in _fpclass
21264 do :
21265 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21266 if test "x$ac_cv_func__fpclass" = x""yes; then :
21267 cat >>confdefs.h <<_ACEOF
21268 #define HAVE__FPCLASS 1
21269 _ACEOF
21272 done
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21282 $as_echo_n "checking for qfpclass declaration... " >&6; }
21283 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21284 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21285 $as_echo_n "(cached) " >&6
21286 else
21289 ac_ext=cpp
21290 ac_cpp='$CXXCPP $CPPFLAGS'
21291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21297 #include <math.h>
21298 #ifdef HAVE_IEEEFP_H
21299 #include <ieeefp.h>
21300 #endif
21303 main ()
21305 qfpclass(0);
21307 return 0;
21309 _ACEOF
21310 if ac_fn_cxx_try_compile "$LINENO"; then :
21311 glibcxx_cv_func_qfpclass_use=yes
21312 else
21313 glibcxx_cv_func_qfpclass_use=no
21315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21316 ac_ext=c
21317 ac_cpp='$CPP $CPPFLAGS'
21318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21327 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21329 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21330 for ac_func in qfpclass
21331 do :
21332 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21333 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21334 cat >>confdefs.h <<_ACEOF
21335 #define HAVE_QFPCLASS 1
21336 _ACEOF
21339 done
21341 else
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21344 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21345 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21346 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21347 $as_echo_n "(cached) " >&6
21348 else
21351 ac_ext=cpp
21352 ac_cpp='$CXXCPP $CPPFLAGS'
21353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21358 /* end confdefs.h. */
21359 #include <math.h>
21360 #ifdef HAVE_IEEEFP_H
21361 #include <ieeefp.h>
21362 #endif
21365 main ()
21367 _qfpclass(0);
21369 return 0;
21371 _ACEOF
21372 if ac_fn_cxx_try_compile "$LINENO"; then :
21373 glibcxx_cv_func__qfpclass_use=yes
21374 else
21375 glibcxx_cv_func__qfpclass_use=no
21377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21378 ac_ext=c
21379 ac_cpp='$CPP $CPPFLAGS'
21380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21389 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21391 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21392 for ac_func in _qfpclass
21393 do :
21394 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21395 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21396 cat >>confdefs.h <<_ACEOF
21397 #define HAVE__QFPCLASS 1
21398 _ACEOF
21401 done
21410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21411 $as_echo_n "checking for hypot declaration... " >&6; }
21412 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21413 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21414 $as_echo_n "(cached) " >&6
21415 else
21418 ac_ext=cpp
21419 ac_cpp='$CXXCPP $CPPFLAGS'
21420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21425 /* end confdefs.h. */
21426 #include <math.h>
21428 main ()
21430 hypot(0, 0);
21432 return 0;
21434 _ACEOF
21435 if ac_fn_cxx_try_compile "$LINENO"; then :
21436 glibcxx_cv_func_hypot_use=yes
21437 else
21438 glibcxx_cv_func_hypot_use=no
21440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21441 ac_ext=c
21442 ac_cpp='$CPP $CPPFLAGS'
21443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21452 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21454 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21455 for ac_func in hypot
21456 do :
21457 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21458 if test "x$ac_cv_func_hypot" = x""yes; then :
21459 cat >>confdefs.h <<_ACEOF
21460 #define HAVE_HYPOT 1
21461 _ACEOF
21464 done
21466 else
21468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21469 $as_echo_n "checking for _hypot declaration... " >&6; }
21470 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21471 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21472 $as_echo_n "(cached) " >&6
21473 else
21476 ac_ext=cpp
21477 ac_cpp='$CXXCPP $CPPFLAGS'
21478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21483 /* end confdefs.h. */
21484 #include <math.h>
21486 main ()
21488 _hypot(0, 0);
21490 return 0;
21492 _ACEOF
21493 if ac_fn_cxx_try_compile "$LINENO"; then :
21494 glibcxx_cv_func__hypot_use=yes
21495 else
21496 glibcxx_cv_func__hypot_use=no
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 ac_ext=c
21500 ac_cpp='$CPP $CPPFLAGS'
21501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21510 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21512 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21513 for ac_func in _hypot
21514 do :
21515 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21516 if test "x$ac_cv_func__hypot" = x""yes; then :
21517 cat >>confdefs.h <<_ACEOF
21518 #define HAVE__HYPOT 1
21519 _ACEOF
21522 done
21531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21532 $as_echo_n "checking for float trig functions... " >&6; }
21533 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21534 $as_echo_n "(cached) " >&6
21535 else
21538 ac_ext=cpp
21539 ac_cpp='$CXXCPP $CPPFLAGS'
21540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21546 #include <math.h>
21548 main ()
21550 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21552 return 0;
21554 _ACEOF
21555 if ac_fn_cxx_try_compile "$LINENO"; then :
21556 glibcxx_cv_func_float_trig_use=yes
21557 else
21558 glibcxx_cv_func_float_trig_use=no
21560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21561 ac_ext=c
21562 ac_cpp='$CPP $CPPFLAGS'
21563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21570 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21571 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21572 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21573 do :
21574 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21575 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21576 eval as_val=\$$as_ac_var
21577 if test "x$as_val" = x""yes; then :
21578 cat >>confdefs.h <<_ACEOF
21579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21580 _ACEOF
21583 done
21585 else
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21587 $as_echo_n "checking for _float trig functions... " >&6; }
21588 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21589 $as_echo_n "(cached) " >&6
21590 else
21593 ac_ext=cpp
21594 ac_cpp='$CXXCPP $CPPFLAGS'
21595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21601 #include <math.h>
21603 main ()
21605 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21607 return 0;
21609 _ACEOF
21610 if ac_fn_cxx_try_compile "$LINENO"; then :
21611 glibcxx_cv_func__float_trig_use=yes
21612 else
21613 glibcxx_cv_func__float_trig_use=no
21615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21616 ac_ext=c
21617 ac_cpp='$CPP $CPPFLAGS'
21618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21625 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21626 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21627 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21628 do :
21629 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21630 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21631 eval as_val=\$$as_ac_var
21632 if test "x$as_val" = x""yes; then :
21633 cat >>confdefs.h <<_ACEOF
21634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21635 _ACEOF
21638 done
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21648 $as_echo_n "checking for float round functions... " >&6; }
21649 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21650 $as_echo_n "(cached) " >&6
21651 else
21654 ac_ext=cpp
21655 ac_cpp='$CXXCPP $CPPFLAGS'
21656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21661 /* end confdefs.h. */
21662 #include <math.h>
21664 main ()
21666 ceilf (0); floorf (0);
21668 return 0;
21670 _ACEOF
21671 if ac_fn_cxx_try_compile "$LINENO"; then :
21672 glibcxx_cv_func_float_round_use=yes
21673 else
21674 glibcxx_cv_func_float_round_use=no
21676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21677 ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21686 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21687 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21688 for ac_func in ceilf floorf
21689 do :
21690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21692 eval as_val=\$$as_ac_var
21693 if test "x$as_val" = x""yes; then :
21694 cat >>confdefs.h <<_ACEOF
21695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21696 _ACEOF
21699 done
21701 else
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21703 $as_echo_n "checking for _float round functions... " >&6; }
21704 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21705 $as_echo_n "(cached) " >&6
21706 else
21709 ac_ext=cpp
21710 ac_cpp='$CXXCPP $CPPFLAGS'
21711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21716 /* end confdefs.h. */
21717 #include <math.h>
21719 main ()
21721 _ceilf (0); _floorf (0);
21723 return 0;
21725 _ACEOF
21726 if ac_fn_cxx_try_compile "$LINENO"; then :
21727 glibcxx_cv_func__float_round_use=yes
21728 else
21729 glibcxx_cv_func__float_round_use=no
21731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21732 ac_ext=c
21733 ac_cpp='$CPP $CPPFLAGS'
21734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21741 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21742 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21743 for ac_func in _ceilf _floorf
21744 do :
21745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21747 eval as_val=\$$as_ac_var
21748 if test "x$as_val" = x""yes; then :
21749 cat >>confdefs.h <<_ACEOF
21750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21751 _ACEOF
21754 done
21764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21765 $as_echo_n "checking for expf declaration... " >&6; }
21766 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21767 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21768 $as_echo_n "(cached) " >&6
21769 else
21772 ac_ext=cpp
21773 ac_cpp='$CXXCPP $CPPFLAGS'
21774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h. */
21780 #include <math.h>
21781 #ifdef HAVE_IEEEFP_H
21782 #include <ieeefp.h>
21783 #endif
21786 main ()
21788 expf(0);
21790 return 0;
21792 _ACEOF
21793 if ac_fn_cxx_try_compile "$LINENO"; then :
21794 glibcxx_cv_func_expf_use=yes
21795 else
21796 glibcxx_cv_func_expf_use=no
21798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21799 ac_ext=c
21800 ac_cpp='$CPP $CPPFLAGS'
21801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21810 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21812 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21813 for ac_func in expf
21814 do :
21815 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21816 if test "x$ac_cv_func_expf" = x""yes; then :
21817 cat >>confdefs.h <<_ACEOF
21818 #define HAVE_EXPF 1
21819 _ACEOF
21822 done
21824 else
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21827 $as_echo_n "checking for _expf declaration... " >&6; }
21828 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21829 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21830 $as_echo_n "(cached) " >&6
21831 else
21834 ac_ext=cpp
21835 ac_cpp='$CXXCPP $CPPFLAGS'
21836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21842 #include <math.h>
21843 #ifdef HAVE_IEEEFP_H
21844 #include <ieeefp.h>
21845 #endif
21848 main ()
21850 _expf(0);
21852 return 0;
21854 _ACEOF
21855 if ac_fn_cxx_try_compile "$LINENO"; then :
21856 glibcxx_cv_func__expf_use=yes
21857 else
21858 glibcxx_cv_func__expf_use=no
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 ac_ext=c
21862 ac_cpp='$CPP $CPPFLAGS'
21863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21872 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21874 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21875 for ac_func in _expf
21876 do :
21877 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21878 if test "x$ac_cv_func__expf" = x""yes; then :
21879 cat >>confdefs.h <<_ACEOF
21880 #define HAVE__EXPF 1
21881 _ACEOF
21884 done
21893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21894 $as_echo_n "checking for isnanf declaration... " >&6; }
21895 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21896 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21897 $as_echo_n "(cached) " >&6
21898 else
21901 ac_ext=cpp
21902 ac_cpp='$CXXCPP $CPPFLAGS'
21903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21908 /* end confdefs.h. */
21909 #include <math.h>
21910 #ifdef HAVE_IEEEFP_H
21911 #include <ieeefp.h>
21912 #endif
21915 main ()
21917 isnanf(0);
21919 return 0;
21921 _ACEOF
21922 if ac_fn_cxx_try_compile "$LINENO"; then :
21923 glibcxx_cv_func_isnanf_use=yes
21924 else
21925 glibcxx_cv_func_isnanf_use=no
21927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21928 ac_ext=c
21929 ac_cpp='$CPP $CPPFLAGS'
21930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21939 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21941 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21942 for ac_func in isnanf
21943 do :
21944 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21945 if test "x$ac_cv_func_isnanf" = x""yes; then :
21946 cat >>confdefs.h <<_ACEOF
21947 #define HAVE_ISNANF 1
21948 _ACEOF
21951 done
21953 else
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21956 $as_echo_n "checking for _isnanf declaration... " >&6; }
21957 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21958 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21959 $as_echo_n "(cached) " >&6
21960 else
21963 ac_ext=cpp
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21971 #include <math.h>
21972 #ifdef HAVE_IEEEFP_H
21973 #include <ieeefp.h>
21974 #endif
21977 main ()
21979 _isnanf(0);
21981 return 0;
21983 _ACEOF
21984 if ac_fn_cxx_try_compile "$LINENO"; then :
21985 glibcxx_cv_func__isnanf_use=yes
21986 else
21987 glibcxx_cv_func__isnanf_use=no
21989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21990 ac_ext=c
21991 ac_cpp='$CPP $CPPFLAGS'
21992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22001 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22003 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22004 for ac_func in _isnanf
22005 do :
22006 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22007 if test "x$ac_cv_func__isnanf" = x""yes; then :
22008 cat >>confdefs.h <<_ACEOF
22009 #define HAVE__ISNANF 1
22010 _ACEOF
22013 done
22022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22023 $as_echo_n "checking for isinff declaration... " >&6; }
22024 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22025 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22026 $as_echo_n "(cached) " >&6
22027 else
22030 ac_ext=cpp
22031 ac_cpp='$CXXCPP $CPPFLAGS'
22032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22037 /* end confdefs.h. */
22038 #include <math.h>
22039 #ifdef HAVE_IEEEFP_H
22040 #include <ieeefp.h>
22041 #endif
22044 main ()
22046 isinff(0);
22048 return 0;
22050 _ACEOF
22051 if ac_fn_cxx_try_compile "$LINENO"; then :
22052 glibcxx_cv_func_isinff_use=yes
22053 else
22054 glibcxx_cv_func_isinff_use=no
22056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22057 ac_ext=c
22058 ac_cpp='$CPP $CPPFLAGS'
22059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22068 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22070 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22071 for ac_func in isinff
22072 do :
22073 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22074 if test "x$ac_cv_func_isinff" = x""yes; then :
22075 cat >>confdefs.h <<_ACEOF
22076 #define HAVE_ISINFF 1
22077 _ACEOF
22080 done
22082 else
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22085 $as_echo_n "checking for _isinff declaration... " >&6; }
22086 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22087 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22088 $as_echo_n "(cached) " >&6
22089 else
22092 ac_ext=cpp
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22099 /* end confdefs.h. */
22100 #include <math.h>
22101 #ifdef HAVE_IEEEFP_H
22102 #include <ieeefp.h>
22103 #endif
22106 main ()
22108 _isinff(0);
22110 return 0;
22112 _ACEOF
22113 if ac_fn_cxx_try_compile "$LINENO"; then :
22114 glibcxx_cv_func__isinff_use=yes
22115 else
22116 glibcxx_cv_func__isinff_use=no
22118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22119 ac_ext=c
22120 ac_cpp='$CPP $CPPFLAGS'
22121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22130 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22132 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22133 for ac_func in _isinff
22134 do :
22135 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22136 if test "x$ac_cv_func__isinff" = x""yes; then :
22137 cat >>confdefs.h <<_ACEOF
22138 #define HAVE__ISINFF 1
22139 _ACEOF
22142 done
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22152 $as_echo_n "checking for atan2f declaration... " >&6; }
22153 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22154 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22155 $as_echo_n "(cached) " >&6
22156 else
22159 ac_ext=cpp
22160 ac_cpp='$CXXCPP $CPPFLAGS'
22161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22166 /* end confdefs.h. */
22167 #include <math.h>
22169 main ()
22171 atan2f(0, 0);
22173 return 0;
22175 _ACEOF
22176 if ac_fn_cxx_try_compile "$LINENO"; then :
22177 glibcxx_cv_func_atan2f_use=yes
22178 else
22179 glibcxx_cv_func_atan2f_use=no
22181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22182 ac_ext=c
22183 ac_cpp='$CPP $CPPFLAGS'
22184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22193 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22195 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22196 for ac_func in atan2f
22197 do :
22198 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22199 if test "x$ac_cv_func_atan2f" = x""yes; then :
22200 cat >>confdefs.h <<_ACEOF
22201 #define HAVE_ATAN2F 1
22202 _ACEOF
22205 done
22207 else
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22210 $as_echo_n "checking for _atan2f declaration... " >&6; }
22211 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22212 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22213 $as_echo_n "(cached) " >&6
22214 else
22217 ac_ext=cpp
22218 ac_cpp='$CXXCPP $CPPFLAGS'
22219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h. */
22225 #include <math.h>
22227 main ()
22229 _atan2f(0, 0);
22231 return 0;
22233 _ACEOF
22234 if ac_fn_cxx_try_compile "$LINENO"; then :
22235 glibcxx_cv_func__atan2f_use=yes
22236 else
22237 glibcxx_cv_func__atan2f_use=no
22239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22240 ac_ext=c
22241 ac_cpp='$CPP $CPPFLAGS'
22242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22251 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22253 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22254 for ac_func in _atan2f
22255 do :
22256 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22257 if test "x$ac_cv_func__atan2f" = x""yes; then :
22258 cat >>confdefs.h <<_ACEOF
22259 #define HAVE__ATAN2F 1
22260 _ACEOF
22263 done
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22273 $as_echo_n "checking for fabsf declaration... " >&6; }
22274 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22275 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22276 $as_echo_n "(cached) " >&6
22277 else
22280 ac_ext=cpp
22281 ac_cpp='$CXXCPP $CPPFLAGS'
22282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22287 /* end confdefs.h. */
22288 #include <math.h>
22289 #ifdef HAVE_IEEEFP_H
22290 #include <ieeefp.h>
22291 #endif
22294 main ()
22296 fabsf(0);
22298 return 0;
22300 _ACEOF
22301 if ac_fn_cxx_try_compile "$LINENO"; then :
22302 glibcxx_cv_func_fabsf_use=yes
22303 else
22304 glibcxx_cv_func_fabsf_use=no
22306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22307 ac_ext=c
22308 ac_cpp='$CPP $CPPFLAGS'
22309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22318 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22320 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22321 for ac_func in fabsf
22322 do :
22323 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22324 if test "x$ac_cv_func_fabsf" = x""yes; then :
22325 cat >>confdefs.h <<_ACEOF
22326 #define HAVE_FABSF 1
22327 _ACEOF
22330 done
22332 else
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22335 $as_echo_n "checking for _fabsf declaration... " >&6; }
22336 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22337 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22338 $as_echo_n "(cached) " >&6
22339 else
22342 ac_ext=cpp
22343 ac_cpp='$CXXCPP $CPPFLAGS'
22344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22349 /* end confdefs.h. */
22350 #include <math.h>
22351 #ifdef HAVE_IEEEFP_H
22352 #include <ieeefp.h>
22353 #endif
22356 main ()
22358 _fabsf(0);
22360 return 0;
22362 _ACEOF
22363 if ac_fn_cxx_try_compile "$LINENO"; then :
22364 glibcxx_cv_func__fabsf_use=yes
22365 else
22366 glibcxx_cv_func__fabsf_use=no
22368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22369 ac_ext=c
22370 ac_cpp='$CPP $CPPFLAGS'
22371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22380 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22382 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22383 for ac_func in _fabsf
22384 do :
22385 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22386 if test "x$ac_cv_func__fabsf" = x""yes; then :
22387 cat >>confdefs.h <<_ACEOF
22388 #define HAVE__FABSF 1
22389 _ACEOF
22392 done
22401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22402 $as_echo_n "checking for fmodf declaration... " >&6; }
22403 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22404 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22405 $as_echo_n "(cached) " >&6
22406 else
22409 ac_ext=cpp
22410 ac_cpp='$CXXCPP $CPPFLAGS'
22411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417 #include <math.h>
22419 main ()
22421 fmodf(0, 0);
22423 return 0;
22425 _ACEOF
22426 if ac_fn_cxx_try_compile "$LINENO"; then :
22427 glibcxx_cv_func_fmodf_use=yes
22428 else
22429 glibcxx_cv_func_fmodf_use=no
22431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22432 ac_ext=c
22433 ac_cpp='$CPP $CPPFLAGS'
22434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22443 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22445 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22446 for ac_func in fmodf
22447 do :
22448 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22449 if test "x$ac_cv_func_fmodf" = x""yes; then :
22450 cat >>confdefs.h <<_ACEOF
22451 #define HAVE_FMODF 1
22452 _ACEOF
22455 done
22457 else
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22460 $as_echo_n "checking for _fmodf declaration... " >&6; }
22461 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22462 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22463 $as_echo_n "(cached) " >&6
22464 else
22467 ac_ext=cpp
22468 ac_cpp='$CXXCPP $CPPFLAGS'
22469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22474 /* end confdefs.h. */
22475 #include <math.h>
22477 main ()
22479 _fmodf(0, 0);
22481 return 0;
22483 _ACEOF
22484 if ac_fn_cxx_try_compile "$LINENO"; then :
22485 glibcxx_cv_func__fmodf_use=yes
22486 else
22487 glibcxx_cv_func__fmodf_use=no
22489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 ac_ext=c
22491 ac_cpp='$CPP $CPPFLAGS'
22492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22501 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22503 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22504 for ac_func in _fmodf
22505 do :
22506 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22507 if test "x$ac_cv_func__fmodf" = x""yes; then :
22508 cat >>confdefs.h <<_ACEOF
22509 #define HAVE__FMODF 1
22510 _ACEOF
22513 done
22522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22523 $as_echo_n "checking for frexpf declaration... " >&6; }
22524 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22525 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22526 $as_echo_n "(cached) " >&6
22527 else
22530 ac_ext=cpp
22531 ac_cpp='$CXXCPP $CPPFLAGS'
22532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22537 /* end confdefs.h. */
22538 #include <math.h>
22540 main ()
22542 frexpf(0, 0);
22544 return 0;
22546 _ACEOF
22547 if ac_fn_cxx_try_compile "$LINENO"; then :
22548 glibcxx_cv_func_frexpf_use=yes
22549 else
22550 glibcxx_cv_func_frexpf_use=no
22552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22553 ac_ext=c
22554 ac_cpp='$CPP $CPPFLAGS'
22555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22564 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22566 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22567 for ac_func in frexpf
22568 do :
22569 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22570 if test "x$ac_cv_func_frexpf" = x""yes; then :
22571 cat >>confdefs.h <<_ACEOF
22572 #define HAVE_FREXPF 1
22573 _ACEOF
22576 done
22578 else
22580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22581 $as_echo_n "checking for _frexpf declaration... " >&6; }
22582 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22583 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22584 $as_echo_n "(cached) " >&6
22585 else
22588 ac_ext=cpp
22589 ac_cpp='$CXXCPP $CPPFLAGS'
22590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22595 /* end confdefs.h. */
22596 #include <math.h>
22598 main ()
22600 _frexpf(0, 0);
22602 return 0;
22604 _ACEOF
22605 if ac_fn_cxx_try_compile "$LINENO"; then :
22606 glibcxx_cv_func__frexpf_use=yes
22607 else
22608 glibcxx_cv_func__frexpf_use=no
22610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22611 ac_ext=c
22612 ac_cpp='$CPP $CPPFLAGS'
22613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22622 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22624 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22625 for ac_func in _frexpf
22626 do :
22627 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22628 if test "x$ac_cv_func__frexpf" = x""yes; then :
22629 cat >>confdefs.h <<_ACEOF
22630 #define HAVE__FREXPF 1
22631 _ACEOF
22634 done
22643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22644 $as_echo_n "checking for hypotf declaration... " >&6; }
22645 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22646 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22647 $as_echo_n "(cached) " >&6
22648 else
22651 ac_ext=cpp
22652 ac_cpp='$CXXCPP $CPPFLAGS'
22653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22658 /* end confdefs.h. */
22659 #include <math.h>
22661 main ()
22663 hypotf(0, 0);
22665 return 0;
22667 _ACEOF
22668 if ac_fn_cxx_try_compile "$LINENO"; then :
22669 glibcxx_cv_func_hypotf_use=yes
22670 else
22671 glibcxx_cv_func_hypotf_use=no
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 ac_ext=c
22675 ac_cpp='$CPP $CPPFLAGS'
22676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22685 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22687 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22688 for ac_func in hypotf
22689 do :
22690 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22691 if test "x$ac_cv_func_hypotf" = x""yes; then :
22692 cat >>confdefs.h <<_ACEOF
22693 #define HAVE_HYPOTF 1
22694 _ACEOF
22697 done
22699 else
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22702 $as_echo_n "checking for _hypotf declaration... " >&6; }
22703 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22704 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22705 $as_echo_n "(cached) " >&6
22706 else
22709 ac_ext=cpp
22710 ac_cpp='$CXXCPP $CPPFLAGS'
22711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22716 /* end confdefs.h. */
22717 #include <math.h>
22719 main ()
22721 _hypotf(0, 0);
22723 return 0;
22725 _ACEOF
22726 if ac_fn_cxx_try_compile "$LINENO"; then :
22727 glibcxx_cv_func__hypotf_use=yes
22728 else
22729 glibcxx_cv_func__hypotf_use=no
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22743 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22745 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22746 for ac_func in _hypotf
22747 do :
22748 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22749 if test "x$ac_cv_func__hypotf" = x""yes; then :
22750 cat >>confdefs.h <<_ACEOF
22751 #define HAVE__HYPOTF 1
22752 _ACEOF
22755 done
22764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22765 $as_echo_n "checking for ldexpf declaration... " >&6; }
22766 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22767 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22768 $as_echo_n "(cached) " >&6
22769 else
22772 ac_ext=cpp
22773 ac_cpp='$CXXCPP $CPPFLAGS'
22774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22779 /* end confdefs.h. */
22780 #include <math.h>
22782 main ()
22784 ldexpf(0, 0);
22786 return 0;
22788 _ACEOF
22789 if ac_fn_cxx_try_compile "$LINENO"; then :
22790 glibcxx_cv_func_ldexpf_use=yes
22791 else
22792 glibcxx_cv_func_ldexpf_use=no
22794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795 ac_ext=c
22796 ac_cpp='$CPP $CPPFLAGS'
22797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22806 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22808 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22809 for ac_func in ldexpf
22810 do :
22811 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22812 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22813 cat >>confdefs.h <<_ACEOF
22814 #define HAVE_LDEXPF 1
22815 _ACEOF
22818 done
22820 else
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22823 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22824 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22825 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22826 $as_echo_n "(cached) " >&6
22827 else
22830 ac_ext=cpp
22831 ac_cpp='$CXXCPP $CPPFLAGS'
22832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22837 /* end confdefs.h. */
22838 #include <math.h>
22840 main ()
22842 _ldexpf(0, 0);
22844 return 0;
22846 _ACEOF
22847 if ac_fn_cxx_try_compile "$LINENO"; then :
22848 glibcxx_cv_func__ldexpf_use=yes
22849 else
22850 glibcxx_cv_func__ldexpf_use=no
22852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 ac_ext=c
22854 ac_cpp='$CPP $CPPFLAGS'
22855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22864 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22866 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22867 for ac_func in _ldexpf
22868 do :
22869 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22870 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22871 cat >>confdefs.h <<_ACEOF
22872 #define HAVE__LDEXPF 1
22873 _ACEOF
22876 done
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22886 $as_echo_n "checking for logf declaration... " >&6; }
22887 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22888 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22889 $as_echo_n "(cached) " >&6
22890 else
22893 ac_ext=cpp
22894 ac_cpp='$CXXCPP $CPPFLAGS'
22895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22900 /* end confdefs.h. */
22901 #include <math.h>
22902 #ifdef HAVE_IEEEFP_H
22903 #include <ieeefp.h>
22904 #endif
22907 main ()
22909 logf(0);
22911 return 0;
22913 _ACEOF
22914 if ac_fn_cxx_try_compile "$LINENO"; then :
22915 glibcxx_cv_func_logf_use=yes
22916 else
22917 glibcxx_cv_func_logf_use=no
22919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22920 ac_ext=c
22921 ac_cpp='$CPP $CPPFLAGS'
22922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22931 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22933 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22934 for ac_func in logf
22935 do :
22936 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22937 if test "x$ac_cv_func_logf" = x""yes; then :
22938 cat >>confdefs.h <<_ACEOF
22939 #define HAVE_LOGF 1
22940 _ACEOF
22943 done
22945 else
22947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22948 $as_echo_n "checking for _logf declaration... " >&6; }
22949 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22950 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22951 $as_echo_n "(cached) " >&6
22952 else
22955 ac_ext=cpp
22956 ac_cpp='$CXXCPP $CPPFLAGS'
22957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22962 /* end confdefs.h. */
22963 #include <math.h>
22964 #ifdef HAVE_IEEEFP_H
22965 #include <ieeefp.h>
22966 #endif
22969 main ()
22971 _logf(0);
22973 return 0;
22975 _ACEOF
22976 if ac_fn_cxx_try_compile "$LINENO"; then :
22977 glibcxx_cv_func__logf_use=yes
22978 else
22979 glibcxx_cv_func__logf_use=no
22981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22982 ac_ext=c
22983 ac_cpp='$CPP $CPPFLAGS'
22984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22993 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22995 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22996 for ac_func in _logf
22997 do :
22998 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22999 if test "x$ac_cv_func__logf" = x""yes; then :
23000 cat >>confdefs.h <<_ACEOF
23001 #define HAVE__LOGF 1
23002 _ACEOF
23005 done
23014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23015 $as_echo_n "checking for log10f declaration... " >&6; }
23016 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23017 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23018 $as_echo_n "(cached) " >&6
23019 else
23022 ac_ext=cpp
23023 ac_cpp='$CXXCPP $CPPFLAGS'
23024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23029 /* end confdefs.h. */
23030 #include <math.h>
23031 #ifdef HAVE_IEEEFP_H
23032 #include <ieeefp.h>
23033 #endif
23036 main ()
23038 log10f(0);
23040 return 0;
23042 _ACEOF
23043 if ac_fn_cxx_try_compile "$LINENO"; then :
23044 glibcxx_cv_func_log10f_use=yes
23045 else
23046 glibcxx_cv_func_log10f_use=no
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049 ac_ext=c
23050 ac_cpp='$CPP $CPPFLAGS'
23051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23060 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23062 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23063 for ac_func in log10f
23064 do :
23065 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23066 if test "x$ac_cv_func_log10f" = x""yes; then :
23067 cat >>confdefs.h <<_ACEOF
23068 #define HAVE_LOG10F 1
23069 _ACEOF
23072 done
23074 else
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23077 $as_echo_n "checking for _log10f declaration... " >&6; }
23078 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23079 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23080 $as_echo_n "(cached) " >&6
23081 else
23084 ac_ext=cpp
23085 ac_cpp='$CXXCPP $CPPFLAGS'
23086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23092 #include <math.h>
23093 #ifdef HAVE_IEEEFP_H
23094 #include <ieeefp.h>
23095 #endif
23098 main ()
23100 _log10f(0);
23102 return 0;
23104 _ACEOF
23105 if ac_fn_cxx_try_compile "$LINENO"; then :
23106 glibcxx_cv_func__log10f_use=yes
23107 else
23108 glibcxx_cv_func__log10f_use=no
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23111 ac_ext=c
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23122 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23124 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23125 for ac_func in _log10f
23126 do :
23127 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23128 if test "x$ac_cv_func__log10f" = x""yes; then :
23129 cat >>confdefs.h <<_ACEOF
23130 #define HAVE__LOG10F 1
23131 _ACEOF
23134 done
23143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23144 $as_echo_n "checking for modff declaration... " >&6; }
23145 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23146 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23147 $as_echo_n "(cached) " >&6
23148 else
23151 ac_ext=cpp
23152 ac_cpp='$CXXCPP $CPPFLAGS'
23153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23158 /* end confdefs.h. */
23159 #include <math.h>
23161 main ()
23163 modff(0, 0);
23165 return 0;
23167 _ACEOF
23168 if ac_fn_cxx_try_compile "$LINENO"; then :
23169 glibcxx_cv_func_modff_use=yes
23170 else
23171 glibcxx_cv_func_modff_use=no
23173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23174 ac_ext=c
23175 ac_cpp='$CPP $CPPFLAGS'
23176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23185 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23187 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23188 for ac_func in modff
23189 do :
23190 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23191 if test "x$ac_cv_func_modff" = x""yes; then :
23192 cat >>confdefs.h <<_ACEOF
23193 #define HAVE_MODFF 1
23194 _ACEOF
23197 done
23199 else
23201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23202 $as_echo_n "checking for _modff declaration... " >&6; }
23203 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23204 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23205 $as_echo_n "(cached) " >&6
23206 else
23209 ac_ext=cpp
23210 ac_cpp='$CXXCPP $CPPFLAGS'
23211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23216 /* end confdefs.h. */
23217 #include <math.h>
23219 main ()
23221 _modff(0, 0);
23223 return 0;
23225 _ACEOF
23226 if ac_fn_cxx_try_compile "$LINENO"; then :
23227 glibcxx_cv_func__modff_use=yes
23228 else
23229 glibcxx_cv_func__modff_use=no
23231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23232 ac_ext=c
23233 ac_cpp='$CPP $CPPFLAGS'
23234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23243 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23245 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23246 for ac_func in _modff
23247 do :
23248 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23249 if test "x$ac_cv_func__modff" = x""yes; then :
23250 cat >>confdefs.h <<_ACEOF
23251 #define HAVE__MODFF 1
23252 _ACEOF
23255 done
23264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23265 $as_echo_n "checking for modf declaration... " >&6; }
23266 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23267 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23268 $as_echo_n "(cached) " >&6
23269 else
23272 ac_ext=cpp
23273 ac_cpp='$CXXCPP $CPPFLAGS'
23274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23279 /* end confdefs.h. */
23280 #include <math.h>
23282 main ()
23284 modf(0, 0);
23286 return 0;
23288 _ACEOF
23289 if ac_fn_cxx_try_compile "$LINENO"; then :
23290 glibcxx_cv_func_modf_use=yes
23291 else
23292 glibcxx_cv_func_modf_use=no
23294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23295 ac_ext=c
23296 ac_cpp='$CPP $CPPFLAGS'
23297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23306 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23308 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23309 for ac_func in modf
23310 do :
23311 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23312 if test "x$ac_cv_func_modf" = x""yes; then :
23313 cat >>confdefs.h <<_ACEOF
23314 #define HAVE_MODF 1
23315 _ACEOF
23318 done
23320 else
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23323 $as_echo_n "checking for _modf declaration... " >&6; }
23324 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23325 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23326 $as_echo_n "(cached) " >&6
23327 else
23330 ac_ext=cpp
23331 ac_cpp='$CXXCPP $CPPFLAGS'
23332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23337 /* end confdefs.h. */
23338 #include <math.h>
23340 main ()
23342 _modf(0, 0);
23344 return 0;
23346 _ACEOF
23347 if ac_fn_cxx_try_compile "$LINENO"; then :
23348 glibcxx_cv_func__modf_use=yes
23349 else
23350 glibcxx_cv_func__modf_use=no
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 ac_ext=c
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23364 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23366 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23367 for ac_func in _modf
23368 do :
23369 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23370 if test "x$ac_cv_func__modf" = x""yes; then :
23371 cat >>confdefs.h <<_ACEOF
23372 #define HAVE__MODF 1
23373 _ACEOF
23376 done
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23386 $as_echo_n "checking for powf declaration... " >&6; }
23387 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23388 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23389 $as_echo_n "(cached) " >&6
23390 else
23393 ac_ext=cpp
23394 ac_cpp='$CXXCPP $CPPFLAGS'
23395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23400 /* end confdefs.h. */
23401 #include <math.h>
23403 main ()
23405 powf(0, 0);
23407 return 0;
23409 _ACEOF
23410 if ac_fn_cxx_try_compile "$LINENO"; then :
23411 glibcxx_cv_func_powf_use=yes
23412 else
23413 glibcxx_cv_func_powf_use=no
23415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23416 ac_ext=c
23417 ac_cpp='$CPP $CPPFLAGS'
23418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23427 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23429 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23430 for ac_func in powf
23431 do :
23432 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23433 if test "x$ac_cv_func_powf" = x""yes; then :
23434 cat >>confdefs.h <<_ACEOF
23435 #define HAVE_POWF 1
23436 _ACEOF
23439 done
23441 else
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23444 $as_echo_n "checking for _powf declaration... " >&6; }
23445 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23446 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23447 $as_echo_n "(cached) " >&6
23448 else
23451 ac_ext=cpp
23452 ac_cpp='$CXXCPP $CPPFLAGS'
23453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23458 /* end confdefs.h. */
23459 #include <math.h>
23461 main ()
23463 _powf(0, 0);
23465 return 0;
23467 _ACEOF
23468 if ac_fn_cxx_try_compile "$LINENO"; then :
23469 glibcxx_cv_func__powf_use=yes
23470 else
23471 glibcxx_cv_func__powf_use=no
23473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23474 ac_ext=c
23475 ac_cpp='$CPP $CPPFLAGS'
23476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23485 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23487 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23488 for ac_func in _powf
23489 do :
23490 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23491 if test "x$ac_cv_func__powf" = x""yes; then :
23492 cat >>confdefs.h <<_ACEOF
23493 #define HAVE__POWF 1
23494 _ACEOF
23497 done
23506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23507 $as_echo_n "checking for sqrtf declaration... " >&6; }
23508 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23509 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23510 $as_echo_n "(cached) " >&6
23511 else
23514 ac_ext=cpp
23515 ac_cpp='$CXXCPP $CPPFLAGS'
23516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23521 /* end confdefs.h. */
23522 #include <math.h>
23523 #ifdef HAVE_IEEEFP_H
23524 #include <ieeefp.h>
23525 #endif
23528 main ()
23530 sqrtf(0);
23532 return 0;
23534 _ACEOF
23535 if ac_fn_cxx_try_compile "$LINENO"; then :
23536 glibcxx_cv_func_sqrtf_use=yes
23537 else
23538 glibcxx_cv_func_sqrtf_use=no
23540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23541 ac_ext=c
23542 ac_cpp='$CPP $CPPFLAGS'
23543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23552 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23554 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23555 for ac_func in sqrtf
23556 do :
23557 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23558 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23559 cat >>confdefs.h <<_ACEOF
23560 #define HAVE_SQRTF 1
23561 _ACEOF
23564 done
23566 else
23568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23569 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23570 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23571 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23572 $as_echo_n "(cached) " >&6
23573 else
23576 ac_ext=cpp
23577 ac_cpp='$CXXCPP $CPPFLAGS'
23578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23583 /* end confdefs.h. */
23584 #include <math.h>
23585 #ifdef HAVE_IEEEFP_H
23586 #include <ieeefp.h>
23587 #endif
23590 main ()
23592 _sqrtf(0);
23594 return 0;
23596 _ACEOF
23597 if ac_fn_cxx_try_compile "$LINENO"; then :
23598 glibcxx_cv_func__sqrtf_use=yes
23599 else
23600 glibcxx_cv_func__sqrtf_use=no
23602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23603 ac_ext=c
23604 ac_cpp='$CPP $CPPFLAGS'
23605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23614 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23616 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23617 for ac_func in _sqrtf
23618 do :
23619 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23620 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23621 cat >>confdefs.h <<_ACEOF
23622 #define HAVE__SQRTF 1
23623 _ACEOF
23626 done
23635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23636 $as_echo_n "checking for sincosf declaration... " >&6; }
23637 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23638 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23639 $as_echo_n "(cached) " >&6
23640 else
23643 ac_ext=cpp
23644 ac_cpp='$CXXCPP $CPPFLAGS'
23645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23650 /* end confdefs.h. */
23651 #include <math.h>
23653 main ()
23655 sincosf(0, 0, 0);
23657 return 0;
23659 _ACEOF
23660 if ac_fn_cxx_try_compile "$LINENO"; then :
23661 glibcxx_cv_func_sincosf_use=yes
23662 else
23663 glibcxx_cv_func_sincosf_use=no
23665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23666 ac_ext=c
23667 ac_cpp='$CPP $CPPFLAGS'
23668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23677 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23679 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23680 for ac_func in sincosf
23681 do :
23682 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23683 if test "x$ac_cv_func_sincosf" = x""yes; then :
23684 cat >>confdefs.h <<_ACEOF
23685 #define HAVE_SINCOSF 1
23686 _ACEOF
23689 done
23691 else
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23694 $as_echo_n "checking for _sincosf declaration... " >&6; }
23695 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23696 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23697 $as_echo_n "(cached) " >&6
23698 else
23701 ac_ext=cpp
23702 ac_cpp='$CXXCPP $CPPFLAGS'
23703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23708 /* end confdefs.h. */
23709 #include <math.h>
23711 main ()
23713 _sincosf(0, 0, 0);
23715 return 0;
23717 _ACEOF
23718 if ac_fn_cxx_try_compile "$LINENO"; then :
23719 glibcxx_cv_func__sincosf_use=yes
23720 else
23721 glibcxx_cv_func__sincosf_use=no
23723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23724 ac_ext=c
23725 ac_cpp='$CPP $CPPFLAGS'
23726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23735 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23737 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23738 for ac_func in _sincosf
23739 do :
23740 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23741 if test "x$ac_cv_func__sincosf" = x""yes; then :
23742 cat >>confdefs.h <<_ACEOF
23743 #define HAVE__SINCOSF 1
23744 _ACEOF
23747 done
23756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23757 $as_echo_n "checking for finitef declaration... " >&6; }
23758 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23759 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23760 $as_echo_n "(cached) " >&6
23761 else
23764 ac_ext=cpp
23765 ac_cpp='$CXXCPP $CPPFLAGS'
23766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23771 /* end confdefs.h. */
23772 #include <math.h>
23773 #ifdef HAVE_IEEEFP_H
23774 #include <ieeefp.h>
23775 #endif
23778 main ()
23780 finitef(0);
23782 return 0;
23784 _ACEOF
23785 if ac_fn_cxx_try_compile "$LINENO"; then :
23786 glibcxx_cv_func_finitef_use=yes
23787 else
23788 glibcxx_cv_func_finitef_use=no
23790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23791 ac_ext=c
23792 ac_cpp='$CPP $CPPFLAGS'
23793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23802 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23804 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23805 for ac_func in finitef
23806 do :
23807 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23808 if test "x$ac_cv_func_finitef" = x""yes; then :
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE_FINITEF 1
23811 _ACEOF
23814 done
23816 else
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23819 $as_echo_n "checking for _finitef declaration... " >&6; }
23820 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23821 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23835 #ifdef HAVE_IEEEFP_H
23836 #include <ieeefp.h>
23837 #endif
23840 main ()
23842 _finitef(0);
23844 return 0;
23846 _ACEOF
23847 if ac_fn_cxx_try_compile "$LINENO"; then :
23848 glibcxx_cv_func__finitef_use=yes
23849 else
23850 glibcxx_cv_func__finitef_use=no
23852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23853 ac_ext=c
23854 ac_cpp='$CPP $CPPFLAGS'
23855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23864 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23866 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23867 for ac_func in _finitef
23868 do :
23869 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23870 if test "x$ac_cv_func__finitef" = x""yes; then :
23871 cat >>confdefs.h <<_ACEOF
23872 #define HAVE__FINITEF 1
23873 _ACEOF
23876 done
23885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23886 $as_echo_n "checking for long double trig functions... " >&6; }
23887 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23888 $as_echo_n "(cached) " >&6
23889 else
23892 ac_ext=cpp
23893 ac_cpp='$CXXCPP $CPPFLAGS'
23894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23899 /* end confdefs.h. */
23900 #include <math.h>
23902 main ()
23904 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23906 return 0;
23908 _ACEOF
23909 if ac_fn_cxx_try_compile "$LINENO"; then :
23910 glibcxx_cv_func_long_double_trig_use=yes
23911 else
23912 glibcxx_cv_func_long_double_trig_use=no
23914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23915 ac_ext=c
23916 ac_cpp='$CPP $CPPFLAGS'
23917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23924 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23925 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23926 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23927 do :
23928 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23929 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23930 eval as_val=\$$as_ac_var
23931 if test "x$as_val" = x""yes; then :
23932 cat >>confdefs.h <<_ACEOF
23933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23934 _ACEOF
23937 done
23939 else
23940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23941 $as_echo_n "checking for _long double trig functions... " >&6; }
23942 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23943 $as_echo_n "(cached) " >&6
23944 else
23947 ac_ext=cpp
23948 ac_cpp='$CXXCPP $CPPFLAGS'
23949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23954 /* end confdefs.h. */
23955 #include <math.h>
23957 main ()
23959 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23961 return 0;
23963 _ACEOF
23964 if ac_fn_cxx_try_compile "$LINENO"; then :
23965 glibcxx_cv_func__long_double_trig_use=yes
23966 else
23967 glibcxx_cv_func__long_double_trig_use=no
23969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23970 ac_ext=c
23971 ac_cpp='$CPP $CPPFLAGS'
23972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23979 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23980 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23981 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23982 do :
23983 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23984 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23985 eval as_val=\$$as_ac_var
23986 if test "x$as_val" = x""yes; then :
23987 cat >>confdefs.h <<_ACEOF
23988 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23989 _ACEOF
23992 done
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24002 $as_echo_n "checking for long double round functions... " >&6; }
24003 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24004 $as_echo_n "(cached) " >&6
24005 else
24008 ac_ext=cpp
24009 ac_cpp='$CXXCPP $CPPFLAGS'
24010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24015 /* end confdefs.h. */
24016 #include <math.h>
24018 main ()
24020 ceill (0); floorl (0);
24022 return 0;
24024 _ACEOF
24025 if ac_fn_cxx_try_compile "$LINENO"; then :
24026 glibcxx_cv_func_long_double_round_use=yes
24027 else
24028 glibcxx_cv_func_long_double_round_use=no
24030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24031 ac_ext=c
24032 ac_cpp='$CPP $CPPFLAGS'
24033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24040 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24041 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24042 for ac_func in ceill floorl
24043 do :
24044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24046 eval as_val=\$$as_ac_var
24047 if test "x$as_val" = x""yes; then :
24048 cat >>confdefs.h <<_ACEOF
24049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24050 _ACEOF
24053 done
24055 else
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24057 $as_echo_n "checking for _long double round functions... " >&6; }
24058 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24059 $as_echo_n "(cached) " >&6
24060 else
24063 ac_ext=cpp
24064 ac_cpp='$CXXCPP $CPPFLAGS'
24065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24070 /* end confdefs.h. */
24071 #include <math.h>
24073 main ()
24075 _ceill (0); _floorl (0);
24077 return 0;
24079 _ACEOF
24080 if ac_fn_cxx_try_compile "$LINENO"; then :
24081 glibcxx_cv_func__long_double_round_use=yes
24082 else
24083 glibcxx_cv_func__long_double_round_use=no
24085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24086 ac_ext=c
24087 ac_cpp='$CPP $CPPFLAGS'
24088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24095 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24096 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24097 for ac_func in _ceill _floorl
24098 do :
24099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24101 eval as_val=\$$as_ac_var
24102 if test "x$as_val" = x""yes; then :
24103 cat >>confdefs.h <<_ACEOF
24104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24105 _ACEOF
24108 done
24118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24119 $as_echo_n "checking for isnanl declaration... " >&6; }
24120 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24121 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24122 $as_echo_n "(cached) " >&6
24123 else
24126 ac_ext=cpp
24127 ac_cpp='$CXXCPP $CPPFLAGS'
24128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24133 /* end confdefs.h. */
24134 #include <math.h>
24135 #ifdef HAVE_IEEEFP_H
24136 #include <ieeefp.h>
24137 #endif
24140 main ()
24142 isnanl(0);
24144 return 0;
24146 _ACEOF
24147 if ac_fn_cxx_try_compile "$LINENO"; then :
24148 glibcxx_cv_func_isnanl_use=yes
24149 else
24150 glibcxx_cv_func_isnanl_use=no
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 ac_ext=c
24154 ac_cpp='$CPP $CPPFLAGS'
24155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24164 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24166 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24167 for ac_func in isnanl
24168 do :
24169 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24170 if test "x$ac_cv_func_isnanl" = x""yes; then :
24171 cat >>confdefs.h <<_ACEOF
24172 #define HAVE_ISNANL 1
24173 _ACEOF
24176 done
24178 else
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24181 $as_echo_n "checking for _isnanl declaration... " >&6; }
24182 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24183 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24184 $as_echo_n "(cached) " >&6
24185 else
24188 ac_ext=cpp
24189 ac_cpp='$CXXCPP $CPPFLAGS'
24190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24196 #include <math.h>
24197 #ifdef HAVE_IEEEFP_H
24198 #include <ieeefp.h>
24199 #endif
24202 main ()
24204 _isnanl(0);
24206 return 0;
24208 _ACEOF
24209 if ac_fn_cxx_try_compile "$LINENO"; then :
24210 glibcxx_cv_func__isnanl_use=yes
24211 else
24212 glibcxx_cv_func__isnanl_use=no
24214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24215 ac_ext=c
24216 ac_cpp='$CPP $CPPFLAGS'
24217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24226 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24228 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24229 for ac_func in _isnanl
24230 do :
24231 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24232 if test "x$ac_cv_func__isnanl" = x""yes; then :
24233 cat >>confdefs.h <<_ACEOF
24234 #define HAVE__ISNANL 1
24235 _ACEOF
24238 done
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24248 $as_echo_n "checking for isinfl declaration... " >&6; }
24249 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24250 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24251 $as_echo_n "(cached) " >&6
24252 else
24255 ac_ext=cpp
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24262 /* end confdefs.h. */
24263 #include <math.h>
24264 #ifdef HAVE_IEEEFP_H
24265 #include <ieeefp.h>
24266 #endif
24269 main ()
24271 isinfl(0);
24273 return 0;
24275 _ACEOF
24276 if ac_fn_cxx_try_compile "$LINENO"; then :
24277 glibcxx_cv_func_isinfl_use=yes
24278 else
24279 glibcxx_cv_func_isinfl_use=no
24281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24282 ac_ext=c
24283 ac_cpp='$CPP $CPPFLAGS'
24284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24293 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24295 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24296 for ac_func in isinfl
24297 do :
24298 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24299 if test "x$ac_cv_func_isinfl" = x""yes; then :
24300 cat >>confdefs.h <<_ACEOF
24301 #define HAVE_ISINFL 1
24302 _ACEOF
24305 done
24307 else
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24310 $as_echo_n "checking for _isinfl declaration... " >&6; }
24311 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24312 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24313 $as_echo_n "(cached) " >&6
24314 else
24317 ac_ext=cpp
24318 ac_cpp='$CXXCPP $CPPFLAGS'
24319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24325 #include <math.h>
24326 #ifdef HAVE_IEEEFP_H
24327 #include <ieeefp.h>
24328 #endif
24331 main ()
24333 _isinfl(0);
24335 return 0;
24337 _ACEOF
24338 if ac_fn_cxx_try_compile "$LINENO"; then :
24339 glibcxx_cv_func__isinfl_use=yes
24340 else
24341 glibcxx_cv_func__isinfl_use=no
24343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24344 ac_ext=c
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24355 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24357 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24358 for ac_func in _isinfl
24359 do :
24360 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24361 if test "x$ac_cv_func__isinfl" = x""yes; then :
24362 cat >>confdefs.h <<_ACEOF
24363 #define HAVE__ISINFL 1
24364 _ACEOF
24367 done
24376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24377 $as_echo_n "checking for atan2l declaration... " >&6; }
24378 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24379 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24380 $as_echo_n "(cached) " >&6
24381 else
24384 ac_ext=cpp
24385 ac_cpp='$CXXCPP $CPPFLAGS'
24386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24391 /* end confdefs.h. */
24392 #include <math.h>
24394 main ()
24396 atan2l(0, 0);
24398 return 0;
24400 _ACEOF
24401 if ac_fn_cxx_try_compile "$LINENO"; then :
24402 glibcxx_cv_func_atan2l_use=yes
24403 else
24404 glibcxx_cv_func_atan2l_use=no
24406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24407 ac_ext=c
24408 ac_cpp='$CPP $CPPFLAGS'
24409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24418 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24420 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24421 for ac_func in atan2l
24422 do :
24423 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24424 if test "x$ac_cv_func_atan2l" = x""yes; then :
24425 cat >>confdefs.h <<_ACEOF
24426 #define HAVE_ATAN2L 1
24427 _ACEOF
24430 done
24432 else
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24435 $as_echo_n "checking for _atan2l declaration... " >&6; }
24436 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24437 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24438 $as_echo_n "(cached) " >&6
24439 else
24442 ac_ext=cpp
24443 ac_cpp='$CXXCPP $CPPFLAGS'
24444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24449 /* end confdefs.h. */
24450 #include <math.h>
24452 main ()
24454 _atan2l(0, 0);
24456 return 0;
24458 _ACEOF
24459 if ac_fn_cxx_try_compile "$LINENO"; then :
24460 glibcxx_cv_func__atan2l_use=yes
24461 else
24462 glibcxx_cv_func__atan2l_use=no
24464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24465 ac_ext=c
24466 ac_cpp='$CPP $CPPFLAGS'
24467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24476 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24478 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24479 for ac_func in _atan2l
24480 do :
24481 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24482 if test "x$ac_cv_func__atan2l" = x""yes; then :
24483 cat >>confdefs.h <<_ACEOF
24484 #define HAVE__ATAN2L 1
24485 _ACEOF
24488 done
24497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24498 $as_echo_n "checking for expl declaration... " >&6; }
24499 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24500 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24501 $as_echo_n "(cached) " >&6
24502 else
24505 ac_ext=cpp
24506 ac_cpp='$CXXCPP $CPPFLAGS'
24507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24512 /* end confdefs.h. */
24513 #include <math.h>
24514 #ifdef HAVE_IEEEFP_H
24515 #include <ieeefp.h>
24516 #endif
24519 main ()
24521 expl(0);
24523 return 0;
24525 _ACEOF
24526 if ac_fn_cxx_try_compile "$LINENO"; then :
24527 glibcxx_cv_func_expl_use=yes
24528 else
24529 glibcxx_cv_func_expl_use=no
24531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24532 ac_ext=c
24533 ac_cpp='$CPP $CPPFLAGS'
24534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24543 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24545 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24546 for ac_func in expl
24547 do :
24548 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24549 if test "x$ac_cv_func_expl" = x""yes; then :
24550 cat >>confdefs.h <<_ACEOF
24551 #define HAVE_EXPL 1
24552 _ACEOF
24555 done
24557 else
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24560 $as_echo_n "checking for _expl declaration... " >&6; }
24561 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24562 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24576 #ifdef HAVE_IEEEFP_H
24577 #include <ieeefp.h>
24578 #endif
24581 main ()
24583 _expl(0);
24585 return 0;
24587 _ACEOF
24588 if ac_fn_cxx_try_compile "$LINENO"; then :
24589 glibcxx_cv_func__expl_use=yes
24590 else
24591 glibcxx_cv_func__expl_use=no
24593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24594 ac_ext=c
24595 ac_cpp='$CPP $CPPFLAGS'
24596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24605 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24607 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24608 for ac_func in _expl
24609 do :
24610 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24611 if test "x$ac_cv_func__expl" = x""yes; then :
24612 cat >>confdefs.h <<_ACEOF
24613 #define HAVE__EXPL 1
24614 _ACEOF
24617 done
24626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24627 $as_echo_n "checking for fabsl declaration... " >&6; }
24628 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24629 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24630 $as_echo_n "(cached) " >&6
24631 else
24634 ac_ext=cpp
24635 ac_cpp='$CXXCPP $CPPFLAGS'
24636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24641 /* end confdefs.h. */
24642 #include <math.h>
24643 #ifdef HAVE_IEEEFP_H
24644 #include <ieeefp.h>
24645 #endif
24648 main ()
24650 fabsl(0);
24652 return 0;
24654 _ACEOF
24655 if ac_fn_cxx_try_compile "$LINENO"; then :
24656 glibcxx_cv_func_fabsl_use=yes
24657 else
24658 glibcxx_cv_func_fabsl_use=no
24660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24661 ac_ext=c
24662 ac_cpp='$CPP $CPPFLAGS'
24663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24672 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24674 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24675 for ac_func in fabsl
24676 do :
24677 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24678 if test "x$ac_cv_func_fabsl" = x""yes; then :
24679 cat >>confdefs.h <<_ACEOF
24680 #define HAVE_FABSL 1
24681 _ACEOF
24684 done
24686 else
24688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24689 $as_echo_n "checking for _fabsl declaration... " >&6; }
24690 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24691 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24692 $as_echo_n "(cached) " >&6
24693 else
24696 ac_ext=cpp
24697 ac_cpp='$CXXCPP $CPPFLAGS'
24698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24703 /* end confdefs.h. */
24704 #include <math.h>
24705 #ifdef HAVE_IEEEFP_H
24706 #include <ieeefp.h>
24707 #endif
24710 main ()
24712 _fabsl(0);
24714 return 0;
24716 _ACEOF
24717 if ac_fn_cxx_try_compile "$LINENO"; then :
24718 glibcxx_cv_func__fabsl_use=yes
24719 else
24720 glibcxx_cv_func__fabsl_use=no
24722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24723 ac_ext=c
24724 ac_cpp='$CPP $CPPFLAGS'
24725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24734 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24736 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24737 for ac_func in _fabsl
24738 do :
24739 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24740 if test "x$ac_cv_func__fabsl" = x""yes; then :
24741 cat >>confdefs.h <<_ACEOF
24742 #define HAVE__FABSL 1
24743 _ACEOF
24746 done
24755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24756 $as_echo_n "checking for fmodl declaration... " >&6; }
24757 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24758 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24759 $as_echo_n "(cached) " >&6
24760 else
24763 ac_ext=cpp
24764 ac_cpp='$CXXCPP $CPPFLAGS'
24765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24770 /* end confdefs.h. */
24771 #include <math.h>
24773 main ()
24775 fmodl(0, 0);
24777 return 0;
24779 _ACEOF
24780 if ac_fn_cxx_try_compile "$LINENO"; then :
24781 glibcxx_cv_func_fmodl_use=yes
24782 else
24783 glibcxx_cv_func_fmodl_use=no
24785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24786 ac_ext=c
24787 ac_cpp='$CPP $CPPFLAGS'
24788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24797 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24799 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24800 for ac_func in fmodl
24801 do :
24802 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24803 if test "x$ac_cv_func_fmodl" = x""yes; then :
24804 cat >>confdefs.h <<_ACEOF
24805 #define HAVE_FMODL 1
24806 _ACEOF
24809 done
24811 else
24813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24814 $as_echo_n "checking for _fmodl declaration... " >&6; }
24815 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24816 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24817 $as_echo_n "(cached) " >&6
24818 else
24821 ac_ext=cpp
24822 ac_cpp='$CXXCPP $CPPFLAGS'
24823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24828 /* end confdefs.h. */
24829 #include <math.h>
24831 main ()
24833 _fmodl(0, 0);
24835 return 0;
24837 _ACEOF
24838 if ac_fn_cxx_try_compile "$LINENO"; then :
24839 glibcxx_cv_func__fmodl_use=yes
24840 else
24841 glibcxx_cv_func__fmodl_use=no
24843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24844 ac_ext=c
24845 ac_cpp='$CPP $CPPFLAGS'
24846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24855 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24857 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24858 for ac_func in _fmodl
24859 do :
24860 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24861 if test "x$ac_cv_func__fmodl" = x""yes; then :
24862 cat >>confdefs.h <<_ACEOF
24863 #define HAVE__FMODL 1
24864 _ACEOF
24867 done
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24877 $as_echo_n "checking for frexpl declaration... " >&6; }
24878 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24879 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24880 $as_echo_n "(cached) " >&6
24881 else
24884 ac_ext=cpp
24885 ac_cpp='$CXXCPP $CPPFLAGS'
24886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24891 /* end confdefs.h. */
24892 #include <math.h>
24894 main ()
24896 frexpl(0, 0);
24898 return 0;
24900 _ACEOF
24901 if ac_fn_cxx_try_compile "$LINENO"; then :
24902 glibcxx_cv_func_frexpl_use=yes
24903 else
24904 glibcxx_cv_func_frexpl_use=no
24906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24907 ac_ext=c
24908 ac_cpp='$CPP $CPPFLAGS'
24909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24918 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24920 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24921 for ac_func in frexpl
24922 do :
24923 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24924 if test "x$ac_cv_func_frexpl" = x""yes; then :
24925 cat >>confdefs.h <<_ACEOF
24926 #define HAVE_FREXPL 1
24927 _ACEOF
24930 done
24932 else
24934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24935 $as_echo_n "checking for _frexpl declaration... " >&6; }
24936 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24937 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24938 $as_echo_n "(cached) " >&6
24939 else
24942 ac_ext=cpp
24943 ac_cpp='$CXXCPP $CPPFLAGS'
24944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24949 /* end confdefs.h. */
24950 #include <math.h>
24952 main ()
24954 _frexpl(0, 0);
24956 return 0;
24958 _ACEOF
24959 if ac_fn_cxx_try_compile "$LINENO"; then :
24960 glibcxx_cv_func__frexpl_use=yes
24961 else
24962 glibcxx_cv_func__frexpl_use=no
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24976 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24978 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24979 for ac_func in _frexpl
24980 do :
24981 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24982 if test "x$ac_cv_func__frexpl" = x""yes; then :
24983 cat >>confdefs.h <<_ACEOF
24984 #define HAVE__FREXPL 1
24985 _ACEOF
24988 done
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24998 $as_echo_n "checking for hypotl declaration... " >&6; }
24999 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25000 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25001 $as_echo_n "(cached) " >&6
25002 else
25005 ac_ext=cpp
25006 ac_cpp='$CXXCPP $CPPFLAGS'
25007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25012 /* end confdefs.h. */
25013 #include <math.h>
25015 main ()
25017 hypotl(0, 0);
25019 return 0;
25021 _ACEOF
25022 if ac_fn_cxx_try_compile "$LINENO"; then :
25023 glibcxx_cv_func_hypotl_use=yes
25024 else
25025 glibcxx_cv_func_hypotl_use=no
25027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25028 ac_ext=c
25029 ac_cpp='$CPP $CPPFLAGS'
25030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25039 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25041 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25042 for ac_func in hypotl
25043 do :
25044 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25045 if test "x$ac_cv_func_hypotl" = x""yes; then :
25046 cat >>confdefs.h <<_ACEOF
25047 #define HAVE_HYPOTL 1
25048 _ACEOF
25051 done
25053 else
25055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25056 $as_echo_n "checking for _hypotl declaration... " >&6; }
25057 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25058 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25059 $as_echo_n "(cached) " >&6
25060 else
25063 ac_ext=cpp
25064 ac_cpp='$CXXCPP $CPPFLAGS'
25065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25070 /* end confdefs.h. */
25071 #include <math.h>
25073 main ()
25075 _hypotl(0, 0);
25077 return 0;
25079 _ACEOF
25080 if ac_fn_cxx_try_compile "$LINENO"; then :
25081 glibcxx_cv_func__hypotl_use=yes
25082 else
25083 glibcxx_cv_func__hypotl_use=no
25085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25086 ac_ext=c
25087 ac_cpp='$CPP $CPPFLAGS'
25088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25097 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25099 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25100 for ac_func in _hypotl
25101 do :
25102 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25103 if test "x$ac_cv_func__hypotl" = x""yes; then :
25104 cat >>confdefs.h <<_ACEOF
25105 #define HAVE__HYPOTL 1
25106 _ACEOF
25109 done
25118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25119 $as_echo_n "checking for ldexpl declaration... " >&6; }
25120 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25121 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25122 $as_echo_n "(cached) " >&6
25123 else
25126 ac_ext=cpp
25127 ac_cpp='$CXXCPP $CPPFLAGS'
25128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25133 /* end confdefs.h. */
25134 #include <math.h>
25136 main ()
25138 ldexpl(0, 0);
25140 return 0;
25142 _ACEOF
25143 if ac_fn_cxx_try_compile "$LINENO"; then :
25144 glibcxx_cv_func_ldexpl_use=yes
25145 else
25146 glibcxx_cv_func_ldexpl_use=no
25148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25149 ac_ext=c
25150 ac_cpp='$CPP $CPPFLAGS'
25151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25160 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25162 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25163 for ac_func in ldexpl
25164 do :
25165 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25166 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25167 cat >>confdefs.h <<_ACEOF
25168 #define HAVE_LDEXPL 1
25169 _ACEOF
25172 done
25174 else
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25177 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25178 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25179 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25180 $as_echo_n "(cached) " >&6
25181 else
25184 ac_ext=cpp
25185 ac_cpp='$CXXCPP $CPPFLAGS'
25186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25191 /* end confdefs.h. */
25192 #include <math.h>
25194 main ()
25196 _ldexpl(0, 0);
25198 return 0;
25200 _ACEOF
25201 if ac_fn_cxx_try_compile "$LINENO"; then :
25202 glibcxx_cv_func__ldexpl_use=yes
25203 else
25204 glibcxx_cv_func__ldexpl_use=no
25206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25207 ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25218 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25220 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25221 for ac_func in _ldexpl
25222 do :
25223 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25224 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25225 cat >>confdefs.h <<_ACEOF
25226 #define HAVE__LDEXPL 1
25227 _ACEOF
25230 done
25239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25240 $as_echo_n "checking for logl declaration... " >&6; }
25241 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25242 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25243 $as_echo_n "(cached) " >&6
25244 else
25247 ac_ext=cpp
25248 ac_cpp='$CXXCPP $CPPFLAGS'
25249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25254 /* end confdefs.h. */
25255 #include <math.h>
25256 #ifdef HAVE_IEEEFP_H
25257 #include <ieeefp.h>
25258 #endif
25261 main ()
25263 logl(0);
25265 return 0;
25267 _ACEOF
25268 if ac_fn_cxx_try_compile "$LINENO"; then :
25269 glibcxx_cv_func_logl_use=yes
25270 else
25271 glibcxx_cv_func_logl_use=no
25273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25274 ac_ext=c
25275 ac_cpp='$CPP $CPPFLAGS'
25276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25285 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25287 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25288 for ac_func in logl
25289 do :
25290 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25291 if test "x$ac_cv_func_logl" = x""yes; then :
25292 cat >>confdefs.h <<_ACEOF
25293 #define HAVE_LOGL 1
25294 _ACEOF
25297 done
25299 else
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25302 $as_echo_n "checking for _logl declaration... " >&6; }
25303 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25304 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25305 $as_echo_n "(cached) " >&6
25306 else
25309 ac_ext=cpp
25310 ac_cpp='$CXXCPP $CPPFLAGS'
25311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25316 /* end confdefs.h. */
25317 #include <math.h>
25318 #ifdef HAVE_IEEEFP_H
25319 #include <ieeefp.h>
25320 #endif
25323 main ()
25325 _logl(0);
25327 return 0;
25329 _ACEOF
25330 if ac_fn_cxx_try_compile "$LINENO"; then :
25331 glibcxx_cv_func__logl_use=yes
25332 else
25333 glibcxx_cv_func__logl_use=no
25335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25336 ac_ext=c
25337 ac_cpp='$CPP $CPPFLAGS'
25338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25347 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25349 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25350 for ac_func in _logl
25351 do :
25352 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25353 if test "x$ac_cv_func__logl" = x""yes; then :
25354 cat >>confdefs.h <<_ACEOF
25355 #define HAVE__LOGL 1
25356 _ACEOF
25359 done
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25369 $as_echo_n "checking for log10l declaration... " >&6; }
25370 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25371 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25372 $as_echo_n "(cached) " >&6
25373 else
25376 ac_ext=cpp
25377 ac_cpp='$CXXCPP $CPPFLAGS'
25378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25383 /* end confdefs.h. */
25384 #include <math.h>
25385 #ifdef HAVE_IEEEFP_H
25386 #include <ieeefp.h>
25387 #endif
25390 main ()
25392 log10l(0);
25394 return 0;
25396 _ACEOF
25397 if ac_fn_cxx_try_compile "$LINENO"; then :
25398 glibcxx_cv_func_log10l_use=yes
25399 else
25400 glibcxx_cv_func_log10l_use=no
25402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25403 ac_ext=c
25404 ac_cpp='$CPP $CPPFLAGS'
25405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25414 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25416 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25417 for ac_func in log10l
25418 do :
25419 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25420 if test "x$ac_cv_func_log10l" = x""yes; then :
25421 cat >>confdefs.h <<_ACEOF
25422 #define HAVE_LOG10L 1
25423 _ACEOF
25426 done
25428 else
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25431 $as_echo_n "checking for _log10l declaration... " >&6; }
25432 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25433 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25434 $as_echo_n "(cached) " >&6
25435 else
25438 ac_ext=cpp
25439 ac_cpp='$CXXCPP $CPPFLAGS'
25440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25446 #include <math.h>
25447 #ifdef HAVE_IEEEFP_H
25448 #include <ieeefp.h>
25449 #endif
25452 main ()
25454 _log10l(0);
25456 return 0;
25458 _ACEOF
25459 if ac_fn_cxx_try_compile "$LINENO"; then :
25460 glibcxx_cv_func__log10l_use=yes
25461 else
25462 glibcxx_cv_func__log10l_use=no
25464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25465 ac_ext=c
25466 ac_cpp='$CPP $CPPFLAGS'
25467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25476 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25478 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25479 for ac_func in _log10l
25480 do :
25481 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25482 if test "x$ac_cv_func__log10l" = x""yes; then :
25483 cat >>confdefs.h <<_ACEOF
25484 #define HAVE__LOG10L 1
25485 _ACEOF
25488 done
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25498 $as_echo_n "checking for modfl declaration... " >&6; }
25499 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25500 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25501 $as_echo_n "(cached) " >&6
25502 else
25505 ac_ext=cpp
25506 ac_cpp='$CXXCPP $CPPFLAGS'
25507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25512 /* end confdefs.h. */
25513 #include <math.h>
25515 main ()
25517 modfl(0, 0);
25519 return 0;
25521 _ACEOF
25522 if ac_fn_cxx_try_compile "$LINENO"; then :
25523 glibcxx_cv_func_modfl_use=yes
25524 else
25525 glibcxx_cv_func_modfl_use=no
25527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25528 ac_ext=c
25529 ac_cpp='$CPP $CPPFLAGS'
25530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25539 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25541 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25542 for ac_func in modfl
25543 do :
25544 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25545 if test "x$ac_cv_func_modfl" = x""yes; then :
25546 cat >>confdefs.h <<_ACEOF
25547 #define HAVE_MODFL 1
25548 _ACEOF
25551 done
25553 else
25555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25556 $as_echo_n "checking for _modfl declaration... " >&6; }
25557 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25558 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25559 $as_echo_n "(cached) " >&6
25560 else
25563 ac_ext=cpp
25564 ac_cpp='$CXXCPP $CPPFLAGS'
25565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25570 /* end confdefs.h. */
25571 #include <math.h>
25573 main ()
25575 _modfl(0, 0);
25577 return 0;
25579 _ACEOF
25580 if ac_fn_cxx_try_compile "$LINENO"; then :
25581 glibcxx_cv_func__modfl_use=yes
25582 else
25583 glibcxx_cv_func__modfl_use=no
25585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25586 ac_ext=c
25587 ac_cpp='$CPP $CPPFLAGS'
25588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25597 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25599 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25600 for ac_func in _modfl
25601 do :
25602 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25603 if test "x$ac_cv_func__modfl" = x""yes; then :
25604 cat >>confdefs.h <<_ACEOF
25605 #define HAVE__MODFL 1
25606 _ACEOF
25609 done
25618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25619 $as_echo_n "checking for powl declaration... " >&6; }
25620 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25621 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25622 $as_echo_n "(cached) " >&6
25623 else
25626 ac_ext=cpp
25627 ac_cpp='$CXXCPP $CPPFLAGS'
25628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25633 /* end confdefs.h. */
25634 #include <math.h>
25636 main ()
25638 powl(0, 0);
25640 return 0;
25642 _ACEOF
25643 if ac_fn_cxx_try_compile "$LINENO"; then :
25644 glibcxx_cv_func_powl_use=yes
25645 else
25646 glibcxx_cv_func_powl_use=no
25648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25649 ac_ext=c
25650 ac_cpp='$CPP $CPPFLAGS'
25651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25660 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25662 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25663 for ac_func in powl
25664 do :
25665 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25666 if test "x$ac_cv_func_powl" = x""yes; then :
25667 cat >>confdefs.h <<_ACEOF
25668 #define HAVE_POWL 1
25669 _ACEOF
25672 done
25674 else
25676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25677 $as_echo_n "checking for _powl declaration... " >&6; }
25678 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25679 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25680 $as_echo_n "(cached) " >&6
25681 else
25684 ac_ext=cpp
25685 ac_cpp='$CXXCPP $CPPFLAGS'
25686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25691 /* end confdefs.h. */
25692 #include <math.h>
25694 main ()
25696 _powl(0, 0);
25698 return 0;
25700 _ACEOF
25701 if ac_fn_cxx_try_compile "$LINENO"; then :
25702 glibcxx_cv_func__powl_use=yes
25703 else
25704 glibcxx_cv_func__powl_use=no
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25707 ac_ext=c
25708 ac_cpp='$CPP $CPPFLAGS'
25709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25718 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25720 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25721 for ac_func in _powl
25722 do :
25723 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25724 if test "x$ac_cv_func__powl" = x""yes; then :
25725 cat >>confdefs.h <<_ACEOF
25726 #define HAVE__POWL 1
25727 _ACEOF
25730 done
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25740 $as_echo_n "checking for sqrtl declaration... " >&6; }
25741 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25742 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25743 $as_echo_n "(cached) " >&6
25744 else
25747 ac_ext=cpp
25748 ac_cpp='$CXXCPP $CPPFLAGS'
25749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25754 /* end confdefs.h. */
25755 #include <math.h>
25756 #ifdef HAVE_IEEEFP_H
25757 #include <ieeefp.h>
25758 #endif
25761 main ()
25763 sqrtl(0);
25765 return 0;
25767 _ACEOF
25768 if ac_fn_cxx_try_compile "$LINENO"; then :
25769 glibcxx_cv_func_sqrtl_use=yes
25770 else
25771 glibcxx_cv_func_sqrtl_use=no
25773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25774 ac_ext=c
25775 ac_cpp='$CPP $CPPFLAGS'
25776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25785 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25787 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25788 for ac_func in sqrtl
25789 do :
25790 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25791 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25792 cat >>confdefs.h <<_ACEOF
25793 #define HAVE_SQRTL 1
25794 _ACEOF
25797 done
25799 else
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25802 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25803 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25804 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25805 $as_echo_n "(cached) " >&6
25806 else
25809 ac_ext=cpp
25810 ac_cpp='$CXXCPP $CPPFLAGS'
25811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25817 #include <math.h>
25818 #ifdef HAVE_IEEEFP_H
25819 #include <ieeefp.h>
25820 #endif
25823 main ()
25825 _sqrtl(0);
25827 return 0;
25829 _ACEOF
25830 if ac_fn_cxx_try_compile "$LINENO"; then :
25831 glibcxx_cv_func__sqrtl_use=yes
25832 else
25833 glibcxx_cv_func__sqrtl_use=no
25835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25836 ac_ext=c
25837 ac_cpp='$CPP $CPPFLAGS'
25838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25847 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25849 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25850 for ac_func in _sqrtl
25851 do :
25852 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25853 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25854 cat >>confdefs.h <<_ACEOF
25855 #define HAVE__SQRTL 1
25856 _ACEOF
25859 done
25868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25869 $as_echo_n "checking for sincosl declaration... " >&6; }
25870 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25871 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25872 $as_echo_n "(cached) " >&6
25873 else
25876 ac_ext=cpp
25877 ac_cpp='$CXXCPP $CPPFLAGS'
25878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25883 /* end confdefs.h. */
25884 #include <math.h>
25886 main ()
25888 sincosl(0, 0, 0);
25890 return 0;
25892 _ACEOF
25893 if ac_fn_cxx_try_compile "$LINENO"; then :
25894 glibcxx_cv_func_sincosl_use=yes
25895 else
25896 glibcxx_cv_func_sincosl_use=no
25898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25899 ac_ext=c
25900 ac_cpp='$CPP $CPPFLAGS'
25901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25910 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25912 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25913 for ac_func in sincosl
25914 do :
25915 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25916 if test "x$ac_cv_func_sincosl" = x""yes; then :
25917 cat >>confdefs.h <<_ACEOF
25918 #define HAVE_SINCOSL 1
25919 _ACEOF
25922 done
25924 else
25926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25927 $as_echo_n "checking for _sincosl declaration... " >&6; }
25928 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25929 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25930 $as_echo_n "(cached) " >&6
25931 else
25934 ac_ext=cpp
25935 ac_cpp='$CXXCPP $CPPFLAGS'
25936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25941 /* end confdefs.h. */
25942 #include <math.h>
25944 main ()
25946 _sincosl(0, 0, 0);
25948 return 0;
25950 _ACEOF
25951 if ac_fn_cxx_try_compile "$LINENO"; then :
25952 glibcxx_cv_func__sincosl_use=yes
25953 else
25954 glibcxx_cv_func__sincosl_use=no
25956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25957 ac_ext=c
25958 ac_cpp='$CPP $CPPFLAGS'
25959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25968 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25970 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25971 for ac_func in _sincosl
25972 do :
25973 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25974 if test "x$ac_cv_func__sincosl" = x""yes; then :
25975 cat >>confdefs.h <<_ACEOF
25976 #define HAVE__SINCOSL 1
25977 _ACEOF
25980 done
25989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25990 $as_echo_n "checking for finitel declaration... " >&6; }
25991 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25992 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25993 $as_echo_n "(cached) " >&6
25994 else
25997 ac_ext=cpp
25998 ac_cpp='$CXXCPP $CPPFLAGS'
25999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26004 /* end confdefs.h. */
26005 #include <math.h>
26006 #ifdef HAVE_IEEEFP_H
26007 #include <ieeefp.h>
26008 #endif
26011 main ()
26013 finitel(0);
26015 return 0;
26017 _ACEOF
26018 if ac_fn_cxx_try_compile "$LINENO"; then :
26019 glibcxx_cv_func_finitel_use=yes
26020 else
26021 glibcxx_cv_func_finitel_use=no
26023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26024 ac_ext=c
26025 ac_cpp='$CPP $CPPFLAGS'
26026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26035 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26037 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26038 for ac_func in finitel
26039 do :
26040 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26041 if test "x$ac_cv_func_finitel" = x""yes; then :
26042 cat >>confdefs.h <<_ACEOF
26043 #define HAVE_FINITEL 1
26044 _ACEOF
26047 done
26049 else
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26052 $as_echo_n "checking for _finitel declaration... " >&6; }
26053 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26054 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26056 else
26059 ac_ext=cpp
26060 ac_cpp='$CXXCPP $CPPFLAGS'
26061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26066 /* end confdefs.h. */
26067 #include <math.h>
26068 #ifdef HAVE_IEEEFP_H
26069 #include <ieeefp.h>
26070 #endif
26073 main ()
26075 _finitel(0);
26077 return 0;
26079 _ACEOF
26080 if ac_fn_cxx_try_compile "$LINENO"; then :
26081 glibcxx_cv_func__finitel_use=yes
26082 else
26083 glibcxx_cv_func__finitel_use=no
26085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26086 ac_ext=c
26087 ac_cpp='$CPP $CPPFLAGS'
26088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26097 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26099 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26100 for ac_func in _finitel
26101 do :
26102 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26103 if test "x$ac_cv_func__finitel" = x""yes; then :
26104 cat >>confdefs.h <<_ACEOF
26105 #define HAVE__FINITEL 1
26106 _ACEOF
26109 done
26117 LIBS="$ac_save_LIBS"
26118 CXXFLAGS="$ac_save_CXXFLAGS"
26121 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26122 ac_save_CXXFLAGS="$CXXFLAGS"
26123 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26127 $as_echo_n "checking for strtold declaration... " >&6; }
26128 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26129 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26130 $as_echo_n "(cached) " >&6
26131 else
26134 ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 #include <stdlib.h>
26144 main ()
26146 strtold(0, 0);
26148 return 0;
26150 _ACEOF
26151 if ac_fn_cxx_try_compile "$LINENO"; then :
26152 glibcxx_cv_func_strtold_use=yes
26153 else
26154 glibcxx_cv_func_strtold_use=no
26156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157 ac_ext=c
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26168 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26169 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26170 for ac_func in strtold
26171 do :
26172 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26173 if test "x$ac_cv_func_strtold" = x""yes; then :
26174 cat >>confdefs.h <<_ACEOF
26175 #define HAVE_STRTOLD 1
26176 _ACEOF
26179 done
26186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26187 $as_echo_n "checking for strtof declaration... " >&6; }
26188 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26189 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26190 $as_echo_n "(cached) " >&6
26191 else
26194 ac_ext=cpp
26195 ac_cpp='$CXXCPP $CPPFLAGS'
26196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26201 /* end confdefs.h. */
26202 #include <stdlib.h>
26204 main ()
26206 strtof(0, 0);
26208 return 0;
26210 _ACEOF
26211 if ac_fn_cxx_try_compile "$LINENO"; then :
26212 glibcxx_cv_func_strtof_use=yes
26213 else
26214 glibcxx_cv_func_strtof_use=no
26216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26217 ac_ext=c
26218 ac_cpp='$CPP $CPPFLAGS'
26219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26228 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26229 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26230 for ac_func in strtof
26231 do :
26232 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26233 if test "x$ac_cv_func_strtof" = x""yes; then :
26234 cat >>confdefs.h <<_ACEOF
26235 #define HAVE_STRTOF 1
26236 _ACEOF
26239 done
26246 CXXFLAGS="$ac_save_CXXFLAGS"
26249 # For /dev/random and /dev/urandom for TR1.
26252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26253 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26254 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26255 $as_echo_n "(cached) " >&6
26256 else
26258 if test -r /dev/random && test -r /dev/urandom; then
26259 glibcxx_cv_random_tr1=yes;
26260 else
26261 glibcxx_cv_random_tr1=no;
26266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26267 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26269 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26271 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26277 # For TLS support.
26280 # Check whether --enable-tls was given.
26281 if test "${enable_tls+set}" = set; then :
26282 enableval=$enable_tls;
26283 case "$enableval" in
26284 yes|no) ;;
26285 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26286 esac
26288 else
26289 enable_tls=yes
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26294 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26295 if test "${gcc_cv_have_tls+set}" = set; then :
26296 $as_echo_n "(cached) " >&6
26297 else
26299 if test "$cross_compiling" = yes; then :
26300 if test x$gcc_no_link = xyes; then
26301 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26304 /* end confdefs.h. */
26305 __thread int a; int b; int main() { return a = b; }
26306 _ACEOF
26307 if ac_fn_c_try_link "$LINENO"; then :
26308 chktls_save_LDFLAGS="$LDFLAGS"
26309 case $host in
26310 *-*-linux*)
26311 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26313 esac
26314 chktls_save_CFLAGS="$CFLAGS"
26315 CFLAGS="-fPIC $CFLAGS"
26316 if test x$gcc_no_link = xyes; then
26317 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26320 /* end confdefs.h. */
26321 int f() { return 0; }
26322 _ACEOF
26323 if ac_fn_c_try_link "$LINENO"; then :
26324 if test x$gcc_no_link = xyes; then
26325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26329 __thread int a; int b; int f() { return a = b; }
26330 _ACEOF
26331 if ac_fn_c_try_link "$LINENO"; then :
26332 gcc_cv_have_tls=yes
26333 else
26334 gcc_cv_have_tls=no
26336 rm -f core conftest.err conftest.$ac_objext \
26337 conftest$ac_exeext conftest.$ac_ext
26338 else
26339 gcc_cv_have_tls=yes
26341 rm -f core conftest.err conftest.$ac_objext \
26342 conftest$ac_exeext conftest.$ac_ext
26343 CFLAGS="$chktls_save_CFLAGS"
26344 LDFLAGS="$chktls_save_LDFLAGS"
26345 else
26346 gcc_cv_have_tls=no
26348 rm -f core conftest.err conftest.$ac_objext \
26349 conftest$ac_exeext conftest.$ac_ext
26352 else
26353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26354 /* end confdefs.h. */
26355 __thread int a; int b; int main() { return a = b; }
26356 _ACEOF
26357 if ac_fn_c_try_run "$LINENO"; then :
26358 chktls_save_LDFLAGS="$LDFLAGS"
26359 LDFLAGS="-static $LDFLAGS"
26360 if test x$gcc_no_link = xyes; then
26361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26364 /* end confdefs.h. */
26365 int main() { return 0; }
26366 _ACEOF
26367 if ac_fn_c_try_link "$LINENO"; then :
26368 if test "$cross_compiling" = yes; then :
26369 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26371 as_fn_error "cannot run test program while cross compiling
26372 See \`config.log' for more details." "$LINENO" 5; }
26373 else
26374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26375 /* end confdefs.h. */
26376 __thread int a; int b; int main() { return a = b; }
26377 _ACEOF
26378 if ac_fn_c_try_run "$LINENO"; then :
26379 gcc_cv_have_tls=yes
26380 else
26381 gcc_cv_have_tls=no
26383 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26384 conftest.$ac_objext conftest.beam conftest.$ac_ext
26387 else
26388 gcc_cv_have_tls=yes
26390 rm -f core conftest.err conftest.$ac_objext \
26391 conftest$ac_exeext conftest.$ac_ext
26392 LDFLAGS="$chktls_save_LDFLAGS"
26393 if test $gcc_cv_have_tls = yes; then
26394 chktls_save_CFLAGS="$CFLAGS"
26395 thread_CFLAGS=failed
26396 for flag in '' '-pthread' '-lpthread'; do
26397 CFLAGS="$flag $chktls_save_CFLAGS"
26398 if test x$gcc_no_link = xyes; then
26399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26402 /* end confdefs.h. */
26403 #include <pthread.h>
26404 void *g(void *d) { return NULL; }
26406 main ()
26408 pthread_t t; pthread_create(&t,NULL,g,NULL);
26410 return 0;
26412 _ACEOF
26413 if ac_fn_c_try_link "$LINENO"; then :
26414 thread_CFLAGS="$flag"
26416 rm -f core conftest.err conftest.$ac_objext \
26417 conftest$ac_exeext conftest.$ac_ext
26418 if test "X$thread_CFLAGS" != Xfailed; then
26419 break
26421 done
26422 CFLAGS="$chktls_save_CFLAGS"
26423 if test "X$thread_CFLAGS" != Xfailed; then
26424 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26425 if test "$cross_compiling" = yes; then :
26426 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26427 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26428 as_fn_error "cannot run test program while cross compiling
26429 See \`config.log' for more details." "$LINENO" 5; }
26430 else
26431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26432 /* end confdefs.h. */
26433 #include <pthread.h>
26434 __thread int a;
26435 static int *volatile a_in_other_thread;
26436 static void *
26437 thread_func (void *arg)
26439 a_in_other_thread = &a;
26440 return (void *)0;
26443 main ()
26445 pthread_t thread;
26446 void *thread_retval;
26447 int *volatile a_in_main_thread;
26448 a_in_main_thread = &a;
26449 if (pthread_create (&thread, (pthread_attr_t *)0,
26450 thread_func, (void *)0))
26451 return 0;
26452 if (pthread_join (thread, &thread_retval))
26453 return 0;
26454 return (a_in_other_thread == a_in_main_thread);
26456 return 0;
26458 _ACEOF
26459 if ac_fn_c_try_run "$LINENO"; then :
26460 gcc_cv_have_tls=yes
26461 else
26462 gcc_cv_have_tls=no
26464 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26465 conftest.$ac_objext conftest.beam conftest.$ac_ext
26468 CFLAGS="$chktls_save_CFLAGS"
26471 else
26472 gcc_cv_have_tls=no
26474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26475 conftest.$ac_objext conftest.beam conftest.$ac_ext
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26480 $as_echo "$gcc_cv_have_tls" >&6; }
26481 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26483 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26487 # For iconv support.
26489 if test "X$prefix" = "XNONE"; then
26490 acl_final_prefix="$ac_default_prefix"
26491 else
26492 acl_final_prefix="$prefix"
26494 if test "X$exec_prefix" = "XNONE"; then
26495 acl_final_exec_prefix='${prefix}'
26496 else
26497 acl_final_exec_prefix="$exec_prefix"
26499 acl_save_prefix="$prefix"
26500 prefix="$acl_final_prefix"
26501 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26502 prefix="$acl_save_prefix"
26505 # Check whether --with-gnu-ld was given.
26506 if test "${with_gnu_ld+set}" = set; then :
26507 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26508 else
26509 with_gnu_ld=no
26512 # Prepare PATH_SEPARATOR.
26513 # The user is always right.
26514 if test "${PATH_SEPARATOR+set}" != set; then
26515 echo "#! /bin/sh" >conf$$.sh
26516 echo "exit 0" >>conf$$.sh
26517 chmod +x conf$$.sh
26518 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26519 PATH_SEPARATOR=';'
26520 else
26521 PATH_SEPARATOR=:
26523 rm -f conf$$.sh
26525 ac_prog=ld
26526 if test "$GCC" = yes; then
26527 # Check if gcc -print-prog-name=ld gives a path.
26528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26529 $as_echo_n "checking for ld used by GCC... " >&6; }
26530 case $host in
26531 *-*-mingw*)
26532 # gcc leaves a trailing carriage return which upsets mingw
26533 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26535 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26536 esac
26537 case $ac_prog in
26538 # Accept absolute paths.
26539 [\\/]* | [A-Za-z]:[\\/]*)
26540 re_direlt='/[^/][^/]*/\.\./'
26541 # Canonicalize the path of ld
26542 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26543 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26544 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26545 done
26546 test -z "$LD" && LD="$ac_prog"
26549 # If it fails, then pretend we aren't using GCC.
26550 ac_prog=ld
26553 # If it is relative, then search for the first ld in PATH.
26554 with_gnu_ld=unknown
26556 esac
26557 elif test "$with_gnu_ld" = yes; then
26558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26559 $as_echo_n "checking for GNU ld... " >&6; }
26560 else
26561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26562 $as_echo_n "checking for non-GNU ld... " >&6; }
26564 if test "${acl_cv_path_LD+set}" = set; then :
26565 $as_echo_n "(cached) " >&6
26566 else
26567 if test -z "$LD"; then
26568 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26569 for ac_dir in $PATH; do
26570 test -z "$ac_dir" && ac_dir=.
26571 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26572 acl_cv_path_LD="$ac_dir/$ac_prog"
26573 # Check to see if the program is GNU ld. I'd rather use --version,
26574 # but apparently some GNU ld's only accept -v.
26575 # Break only if it was the GNU/non-GNU ld that we prefer.
26576 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26577 test "$with_gnu_ld" != no && break
26578 else
26579 test "$with_gnu_ld" != yes && break
26582 done
26583 IFS="$ac_save_ifs"
26584 else
26585 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26589 LD="$acl_cv_path_LD"
26590 if test -n "$LD"; then
26591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26592 $as_echo "$LD" >&6; }
26593 else
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26595 $as_echo "no" >&6; }
26597 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26599 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26600 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26601 $as_echo_n "(cached) " >&6
26602 else
26603 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26604 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26605 acl_cv_prog_gnu_ld=yes
26606 else
26607 acl_cv_prog_gnu_ld=no
26610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26611 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26612 with_gnu_ld=$acl_cv_prog_gnu_ld
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26617 $as_echo_n "checking for shared library run path origin... " >&6; }
26618 if test "${acl_cv_rpath+set}" = set; then :
26619 $as_echo_n "(cached) " >&6
26620 else
26622 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26623 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26624 . ./conftest.sh
26625 rm -f ./conftest.sh
26626 acl_cv_rpath=done
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26630 $as_echo "$acl_cv_rpath" >&6; }
26631 wl="$acl_cv_wl"
26632 libext="$acl_cv_libext"
26633 shlibext="$acl_cv_shlibext"
26634 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26635 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26636 hardcode_direct="$acl_cv_hardcode_direct"
26637 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26638 # Check whether --enable-rpath was given.
26639 if test "${enable_rpath+set}" = set; then :
26640 enableval=$enable_rpath; :
26641 else
26642 enable_rpath=yes
26652 use_additional=yes
26654 acl_save_prefix="$prefix"
26655 prefix="$acl_final_prefix"
26656 acl_save_exec_prefix="$exec_prefix"
26657 exec_prefix="$acl_final_exec_prefix"
26659 eval additional_includedir=\"$includedir\"
26660 eval additional_libdir=\"$libdir\"
26662 exec_prefix="$acl_save_exec_prefix"
26663 prefix="$acl_save_prefix"
26666 # Check whether --with-libiconv-prefix was given.
26667 if test "${with_libiconv_prefix+set}" = set; then :
26668 withval=$with_libiconv_prefix;
26669 if test "X$withval" = "Xno"; then
26670 use_additional=no
26671 else
26672 if test "X$withval" = "X"; then
26674 acl_save_prefix="$prefix"
26675 prefix="$acl_final_prefix"
26676 acl_save_exec_prefix="$exec_prefix"
26677 exec_prefix="$acl_final_exec_prefix"
26679 eval additional_includedir=\"$includedir\"
26680 eval additional_libdir=\"$libdir\"
26682 exec_prefix="$acl_save_exec_prefix"
26683 prefix="$acl_save_prefix"
26685 else
26686 additional_includedir="$withval/include"
26687 additional_libdir="$withval/lib"
26693 LIBICONV=
26694 LTLIBICONV=
26695 INCICONV=
26696 rpathdirs=
26697 ltrpathdirs=
26698 names_already_handled=
26699 names_next_round='iconv '
26700 while test -n "$names_next_round"; do
26701 names_this_round="$names_next_round"
26702 names_next_round=
26703 for name in $names_this_round; do
26704 already_handled=
26705 for n in $names_already_handled; do
26706 if test "$n" = "$name"; then
26707 already_handled=yes
26708 break
26710 done
26711 if test -z "$already_handled"; then
26712 names_already_handled="$names_already_handled $name"
26713 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26714 eval value=\"\$HAVE_LIB$uppername\"
26715 if test -n "$value"; then
26716 if test "$value" = yes; then
26717 eval value=\"\$LIB$uppername\"
26718 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26719 eval value=\"\$LTLIB$uppername\"
26720 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26721 else
26724 else
26725 found_dir=
26726 found_la=
26727 found_so=
26728 found_a=
26729 if test $use_additional = yes; then
26730 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26731 found_dir="$additional_libdir"
26732 found_so="$additional_libdir/lib$name.$shlibext"
26733 if test -f "$additional_libdir/lib$name.la"; then
26734 found_la="$additional_libdir/lib$name.la"
26736 else
26737 if test -f "$additional_libdir/lib$name.$libext"; then
26738 found_dir="$additional_libdir"
26739 found_a="$additional_libdir/lib$name.$libext"
26740 if test -f "$additional_libdir/lib$name.la"; then
26741 found_la="$additional_libdir/lib$name.la"
26746 if test "X$found_dir" = "X"; then
26747 for x in $LDFLAGS $LTLIBICONV; do
26749 acl_save_prefix="$prefix"
26750 prefix="$acl_final_prefix"
26751 acl_save_exec_prefix="$exec_prefix"
26752 exec_prefix="$acl_final_exec_prefix"
26753 eval x=\"$x\"
26754 exec_prefix="$acl_save_exec_prefix"
26755 prefix="$acl_save_prefix"
26757 case "$x" in
26758 -L*)
26759 dir=`echo "X$x" | sed -e 's/^X-L//'`
26760 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26761 found_dir="$dir"
26762 found_so="$dir/lib$name.$shlibext"
26763 if test -f "$dir/lib$name.la"; then
26764 found_la="$dir/lib$name.la"
26766 else
26767 if test -f "$dir/lib$name.$libext"; then
26768 found_dir="$dir"
26769 found_a="$dir/lib$name.$libext"
26770 if test -f "$dir/lib$name.la"; then
26771 found_la="$dir/lib$name.la"
26776 esac
26777 if test "X$found_dir" != "X"; then
26778 break
26780 done
26782 if test "X$found_dir" != "X"; then
26783 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26784 if test "X$found_so" != "X"; then
26785 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26786 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26787 else
26788 haveit=
26789 for x in $ltrpathdirs; do
26790 if test "X$x" = "X$found_dir"; then
26791 haveit=yes
26792 break
26794 done
26795 if test -z "$haveit"; then
26796 ltrpathdirs="$ltrpathdirs $found_dir"
26798 if test "$hardcode_direct" = yes; then
26799 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26800 else
26801 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26802 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26803 haveit=
26804 for x in $rpathdirs; do
26805 if test "X$x" = "X$found_dir"; then
26806 haveit=yes
26807 break
26809 done
26810 if test -z "$haveit"; then
26811 rpathdirs="$rpathdirs $found_dir"
26813 else
26814 haveit=
26815 for x in $LDFLAGS $LIBICONV; do
26817 acl_save_prefix="$prefix"
26818 prefix="$acl_final_prefix"
26819 acl_save_exec_prefix="$exec_prefix"
26820 exec_prefix="$acl_final_exec_prefix"
26821 eval x=\"$x\"
26822 exec_prefix="$acl_save_exec_prefix"
26823 prefix="$acl_save_prefix"
26825 if test "X$x" = "X-L$found_dir"; then
26826 haveit=yes
26827 break
26829 done
26830 if test -z "$haveit"; then
26831 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26833 if test "$hardcode_minus_L" != no; then
26834 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26835 else
26836 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26841 else
26842 if test "X$found_a" != "X"; then
26843 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26844 else
26845 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26848 additional_includedir=
26849 case "$found_dir" in
26850 */lib | */lib/)
26851 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26852 additional_includedir="$basedir/include"
26854 esac
26855 if test "X$additional_includedir" != "X"; then
26856 if test "X$additional_includedir" != "X/usr/include"; then
26857 haveit=
26858 if test "X$additional_includedir" = "X/usr/local/include"; then
26859 if test -n "$GCC"; then
26860 case $host_os in
26861 linux*) haveit=yes;;
26862 esac
26865 if test -z "$haveit"; then
26866 for x in $CPPFLAGS $INCICONV; do
26868 acl_save_prefix="$prefix"
26869 prefix="$acl_final_prefix"
26870 acl_save_exec_prefix="$exec_prefix"
26871 exec_prefix="$acl_final_exec_prefix"
26872 eval x=\"$x\"
26873 exec_prefix="$acl_save_exec_prefix"
26874 prefix="$acl_save_prefix"
26876 if test "X$x" = "X-I$additional_includedir"; then
26877 haveit=yes
26878 break
26880 done
26881 if test -z "$haveit"; then
26882 if test -d "$additional_includedir"; then
26883 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26889 if test -n "$found_la"; then
26890 save_libdir="$libdir"
26891 case "$found_la" in
26892 */* | *\\*) . "$found_la" ;;
26893 *) . "./$found_la" ;;
26894 esac
26895 libdir="$save_libdir"
26896 for dep in $dependency_libs; do
26897 case "$dep" in
26898 -L*)
26899 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26900 if test "X$additional_libdir" != "X/usr/lib"; then
26901 haveit=
26902 if test "X$additional_libdir" = "X/usr/local/lib"; then
26903 if test -n "$GCC"; then
26904 case $host_os in
26905 linux*) haveit=yes;;
26906 esac
26909 if test -z "$haveit"; then
26910 haveit=
26911 for x in $LDFLAGS $LIBICONV; do
26913 acl_save_prefix="$prefix"
26914 prefix="$acl_final_prefix"
26915 acl_save_exec_prefix="$exec_prefix"
26916 exec_prefix="$acl_final_exec_prefix"
26917 eval x=\"$x\"
26918 exec_prefix="$acl_save_exec_prefix"
26919 prefix="$acl_save_prefix"
26921 if test "X$x" = "X-L$additional_libdir"; then
26922 haveit=yes
26923 break
26925 done
26926 if test -z "$haveit"; then
26927 if test -d "$additional_libdir"; then
26928 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26931 haveit=
26932 for x in $LDFLAGS $LTLIBICONV; do
26934 acl_save_prefix="$prefix"
26935 prefix="$acl_final_prefix"
26936 acl_save_exec_prefix="$exec_prefix"
26937 exec_prefix="$acl_final_exec_prefix"
26938 eval x=\"$x\"
26939 exec_prefix="$acl_save_exec_prefix"
26940 prefix="$acl_save_prefix"
26942 if test "X$x" = "X-L$additional_libdir"; then
26943 haveit=yes
26944 break
26946 done
26947 if test -z "$haveit"; then
26948 if test -d "$additional_libdir"; then
26949 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26955 -R*)
26956 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26957 if test "$enable_rpath" != no; then
26958 haveit=
26959 for x in $rpathdirs; do
26960 if test "X$x" = "X$dir"; then
26961 haveit=yes
26962 break
26964 done
26965 if test -z "$haveit"; then
26966 rpathdirs="$rpathdirs $dir"
26968 haveit=
26969 for x in $ltrpathdirs; do
26970 if test "X$x" = "X$dir"; then
26971 haveit=yes
26972 break
26974 done
26975 if test -z "$haveit"; then
26976 ltrpathdirs="$ltrpathdirs $dir"
26980 -l*)
26981 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26983 *.la)
26984 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26987 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26988 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26990 esac
26991 done
26993 else
26994 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26995 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26999 done
27000 done
27001 if test "X$rpathdirs" != "X"; then
27002 if test -n "$hardcode_libdir_separator"; then
27003 alldirs=
27004 for found_dir in $rpathdirs; do
27005 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27006 done
27007 acl_save_libdir="$libdir"
27008 libdir="$alldirs"
27009 eval flag=\"$hardcode_libdir_flag_spec\"
27010 libdir="$acl_save_libdir"
27011 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27012 else
27013 for found_dir in $rpathdirs; do
27014 acl_save_libdir="$libdir"
27015 libdir="$found_dir"
27016 eval flag=\"$hardcode_libdir_flag_spec\"
27017 libdir="$acl_save_libdir"
27018 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27019 done
27022 if test "X$ltrpathdirs" != "X"; then
27023 for found_dir in $ltrpathdirs; do
27024 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27025 done
27034 am_save_CPPFLAGS="$CPPFLAGS"
27036 for element in $INCICONV; do
27037 haveit=
27038 for x in $CPPFLAGS; do
27040 acl_save_prefix="$prefix"
27041 prefix="$acl_final_prefix"
27042 acl_save_exec_prefix="$exec_prefix"
27043 exec_prefix="$acl_final_exec_prefix"
27044 eval x=\"$x\"
27045 exec_prefix="$acl_save_exec_prefix"
27046 prefix="$acl_save_prefix"
27048 if test "X$x" = "X$element"; then
27049 haveit=yes
27050 break
27052 done
27053 if test -z "$haveit"; then
27054 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27056 done
27059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27060 $as_echo_n "checking for iconv... " >&6; }
27061 if test "${am_cv_func_iconv+set}" = set; then :
27062 $as_echo_n "(cached) " >&6
27063 else
27065 am_cv_func_iconv="no, consider installing GNU libiconv"
27066 am_cv_lib_iconv=no
27067 if test x$gcc_no_link = xyes; then
27068 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27071 /* end confdefs.h. */
27072 #include <stdlib.h>
27073 #include <iconv.h>
27075 main ()
27077 iconv_t cd = iconv_open("","");
27078 iconv(cd,NULL,NULL,NULL,NULL);
27079 iconv_close(cd);
27081 return 0;
27083 _ACEOF
27084 if ac_fn_c_try_link "$LINENO"; then :
27085 am_cv_func_iconv=yes
27087 rm -f core conftest.err conftest.$ac_objext \
27088 conftest$ac_exeext conftest.$ac_ext
27089 if test "$am_cv_func_iconv" != yes; then
27090 am_save_LIBS="$LIBS"
27091 LIBS="$LIBS $LIBICONV"
27092 if test x$gcc_no_link = xyes; then
27093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27096 /* end confdefs.h. */
27097 #include <stdlib.h>
27098 #include <iconv.h>
27100 main ()
27102 iconv_t cd = iconv_open("","");
27103 iconv(cd,NULL,NULL,NULL,NULL);
27104 iconv_close(cd);
27106 return 0;
27108 _ACEOF
27109 if ac_fn_c_try_link "$LINENO"; then :
27110 am_cv_lib_iconv=yes
27111 am_cv_func_iconv=yes
27113 rm -f core conftest.err conftest.$ac_objext \
27114 conftest$ac_exeext conftest.$ac_ext
27115 LIBS="$am_save_LIBS"
27119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27120 $as_echo "$am_cv_func_iconv" >&6; }
27121 if test "$am_cv_func_iconv" = yes; then
27123 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27126 if test "$am_cv_lib_iconv" = yes; then
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27128 $as_echo_n "checking how to link with libiconv... " >&6; }
27129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27130 $as_echo "$LIBICONV" >&6; }
27131 else
27132 CPPFLAGS="$am_save_CPPFLAGS"
27133 LIBICONV=
27134 LTLIBICONV=
27139 if test "$am_cv_func_iconv" = yes; then
27140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27141 $as_echo_n "checking for iconv declaration... " >&6; }
27142 if test "${am_cv_proto_iconv+set}" = set; then :
27143 $as_echo_n "(cached) " >&6
27144 else
27146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27147 /* end confdefs.h. */
27149 #include <stdlib.h>
27150 #include <iconv.h>
27151 extern
27152 #ifdef __cplusplus
27154 #endif
27155 #if defined(__STDC__) || defined(__cplusplus)
27156 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27157 #else
27158 size_t iconv();
27159 #endif
27162 main ()
27166 return 0;
27168 _ACEOF
27169 if ac_fn_c_try_compile "$LINENO"; then :
27170 am_cv_proto_iconv_arg1=""
27171 else
27172 am_cv_proto_iconv_arg1="const"
27174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27175 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);"
27178 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27180 }$am_cv_proto_iconv" >&5
27181 $as_echo "${ac_t:-
27182 }$am_cv_proto_iconv" >&6; }
27184 cat >>confdefs.h <<_ACEOF
27185 #define ICONV_CONST $am_cv_proto_iconv_arg1
27186 _ACEOF
27191 else
27193 # This lets us hard-code the functionality we know we'll have in the cross
27194 # target environment. "Let" is a sugar-coated word placed on an especially
27195 # dull and tedious hack, actually.
27197 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27198 # that involve linking, can't be used:
27199 # "cannot open sim-crt0.o"
27200 # "cannot open crt0.o"
27201 # etc. All this is because there currently exists no unified, consistent
27202 # way for top level CC information to be passed down to target directories:
27203 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27204 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27205 # crosses can be removed.
27207 # If Canadian cross, then don't pick up tools from the build directory.
27208 # Used only in GLIBCXX_EXPORT_INCLUDES.
27209 if test -n "$with_cross_host" &&
27210 test x"$build_alias" != x"$with_cross_host" &&
27211 test x"$build" != x"$target";
27212 then
27213 CANADIAN=yes
27214 else
27215 CANADIAN=no
27218 # Construct crosses by hand, eliminating bits that need ld...
27219 # GLIBCXX_CHECK_MATH_SUPPORT
27221 # First, test for "known" system libraries. We may be using newlib even
27222 # on a hosted environment.
27223 if test "x${with_newlib}" = "xyes"; then
27224 os_include_dir="os/newlib"
27225 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27228 # GLIBCXX_CHECK_STDLIB_SUPPORT
27229 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27232 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27234 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27236 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27238 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27240 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27242 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27244 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27246 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27248 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27250 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27252 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27254 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27256 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27258 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27260 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27262 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27264 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27266 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27268 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27270 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27272 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27274 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27277 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27279 else
27281 # Base decisions on target environment.
27282 case "${host}" in
27283 arm*-*-symbianelf*)
27284 # This is a freestanding configuration; there is nothing to do here.
27287 mips*-sde-elf*)
27288 # These definitions are for the SDE C library rather than newlib.
27289 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27292 # All these tests are for C++; save the language and the compiler flags.
27293 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27294 # found in GLIBCXX_CONFIGURE.
27296 ac_ext=cpp
27297 ac_cpp='$CXXCPP $CPPFLAGS'
27298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27302 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27303 ac_save_CXXFLAGS="$CXXFLAGS"
27305 # Check for maintainer-mode bits.
27306 if test x"$USE_MAINTAINER_MODE" = xno; then
27307 WERROR=''
27308 else
27309 WERROR='-Werror'
27312 # Check for -ffunction-sections -fdata-sections
27313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27314 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27315 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27317 /* end confdefs.h. */
27318 int foo; void bar() { };
27320 main ()
27324 return 0;
27326 _ACEOF
27327 if ac_fn_cxx_try_compile "$LINENO"; then :
27328 ac_fdsections=yes
27329 else
27330 ac_fdsections=no
27332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27333 if test "$ac_test_CXXFLAGS" = set; then
27334 CXXFLAGS="$ac_save_CXXFLAGS"
27335 else
27336 # this is the suspicious part
27337 CXXFLAGS=''
27339 if test x"$ac_fdsections" = x"yes"; then
27340 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27343 $as_echo "$ac_fdsections" >&6; }
27345 ac_ext=c
27346 ac_cpp='$CPP $CPPFLAGS'
27347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27355 # If we're not using GNU ld, then there's no point in even trying these
27356 # tests. Check for that first. We should have already tested for gld
27357 # by now (in libtool), but require it now just to be safe...
27358 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27359 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27363 # The name set by libtool depends on the version of libtool. Shame on us
27364 # for depending on an impl detail, but c'est la vie. Older versions used
27365 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27366 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27367 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27368 # set (hence we're using an older libtool), then set it.
27369 if test x${with_gnu_ld+set} != xset; then
27370 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27371 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27372 with_gnu_ld=no
27373 else
27374 with_gnu_ld=$ac_cv_prog_gnu_ld
27378 # Start by getting the version number. I think the libtool test already
27379 # does some of this, but throws away the result.
27380 glibcxx_ld_is_gold=no
27381 if test x"$with_gnu_ld" = x"yes"; then
27382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27383 $as_echo_n "checking for ld version... " >&6; }
27385 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27386 glibcxx_ld_is_gold=yes
27388 ldver=`$LD --version 2>/dev/null |
27389 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'`
27391 glibcxx_gnu_ld_version=`echo $ldver | \
27392 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27394 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27397 # Set --gc-sections.
27398 glibcxx_have_gc_sections=no
27399 if test "$glibcxx_ld_is_gold" = "yes"; then
27400 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27401 glibcxx_have_gc_sections=yes
27403 else
27404 glibcxx_gcsections_min_ld=21602
27405 if test x"$with_gnu_ld" = x"yes" &&
27406 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27407 glibcxx_have_gc_sections=yes
27410 if test "$glibcxx_have_gc_sections" = "yes"; then
27411 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27412 # NB: This flag only works reliably after 2.16.1. Configure tests
27413 # for this are difficult, so hard wire a value that should work.
27415 ac_test_CFLAGS="${CFLAGS+set}"
27416 ac_save_CFLAGS="$CFLAGS"
27417 CFLAGS='-Wl,--gc-sections'
27419 # Check for -Wl,--gc-sections
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27421 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27422 if test x$gcc_no_link = xyes; then
27423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27426 /* end confdefs.h. */
27427 int one(void) { return 1; }
27428 int two(void) { return 2; }
27431 main ()
27433 two();
27435 return 0;
27437 _ACEOF
27438 if ac_fn_c_try_link "$LINENO"; then :
27439 ac_gcsections=yes
27440 else
27441 ac_gcsections=no
27443 rm -f core conftest.err conftest.$ac_objext \
27444 conftest$ac_exeext conftest.$ac_ext
27445 if test "$ac_gcsections" = "yes"; then
27446 rm -f conftest.c
27447 touch conftest.c
27448 if $CC -c conftest.c; then
27449 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27450 grep "Warning: gc-sections option ignored" > /dev/null; then
27451 ac_gcsections=no
27454 rm -f conftest.c conftest.o conftest
27456 if test "$ac_gcsections" = "yes"; then
27457 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27460 $as_echo "$ac_gcsections" >&6; }
27462 if test "$ac_test_CFLAGS" = set; then
27463 CFLAGS="$ac_save_CFLAGS"
27464 else
27465 # this is the suspicious part
27466 CFLAGS=''
27470 # Set -z,relro.
27471 # Note this is only for shared objects.
27472 ac_ld_relro=no
27473 if test x"$with_gnu_ld" = x"yes"; then
27474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27475 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27476 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27477 if test -n "$cxx_z_relo"; then
27478 OPT_LDFLAGS="-Wl,-z,relro"
27479 ac_ld_relro=yes
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27482 $as_echo "$ac_ld_relro" >&6; }
27485 # Set linker optimization flags.
27486 if test x"$with_gnu_ld" = x"yes"; then
27487 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27494 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27495 ac_save_CXXFLAGS="$CXXFLAGS"
27496 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27499 $as_echo_n "checking for sin in -lm... " >&6; }
27500 if test "${ac_cv_lib_m_sin+set}" = set; then :
27501 $as_echo_n "(cached) " >&6
27502 else
27503 ac_check_lib_save_LIBS=$LIBS
27504 LIBS="-lm $LIBS"
27505 if test x$gcc_no_link = xyes; then
27506 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27509 /* end confdefs.h. */
27511 /* Override any GCC internal prototype to avoid an error.
27512 Use char because int might match the return type of a GCC
27513 builtin and then its argument prototype would still apply. */
27514 #ifdef __cplusplus
27515 extern "C"
27516 #endif
27517 char sin ();
27519 main ()
27521 return sin ();
27523 return 0;
27525 _ACEOF
27526 if ac_fn_c_try_link "$LINENO"; then :
27527 ac_cv_lib_m_sin=yes
27528 else
27529 ac_cv_lib_m_sin=no
27531 rm -f core conftest.err conftest.$ac_objext \
27532 conftest$ac_exeext conftest.$ac_ext
27533 LIBS=$ac_check_lib_save_LIBS
27535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27536 $as_echo "$ac_cv_lib_m_sin" >&6; }
27537 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27538 libm="-lm"
27541 ac_save_LIBS="$LIBS"
27542 LIBS="$LIBS $libm"
27546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27547 $as_echo_n "checking for isinf declaration... " >&6; }
27548 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27549 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27550 $as_echo_n "(cached) " >&6
27551 else
27554 ac_ext=cpp
27555 ac_cpp='$CXXCPP $CPPFLAGS'
27556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27561 /* end confdefs.h. */
27562 #include <math.h>
27563 #ifdef HAVE_IEEEFP_H
27564 #include <ieeefp.h>
27565 #endif
27568 main ()
27570 isinf(0);
27572 return 0;
27574 _ACEOF
27575 if ac_fn_cxx_try_compile "$LINENO"; then :
27576 glibcxx_cv_func_isinf_use=yes
27577 else
27578 glibcxx_cv_func_isinf_use=no
27580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27581 ac_ext=c
27582 ac_cpp='$CPP $CPPFLAGS'
27583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27592 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27594 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27595 for ac_func in isinf
27596 do :
27597 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27598 if test "x$ac_cv_func_isinf" = x""yes; then :
27599 cat >>confdefs.h <<_ACEOF
27600 #define HAVE_ISINF 1
27601 _ACEOF
27604 done
27606 else
27608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27609 $as_echo_n "checking for _isinf declaration... " >&6; }
27610 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27611 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27612 $as_echo_n "(cached) " >&6
27613 else
27616 ac_ext=cpp
27617 ac_cpp='$CXXCPP $CPPFLAGS'
27618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27623 /* end confdefs.h. */
27624 #include <math.h>
27625 #ifdef HAVE_IEEEFP_H
27626 #include <ieeefp.h>
27627 #endif
27630 main ()
27632 _isinf(0);
27634 return 0;
27636 _ACEOF
27637 if ac_fn_cxx_try_compile "$LINENO"; then :
27638 glibcxx_cv_func__isinf_use=yes
27639 else
27640 glibcxx_cv_func__isinf_use=no
27642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27643 ac_ext=c
27644 ac_cpp='$CPP $CPPFLAGS'
27645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27654 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27656 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27657 for ac_func in _isinf
27658 do :
27659 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27660 if test "x$ac_cv_func__isinf" = x""yes; then :
27661 cat >>confdefs.h <<_ACEOF
27662 #define HAVE__ISINF 1
27663 _ACEOF
27666 done
27675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27676 $as_echo_n "checking for isnan declaration... " >&6; }
27677 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27678 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27679 $as_echo_n "(cached) " >&6
27680 else
27683 ac_ext=cpp
27684 ac_cpp='$CXXCPP $CPPFLAGS'
27685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27690 /* end confdefs.h. */
27691 #include <math.h>
27692 #ifdef HAVE_IEEEFP_H
27693 #include <ieeefp.h>
27694 #endif
27697 main ()
27699 isnan(0);
27701 return 0;
27703 _ACEOF
27704 if ac_fn_cxx_try_compile "$LINENO"; then :
27705 glibcxx_cv_func_isnan_use=yes
27706 else
27707 glibcxx_cv_func_isnan_use=no
27709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27710 ac_ext=c
27711 ac_cpp='$CPP $CPPFLAGS'
27712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27721 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27723 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27724 for ac_func in isnan
27725 do :
27726 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27727 if test "x$ac_cv_func_isnan" = x""yes; then :
27728 cat >>confdefs.h <<_ACEOF
27729 #define HAVE_ISNAN 1
27730 _ACEOF
27733 done
27735 else
27737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27738 $as_echo_n "checking for _isnan declaration... " >&6; }
27739 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27740 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27741 $as_echo_n "(cached) " >&6
27742 else
27745 ac_ext=cpp
27746 ac_cpp='$CXXCPP $CPPFLAGS'
27747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27752 /* end confdefs.h. */
27753 #include <math.h>
27754 #ifdef HAVE_IEEEFP_H
27755 #include <ieeefp.h>
27756 #endif
27759 main ()
27761 _isnan(0);
27763 return 0;
27765 _ACEOF
27766 if ac_fn_cxx_try_compile "$LINENO"; then :
27767 glibcxx_cv_func__isnan_use=yes
27768 else
27769 glibcxx_cv_func__isnan_use=no
27771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27772 ac_ext=c
27773 ac_cpp='$CPP $CPPFLAGS'
27774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27783 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27785 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27786 for ac_func in _isnan
27787 do :
27788 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27789 if test "x$ac_cv_func__isnan" = x""yes; then :
27790 cat >>confdefs.h <<_ACEOF
27791 #define HAVE__ISNAN 1
27792 _ACEOF
27795 done
27804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27805 $as_echo_n "checking for finite declaration... " >&6; }
27806 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27807 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27808 $as_echo_n "(cached) " >&6
27809 else
27812 ac_ext=cpp
27813 ac_cpp='$CXXCPP $CPPFLAGS'
27814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27819 /* end confdefs.h. */
27820 #include <math.h>
27821 #ifdef HAVE_IEEEFP_H
27822 #include <ieeefp.h>
27823 #endif
27826 main ()
27828 finite(0);
27830 return 0;
27832 _ACEOF
27833 if ac_fn_cxx_try_compile "$LINENO"; then :
27834 glibcxx_cv_func_finite_use=yes
27835 else
27836 glibcxx_cv_func_finite_use=no
27838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27839 ac_ext=c
27840 ac_cpp='$CPP $CPPFLAGS'
27841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27850 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27852 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27853 for ac_func in finite
27854 do :
27855 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27856 if test "x$ac_cv_func_finite" = x""yes; then :
27857 cat >>confdefs.h <<_ACEOF
27858 #define HAVE_FINITE 1
27859 _ACEOF
27862 done
27864 else
27866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27867 $as_echo_n "checking for _finite declaration... " >&6; }
27868 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27869 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27870 $as_echo_n "(cached) " >&6
27871 else
27874 ac_ext=cpp
27875 ac_cpp='$CXXCPP $CPPFLAGS'
27876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882 #include <math.h>
27883 #ifdef HAVE_IEEEFP_H
27884 #include <ieeefp.h>
27885 #endif
27888 main ()
27890 _finite(0);
27892 return 0;
27894 _ACEOF
27895 if ac_fn_cxx_try_compile "$LINENO"; then :
27896 glibcxx_cv_func__finite_use=yes
27897 else
27898 glibcxx_cv_func__finite_use=no
27900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27901 ac_ext=c
27902 ac_cpp='$CPP $CPPFLAGS'
27903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27912 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27914 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27915 for ac_func in _finite
27916 do :
27917 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27918 if test "x$ac_cv_func__finite" = x""yes; then :
27919 cat >>confdefs.h <<_ACEOF
27920 #define HAVE__FINITE 1
27921 _ACEOF
27924 done
27933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27934 $as_echo_n "checking for sincos declaration... " >&6; }
27935 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27936 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27937 $as_echo_n "(cached) " >&6
27938 else
27941 ac_ext=cpp
27942 ac_cpp='$CXXCPP $CPPFLAGS'
27943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27948 /* end confdefs.h. */
27949 #include <math.h>
27951 main ()
27953 sincos(0, 0, 0);
27955 return 0;
27957 _ACEOF
27958 if ac_fn_cxx_try_compile "$LINENO"; then :
27959 glibcxx_cv_func_sincos_use=yes
27960 else
27961 glibcxx_cv_func_sincos_use=no
27963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27964 ac_ext=c
27965 ac_cpp='$CPP $CPPFLAGS'
27966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27975 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27977 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27978 for ac_func in sincos
27979 do :
27980 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27981 if test "x$ac_cv_func_sincos" = x""yes; then :
27982 cat >>confdefs.h <<_ACEOF
27983 #define HAVE_SINCOS 1
27984 _ACEOF
27987 done
27989 else
27991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27992 $as_echo_n "checking for _sincos declaration... " >&6; }
27993 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27994 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27995 $as_echo_n "(cached) " >&6
27996 else
27999 ac_ext=cpp
28000 ac_cpp='$CXXCPP $CPPFLAGS'
28001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28006 /* end confdefs.h. */
28007 #include <math.h>
28009 main ()
28011 _sincos(0, 0, 0);
28013 return 0;
28015 _ACEOF
28016 if ac_fn_cxx_try_compile "$LINENO"; then :
28017 glibcxx_cv_func__sincos_use=yes
28018 else
28019 glibcxx_cv_func__sincos_use=no
28021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28022 ac_ext=c
28023 ac_cpp='$CPP $CPPFLAGS'
28024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28033 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28035 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28036 for ac_func in _sincos
28037 do :
28038 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28039 if test "x$ac_cv_func__sincos" = x""yes; then :
28040 cat >>confdefs.h <<_ACEOF
28041 #define HAVE__SINCOS 1
28042 _ACEOF
28045 done
28054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28055 $as_echo_n "checking for fpclass declaration... " >&6; }
28056 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28057 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28058 $as_echo_n "(cached) " >&6
28059 else
28062 ac_ext=cpp
28063 ac_cpp='$CXXCPP $CPPFLAGS'
28064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28069 /* end confdefs.h. */
28070 #include <math.h>
28071 #ifdef HAVE_IEEEFP_H
28072 #include <ieeefp.h>
28073 #endif
28076 main ()
28078 fpclass(0);
28080 return 0;
28082 _ACEOF
28083 if ac_fn_cxx_try_compile "$LINENO"; then :
28084 glibcxx_cv_func_fpclass_use=yes
28085 else
28086 glibcxx_cv_func_fpclass_use=no
28088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28089 ac_ext=c
28090 ac_cpp='$CPP $CPPFLAGS'
28091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28100 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28102 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28103 for ac_func in fpclass
28104 do :
28105 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28106 if test "x$ac_cv_func_fpclass" = x""yes; then :
28107 cat >>confdefs.h <<_ACEOF
28108 #define HAVE_FPCLASS 1
28109 _ACEOF
28112 done
28114 else
28116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28117 $as_echo_n "checking for _fpclass declaration... " >&6; }
28118 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28119 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28120 $as_echo_n "(cached) " >&6
28121 else
28124 ac_ext=cpp
28125 ac_cpp='$CXXCPP $CPPFLAGS'
28126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28131 /* end confdefs.h. */
28132 #include <math.h>
28133 #ifdef HAVE_IEEEFP_H
28134 #include <ieeefp.h>
28135 #endif
28138 main ()
28140 _fpclass(0);
28142 return 0;
28144 _ACEOF
28145 if ac_fn_cxx_try_compile "$LINENO"; then :
28146 glibcxx_cv_func__fpclass_use=yes
28147 else
28148 glibcxx_cv_func__fpclass_use=no
28150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28151 ac_ext=c
28152 ac_cpp='$CPP $CPPFLAGS'
28153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28162 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28164 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28165 for ac_func in _fpclass
28166 do :
28167 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28168 if test "x$ac_cv_func__fpclass" = x""yes; then :
28169 cat >>confdefs.h <<_ACEOF
28170 #define HAVE__FPCLASS 1
28171 _ACEOF
28174 done
28183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28184 $as_echo_n "checking for qfpclass declaration... " >&6; }
28185 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28186 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28187 $as_echo_n "(cached) " >&6
28188 else
28191 ac_ext=cpp
28192 ac_cpp='$CXXCPP $CPPFLAGS'
28193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28198 /* end confdefs.h. */
28199 #include <math.h>
28200 #ifdef HAVE_IEEEFP_H
28201 #include <ieeefp.h>
28202 #endif
28205 main ()
28207 qfpclass(0);
28209 return 0;
28211 _ACEOF
28212 if ac_fn_cxx_try_compile "$LINENO"; then :
28213 glibcxx_cv_func_qfpclass_use=yes
28214 else
28215 glibcxx_cv_func_qfpclass_use=no
28217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28218 ac_ext=c
28219 ac_cpp='$CPP $CPPFLAGS'
28220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28229 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28231 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28232 for ac_func in qfpclass
28233 do :
28234 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28235 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28236 cat >>confdefs.h <<_ACEOF
28237 #define HAVE_QFPCLASS 1
28238 _ACEOF
28241 done
28243 else
28245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28246 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28247 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28248 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28249 $as_echo_n "(cached) " >&6
28250 else
28253 ac_ext=cpp
28254 ac_cpp='$CXXCPP $CPPFLAGS'
28255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28260 /* end confdefs.h. */
28261 #include <math.h>
28262 #ifdef HAVE_IEEEFP_H
28263 #include <ieeefp.h>
28264 #endif
28267 main ()
28269 _qfpclass(0);
28271 return 0;
28273 _ACEOF
28274 if ac_fn_cxx_try_compile "$LINENO"; then :
28275 glibcxx_cv_func__qfpclass_use=yes
28276 else
28277 glibcxx_cv_func__qfpclass_use=no
28279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28280 ac_ext=c
28281 ac_cpp='$CPP $CPPFLAGS'
28282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28291 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28293 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28294 for ac_func in _qfpclass
28295 do :
28296 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28297 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28298 cat >>confdefs.h <<_ACEOF
28299 #define HAVE__QFPCLASS 1
28300 _ACEOF
28303 done
28312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28313 $as_echo_n "checking for hypot declaration... " >&6; }
28314 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28315 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28316 $as_echo_n "(cached) " >&6
28317 else
28320 ac_ext=cpp
28321 ac_cpp='$CXXCPP $CPPFLAGS'
28322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28327 /* end confdefs.h. */
28328 #include <math.h>
28330 main ()
28332 hypot(0, 0);
28334 return 0;
28336 _ACEOF
28337 if ac_fn_cxx_try_compile "$LINENO"; then :
28338 glibcxx_cv_func_hypot_use=yes
28339 else
28340 glibcxx_cv_func_hypot_use=no
28342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28343 ac_ext=c
28344 ac_cpp='$CPP $CPPFLAGS'
28345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28354 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28356 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28357 for ac_func in hypot
28358 do :
28359 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28360 if test "x$ac_cv_func_hypot" = x""yes; then :
28361 cat >>confdefs.h <<_ACEOF
28362 #define HAVE_HYPOT 1
28363 _ACEOF
28366 done
28368 else
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28371 $as_echo_n "checking for _hypot declaration... " >&6; }
28372 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28373 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28374 $as_echo_n "(cached) " >&6
28375 else
28378 ac_ext=cpp
28379 ac_cpp='$CXXCPP $CPPFLAGS'
28380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28385 /* end confdefs.h. */
28386 #include <math.h>
28388 main ()
28390 _hypot(0, 0);
28392 return 0;
28394 _ACEOF
28395 if ac_fn_cxx_try_compile "$LINENO"; then :
28396 glibcxx_cv_func__hypot_use=yes
28397 else
28398 glibcxx_cv_func__hypot_use=no
28400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28401 ac_ext=c
28402 ac_cpp='$CPP $CPPFLAGS'
28403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28412 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28414 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28415 for ac_func in _hypot
28416 do :
28417 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28418 if test "x$ac_cv_func__hypot" = x""yes; then :
28419 cat >>confdefs.h <<_ACEOF
28420 #define HAVE__HYPOT 1
28421 _ACEOF
28424 done
28433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28434 $as_echo_n "checking for float trig functions... " >&6; }
28435 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28436 $as_echo_n "(cached) " >&6
28437 else
28440 ac_ext=cpp
28441 ac_cpp='$CXXCPP $CPPFLAGS'
28442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28447 /* end confdefs.h. */
28448 #include <math.h>
28450 main ()
28452 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28454 return 0;
28456 _ACEOF
28457 if ac_fn_cxx_try_compile "$LINENO"; then :
28458 glibcxx_cv_func_float_trig_use=yes
28459 else
28460 glibcxx_cv_func_float_trig_use=no
28462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28463 ac_ext=c
28464 ac_cpp='$CPP $CPPFLAGS'
28465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28472 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28473 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28474 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28475 do :
28476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28478 eval as_val=\$$as_ac_var
28479 if test "x$as_val" = x""yes; then :
28480 cat >>confdefs.h <<_ACEOF
28481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28482 _ACEOF
28485 done
28487 else
28488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28489 $as_echo_n "checking for _float trig functions... " >&6; }
28490 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28491 $as_echo_n "(cached) " >&6
28492 else
28495 ac_ext=cpp
28496 ac_cpp='$CXXCPP $CPPFLAGS'
28497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28502 /* end confdefs.h. */
28503 #include <math.h>
28505 main ()
28507 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28509 return 0;
28511 _ACEOF
28512 if ac_fn_cxx_try_compile "$LINENO"; then :
28513 glibcxx_cv_func__float_trig_use=yes
28514 else
28515 glibcxx_cv_func__float_trig_use=no
28517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28518 ac_ext=c
28519 ac_cpp='$CPP $CPPFLAGS'
28520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28527 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28528 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28529 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28530 do :
28531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28533 eval as_val=\$$as_ac_var
28534 if test "x$as_val" = x""yes; then :
28535 cat >>confdefs.h <<_ACEOF
28536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28537 _ACEOF
28540 done
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28550 $as_echo_n "checking for float round functions... " >&6; }
28551 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28552 $as_echo_n "(cached) " >&6
28553 else
28556 ac_ext=cpp
28557 ac_cpp='$CXXCPP $CPPFLAGS'
28558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28563 /* end confdefs.h. */
28564 #include <math.h>
28566 main ()
28568 ceilf (0); floorf (0);
28570 return 0;
28572 _ACEOF
28573 if ac_fn_cxx_try_compile "$LINENO"; then :
28574 glibcxx_cv_func_float_round_use=yes
28575 else
28576 glibcxx_cv_func_float_round_use=no
28578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28579 ac_ext=c
28580 ac_cpp='$CPP $CPPFLAGS'
28581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28588 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28589 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28590 for ac_func in ceilf floorf
28591 do :
28592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28594 eval as_val=\$$as_ac_var
28595 if test "x$as_val" = x""yes; then :
28596 cat >>confdefs.h <<_ACEOF
28597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28598 _ACEOF
28601 done
28603 else
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28605 $as_echo_n "checking for _float round functions... " >&6; }
28606 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28607 $as_echo_n "(cached) " >&6
28608 else
28611 ac_ext=cpp
28612 ac_cpp='$CXXCPP $CPPFLAGS'
28613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28618 /* end confdefs.h. */
28619 #include <math.h>
28621 main ()
28623 _ceilf (0); _floorf (0);
28625 return 0;
28627 _ACEOF
28628 if ac_fn_cxx_try_compile "$LINENO"; then :
28629 glibcxx_cv_func__float_round_use=yes
28630 else
28631 glibcxx_cv_func__float_round_use=no
28633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28634 ac_ext=c
28635 ac_cpp='$CPP $CPPFLAGS'
28636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28643 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28644 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28645 for ac_func in _ceilf _floorf
28646 do :
28647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28649 eval as_val=\$$as_ac_var
28650 if test "x$as_val" = x""yes; then :
28651 cat >>confdefs.h <<_ACEOF
28652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28653 _ACEOF
28656 done
28666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28667 $as_echo_n "checking for expf declaration... " >&6; }
28668 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28669 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28670 $as_echo_n "(cached) " >&6
28671 else
28674 ac_ext=cpp
28675 ac_cpp='$CXXCPP $CPPFLAGS'
28676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28681 /* end confdefs.h. */
28682 #include <math.h>
28683 #ifdef HAVE_IEEEFP_H
28684 #include <ieeefp.h>
28685 #endif
28688 main ()
28690 expf(0);
28692 return 0;
28694 _ACEOF
28695 if ac_fn_cxx_try_compile "$LINENO"; then :
28696 glibcxx_cv_func_expf_use=yes
28697 else
28698 glibcxx_cv_func_expf_use=no
28700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28701 ac_ext=c
28702 ac_cpp='$CPP $CPPFLAGS'
28703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28712 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28714 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28715 for ac_func in expf
28716 do :
28717 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28718 if test "x$ac_cv_func_expf" = x""yes; then :
28719 cat >>confdefs.h <<_ACEOF
28720 #define HAVE_EXPF 1
28721 _ACEOF
28724 done
28726 else
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28729 $as_echo_n "checking for _expf declaration... " >&6; }
28730 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28731 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28732 $as_echo_n "(cached) " >&6
28733 else
28736 ac_ext=cpp
28737 ac_cpp='$CXXCPP $CPPFLAGS'
28738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28743 /* end confdefs.h. */
28744 #include <math.h>
28745 #ifdef HAVE_IEEEFP_H
28746 #include <ieeefp.h>
28747 #endif
28750 main ()
28752 _expf(0);
28754 return 0;
28756 _ACEOF
28757 if ac_fn_cxx_try_compile "$LINENO"; then :
28758 glibcxx_cv_func__expf_use=yes
28759 else
28760 glibcxx_cv_func__expf_use=no
28762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28763 ac_ext=c
28764 ac_cpp='$CPP $CPPFLAGS'
28765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28774 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28776 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28777 for ac_func in _expf
28778 do :
28779 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28780 if test "x$ac_cv_func__expf" = x""yes; then :
28781 cat >>confdefs.h <<_ACEOF
28782 #define HAVE__EXPF 1
28783 _ACEOF
28786 done
28795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28796 $as_echo_n "checking for isnanf declaration... " >&6; }
28797 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28798 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28799 $as_echo_n "(cached) " >&6
28800 else
28803 ac_ext=cpp
28804 ac_cpp='$CXXCPP $CPPFLAGS'
28805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28810 /* end confdefs.h. */
28811 #include <math.h>
28812 #ifdef HAVE_IEEEFP_H
28813 #include <ieeefp.h>
28814 #endif
28817 main ()
28819 isnanf(0);
28821 return 0;
28823 _ACEOF
28824 if ac_fn_cxx_try_compile "$LINENO"; then :
28825 glibcxx_cv_func_isnanf_use=yes
28826 else
28827 glibcxx_cv_func_isnanf_use=no
28829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28830 ac_ext=c
28831 ac_cpp='$CPP $CPPFLAGS'
28832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28841 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28843 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28844 for ac_func in isnanf
28845 do :
28846 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28847 if test "x$ac_cv_func_isnanf" = x""yes; then :
28848 cat >>confdefs.h <<_ACEOF
28849 #define HAVE_ISNANF 1
28850 _ACEOF
28853 done
28855 else
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28858 $as_echo_n "checking for _isnanf declaration... " >&6; }
28859 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28860 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28861 $as_echo_n "(cached) " >&6
28862 else
28865 ac_ext=cpp
28866 ac_cpp='$CXXCPP $CPPFLAGS'
28867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h. */
28873 #include <math.h>
28874 #ifdef HAVE_IEEEFP_H
28875 #include <ieeefp.h>
28876 #endif
28879 main ()
28881 _isnanf(0);
28883 return 0;
28885 _ACEOF
28886 if ac_fn_cxx_try_compile "$LINENO"; then :
28887 glibcxx_cv_func__isnanf_use=yes
28888 else
28889 glibcxx_cv_func__isnanf_use=no
28891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28892 ac_ext=c
28893 ac_cpp='$CPP $CPPFLAGS'
28894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28903 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28905 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28906 for ac_func in _isnanf
28907 do :
28908 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28909 if test "x$ac_cv_func__isnanf" = x""yes; then :
28910 cat >>confdefs.h <<_ACEOF
28911 #define HAVE__ISNANF 1
28912 _ACEOF
28915 done
28924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28925 $as_echo_n "checking for isinff declaration... " >&6; }
28926 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28927 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28928 $as_echo_n "(cached) " >&6
28929 else
28932 ac_ext=cpp
28933 ac_cpp='$CXXCPP $CPPFLAGS'
28934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28939 /* end confdefs.h. */
28940 #include <math.h>
28941 #ifdef HAVE_IEEEFP_H
28942 #include <ieeefp.h>
28943 #endif
28946 main ()
28948 isinff(0);
28950 return 0;
28952 _ACEOF
28953 if ac_fn_cxx_try_compile "$LINENO"; then :
28954 glibcxx_cv_func_isinff_use=yes
28955 else
28956 glibcxx_cv_func_isinff_use=no
28958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28959 ac_ext=c
28960 ac_cpp='$CPP $CPPFLAGS'
28961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28970 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28972 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28973 for ac_func in isinff
28974 do :
28975 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28976 if test "x$ac_cv_func_isinff" = x""yes; then :
28977 cat >>confdefs.h <<_ACEOF
28978 #define HAVE_ISINFF 1
28979 _ACEOF
28982 done
28984 else
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28987 $as_echo_n "checking for _isinff declaration... " >&6; }
28988 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28989 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28990 $as_echo_n "(cached) " >&6
28991 else
28994 ac_ext=cpp
28995 ac_cpp='$CXXCPP $CPPFLAGS'
28996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29001 /* end confdefs.h. */
29002 #include <math.h>
29003 #ifdef HAVE_IEEEFP_H
29004 #include <ieeefp.h>
29005 #endif
29008 main ()
29010 _isinff(0);
29012 return 0;
29014 _ACEOF
29015 if ac_fn_cxx_try_compile "$LINENO"; then :
29016 glibcxx_cv_func__isinff_use=yes
29017 else
29018 glibcxx_cv_func__isinff_use=no
29020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29021 ac_ext=c
29022 ac_cpp='$CPP $CPPFLAGS'
29023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29032 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29034 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29035 for ac_func in _isinff
29036 do :
29037 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29038 if test "x$ac_cv_func__isinff" = x""yes; then :
29039 cat >>confdefs.h <<_ACEOF
29040 #define HAVE__ISINFF 1
29041 _ACEOF
29044 done
29053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29054 $as_echo_n "checking for atan2f declaration... " >&6; }
29055 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29056 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29057 $as_echo_n "(cached) " >&6
29058 else
29061 ac_ext=cpp
29062 ac_cpp='$CXXCPP $CPPFLAGS'
29063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29068 /* end confdefs.h. */
29069 #include <math.h>
29071 main ()
29073 atan2f(0, 0);
29075 return 0;
29077 _ACEOF
29078 if ac_fn_cxx_try_compile "$LINENO"; then :
29079 glibcxx_cv_func_atan2f_use=yes
29080 else
29081 glibcxx_cv_func_atan2f_use=no
29083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29084 ac_ext=c
29085 ac_cpp='$CPP $CPPFLAGS'
29086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29095 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29097 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29098 for ac_func in atan2f
29099 do :
29100 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29101 if test "x$ac_cv_func_atan2f" = x""yes; then :
29102 cat >>confdefs.h <<_ACEOF
29103 #define HAVE_ATAN2F 1
29104 _ACEOF
29107 done
29109 else
29111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29112 $as_echo_n "checking for _atan2f declaration... " >&6; }
29113 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29114 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29115 $as_echo_n "(cached) " >&6
29116 else
29119 ac_ext=cpp
29120 ac_cpp='$CXXCPP $CPPFLAGS'
29121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29126 /* end confdefs.h. */
29127 #include <math.h>
29129 main ()
29131 _atan2f(0, 0);
29133 return 0;
29135 _ACEOF
29136 if ac_fn_cxx_try_compile "$LINENO"; then :
29137 glibcxx_cv_func__atan2f_use=yes
29138 else
29139 glibcxx_cv_func__atan2f_use=no
29141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29142 ac_ext=c
29143 ac_cpp='$CPP $CPPFLAGS'
29144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29153 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29155 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29156 for ac_func in _atan2f
29157 do :
29158 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29159 if test "x$ac_cv_func__atan2f" = x""yes; then :
29160 cat >>confdefs.h <<_ACEOF
29161 #define HAVE__ATAN2F 1
29162 _ACEOF
29165 done
29174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29175 $as_echo_n "checking for fabsf declaration... " >&6; }
29176 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29177 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29178 $as_echo_n "(cached) " >&6
29179 else
29182 ac_ext=cpp
29183 ac_cpp='$CXXCPP $CPPFLAGS'
29184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29189 /* end confdefs.h. */
29190 #include <math.h>
29191 #ifdef HAVE_IEEEFP_H
29192 #include <ieeefp.h>
29193 #endif
29196 main ()
29198 fabsf(0);
29200 return 0;
29202 _ACEOF
29203 if ac_fn_cxx_try_compile "$LINENO"; then :
29204 glibcxx_cv_func_fabsf_use=yes
29205 else
29206 glibcxx_cv_func_fabsf_use=no
29208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29209 ac_ext=c
29210 ac_cpp='$CPP $CPPFLAGS'
29211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29220 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29222 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29223 for ac_func in fabsf
29224 do :
29225 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29226 if test "x$ac_cv_func_fabsf" = x""yes; then :
29227 cat >>confdefs.h <<_ACEOF
29228 #define HAVE_FABSF 1
29229 _ACEOF
29232 done
29234 else
29236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29237 $as_echo_n "checking for _fabsf declaration... " >&6; }
29238 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29239 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29240 $as_echo_n "(cached) " >&6
29241 else
29244 ac_ext=cpp
29245 ac_cpp='$CXXCPP $CPPFLAGS'
29246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29251 /* end confdefs.h. */
29252 #include <math.h>
29253 #ifdef HAVE_IEEEFP_H
29254 #include <ieeefp.h>
29255 #endif
29258 main ()
29260 _fabsf(0);
29262 return 0;
29264 _ACEOF
29265 if ac_fn_cxx_try_compile "$LINENO"; then :
29266 glibcxx_cv_func__fabsf_use=yes
29267 else
29268 glibcxx_cv_func__fabsf_use=no
29270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29271 ac_ext=c
29272 ac_cpp='$CPP $CPPFLAGS'
29273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29282 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29284 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29285 for ac_func in _fabsf
29286 do :
29287 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29288 if test "x$ac_cv_func__fabsf" = x""yes; then :
29289 cat >>confdefs.h <<_ACEOF
29290 #define HAVE__FABSF 1
29291 _ACEOF
29294 done
29303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29304 $as_echo_n "checking for fmodf declaration... " >&6; }
29305 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29306 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29307 $as_echo_n "(cached) " >&6
29308 else
29311 ac_ext=cpp
29312 ac_cpp='$CXXCPP $CPPFLAGS'
29313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29318 /* end confdefs.h. */
29319 #include <math.h>
29321 main ()
29323 fmodf(0, 0);
29325 return 0;
29327 _ACEOF
29328 if ac_fn_cxx_try_compile "$LINENO"; then :
29329 glibcxx_cv_func_fmodf_use=yes
29330 else
29331 glibcxx_cv_func_fmodf_use=no
29333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29334 ac_ext=c
29335 ac_cpp='$CPP $CPPFLAGS'
29336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29345 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29347 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29348 for ac_func in fmodf
29349 do :
29350 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29351 if test "x$ac_cv_func_fmodf" = x""yes; then :
29352 cat >>confdefs.h <<_ACEOF
29353 #define HAVE_FMODF 1
29354 _ACEOF
29357 done
29359 else
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29362 $as_echo_n "checking for _fmodf declaration... " >&6; }
29363 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29364 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29365 $as_echo_n "(cached) " >&6
29366 else
29369 ac_ext=cpp
29370 ac_cpp='$CXXCPP $CPPFLAGS'
29371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29376 /* end confdefs.h. */
29377 #include <math.h>
29379 main ()
29381 _fmodf(0, 0);
29383 return 0;
29385 _ACEOF
29386 if ac_fn_cxx_try_compile "$LINENO"; then :
29387 glibcxx_cv_func__fmodf_use=yes
29388 else
29389 glibcxx_cv_func__fmodf_use=no
29391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29392 ac_ext=c
29393 ac_cpp='$CPP $CPPFLAGS'
29394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29403 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29405 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29406 for ac_func in _fmodf
29407 do :
29408 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29409 if test "x$ac_cv_func__fmodf" = x""yes; then :
29410 cat >>confdefs.h <<_ACEOF
29411 #define HAVE__FMODF 1
29412 _ACEOF
29415 done
29424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29425 $as_echo_n "checking for frexpf declaration... " >&6; }
29426 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29427 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29428 $as_echo_n "(cached) " >&6
29429 else
29432 ac_ext=cpp
29433 ac_cpp='$CXXCPP $CPPFLAGS'
29434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29439 /* end confdefs.h. */
29440 #include <math.h>
29442 main ()
29444 frexpf(0, 0);
29446 return 0;
29448 _ACEOF
29449 if ac_fn_cxx_try_compile "$LINENO"; then :
29450 glibcxx_cv_func_frexpf_use=yes
29451 else
29452 glibcxx_cv_func_frexpf_use=no
29454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29455 ac_ext=c
29456 ac_cpp='$CPP $CPPFLAGS'
29457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29466 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29468 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29469 for ac_func in frexpf
29470 do :
29471 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29472 if test "x$ac_cv_func_frexpf" = x""yes; then :
29473 cat >>confdefs.h <<_ACEOF
29474 #define HAVE_FREXPF 1
29475 _ACEOF
29478 done
29480 else
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29483 $as_echo_n "checking for _frexpf declaration... " >&6; }
29484 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29485 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29486 $as_echo_n "(cached) " >&6
29487 else
29490 ac_ext=cpp
29491 ac_cpp='$CXXCPP $CPPFLAGS'
29492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29497 /* end confdefs.h. */
29498 #include <math.h>
29500 main ()
29502 _frexpf(0, 0);
29504 return 0;
29506 _ACEOF
29507 if ac_fn_cxx_try_compile "$LINENO"; then :
29508 glibcxx_cv_func__frexpf_use=yes
29509 else
29510 glibcxx_cv_func__frexpf_use=no
29512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29513 ac_ext=c
29514 ac_cpp='$CPP $CPPFLAGS'
29515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29524 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29526 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29527 for ac_func in _frexpf
29528 do :
29529 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29530 if test "x$ac_cv_func__frexpf" = x""yes; then :
29531 cat >>confdefs.h <<_ACEOF
29532 #define HAVE__FREXPF 1
29533 _ACEOF
29536 done
29545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29546 $as_echo_n "checking for hypotf declaration... " >&6; }
29547 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29548 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29549 $as_echo_n "(cached) " >&6
29550 else
29553 ac_ext=cpp
29554 ac_cpp='$CXXCPP $CPPFLAGS'
29555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29560 /* end confdefs.h. */
29561 #include <math.h>
29563 main ()
29565 hypotf(0, 0);
29567 return 0;
29569 _ACEOF
29570 if ac_fn_cxx_try_compile "$LINENO"; then :
29571 glibcxx_cv_func_hypotf_use=yes
29572 else
29573 glibcxx_cv_func_hypotf_use=no
29575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29576 ac_ext=c
29577 ac_cpp='$CPP $CPPFLAGS'
29578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29587 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29589 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29590 for ac_func in hypotf
29591 do :
29592 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29593 if test "x$ac_cv_func_hypotf" = x""yes; then :
29594 cat >>confdefs.h <<_ACEOF
29595 #define HAVE_HYPOTF 1
29596 _ACEOF
29599 done
29601 else
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29604 $as_echo_n "checking for _hypotf declaration... " >&6; }
29605 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29606 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29607 $as_echo_n "(cached) " >&6
29608 else
29611 ac_ext=cpp
29612 ac_cpp='$CXXCPP $CPPFLAGS'
29613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29618 /* end confdefs.h. */
29619 #include <math.h>
29621 main ()
29623 _hypotf(0, 0);
29625 return 0;
29627 _ACEOF
29628 if ac_fn_cxx_try_compile "$LINENO"; then :
29629 glibcxx_cv_func__hypotf_use=yes
29630 else
29631 glibcxx_cv_func__hypotf_use=no
29633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29634 ac_ext=c
29635 ac_cpp='$CPP $CPPFLAGS'
29636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29645 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29647 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29648 for ac_func in _hypotf
29649 do :
29650 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29651 if test "x$ac_cv_func__hypotf" = x""yes; then :
29652 cat >>confdefs.h <<_ACEOF
29653 #define HAVE__HYPOTF 1
29654 _ACEOF
29657 done
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29667 $as_echo_n "checking for ldexpf declaration... " >&6; }
29668 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29669 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29670 $as_echo_n "(cached) " >&6
29671 else
29674 ac_ext=cpp
29675 ac_cpp='$CXXCPP $CPPFLAGS'
29676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29681 /* end confdefs.h. */
29682 #include <math.h>
29684 main ()
29686 ldexpf(0, 0);
29688 return 0;
29690 _ACEOF
29691 if ac_fn_cxx_try_compile "$LINENO"; then :
29692 glibcxx_cv_func_ldexpf_use=yes
29693 else
29694 glibcxx_cv_func_ldexpf_use=no
29696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29697 ac_ext=c
29698 ac_cpp='$CPP $CPPFLAGS'
29699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29708 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29710 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29711 for ac_func in ldexpf
29712 do :
29713 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29714 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29715 cat >>confdefs.h <<_ACEOF
29716 #define HAVE_LDEXPF 1
29717 _ACEOF
29720 done
29722 else
29724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29725 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29726 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29727 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29728 $as_echo_n "(cached) " >&6
29729 else
29732 ac_ext=cpp
29733 ac_cpp='$CXXCPP $CPPFLAGS'
29734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29739 /* end confdefs.h. */
29740 #include <math.h>
29742 main ()
29744 _ldexpf(0, 0);
29746 return 0;
29748 _ACEOF
29749 if ac_fn_cxx_try_compile "$LINENO"; then :
29750 glibcxx_cv_func__ldexpf_use=yes
29751 else
29752 glibcxx_cv_func__ldexpf_use=no
29754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29755 ac_ext=c
29756 ac_cpp='$CPP $CPPFLAGS'
29757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29766 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29768 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29769 for ac_func in _ldexpf
29770 do :
29771 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29772 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29773 cat >>confdefs.h <<_ACEOF
29774 #define HAVE__LDEXPF 1
29775 _ACEOF
29778 done
29787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29788 $as_echo_n "checking for logf declaration... " >&6; }
29789 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29790 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29791 $as_echo_n "(cached) " >&6
29792 else
29795 ac_ext=cpp
29796 ac_cpp='$CXXCPP $CPPFLAGS'
29797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29802 /* end confdefs.h. */
29803 #include <math.h>
29804 #ifdef HAVE_IEEEFP_H
29805 #include <ieeefp.h>
29806 #endif
29809 main ()
29811 logf(0);
29813 return 0;
29815 _ACEOF
29816 if ac_fn_cxx_try_compile "$LINENO"; then :
29817 glibcxx_cv_func_logf_use=yes
29818 else
29819 glibcxx_cv_func_logf_use=no
29821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29822 ac_ext=c
29823 ac_cpp='$CPP $CPPFLAGS'
29824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29833 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29835 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29836 for ac_func in logf
29837 do :
29838 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29839 if test "x$ac_cv_func_logf" = x""yes; then :
29840 cat >>confdefs.h <<_ACEOF
29841 #define HAVE_LOGF 1
29842 _ACEOF
29845 done
29847 else
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29850 $as_echo_n "checking for _logf declaration... " >&6; }
29851 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29852 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29853 $as_echo_n "(cached) " >&6
29854 else
29857 ac_ext=cpp
29858 ac_cpp='$CXXCPP $CPPFLAGS'
29859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29864 /* end confdefs.h. */
29865 #include <math.h>
29866 #ifdef HAVE_IEEEFP_H
29867 #include <ieeefp.h>
29868 #endif
29871 main ()
29873 _logf(0);
29875 return 0;
29877 _ACEOF
29878 if ac_fn_cxx_try_compile "$LINENO"; then :
29879 glibcxx_cv_func__logf_use=yes
29880 else
29881 glibcxx_cv_func__logf_use=no
29883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29884 ac_ext=c
29885 ac_cpp='$CPP $CPPFLAGS'
29886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29895 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29897 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29898 for ac_func in _logf
29899 do :
29900 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29901 if test "x$ac_cv_func__logf" = x""yes; then :
29902 cat >>confdefs.h <<_ACEOF
29903 #define HAVE__LOGF 1
29904 _ACEOF
29907 done
29916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29917 $as_echo_n "checking for log10f declaration... " >&6; }
29918 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29919 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29920 $as_echo_n "(cached) " >&6
29921 else
29924 ac_ext=cpp
29925 ac_cpp='$CXXCPP $CPPFLAGS'
29926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29931 /* end confdefs.h. */
29932 #include <math.h>
29933 #ifdef HAVE_IEEEFP_H
29934 #include <ieeefp.h>
29935 #endif
29938 main ()
29940 log10f(0);
29942 return 0;
29944 _ACEOF
29945 if ac_fn_cxx_try_compile "$LINENO"; then :
29946 glibcxx_cv_func_log10f_use=yes
29947 else
29948 glibcxx_cv_func_log10f_use=no
29950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29951 ac_ext=c
29952 ac_cpp='$CPP $CPPFLAGS'
29953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29962 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29964 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29965 for ac_func in log10f
29966 do :
29967 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29968 if test "x$ac_cv_func_log10f" = x""yes; then :
29969 cat >>confdefs.h <<_ACEOF
29970 #define HAVE_LOG10F 1
29971 _ACEOF
29974 done
29976 else
29978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29979 $as_echo_n "checking for _log10f declaration... " >&6; }
29980 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29981 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29982 $as_echo_n "(cached) " >&6
29983 else
29986 ac_ext=cpp
29987 ac_cpp='$CXXCPP $CPPFLAGS'
29988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29993 /* end confdefs.h. */
29994 #include <math.h>
29995 #ifdef HAVE_IEEEFP_H
29996 #include <ieeefp.h>
29997 #endif
30000 main ()
30002 _log10f(0);
30004 return 0;
30006 _ACEOF
30007 if ac_fn_cxx_try_compile "$LINENO"; then :
30008 glibcxx_cv_func__log10f_use=yes
30009 else
30010 glibcxx_cv_func__log10f_use=no
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013 ac_ext=c
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30024 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30026 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30027 for ac_func in _log10f
30028 do :
30029 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30030 if test "x$ac_cv_func__log10f" = x""yes; then :
30031 cat >>confdefs.h <<_ACEOF
30032 #define HAVE__LOG10F 1
30033 _ACEOF
30036 done
30045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30046 $as_echo_n "checking for modff declaration... " >&6; }
30047 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30048 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30049 $as_echo_n "(cached) " >&6
30050 else
30053 ac_ext=cpp
30054 ac_cpp='$CXXCPP $CPPFLAGS'
30055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30060 /* end confdefs.h. */
30061 #include <math.h>
30063 main ()
30065 modff(0, 0);
30067 return 0;
30069 _ACEOF
30070 if ac_fn_cxx_try_compile "$LINENO"; then :
30071 glibcxx_cv_func_modff_use=yes
30072 else
30073 glibcxx_cv_func_modff_use=no
30075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30076 ac_ext=c
30077 ac_cpp='$CPP $CPPFLAGS'
30078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30087 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30089 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30090 for ac_func in modff
30091 do :
30092 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30093 if test "x$ac_cv_func_modff" = x""yes; then :
30094 cat >>confdefs.h <<_ACEOF
30095 #define HAVE_MODFF 1
30096 _ACEOF
30099 done
30101 else
30103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30104 $as_echo_n "checking for _modff declaration... " >&6; }
30105 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30106 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30107 $as_echo_n "(cached) " >&6
30108 else
30111 ac_ext=cpp
30112 ac_cpp='$CXXCPP $CPPFLAGS'
30113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30118 /* end confdefs.h. */
30119 #include <math.h>
30121 main ()
30123 _modff(0, 0);
30125 return 0;
30127 _ACEOF
30128 if ac_fn_cxx_try_compile "$LINENO"; then :
30129 glibcxx_cv_func__modff_use=yes
30130 else
30131 glibcxx_cv_func__modff_use=no
30133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30134 ac_ext=c
30135 ac_cpp='$CPP $CPPFLAGS'
30136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30145 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30147 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30148 for ac_func in _modff
30149 do :
30150 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30151 if test "x$ac_cv_func__modff" = x""yes; then :
30152 cat >>confdefs.h <<_ACEOF
30153 #define HAVE__MODFF 1
30154 _ACEOF
30157 done
30166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30167 $as_echo_n "checking for modf declaration... " >&6; }
30168 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30169 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30170 $as_echo_n "(cached) " >&6
30171 else
30174 ac_ext=cpp
30175 ac_cpp='$CXXCPP $CPPFLAGS'
30176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30181 /* end confdefs.h. */
30182 #include <math.h>
30184 main ()
30186 modf(0, 0);
30188 return 0;
30190 _ACEOF
30191 if ac_fn_cxx_try_compile "$LINENO"; then :
30192 glibcxx_cv_func_modf_use=yes
30193 else
30194 glibcxx_cv_func_modf_use=no
30196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30197 ac_ext=c
30198 ac_cpp='$CPP $CPPFLAGS'
30199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30208 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30210 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30211 for ac_func in modf
30212 do :
30213 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30214 if test "x$ac_cv_func_modf" = x""yes; then :
30215 cat >>confdefs.h <<_ACEOF
30216 #define HAVE_MODF 1
30217 _ACEOF
30220 done
30222 else
30224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30225 $as_echo_n "checking for _modf declaration... " >&6; }
30226 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30227 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30228 $as_echo_n "(cached) " >&6
30229 else
30232 ac_ext=cpp
30233 ac_cpp='$CXXCPP $CPPFLAGS'
30234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30239 /* end confdefs.h. */
30240 #include <math.h>
30242 main ()
30244 _modf(0, 0);
30246 return 0;
30248 _ACEOF
30249 if ac_fn_cxx_try_compile "$LINENO"; then :
30250 glibcxx_cv_func__modf_use=yes
30251 else
30252 glibcxx_cv_func__modf_use=no
30254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30255 ac_ext=c
30256 ac_cpp='$CPP $CPPFLAGS'
30257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30266 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30268 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30269 for ac_func in _modf
30270 do :
30271 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30272 if test "x$ac_cv_func__modf" = x""yes; then :
30273 cat >>confdefs.h <<_ACEOF
30274 #define HAVE__MODF 1
30275 _ACEOF
30278 done
30287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30288 $as_echo_n "checking for powf declaration... " >&6; }
30289 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30290 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30291 $as_echo_n "(cached) " >&6
30292 else
30295 ac_ext=cpp
30296 ac_cpp='$CXXCPP $CPPFLAGS'
30297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30302 /* end confdefs.h. */
30303 #include <math.h>
30305 main ()
30307 powf(0, 0);
30309 return 0;
30311 _ACEOF
30312 if ac_fn_cxx_try_compile "$LINENO"; then :
30313 glibcxx_cv_func_powf_use=yes
30314 else
30315 glibcxx_cv_func_powf_use=no
30317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30318 ac_ext=c
30319 ac_cpp='$CPP $CPPFLAGS'
30320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30329 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30331 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30332 for ac_func in powf
30333 do :
30334 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30335 if test "x$ac_cv_func_powf" = x""yes; then :
30336 cat >>confdefs.h <<_ACEOF
30337 #define HAVE_POWF 1
30338 _ACEOF
30341 done
30343 else
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30346 $as_echo_n "checking for _powf declaration... " >&6; }
30347 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30348 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30349 $as_echo_n "(cached) " >&6
30350 else
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <math.h>
30363 main ()
30365 _powf(0, 0);
30367 return 0;
30369 _ACEOF
30370 if ac_fn_cxx_try_compile "$LINENO"; then :
30371 glibcxx_cv_func__powf_use=yes
30372 else
30373 glibcxx_cv_func__powf_use=no
30375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30376 ac_ext=c
30377 ac_cpp='$CPP $CPPFLAGS'
30378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30387 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30389 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30390 for ac_func in _powf
30391 do :
30392 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30393 if test "x$ac_cv_func__powf" = x""yes; then :
30394 cat >>confdefs.h <<_ACEOF
30395 #define HAVE__POWF 1
30396 _ACEOF
30399 done
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30409 $as_echo_n "checking for sqrtf declaration... " >&6; }
30410 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30411 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30412 $as_echo_n "(cached) " >&6
30413 else
30416 ac_ext=cpp
30417 ac_cpp='$CXXCPP $CPPFLAGS'
30418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30423 /* end confdefs.h. */
30424 #include <math.h>
30425 #ifdef HAVE_IEEEFP_H
30426 #include <ieeefp.h>
30427 #endif
30430 main ()
30432 sqrtf(0);
30434 return 0;
30436 _ACEOF
30437 if ac_fn_cxx_try_compile "$LINENO"; then :
30438 glibcxx_cv_func_sqrtf_use=yes
30439 else
30440 glibcxx_cv_func_sqrtf_use=no
30442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30443 ac_ext=c
30444 ac_cpp='$CPP $CPPFLAGS'
30445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30454 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30456 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30457 for ac_func in sqrtf
30458 do :
30459 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30460 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30461 cat >>confdefs.h <<_ACEOF
30462 #define HAVE_SQRTF 1
30463 _ACEOF
30466 done
30468 else
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30471 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30472 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30473 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30474 $as_echo_n "(cached) " >&6
30475 else
30478 ac_ext=cpp
30479 ac_cpp='$CXXCPP $CPPFLAGS'
30480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30485 /* end confdefs.h. */
30486 #include <math.h>
30487 #ifdef HAVE_IEEEFP_H
30488 #include <ieeefp.h>
30489 #endif
30492 main ()
30494 _sqrtf(0);
30496 return 0;
30498 _ACEOF
30499 if ac_fn_cxx_try_compile "$LINENO"; then :
30500 glibcxx_cv_func__sqrtf_use=yes
30501 else
30502 glibcxx_cv_func__sqrtf_use=no
30504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30505 ac_ext=c
30506 ac_cpp='$CPP $CPPFLAGS'
30507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30516 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30518 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30519 for ac_func in _sqrtf
30520 do :
30521 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30522 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30523 cat >>confdefs.h <<_ACEOF
30524 #define HAVE__SQRTF 1
30525 _ACEOF
30528 done
30537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30538 $as_echo_n "checking for sincosf declaration... " >&6; }
30539 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30540 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30541 $as_echo_n "(cached) " >&6
30542 else
30545 ac_ext=cpp
30546 ac_cpp='$CXXCPP $CPPFLAGS'
30547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30552 /* end confdefs.h. */
30553 #include <math.h>
30555 main ()
30557 sincosf(0, 0, 0);
30559 return 0;
30561 _ACEOF
30562 if ac_fn_cxx_try_compile "$LINENO"; then :
30563 glibcxx_cv_func_sincosf_use=yes
30564 else
30565 glibcxx_cv_func_sincosf_use=no
30567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30568 ac_ext=c
30569 ac_cpp='$CPP $CPPFLAGS'
30570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30579 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30581 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30582 for ac_func in sincosf
30583 do :
30584 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30585 if test "x$ac_cv_func_sincosf" = x""yes; then :
30586 cat >>confdefs.h <<_ACEOF
30587 #define HAVE_SINCOSF 1
30588 _ACEOF
30591 done
30593 else
30595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30596 $as_echo_n "checking for _sincosf declaration... " >&6; }
30597 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30598 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30599 $as_echo_n "(cached) " >&6
30600 else
30603 ac_ext=cpp
30604 ac_cpp='$CXXCPP $CPPFLAGS'
30605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30610 /* end confdefs.h. */
30611 #include <math.h>
30613 main ()
30615 _sincosf(0, 0, 0);
30617 return 0;
30619 _ACEOF
30620 if ac_fn_cxx_try_compile "$LINENO"; then :
30621 glibcxx_cv_func__sincosf_use=yes
30622 else
30623 glibcxx_cv_func__sincosf_use=no
30625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30626 ac_ext=c
30627 ac_cpp='$CPP $CPPFLAGS'
30628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30637 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30639 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30640 for ac_func in _sincosf
30641 do :
30642 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30643 if test "x$ac_cv_func__sincosf" = x""yes; then :
30644 cat >>confdefs.h <<_ACEOF
30645 #define HAVE__SINCOSF 1
30646 _ACEOF
30649 done
30658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30659 $as_echo_n "checking for finitef declaration... " >&6; }
30660 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30661 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30662 $as_echo_n "(cached) " >&6
30663 else
30666 ac_ext=cpp
30667 ac_cpp='$CXXCPP $CPPFLAGS'
30668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30673 /* end confdefs.h. */
30674 #include <math.h>
30675 #ifdef HAVE_IEEEFP_H
30676 #include <ieeefp.h>
30677 #endif
30680 main ()
30682 finitef(0);
30684 return 0;
30686 _ACEOF
30687 if ac_fn_cxx_try_compile "$LINENO"; then :
30688 glibcxx_cv_func_finitef_use=yes
30689 else
30690 glibcxx_cv_func_finitef_use=no
30692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30693 ac_ext=c
30694 ac_cpp='$CPP $CPPFLAGS'
30695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30704 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30706 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30707 for ac_func in finitef
30708 do :
30709 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30710 if test "x$ac_cv_func_finitef" = x""yes; then :
30711 cat >>confdefs.h <<_ACEOF
30712 #define HAVE_FINITEF 1
30713 _ACEOF
30716 done
30718 else
30720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30721 $as_echo_n "checking for _finitef declaration... " >&6; }
30722 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30723 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30724 $as_echo_n "(cached) " >&6
30725 else
30728 ac_ext=cpp
30729 ac_cpp='$CXXCPP $CPPFLAGS'
30730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30735 /* end confdefs.h. */
30736 #include <math.h>
30737 #ifdef HAVE_IEEEFP_H
30738 #include <ieeefp.h>
30739 #endif
30742 main ()
30744 _finitef(0);
30746 return 0;
30748 _ACEOF
30749 if ac_fn_cxx_try_compile "$LINENO"; then :
30750 glibcxx_cv_func__finitef_use=yes
30751 else
30752 glibcxx_cv_func__finitef_use=no
30754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30755 ac_ext=c
30756 ac_cpp='$CPP $CPPFLAGS'
30757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30766 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30768 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30769 for ac_func in _finitef
30770 do :
30771 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30772 if test "x$ac_cv_func__finitef" = x""yes; then :
30773 cat >>confdefs.h <<_ACEOF
30774 #define HAVE__FINITEF 1
30775 _ACEOF
30778 done
30787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30788 $as_echo_n "checking for long double trig functions... " >&6; }
30789 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30790 $as_echo_n "(cached) " >&6
30791 else
30794 ac_ext=cpp
30795 ac_cpp='$CXXCPP $CPPFLAGS'
30796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30801 /* end confdefs.h. */
30802 #include <math.h>
30804 main ()
30806 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30808 return 0;
30810 _ACEOF
30811 if ac_fn_cxx_try_compile "$LINENO"; then :
30812 glibcxx_cv_func_long_double_trig_use=yes
30813 else
30814 glibcxx_cv_func_long_double_trig_use=no
30816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30817 ac_ext=c
30818 ac_cpp='$CPP $CPPFLAGS'
30819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30826 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30827 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30828 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30829 do :
30830 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30831 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30832 eval as_val=\$$as_ac_var
30833 if test "x$as_val" = x""yes; then :
30834 cat >>confdefs.h <<_ACEOF
30835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30836 _ACEOF
30839 done
30841 else
30842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30843 $as_echo_n "checking for _long double trig functions... " >&6; }
30844 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30845 $as_echo_n "(cached) " >&6
30846 else
30849 ac_ext=cpp
30850 ac_cpp='$CXXCPP $CPPFLAGS'
30851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30856 /* end confdefs.h. */
30857 #include <math.h>
30859 main ()
30861 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30863 return 0;
30865 _ACEOF
30866 if ac_fn_cxx_try_compile "$LINENO"; then :
30867 glibcxx_cv_func__long_double_trig_use=yes
30868 else
30869 glibcxx_cv_func__long_double_trig_use=no
30871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30872 ac_ext=c
30873 ac_cpp='$CPP $CPPFLAGS'
30874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30881 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30882 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30883 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30884 do :
30885 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30886 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30887 eval as_val=\$$as_ac_var
30888 if test "x$as_val" = x""yes; then :
30889 cat >>confdefs.h <<_ACEOF
30890 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30891 _ACEOF
30894 done
30903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30904 $as_echo_n "checking for long double round functions... " >&6; }
30905 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30906 $as_echo_n "(cached) " >&6
30907 else
30910 ac_ext=cpp
30911 ac_cpp='$CXXCPP $CPPFLAGS'
30912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30917 /* end confdefs.h. */
30918 #include <math.h>
30920 main ()
30922 ceill (0); floorl (0);
30924 return 0;
30926 _ACEOF
30927 if ac_fn_cxx_try_compile "$LINENO"; then :
30928 glibcxx_cv_func_long_double_round_use=yes
30929 else
30930 glibcxx_cv_func_long_double_round_use=no
30932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30933 ac_ext=c
30934 ac_cpp='$CPP $CPPFLAGS'
30935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30942 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30943 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30944 for ac_func in ceill floorl
30945 do :
30946 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30947 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30948 eval as_val=\$$as_ac_var
30949 if test "x$as_val" = x""yes; then :
30950 cat >>confdefs.h <<_ACEOF
30951 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30952 _ACEOF
30955 done
30957 else
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30959 $as_echo_n "checking for _long double round functions... " >&6; }
30960 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30961 $as_echo_n "(cached) " >&6
30962 else
30965 ac_ext=cpp
30966 ac_cpp='$CXXCPP $CPPFLAGS'
30967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30972 /* end confdefs.h. */
30973 #include <math.h>
30975 main ()
30977 _ceill (0); _floorl (0);
30979 return 0;
30981 _ACEOF
30982 if ac_fn_cxx_try_compile "$LINENO"; then :
30983 glibcxx_cv_func__long_double_round_use=yes
30984 else
30985 glibcxx_cv_func__long_double_round_use=no
30987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30988 ac_ext=c
30989 ac_cpp='$CPP $CPPFLAGS'
30990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30997 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30998 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30999 for ac_func in _ceill _floorl
31000 do :
31001 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31002 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31003 eval as_val=\$$as_ac_var
31004 if test "x$as_val" = x""yes; then :
31005 cat >>confdefs.h <<_ACEOF
31006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31007 _ACEOF
31010 done
31020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31021 $as_echo_n "checking for isnanl declaration... " >&6; }
31022 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31023 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31024 $as_echo_n "(cached) " >&6
31025 else
31028 ac_ext=cpp
31029 ac_cpp='$CXXCPP $CPPFLAGS'
31030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31035 /* end confdefs.h. */
31036 #include <math.h>
31037 #ifdef HAVE_IEEEFP_H
31038 #include <ieeefp.h>
31039 #endif
31042 main ()
31044 isnanl(0);
31046 return 0;
31048 _ACEOF
31049 if ac_fn_cxx_try_compile "$LINENO"; then :
31050 glibcxx_cv_func_isnanl_use=yes
31051 else
31052 glibcxx_cv_func_isnanl_use=no
31054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31055 ac_ext=c
31056 ac_cpp='$CPP $CPPFLAGS'
31057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31066 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31068 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31069 for ac_func in isnanl
31070 do :
31071 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31072 if test "x$ac_cv_func_isnanl" = x""yes; then :
31073 cat >>confdefs.h <<_ACEOF
31074 #define HAVE_ISNANL 1
31075 _ACEOF
31078 done
31080 else
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31083 $as_echo_n "checking for _isnanl declaration... " >&6; }
31084 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31085 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31086 $as_echo_n "(cached) " >&6
31087 else
31090 ac_ext=cpp
31091 ac_cpp='$CXXCPP $CPPFLAGS'
31092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31097 /* end confdefs.h. */
31098 #include <math.h>
31099 #ifdef HAVE_IEEEFP_H
31100 #include <ieeefp.h>
31101 #endif
31104 main ()
31106 _isnanl(0);
31108 return 0;
31110 _ACEOF
31111 if ac_fn_cxx_try_compile "$LINENO"; then :
31112 glibcxx_cv_func__isnanl_use=yes
31113 else
31114 glibcxx_cv_func__isnanl_use=no
31116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31117 ac_ext=c
31118 ac_cpp='$CPP $CPPFLAGS'
31119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31128 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31130 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31131 for ac_func in _isnanl
31132 do :
31133 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31134 if test "x$ac_cv_func__isnanl" = x""yes; then :
31135 cat >>confdefs.h <<_ACEOF
31136 #define HAVE__ISNANL 1
31137 _ACEOF
31140 done
31149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31150 $as_echo_n "checking for isinfl declaration... " >&6; }
31151 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31152 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31153 $as_echo_n "(cached) " >&6
31154 else
31157 ac_ext=cpp
31158 ac_cpp='$CXXCPP $CPPFLAGS'
31159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31164 /* end confdefs.h. */
31165 #include <math.h>
31166 #ifdef HAVE_IEEEFP_H
31167 #include <ieeefp.h>
31168 #endif
31171 main ()
31173 isinfl(0);
31175 return 0;
31177 _ACEOF
31178 if ac_fn_cxx_try_compile "$LINENO"; then :
31179 glibcxx_cv_func_isinfl_use=yes
31180 else
31181 glibcxx_cv_func_isinfl_use=no
31183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31184 ac_ext=c
31185 ac_cpp='$CPP $CPPFLAGS'
31186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31195 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31197 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31198 for ac_func in isinfl
31199 do :
31200 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31201 if test "x$ac_cv_func_isinfl" = x""yes; then :
31202 cat >>confdefs.h <<_ACEOF
31203 #define HAVE_ISINFL 1
31204 _ACEOF
31207 done
31209 else
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31212 $as_echo_n "checking for _isinfl declaration... " >&6; }
31213 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31214 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31215 $as_echo_n "(cached) " >&6
31216 else
31219 ac_ext=cpp
31220 ac_cpp='$CXXCPP $CPPFLAGS'
31221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31227 #include <math.h>
31228 #ifdef HAVE_IEEEFP_H
31229 #include <ieeefp.h>
31230 #endif
31233 main ()
31235 _isinfl(0);
31237 return 0;
31239 _ACEOF
31240 if ac_fn_cxx_try_compile "$LINENO"; then :
31241 glibcxx_cv_func__isinfl_use=yes
31242 else
31243 glibcxx_cv_func__isinfl_use=no
31245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31246 ac_ext=c
31247 ac_cpp='$CPP $CPPFLAGS'
31248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31257 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31259 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31260 for ac_func in _isinfl
31261 do :
31262 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31263 if test "x$ac_cv_func__isinfl" = x""yes; then :
31264 cat >>confdefs.h <<_ACEOF
31265 #define HAVE__ISINFL 1
31266 _ACEOF
31269 done
31278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31279 $as_echo_n "checking for atan2l declaration... " >&6; }
31280 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31281 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31282 $as_echo_n "(cached) " >&6
31283 else
31286 ac_ext=cpp
31287 ac_cpp='$CXXCPP $CPPFLAGS'
31288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31293 /* end confdefs.h. */
31294 #include <math.h>
31296 main ()
31298 atan2l(0, 0);
31300 return 0;
31302 _ACEOF
31303 if ac_fn_cxx_try_compile "$LINENO"; then :
31304 glibcxx_cv_func_atan2l_use=yes
31305 else
31306 glibcxx_cv_func_atan2l_use=no
31308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31309 ac_ext=c
31310 ac_cpp='$CPP $CPPFLAGS'
31311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31320 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31322 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31323 for ac_func in atan2l
31324 do :
31325 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31326 if test "x$ac_cv_func_atan2l" = x""yes; then :
31327 cat >>confdefs.h <<_ACEOF
31328 #define HAVE_ATAN2L 1
31329 _ACEOF
31332 done
31334 else
31336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31337 $as_echo_n "checking for _atan2l declaration... " >&6; }
31338 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31339 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31340 $as_echo_n "(cached) " >&6
31341 else
31344 ac_ext=cpp
31345 ac_cpp='$CXXCPP $CPPFLAGS'
31346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31351 /* end confdefs.h. */
31352 #include <math.h>
31354 main ()
31356 _atan2l(0, 0);
31358 return 0;
31360 _ACEOF
31361 if ac_fn_cxx_try_compile "$LINENO"; then :
31362 glibcxx_cv_func__atan2l_use=yes
31363 else
31364 glibcxx_cv_func__atan2l_use=no
31366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31367 ac_ext=c
31368 ac_cpp='$CPP $CPPFLAGS'
31369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31378 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31380 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31381 for ac_func in _atan2l
31382 do :
31383 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31384 if test "x$ac_cv_func__atan2l" = x""yes; then :
31385 cat >>confdefs.h <<_ACEOF
31386 #define HAVE__ATAN2L 1
31387 _ACEOF
31390 done
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31400 $as_echo_n "checking for expl declaration... " >&6; }
31401 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31402 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31403 $as_echo_n "(cached) " >&6
31404 else
31407 ac_ext=cpp
31408 ac_cpp='$CXXCPP $CPPFLAGS'
31409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31414 /* end confdefs.h. */
31415 #include <math.h>
31416 #ifdef HAVE_IEEEFP_H
31417 #include <ieeefp.h>
31418 #endif
31421 main ()
31423 expl(0);
31425 return 0;
31427 _ACEOF
31428 if ac_fn_cxx_try_compile "$LINENO"; then :
31429 glibcxx_cv_func_expl_use=yes
31430 else
31431 glibcxx_cv_func_expl_use=no
31433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31434 ac_ext=c
31435 ac_cpp='$CPP $CPPFLAGS'
31436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31445 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31447 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31448 for ac_func in expl
31449 do :
31450 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31451 if test "x$ac_cv_func_expl" = x""yes; then :
31452 cat >>confdefs.h <<_ACEOF
31453 #define HAVE_EXPL 1
31454 _ACEOF
31457 done
31459 else
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31462 $as_echo_n "checking for _expl declaration... " >&6; }
31463 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31464 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31465 $as_echo_n "(cached) " >&6
31466 else
31469 ac_ext=cpp
31470 ac_cpp='$CXXCPP $CPPFLAGS'
31471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31476 /* end confdefs.h. */
31477 #include <math.h>
31478 #ifdef HAVE_IEEEFP_H
31479 #include <ieeefp.h>
31480 #endif
31483 main ()
31485 _expl(0);
31487 return 0;
31489 _ACEOF
31490 if ac_fn_cxx_try_compile "$LINENO"; then :
31491 glibcxx_cv_func__expl_use=yes
31492 else
31493 glibcxx_cv_func__expl_use=no
31495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31496 ac_ext=c
31497 ac_cpp='$CPP $CPPFLAGS'
31498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31507 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31509 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31510 for ac_func in _expl
31511 do :
31512 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31513 if test "x$ac_cv_func__expl" = x""yes; then :
31514 cat >>confdefs.h <<_ACEOF
31515 #define HAVE__EXPL 1
31516 _ACEOF
31519 done
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31529 $as_echo_n "checking for fabsl declaration... " >&6; }
31530 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31531 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31536 ac_ext=cpp
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31543 /* end confdefs.h. */
31544 #include <math.h>
31545 #ifdef HAVE_IEEEFP_H
31546 #include <ieeefp.h>
31547 #endif
31550 main ()
31552 fabsl(0);
31554 return 0;
31556 _ACEOF
31557 if ac_fn_cxx_try_compile "$LINENO"; then :
31558 glibcxx_cv_func_fabsl_use=yes
31559 else
31560 glibcxx_cv_func_fabsl_use=no
31562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31563 ac_ext=c
31564 ac_cpp='$CPP $CPPFLAGS'
31565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31574 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31576 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31577 for ac_func in fabsl
31578 do :
31579 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31580 if test "x$ac_cv_func_fabsl" = x""yes; then :
31581 cat >>confdefs.h <<_ACEOF
31582 #define HAVE_FABSL 1
31583 _ACEOF
31586 done
31588 else
31590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31591 $as_echo_n "checking for _fabsl declaration... " >&6; }
31592 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31593 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31594 $as_echo_n "(cached) " >&6
31595 else
31598 ac_ext=cpp
31599 ac_cpp='$CXXCPP $CPPFLAGS'
31600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31605 /* end confdefs.h. */
31606 #include <math.h>
31607 #ifdef HAVE_IEEEFP_H
31608 #include <ieeefp.h>
31609 #endif
31612 main ()
31614 _fabsl(0);
31616 return 0;
31618 _ACEOF
31619 if ac_fn_cxx_try_compile "$LINENO"; then :
31620 glibcxx_cv_func__fabsl_use=yes
31621 else
31622 glibcxx_cv_func__fabsl_use=no
31624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31625 ac_ext=c
31626 ac_cpp='$CPP $CPPFLAGS'
31627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31636 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31638 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31639 for ac_func in _fabsl
31640 do :
31641 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31642 if test "x$ac_cv_func__fabsl" = x""yes; then :
31643 cat >>confdefs.h <<_ACEOF
31644 #define HAVE__FABSL 1
31645 _ACEOF
31648 done
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31658 $as_echo_n "checking for fmodl declaration... " >&6; }
31659 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31660 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31661 $as_echo_n "(cached) " >&6
31662 else
31665 ac_ext=cpp
31666 ac_cpp='$CXXCPP $CPPFLAGS'
31667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31672 /* end confdefs.h. */
31673 #include <math.h>
31675 main ()
31677 fmodl(0, 0);
31679 return 0;
31681 _ACEOF
31682 if ac_fn_cxx_try_compile "$LINENO"; then :
31683 glibcxx_cv_func_fmodl_use=yes
31684 else
31685 glibcxx_cv_func_fmodl_use=no
31687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31688 ac_ext=c
31689 ac_cpp='$CPP $CPPFLAGS'
31690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31699 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31701 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31702 for ac_func in fmodl
31703 do :
31704 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31705 if test "x$ac_cv_func_fmodl" = x""yes; then :
31706 cat >>confdefs.h <<_ACEOF
31707 #define HAVE_FMODL 1
31708 _ACEOF
31711 done
31713 else
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31716 $as_echo_n "checking for _fmodl declaration... " >&6; }
31717 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31718 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31719 $as_echo_n "(cached) " >&6
31720 else
31723 ac_ext=cpp
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31730 /* end confdefs.h. */
31731 #include <math.h>
31733 main ()
31735 _fmodl(0, 0);
31737 return 0;
31739 _ACEOF
31740 if ac_fn_cxx_try_compile "$LINENO"; then :
31741 glibcxx_cv_func__fmodl_use=yes
31742 else
31743 glibcxx_cv_func__fmodl_use=no
31745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31746 ac_ext=c
31747 ac_cpp='$CPP $CPPFLAGS'
31748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31757 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31759 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31760 for ac_func in _fmodl
31761 do :
31762 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31763 if test "x$ac_cv_func__fmodl" = x""yes; then :
31764 cat >>confdefs.h <<_ACEOF
31765 #define HAVE__FMODL 1
31766 _ACEOF
31769 done
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31779 $as_echo_n "checking for frexpl declaration... " >&6; }
31780 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31781 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31782 $as_echo_n "(cached) " >&6
31783 else
31786 ac_ext=cpp
31787 ac_cpp='$CXXCPP $CPPFLAGS'
31788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31793 /* end confdefs.h. */
31794 #include <math.h>
31796 main ()
31798 frexpl(0, 0);
31800 return 0;
31802 _ACEOF
31803 if ac_fn_cxx_try_compile "$LINENO"; then :
31804 glibcxx_cv_func_frexpl_use=yes
31805 else
31806 glibcxx_cv_func_frexpl_use=no
31808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31809 ac_ext=c
31810 ac_cpp='$CPP $CPPFLAGS'
31811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31820 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31822 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31823 for ac_func in frexpl
31824 do :
31825 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31826 if test "x$ac_cv_func_frexpl" = x""yes; then :
31827 cat >>confdefs.h <<_ACEOF
31828 #define HAVE_FREXPL 1
31829 _ACEOF
31832 done
31834 else
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31837 $as_echo_n "checking for _frexpl declaration... " >&6; }
31838 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31839 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31840 $as_echo_n "(cached) " >&6
31841 else
31844 ac_ext=cpp
31845 ac_cpp='$CXXCPP $CPPFLAGS'
31846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31851 /* end confdefs.h. */
31852 #include <math.h>
31854 main ()
31856 _frexpl(0, 0);
31858 return 0;
31860 _ACEOF
31861 if ac_fn_cxx_try_compile "$LINENO"; then :
31862 glibcxx_cv_func__frexpl_use=yes
31863 else
31864 glibcxx_cv_func__frexpl_use=no
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31878 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31880 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31881 for ac_func in _frexpl
31882 do :
31883 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31884 if test "x$ac_cv_func__frexpl" = x""yes; then :
31885 cat >>confdefs.h <<_ACEOF
31886 #define HAVE__FREXPL 1
31887 _ACEOF
31890 done
31899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31900 $as_echo_n "checking for hypotl declaration... " >&6; }
31901 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31902 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31903 $as_echo_n "(cached) " >&6
31904 else
31907 ac_ext=cpp
31908 ac_cpp='$CXXCPP $CPPFLAGS'
31909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31914 /* end confdefs.h. */
31915 #include <math.h>
31917 main ()
31919 hypotl(0, 0);
31921 return 0;
31923 _ACEOF
31924 if ac_fn_cxx_try_compile "$LINENO"; then :
31925 glibcxx_cv_func_hypotl_use=yes
31926 else
31927 glibcxx_cv_func_hypotl_use=no
31929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31930 ac_ext=c
31931 ac_cpp='$CPP $CPPFLAGS'
31932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31941 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31943 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31944 for ac_func in hypotl
31945 do :
31946 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31947 if test "x$ac_cv_func_hypotl" = x""yes; then :
31948 cat >>confdefs.h <<_ACEOF
31949 #define HAVE_HYPOTL 1
31950 _ACEOF
31953 done
31955 else
31957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31958 $as_echo_n "checking for _hypotl declaration... " >&6; }
31959 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31960 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31961 $as_echo_n "(cached) " >&6
31962 else
31965 ac_ext=cpp
31966 ac_cpp='$CXXCPP $CPPFLAGS'
31967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31972 /* end confdefs.h. */
31973 #include <math.h>
31975 main ()
31977 _hypotl(0, 0);
31979 return 0;
31981 _ACEOF
31982 if ac_fn_cxx_try_compile "$LINENO"; then :
31983 glibcxx_cv_func__hypotl_use=yes
31984 else
31985 glibcxx_cv_func__hypotl_use=no
31987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31988 ac_ext=c
31989 ac_cpp='$CPP $CPPFLAGS'
31990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31999 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32001 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32002 for ac_func in _hypotl
32003 do :
32004 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32005 if test "x$ac_cv_func__hypotl" = x""yes; then :
32006 cat >>confdefs.h <<_ACEOF
32007 #define HAVE__HYPOTL 1
32008 _ACEOF
32011 done
32020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32021 $as_echo_n "checking for ldexpl declaration... " >&6; }
32022 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32023 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32024 $as_echo_n "(cached) " >&6
32025 else
32028 ac_ext=cpp
32029 ac_cpp='$CXXCPP $CPPFLAGS'
32030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32035 /* end confdefs.h. */
32036 #include <math.h>
32038 main ()
32040 ldexpl(0, 0);
32042 return 0;
32044 _ACEOF
32045 if ac_fn_cxx_try_compile "$LINENO"; then :
32046 glibcxx_cv_func_ldexpl_use=yes
32047 else
32048 glibcxx_cv_func_ldexpl_use=no
32050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32051 ac_ext=c
32052 ac_cpp='$CPP $CPPFLAGS'
32053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32062 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32064 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32065 for ac_func in ldexpl
32066 do :
32067 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32068 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32069 cat >>confdefs.h <<_ACEOF
32070 #define HAVE_LDEXPL 1
32071 _ACEOF
32074 done
32076 else
32078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32079 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32080 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32081 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32082 $as_echo_n "(cached) " >&6
32083 else
32086 ac_ext=cpp
32087 ac_cpp='$CXXCPP $CPPFLAGS'
32088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32093 /* end confdefs.h. */
32094 #include <math.h>
32096 main ()
32098 _ldexpl(0, 0);
32100 return 0;
32102 _ACEOF
32103 if ac_fn_cxx_try_compile "$LINENO"; then :
32104 glibcxx_cv_func__ldexpl_use=yes
32105 else
32106 glibcxx_cv_func__ldexpl_use=no
32108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32109 ac_ext=c
32110 ac_cpp='$CPP $CPPFLAGS'
32111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32120 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32122 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32123 for ac_func in _ldexpl
32124 do :
32125 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32126 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32127 cat >>confdefs.h <<_ACEOF
32128 #define HAVE__LDEXPL 1
32129 _ACEOF
32132 done
32141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32142 $as_echo_n "checking for logl declaration... " >&6; }
32143 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32144 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32145 $as_echo_n "(cached) " >&6
32146 else
32149 ac_ext=cpp
32150 ac_cpp='$CXXCPP $CPPFLAGS'
32151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32156 /* end confdefs.h. */
32157 #include <math.h>
32158 #ifdef HAVE_IEEEFP_H
32159 #include <ieeefp.h>
32160 #endif
32163 main ()
32165 logl(0);
32167 return 0;
32169 _ACEOF
32170 if ac_fn_cxx_try_compile "$LINENO"; then :
32171 glibcxx_cv_func_logl_use=yes
32172 else
32173 glibcxx_cv_func_logl_use=no
32175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32176 ac_ext=c
32177 ac_cpp='$CPP $CPPFLAGS'
32178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32187 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32189 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32190 for ac_func in logl
32191 do :
32192 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32193 if test "x$ac_cv_func_logl" = x""yes; then :
32194 cat >>confdefs.h <<_ACEOF
32195 #define HAVE_LOGL 1
32196 _ACEOF
32199 done
32201 else
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32204 $as_echo_n "checking for _logl declaration... " >&6; }
32205 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32206 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32207 $as_echo_n "(cached) " >&6
32208 else
32211 ac_ext=cpp
32212 ac_cpp='$CXXCPP $CPPFLAGS'
32213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32218 /* end confdefs.h. */
32219 #include <math.h>
32220 #ifdef HAVE_IEEEFP_H
32221 #include <ieeefp.h>
32222 #endif
32225 main ()
32227 _logl(0);
32229 return 0;
32231 _ACEOF
32232 if ac_fn_cxx_try_compile "$LINENO"; then :
32233 glibcxx_cv_func__logl_use=yes
32234 else
32235 glibcxx_cv_func__logl_use=no
32237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32238 ac_ext=c
32239 ac_cpp='$CPP $CPPFLAGS'
32240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32249 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32251 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32252 for ac_func in _logl
32253 do :
32254 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32255 if test "x$ac_cv_func__logl" = x""yes; then :
32256 cat >>confdefs.h <<_ACEOF
32257 #define HAVE__LOGL 1
32258 _ACEOF
32261 done
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32271 $as_echo_n "checking for log10l declaration... " >&6; }
32272 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32273 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32274 $as_echo_n "(cached) " >&6
32275 else
32278 ac_ext=cpp
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32285 /* end confdefs.h. */
32286 #include <math.h>
32287 #ifdef HAVE_IEEEFP_H
32288 #include <ieeefp.h>
32289 #endif
32292 main ()
32294 log10l(0);
32296 return 0;
32298 _ACEOF
32299 if ac_fn_cxx_try_compile "$LINENO"; then :
32300 glibcxx_cv_func_log10l_use=yes
32301 else
32302 glibcxx_cv_func_log10l_use=no
32304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32305 ac_ext=c
32306 ac_cpp='$CPP $CPPFLAGS'
32307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32316 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32318 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32319 for ac_func in log10l
32320 do :
32321 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32322 if test "x$ac_cv_func_log10l" = x""yes; then :
32323 cat >>confdefs.h <<_ACEOF
32324 #define HAVE_LOG10L 1
32325 _ACEOF
32328 done
32330 else
32332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32333 $as_echo_n "checking for _log10l declaration... " >&6; }
32334 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32335 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32336 $as_echo_n "(cached) " >&6
32337 else
32340 ac_ext=cpp
32341 ac_cpp='$CXXCPP $CPPFLAGS'
32342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32347 /* end confdefs.h. */
32348 #include <math.h>
32349 #ifdef HAVE_IEEEFP_H
32350 #include <ieeefp.h>
32351 #endif
32354 main ()
32356 _log10l(0);
32358 return 0;
32360 _ACEOF
32361 if ac_fn_cxx_try_compile "$LINENO"; then :
32362 glibcxx_cv_func__log10l_use=yes
32363 else
32364 glibcxx_cv_func__log10l_use=no
32366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32378 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32380 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32381 for ac_func in _log10l
32382 do :
32383 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32384 if test "x$ac_cv_func__log10l" = x""yes; then :
32385 cat >>confdefs.h <<_ACEOF
32386 #define HAVE__LOG10L 1
32387 _ACEOF
32390 done
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32400 $as_echo_n "checking for modfl declaration... " >&6; }
32401 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32402 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32403 $as_echo_n "(cached) " >&6
32404 else
32407 ac_ext=cpp
32408 ac_cpp='$CXXCPP $CPPFLAGS'
32409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32414 /* end confdefs.h. */
32415 #include <math.h>
32417 main ()
32419 modfl(0, 0);
32421 return 0;
32423 _ACEOF
32424 if ac_fn_cxx_try_compile "$LINENO"; then :
32425 glibcxx_cv_func_modfl_use=yes
32426 else
32427 glibcxx_cv_func_modfl_use=no
32429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32430 ac_ext=c
32431 ac_cpp='$CPP $CPPFLAGS'
32432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32441 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32443 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32444 for ac_func in modfl
32445 do :
32446 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32447 if test "x$ac_cv_func_modfl" = x""yes; then :
32448 cat >>confdefs.h <<_ACEOF
32449 #define HAVE_MODFL 1
32450 _ACEOF
32453 done
32455 else
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32458 $as_echo_n "checking for _modfl declaration... " >&6; }
32459 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32460 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32461 $as_echo_n "(cached) " >&6
32462 else
32465 ac_ext=cpp
32466 ac_cpp='$CXXCPP $CPPFLAGS'
32467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32472 /* end confdefs.h. */
32473 #include <math.h>
32475 main ()
32477 _modfl(0, 0);
32479 return 0;
32481 _ACEOF
32482 if ac_fn_cxx_try_compile "$LINENO"; then :
32483 glibcxx_cv_func__modfl_use=yes
32484 else
32485 glibcxx_cv_func__modfl_use=no
32487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32488 ac_ext=c
32489 ac_cpp='$CPP $CPPFLAGS'
32490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32499 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32501 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32502 for ac_func in _modfl
32503 do :
32504 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32505 if test "x$ac_cv_func__modfl" = x""yes; then :
32506 cat >>confdefs.h <<_ACEOF
32507 #define HAVE__MODFL 1
32508 _ACEOF
32511 done
32520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32521 $as_echo_n "checking for powl declaration... " >&6; }
32522 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32523 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32524 $as_echo_n "(cached) " >&6
32525 else
32528 ac_ext=cpp
32529 ac_cpp='$CXXCPP $CPPFLAGS'
32530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32535 /* end confdefs.h. */
32536 #include <math.h>
32538 main ()
32540 powl(0, 0);
32542 return 0;
32544 _ACEOF
32545 if ac_fn_cxx_try_compile "$LINENO"; then :
32546 glibcxx_cv_func_powl_use=yes
32547 else
32548 glibcxx_cv_func_powl_use=no
32550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32551 ac_ext=c
32552 ac_cpp='$CPP $CPPFLAGS'
32553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32562 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32564 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32565 for ac_func in powl
32566 do :
32567 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32568 if test "x$ac_cv_func_powl" = x""yes; then :
32569 cat >>confdefs.h <<_ACEOF
32570 #define HAVE_POWL 1
32571 _ACEOF
32574 done
32576 else
32578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32579 $as_echo_n "checking for _powl declaration... " >&6; }
32580 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32581 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32582 $as_echo_n "(cached) " >&6
32583 else
32586 ac_ext=cpp
32587 ac_cpp='$CXXCPP $CPPFLAGS'
32588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32593 /* end confdefs.h. */
32594 #include <math.h>
32596 main ()
32598 _powl(0, 0);
32600 return 0;
32602 _ACEOF
32603 if ac_fn_cxx_try_compile "$LINENO"; then :
32604 glibcxx_cv_func__powl_use=yes
32605 else
32606 glibcxx_cv_func__powl_use=no
32608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32609 ac_ext=c
32610 ac_cpp='$CPP $CPPFLAGS'
32611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32620 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32622 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32623 for ac_func in _powl
32624 do :
32625 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32626 if test "x$ac_cv_func__powl" = x""yes; then :
32627 cat >>confdefs.h <<_ACEOF
32628 #define HAVE__POWL 1
32629 _ACEOF
32632 done
32641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32642 $as_echo_n "checking for sqrtl declaration... " >&6; }
32643 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32644 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32645 $as_echo_n "(cached) " >&6
32646 else
32649 ac_ext=cpp
32650 ac_cpp='$CXXCPP $CPPFLAGS'
32651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32656 /* end confdefs.h. */
32657 #include <math.h>
32658 #ifdef HAVE_IEEEFP_H
32659 #include <ieeefp.h>
32660 #endif
32663 main ()
32665 sqrtl(0);
32667 return 0;
32669 _ACEOF
32670 if ac_fn_cxx_try_compile "$LINENO"; then :
32671 glibcxx_cv_func_sqrtl_use=yes
32672 else
32673 glibcxx_cv_func_sqrtl_use=no
32675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32676 ac_ext=c
32677 ac_cpp='$CPP $CPPFLAGS'
32678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32687 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32689 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32690 for ac_func in sqrtl
32691 do :
32692 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32693 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32694 cat >>confdefs.h <<_ACEOF
32695 #define HAVE_SQRTL 1
32696 _ACEOF
32699 done
32701 else
32703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32704 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32705 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32706 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32707 $as_echo_n "(cached) " >&6
32708 else
32711 ac_ext=cpp
32712 ac_cpp='$CXXCPP $CPPFLAGS'
32713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32718 /* end confdefs.h. */
32719 #include <math.h>
32720 #ifdef HAVE_IEEEFP_H
32721 #include <ieeefp.h>
32722 #endif
32725 main ()
32727 _sqrtl(0);
32729 return 0;
32731 _ACEOF
32732 if ac_fn_cxx_try_compile "$LINENO"; then :
32733 glibcxx_cv_func__sqrtl_use=yes
32734 else
32735 glibcxx_cv_func__sqrtl_use=no
32737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32738 ac_ext=c
32739 ac_cpp='$CPP $CPPFLAGS'
32740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32749 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32751 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32752 for ac_func in _sqrtl
32753 do :
32754 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32755 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32756 cat >>confdefs.h <<_ACEOF
32757 #define HAVE__SQRTL 1
32758 _ACEOF
32761 done
32770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32771 $as_echo_n "checking for sincosl declaration... " >&6; }
32772 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32773 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32774 $as_echo_n "(cached) " >&6
32775 else
32778 ac_ext=cpp
32779 ac_cpp='$CXXCPP $CPPFLAGS'
32780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32785 /* end confdefs.h. */
32786 #include <math.h>
32788 main ()
32790 sincosl(0, 0, 0);
32792 return 0;
32794 _ACEOF
32795 if ac_fn_cxx_try_compile "$LINENO"; then :
32796 glibcxx_cv_func_sincosl_use=yes
32797 else
32798 glibcxx_cv_func_sincosl_use=no
32800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32801 ac_ext=c
32802 ac_cpp='$CPP $CPPFLAGS'
32803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32812 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32814 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32815 for ac_func in sincosl
32816 do :
32817 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32818 if test "x$ac_cv_func_sincosl" = x""yes; then :
32819 cat >>confdefs.h <<_ACEOF
32820 #define HAVE_SINCOSL 1
32821 _ACEOF
32824 done
32826 else
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32829 $as_echo_n "checking for _sincosl declaration... " >&6; }
32830 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32831 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32832 $as_echo_n "(cached) " >&6
32833 else
32836 ac_ext=cpp
32837 ac_cpp='$CXXCPP $CPPFLAGS'
32838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32843 /* end confdefs.h. */
32844 #include <math.h>
32846 main ()
32848 _sincosl(0, 0, 0);
32850 return 0;
32852 _ACEOF
32853 if ac_fn_cxx_try_compile "$LINENO"; then :
32854 glibcxx_cv_func__sincosl_use=yes
32855 else
32856 glibcxx_cv_func__sincosl_use=no
32858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32859 ac_ext=c
32860 ac_cpp='$CPP $CPPFLAGS'
32861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32870 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32872 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32873 for ac_func in _sincosl
32874 do :
32875 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32876 if test "x$ac_cv_func__sincosl" = x""yes; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define HAVE__SINCOSL 1
32879 _ACEOF
32882 done
32891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32892 $as_echo_n "checking for finitel declaration... " >&6; }
32893 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32894 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32895 $as_echo_n "(cached) " >&6
32896 else
32899 ac_ext=cpp
32900 ac_cpp='$CXXCPP $CPPFLAGS'
32901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32906 /* end confdefs.h. */
32907 #include <math.h>
32908 #ifdef HAVE_IEEEFP_H
32909 #include <ieeefp.h>
32910 #endif
32913 main ()
32915 finitel(0);
32917 return 0;
32919 _ACEOF
32920 if ac_fn_cxx_try_compile "$LINENO"; then :
32921 glibcxx_cv_func_finitel_use=yes
32922 else
32923 glibcxx_cv_func_finitel_use=no
32925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32926 ac_ext=c
32927 ac_cpp='$CPP $CPPFLAGS'
32928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32937 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32939 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32940 for ac_func in finitel
32941 do :
32942 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32943 if test "x$ac_cv_func_finitel" = x""yes; then :
32944 cat >>confdefs.h <<_ACEOF
32945 #define HAVE_FINITEL 1
32946 _ACEOF
32949 done
32951 else
32953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32954 $as_echo_n "checking for _finitel declaration... " >&6; }
32955 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32956 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32957 $as_echo_n "(cached) " >&6
32958 else
32961 ac_ext=cpp
32962 ac_cpp='$CXXCPP $CPPFLAGS'
32963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32968 /* end confdefs.h. */
32969 #include <math.h>
32970 #ifdef HAVE_IEEEFP_H
32971 #include <ieeefp.h>
32972 #endif
32975 main ()
32977 _finitel(0);
32979 return 0;
32981 _ACEOF
32982 if ac_fn_cxx_try_compile "$LINENO"; then :
32983 glibcxx_cv_func__finitel_use=yes
32984 else
32985 glibcxx_cv_func__finitel_use=no
32987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32988 ac_ext=c
32989 ac_cpp='$CPP $CPPFLAGS'
32990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32999 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33001 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33002 for ac_func in _finitel
33003 do :
33004 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33005 if test "x$ac_cv_func__finitel" = x""yes; then :
33006 cat >>confdefs.h <<_ACEOF
33007 #define HAVE__FINITEL 1
33008 _ACEOF
33011 done
33019 LIBS="$ac_save_LIBS"
33020 CXXFLAGS="$ac_save_CXXFLAGS"
33023 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33024 ac_save_CXXFLAGS="$CXXFLAGS"
33025 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33029 $as_echo_n "checking for strtold declaration... " >&6; }
33030 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33031 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33032 $as_echo_n "(cached) " >&6
33033 else
33036 ac_ext=cpp
33037 ac_cpp='$CXXCPP $CPPFLAGS'
33038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33043 /* end confdefs.h. */
33044 #include <stdlib.h>
33046 main ()
33048 strtold(0, 0);
33050 return 0;
33052 _ACEOF
33053 if ac_fn_cxx_try_compile "$LINENO"; then :
33054 glibcxx_cv_func_strtold_use=yes
33055 else
33056 glibcxx_cv_func_strtold_use=no
33058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33059 ac_ext=c
33060 ac_cpp='$CPP $CPPFLAGS'
33061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33070 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33071 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33072 for ac_func in strtold
33073 do :
33074 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33075 if test "x$ac_cv_func_strtold" = x""yes; then :
33076 cat >>confdefs.h <<_ACEOF
33077 #define HAVE_STRTOLD 1
33078 _ACEOF
33081 done
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33089 $as_echo_n "checking for strtof declaration... " >&6; }
33090 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33091 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33092 $as_echo_n "(cached) " >&6
33093 else
33096 ac_ext=cpp
33097 ac_cpp='$CXXCPP $CPPFLAGS'
33098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33103 /* end confdefs.h. */
33104 #include <stdlib.h>
33106 main ()
33108 strtof(0, 0);
33110 return 0;
33112 _ACEOF
33113 if ac_fn_cxx_try_compile "$LINENO"; then :
33114 glibcxx_cv_func_strtof_use=yes
33115 else
33116 glibcxx_cv_func_strtof_use=no
33118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33119 ac_ext=c
33120 ac_cpp='$CPP $CPPFLAGS'
33121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33130 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33131 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33132 for ac_func in strtof
33133 do :
33134 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33135 if test "x$ac_cv_func_strtof" = x""yes; then :
33136 cat >>confdefs.h <<_ACEOF
33137 #define HAVE_STRTOF 1
33138 _ACEOF
33141 done
33148 CXXFLAGS="$ac_save_CXXFLAGS"
33151 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33153 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33155 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33157 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33160 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33162 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33164 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33168 *-aix*)
33170 # If we're not using GNU ld, then there's no point in even trying these
33171 # tests. Check for that first. We should have already tested for gld
33172 # by now (in libtool), but require it now just to be safe...
33173 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33174 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33178 # The name set by libtool depends on the version of libtool. Shame on us
33179 # for depending on an impl detail, but c'est la vie. Older versions used
33180 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33181 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33182 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33183 # set (hence we're using an older libtool), then set it.
33184 if test x${with_gnu_ld+set} != xset; then
33185 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33186 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33187 with_gnu_ld=no
33188 else
33189 with_gnu_ld=$ac_cv_prog_gnu_ld
33193 # Start by getting the version number. I think the libtool test already
33194 # does some of this, but throws away the result.
33195 glibcxx_ld_is_gold=no
33196 if test x"$with_gnu_ld" = x"yes"; then
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33198 $as_echo_n "checking for ld version... " >&6; }
33200 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33201 glibcxx_ld_is_gold=yes
33203 ldver=`$LD --version 2>/dev/null |
33204 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'`
33206 glibcxx_gnu_ld_version=`echo $ldver | \
33207 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33209 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33212 # Set --gc-sections.
33213 glibcxx_have_gc_sections=no
33214 if test "$glibcxx_ld_is_gold" = "yes"; then
33215 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33216 glibcxx_have_gc_sections=yes
33218 else
33219 glibcxx_gcsections_min_ld=21602
33220 if test x"$with_gnu_ld" = x"yes" &&
33221 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33222 glibcxx_have_gc_sections=yes
33225 if test "$glibcxx_have_gc_sections" = "yes"; then
33226 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33227 # NB: This flag only works reliably after 2.16.1. Configure tests
33228 # for this are difficult, so hard wire a value that should work.
33230 ac_test_CFLAGS="${CFLAGS+set}"
33231 ac_save_CFLAGS="$CFLAGS"
33232 CFLAGS='-Wl,--gc-sections'
33234 # Check for -Wl,--gc-sections
33235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33236 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33237 if test x$gcc_no_link = xyes; then
33238 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33241 /* end confdefs.h. */
33242 int one(void) { return 1; }
33243 int two(void) { return 2; }
33246 main ()
33248 two();
33250 return 0;
33252 _ACEOF
33253 if ac_fn_c_try_link "$LINENO"; then :
33254 ac_gcsections=yes
33255 else
33256 ac_gcsections=no
33258 rm -f core conftest.err conftest.$ac_objext \
33259 conftest$ac_exeext conftest.$ac_ext
33260 if test "$ac_gcsections" = "yes"; then
33261 rm -f conftest.c
33262 touch conftest.c
33263 if $CC -c conftest.c; then
33264 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33265 grep "Warning: gc-sections option ignored" > /dev/null; then
33266 ac_gcsections=no
33269 rm -f conftest.c conftest.o conftest
33271 if test "$ac_gcsections" = "yes"; then
33272 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33275 $as_echo "$ac_gcsections" >&6; }
33277 if test "$ac_test_CFLAGS" = set; then
33278 CFLAGS="$ac_save_CFLAGS"
33279 else
33280 # this is the suspicious part
33281 CFLAGS=''
33285 # Set -z,relro.
33286 # Note this is only for shared objects.
33287 ac_ld_relro=no
33288 if test x"$with_gnu_ld" = x"yes"; then
33289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33290 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33291 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33292 if test -n "$cxx_z_relo"; then
33293 OPT_LDFLAGS="-Wl,-z,relro"
33294 ac_ld_relro=yes
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33297 $as_echo "$ac_ld_relro" >&6; }
33300 # Set linker optimization flags.
33301 if test x"$with_gnu_ld" = x"yes"; then
33302 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33309 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33310 ac_save_CXXFLAGS="$CXXFLAGS"
33311 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33314 $as_echo_n "checking for sin in -lm... " >&6; }
33315 if test "${ac_cv_lib_m_sin+set}" = set; then :
33316 $as_echo_n "(cached) " >&6
33317 else
33318 ac_check_lib_save_LIBS=$LIBS
33319 LIBS="-lm $LIBS"
33320 if test x$gcc_no_link = xyes; then
33321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33324 /* end confdefs.h. */
33326 /* Override any GCC internal prototype to avoid an error.
33327 Use char because int might match the return type of a GCC
33328 builtin and then its argument prototype would still apply. */
33329 #ifdef __cplusplus
33330 extern "C"
33331 #endif
33332 char sin ();
33334 main ()
33336 return sin ();
33338 return 0;
33340 _ACEOF
33341 if ac_fn_c_try_link "$LINENO"; then :
33342 ac_cv_lib_m_sin=yes
33343 else
33344 ac_cv_lib_m_sin=no
33346 rm -f core conftest.err conftest.$ac_objext \
33347 conftest$ac_exeext conftest.$ac_ext
33348 LIBS=$ac_check_lib_save_LIBS
33350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33351 $as_echo "$ac_cv_lib_m_sin" >&6; }
33352 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33353 libm="-lm"
33356 ac_save_LIBS="$LIBS"
33357 LIBS="$LIBS $libm"
33361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33362 $as_echo_n "checking for isinf declaration... " >&6; }
33363 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33364 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33365 $as_echo_n "(cached) " >&6
33366 else
33369 ac_ext=cpp
33370 ac_cpp='$CXXCPP $CPPFLAGS'
33371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33376 /* end confdefs.h. */
33377 #include <math.h>
33378 #ifdef HAVE_IEEEFP_H
33379 #include <ieeefp.h>
33380 #endif
33383 main ()
33385 isinf(0);
33387 return 0;
33389 _ACEOF
33390 if ac_fn_cxx_try_compile "$LINENO"; then :
33391 glibcxx_cv_func_isinf_use=yes
33392 else
33393 glibcxx_cv_func_isinf_use=no
33395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33396 ac_ext=c
33397 ac_cpp='$CPP $CPPFLAGS'
33398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33407 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33409 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33410 for ac_func in isinf
33411 do :
33412 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33413 if test "x$ac_cv_func_isinf" = x""yes; then :
33414 cat >>confdefs.h <<_ACEOF
33415 #define HAVE_ISINF 1
33416 _ACEOF
33419 done
33421 else
33423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33424 $as_echo_n "checking for _isinf declaration... " >&6; }
33425 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33426 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33427 $as_echo_n "(cached) " >&6
33428 else
33431 ac_ext=cpp
33432 ac_cpp='$CXXCPP $CPPFLAGS'
33433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33438 /* end confdefs.h. */
33439 #include <math.h>
33440 #ifdef HAVE_IEEEFP_H
33441 #include <ieeefp.h>
33442 #endif
33445 main ()
33447 _isinf(0);
33449 return 0;
33451 _ACEOF
33452 if ac_fn_cxx_try_compile "$LINENO"; then :
33453 glibcxx_cv_func__isinf_use=yes
33454 else
33455 glibcxx_cv_func__isinf_use=no
33457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33458 ac_ext=c
33459 ac_cpp='$CPP $CPPFLAGS'
33460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33469 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33471 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33472 for ac_func in _isinf
33473 do :
33474 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33475 if test "x$ac_cv_func__isinf" = x""yes; then :
33476 cat >>confdefs.h <<_ACEOF
33477 #define HAVE__ISINF 1
33478 _ACEOF
33481 done
33490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33491 $as_echo_n "checking for isnan declaration... " >&6; }
33492 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33493 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33494 $as_echo_n "(cached) " >&6
33495 else
33498 ac_ext=cpp
33499 ac_cpp='$CXXCPP $CPPFLAGS'
33500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33505 /* end confdefs.h. */
33506 #include <math.h>
33507 #ifdef HAVE_IEEEFP_H
33508 #include <ieeefp.h>
33509 #endif
33512 main ()
33514 isnan(0);
33516 return 0;
33518 _ACEOF
33519 if ac_fn_cxx_try_compile "$LINENO"; then :
33520 glibcxx_cv_func_isnan_use=yes
33521 else
33522 glibcxx_cv_func_isnan_use=no
33524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33525 ac_ext=c
33526 ac_cpp='$CPP $CPPFLAGS'
33527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33536 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33538 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33539 for ac_func in isnan
33540 do :
33541 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33542 if test "x$ac_cv_func_isnan" = x""yes; then :
33543 cat >>confdefs.h <<_ACEOF
33544 #define HAVE_ISNAN 1
33545 _ACEOF
33548 done
33550 else
33552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33553 $as_echo_n "checking for _isnan declaration... " >&6; }
33554 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33555 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33556 $as_echo_n "(cached) " >&6
33557 else
33560 ac_ext=cpp
33561 ac_cpp='$CXXCPP $CPPFLAGS'
33562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33567 /* end confdefs.h. */
33568 #include <math.h>
33569 #ifdef HAVE_IEEEFP_H
33570 #include <ieeefp.h>
33571 #endif
33574 main ()
33576 _isnan(0);
33578 return 0;
33580 _ACEOF
33581 if ac_fn_cxx_try_compile "$LINENO"; then :
33582 glibcxx_cv_func__isnan_use=yes
33583 else
33584 glibcxx_cv_func__isnan_use=no
33586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33587 ac_ext=c
33588 ac_cpp='$CPP $CPPFLAGS'
33589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33598 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33600 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33601 for ac_func in _isnan
33602 do :
33603 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33604 if test "x$ac_cv_func__isnan" = x""yes; then :
33605 cat >>confdefs.h <<_ACEOF
33606 #define HAVE__ISNAN 1
33607 _ACEOF
33610 done
33619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33620 $as_echo_n "checking for finite declaration... " >&6; }
33621 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33622 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33623 $as_echo_n "(cached) " >&6
33624 else
33627 ac_ext=cpp
33628 ac_cpp='$CXXCPP $CPPFLAGS'
33629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33634 /* end confdefs.h. */
33635 #include <math.h>
33636 #ifdef HAVE_IEEEFP_H
33637 #include <ieeefp.h>
33638 #endif
33641 main ()
33643 finite(0);
33645 return 0;
33647 _ACEOF
33648 if ac_fn_cxx_try_compile "$LINENO"; then :
33649 glibcxx_cv_func_finite_use=yes
33650 else
33651 glibcxx_cv_func_finite_use=no
33653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33654 ac_ext=c
33655 ac_cpp='$CPP $CPPFLAGS'
33656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33665 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33667 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33668 for ac_func in finite
33669 do :
33670 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33671 if test "x$ac_cv_func_finite" = x""yes; then :
33672 cat >>confdefs.h <<_ACEOF
33673 #define HAVE_FINITE 1
33674 _ACEOF
33677 done
33679 else
33681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33682 $as_echo_n "checking for _finite declaration... " >&6; }
33683 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33684 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33685 $as_echo_n "(cached) " >&6
33686 else
33689 ac_ext=cpp
33690 ac_cpp='$CXXCPP $CPPFLAGS'
33691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33696 /* end confdefs.h. */
33697 #include <math.h>
33698 #ifdef HAVE_IEEEFP_H
33699 #include <ieeefp.h>
33700 #endif
33703 main ()
33705 _finite(0);
33707 return 0;
33709 _ACEOF
33710 if ac_fn_cxx_try_compile "$LINENO"; then :
33711 glibcxx_cv_func__finite_use=yes
33712 else
33713 glibcxx_cv_func__finite_use=no
33715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33716 ac_ext=c
33717 ac_cpp='$CPP $CPPFLAGS'
33718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33727 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33729 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33730 for ac_func in _finite
33731 do :
33732 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33733 if test "x$ac_cv_func__finite" = x""yes; then :
33734 cat >>confdefs.h <<_ACEOF
33735 #define HAVE__FINITE 1
33736 _ACEOF
33739 done
33748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33749 $as_echo_n "checking for sincos declaration... " >&6; }
33750 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33751 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33752 $as_echo_n "(cached) " >&6
33753 else
33756 ac_ext=cpp
33757 ac_cpp='$CXXCPP $CPPFLAGS'
33758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33763 /* end confdefs.h. */
33764 #include <math.h>
33766 main ()
33768 sincos(0, 0, 0);
33770 return 0;
33772 _ACEOF
33773 if ac_fn_cxx_try_compile "$LINENO"; then :
33774 glibcxx_cv_func_sincos_use=yes
33775 else
33776 glibcxx_cv_func_sincos_use=no
33778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33779 ac_ext=c
33780 ac_cpp='$CPP $CPPFLAGS'
33781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33790 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33792 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33793 for ac_func in sincos
33794 do :
33795 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33796 if test "x$ac_cv_func_sincos" = x""yes; then :
33797 cat >>confdefs.h <<_ACEOF
33798 #define HAVE_SINCOS 1
33799 _ACEOF
33802 done
33804 else
33806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33807 $as_echo_n "checking for _sincos declaration... " >&6; }
33808 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33809 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33810 $as_echo_n "(cached) " >&6
33811 else
33814 ac_ext=cpp
33815 ac_cpp='$CXXCPP $CPPFLAGS'
33816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33821 /* end confdefs.h. */
33822 #include <math.h>
33824 main ()
33826 _sincos(0, 0, 0);
33828 return 0;
33830 _ACEOF
33831 if ac_fn_cxx_try_compile "$LINENO"; then :
33832 glibcxx_cv_func__sincos_use=yes
33833 else
33834 glibcxx_cv_func__sincos_use=no
33836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33837 ac_ext=c
33838 ac_cpp='$CPP $CPPFLAGS'
33839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33848 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33850 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33851 for ac_func in _sincos
33852 do :
33853 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33854 if test "x$ac_cv_func__sincos" = x""yes; then :
33855 cat >>confdefs.h <<_ACEOF
33856 #define HAVE__SINCOS 1
33857 _ACEOF
33860 done
33869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33870 $as_echo_n "checking for fpclass declaration... " >&6; }
33871 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33872 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33873 $as_echo_n "(cached) " >&6
33874 else
33877 ac_ext=cpp
33878 ac_cpp='$CXXCPP $CPPFLAGS'
33879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33884 /* end confdefs.h. */
33885 #include <math.h>
33886 #ifdef HAVE_IEEEFP_H
33887 #include <ieeefp.h>
33888 #endif
33891 main ()
33893 fpclass(0);
33895 return 0;
33897 _ACEOF
33898 if ac_fn_cxx_try_compile "$LINENO"; then :
33899 glibcxx_cv_func_fpclass_use=yes
33900 else
33901 glibcxx_cv_func_fpclass_use=no
33903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33904 ac_ext=c
33905 ac_cpp='$CPP $CPPFLAGS'
33906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33915 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33917 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33918 for ac_func in fpclass
33919 do :
33920 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33921 if test "x$ac_cv_func_fpclass" = x""yes; then :
33922 cat >>confdefs.h <<_ACEOF
33923 #define HAVE_FPCLASS 1
33924 _ACEOF
33927 done
33929 else
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33932 $as_echo_n "checking for _fpclass declaration... " >&6; }
33933 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33934 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33935 $as_echo_n "(cached) " >&6
33936 else
33939 ac_ext=cpp
33940 ac_cpp='$CXXCPP $CPPFLAGS'
33941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33946 /* end confdefs.h. */
33947 #include <math.h>
33948 #ifdef HAVE_IEEEFP_H
33949 #include <ieeefp.h>
33950 #endif
33953 main ()
33955 _fpclass(0);
33957 return 0;
33959 _ACEOF
33960 if ac_fn_cxx_try_compile "$LINENO"; then :
33961 glibcxx_cv_func__fpclass_use=yes
33962 else
33963 glibcxx_cv_func__fpclass_use=no
33965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33966 ac_ext=c
33967 ac_cpp='$CPP $CPPFLAGS'
33968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33977 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33979 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33980 for ac_func in _fpclass
33981 do :
33982 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33983 if test "x$ac_cv_func__fpclass" = x""yes; then :
33984 cat >>confdefs.h <<_ACEOF
33985 #define HAVE__FPCLASS 1
33986 _ACEOF
33989 done
33998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33999 $as_echo_n "checking for qfpclass declaration... " >&6; }
34000 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34001 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34002 $as_echo_n "(cached) " >&6
34003 else
34006 ac_ext=cpp
34007 ac_cpp='$CXXCPP $CPPFLAGS'
34008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34013 /* end confdefs.h. */
34014 #include <math.h>
34015 #ifdef HAVE_IEEEFP_H
34016 #include <ieeefp.h>
34017 #endif
34020 main ()
34022 qfpclass(0);
34024 return 0;
34026 _ACEOF
34027 if ac_fn_cxx_try_compile "$LINENO"; then :
34028 glibcxx_cv_func_qfpclass_use=yes
34029 else
34030 glibcxx_cv_func_qfpclass_use=no
34032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34033 ac_ext=c
34034 ac_cpp='$CPP $CPPFLAGS'
34035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34044 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34046 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34047 for ac_func in qfpclass
34048 do :
34049 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34050 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34051 cat >>confdefs.h <<_ACEOF
34052 #define HAVE_QFPCLASS 1
34053 _ACEOF
34056 done
34058 else
34060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34061 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34062 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34063 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34064 $as_echo_n "(cached) " >&6
34065 else
34068 ac_ext=cpp
34069 ac_cpp='$CXXCPP $CPPFLAGS'
34070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34075 /* end confdefs.h. */
34076 #include <math.h>
34077 #ifdef HAVE_IEEEFP_H
34078 #include <ieeefp.h>
34079 #endif
34082 main ()
34084 _qfpclass(0);
34086 return 0;
34088 _ACEOF
34089 if ac_fn_cxx_try_compile "$LINENO"; then :
34090 glibcxx_cv_func__qfpclass_use=yes
34091 else
34092 glibcxx_cv_func__qfpclass_use=no
34094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34095 ac_ext=c
34096 ac_cpp='$CPP $CPPFLAGS'
34097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34106 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34108 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34109 for ac_func in _qfpclass
34110 do :
34111 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34112 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34113 cat >>confdefs.h <<_ACEOF
34114 #define HAVE__QFPCLASS 1
34115 _ACEOF
34118 done
34127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34128 $as_echo_n "checking for hypot declaration... " >&6; }
34129 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34130 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34131 $as_echo_n "(cached) " >&6
34132 else
34135 ac_ext=cpp
34136 ac_cpp='$CXXCPP $CPPFLAGS'
34137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34142 /* end confdefs.h. */
34143 #include <math.h>
34145 main ()
34147 hypot(0, 0);
34149 return 0;
34151 _ACEOF
34152 if ac_fn_cxx_try_compile "$LINENO"; then :
34153 glibcxx_cv_func_hypot_use=yes
34154 else
34155 glibcxx_cv_func_hypot_use=no
34157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34158 ac_ext=c
34159 ac_cpp='$CPP $CPPFLAGS'
34160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34169 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34171 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34172 for ac_func in hypot
34173 do :
34174 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34175 if test "x$ac_cv_func_hypot" = x""yes; then :
34176 cat >>confdefs.h <<_ACEOF
34177 #define HAVE_HYPOT 1
34178 _ACEOF
34181 done
34183 else
34185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34186 $as_echo_n "checking for _hypot declaration... " >&6; }
34187 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34188 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34189 $as_echo_n "(cached) " >&6
34190 else
34193 ac_ext=cpp
34194 ac_cpp='$CXXCPP $CPPFLAGS'
34195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34200 /* end confdefs.h. */
34201 #include <math.h>
34203 main ()
34205 _hypot(0, 0);
34207 return 0;
34209 _ACEOF
34210 if ac_fn_cxx_try_compile "$LINENO"; then :
34211 glibcxx_cv_func__hypot_use=yes
34212 else
34213 glibcxx_cv_func__hypot_use=no
34215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34216 ac_ext=c
34217 ac_cpp='$CPP $CPPFLAGS'
34218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34227 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34229 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34230 for ac_func in _hypot
34231 do :
34232 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34233 if test "x$ac_cv_func__hypot" = x""yes; then :
34234 cat >>confdefs.h <<_ACEOF
34235 #define HAVE__HYPOT 1
34236 _ACEOF
34239 done
34248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34249 $as_echo_n "checking for float trig functions... " >&6; }
34250 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34251 $as_echo_n "(cached) " >&6
34252 else
34255 ac_ext=cpp
34256 ac_cpp='$CXXCPP $CPPFLAGS'
34257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34262 /* end confdefs.h. */
34263 #include <math.h>
34265 main ()
34267 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34269 return 0;
34271 _ACEOF
34272 if ac_fn_cxx_try_compile "$LINENO"; then :
34273 glibcxx_cv_func_float_trig_use=yes
34274 else
34275 glibcxx_cv_func_float_trig_use=no
34277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34278 ac_ext=c
34279 ac_cpp='$CPP $CPPFLAGS'
34280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34287 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34288 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34289 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34290 do :
34291 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34292 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34293 eval as_val=\$$as_ac_var
34294 if test "x$as_val" = x""yes; then :
34295 cat >>confdefs.h <<_ACEOF
34296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34297 _ACEOF
34300 done
34302 else
34303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34304 $as_echo_n "checking for _float trig functions... " >&6; }
34305 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34306 $as_echo_n "(cached) " >&6
34307 else
34310 ac_ext=cpp
34311 ac_cpp='$CXXCPP $CPPFLAGS'
34312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34317 /* end confdefs.h. */
34318 #include <math.h>
34320 main ()
34322 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34324 return 0;
34326 _ACEOF
34327 if ac_fn_cxx_try_compile "$LINENO"; then :
34328 glibcxx_cv_func__float_trig_use=yes
34329 else
34330 glibcxx_cv_func__float_trig_use=no
34332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34333 ac_ext=c
34334 ac_cpp='$CPP $CPPFLAGS'
34335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34342 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34343 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34344 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34345 do :
34346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34348 eval as_val=\$$as_ac_var
34349 if test "x$as_val" = x""yes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34352 _ACEOF
34355 done
34364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34365 $as_echo_n "checking for float round functions... " >&6; }
34366 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34367 $as_echo_n "(cached) " >&6
34368 else
34371 ac_ext=cpp
34372 ac_cpp='$CXXCPP $CPPFLAGS'
34373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34378 /* end confdefs.h. */
34379 #include <math.h>
34381 main ()
34383 ceilf (0); floorf (0);
34385 return 0;
34387 _ACEOF
34388 if ac_fn_cxx_try_compile "$LINENO"; then :
34389 glibcxx_cv_func_float_round_use=yes
34390 else
34391 glibcxx_cv_func_float_round_use=no
34393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34394 ac_ext=c
34395 ac_cpp='$CPP $CPPFLAGS'
34396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34403 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34404 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34405 for ac_func in ceilf floorf
34406 do :
34407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34409 eval as_val=\$$as_ac_var
34410 if test "x$as_val" = x""yes; then :
34411 cat >>confdefs.h <<_ACEOF
34412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34413 _ACEOF
34416 done
34418 else
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34420 $as_echo_n "checking for _float round functions... " >&6; }
34421 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34422 $as_echo_n "(cached) " >&6
34423 else
34426 ac_ext=cpp
34427 ac_cpp='$CXXCPP $CPPFLAGS'
34428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34433 /* end confdefs.h. */
34434 #include <math.h>
34436 main ()
34438 _ceilf (0); _floorf (0);
34440 return 0;
34442 _ACEOF
34443 if ac_fn_cxx_try_compile "$LINENO"; then :
34444 glibcxx_cv_func__float_round_use=yes
34445 else
34446 glibcxx_cv_func__float_round_use=no
34448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34449 ac_ext=c
34450 ac_cpp='$CPP $CPPFLAGS'
34451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34458 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34459 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34460 for ac_func in _ceilf _floorf
34461 do :
34462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34464 eval as_val=\$$as_ac_var
34465 if test "x$as_val" = x""yes; then :
34466 cat >>confdefs.h <<_ACEOF
34467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34468 _ACEOF
34471 done
34481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34482 $as_echo_n "checking for expf declaration... " >&6; }
34483 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34484 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34485 $as_echo_n "(cached) " >&6
34486 else
34489 ac_ext=cpp
34490 ac_cpp='$CXXCPP $CPPFLAGS'
34491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34496 /* end confdefs.h. */
34497 #include <math.h>
34498 #ifdef HAVE_IEEEFP_H
34499 #include <ieeefp.h>
34500 #endif
34503 main ()
34505 expf(0);
34507 return 0;
34509 _ACEOF
34510 if ac_fn_cxx_try_compile "$LINENO"; then :
34511 glibcxx_cv_func_expf_use=yes
34512 else
34513 glibcxx_cv_func_expf_use=no
34515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34516 ac_ext=c
34517 ac_cpp='$CPP $CPPFLAGS'
34518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34527 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34529 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34530 for ac_func in expf
34531 do :
34532 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34533 if test "x$ac_cv_func_expf" = x""yes; then :
34534 cat >>confdefs.h <<_ACEOF
34535 #define HAVE_EXPF 1
34536 _ACEOF
34539 done
34541 else
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34544 $as_echo_n "checking for _expf declaration... " >&6; }
34545 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34546 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34560 #ifdef HAVE_IEEEFP_H
34561 #include <ieeefp.h>
34562 #endif
34565 main ()
34567 _expf(0);
34569 return 0;
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func__expf_use=yes
34574 else
34575 glibcxx_cv_func__expf_use=no
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34589 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34591 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34592 for ac_func in _expf
34593 do :
34594 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34595 if test "x$ac_cv_func__expf" = x""yes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE__EXPF 1
34598 _ACEOF
34601 done
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34611 $as_echo_n "checking for isnanf declaration... " >&6; }
34612 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34613 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34614 $as_echo_n "(cached) " >&6
34615 else
34618 ac_ext=cpp
34619 ac_cpp='$CXXCPP $CPPFLAGS'
34620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34625 /* end confdefs.h. */
34626 #include <math.h>
34627 #ifdef HAVE_IEEEFP_H
34628 #include <ieeefp.h>
34629 #endif
34632 main ()
34634 isnanf(0);
34636 return 0;
34638 _ACEOF
34639 if ac_fn_cxx_try_compile "$LINENO"; then :
34640 glibcxx_cv_func_isnanf_use=yes
34641 else
34642 glibcxx_cv_func_isnanf_use=no
34644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34645 ac_ext=c
34646 ac_cpp='$CPP $CPPFLAGS'
34647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34656 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34658 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34659 for ac_func in isnanf
34660 do :
34661 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34662 if test "x$ac_cv_func_isnanf" = x""yes; then :
34663 cat >>confdefs.h <<_ACEOF
34664 #define HAVE_ISNANF 1
34665 _ACEOF
34668 done
34670 else
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34673 $as_echo_n "checking for _isnanf declaration... " >&6; }
34674 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34675 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34689 #ifdef HAVE_IEEEFP_H
34690 #include <ieeefp.h>
34691 #endif
34694 main ()
34696 _isnanf(0);
34698 return 0;
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702 glibcxx_cv_func__isnanf_use=yes
34703 else
34704 glibcxx_cv_func__isnanf_use=no
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34718 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34720 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34721 for ac_func in _isnanf
34722 do :
34723 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34724 if test "x$ac_cv_func__isnanf" = x""yes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE__ISNANF 1
34727 _ACEOF
34730 done
34739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34740 $as_echo_n "checking for isinff declaration... " >&6; }
34741 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34742 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34743 $as_echo_n "(cached) " >&6
34744 else
34747 ac_ext=cpp
34748 ac_cpp='$CXXCPP $CPPFLAGS'
34749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34754 /* end confdefs.h. */
34755 #include <math.h>
34756 #ifdef HAVE_IEEEFP_H
34757 #include <ieeefp.h>
34758 #endif
34761 main ()
34763 isinff(0);
34765 return 0;
34767 _ACEOF
34768 if ac_fn_cxx_try_compile "$LINENO"; then :
34769 glibcxx_cv_func_isinff_use=yes
34770 else
34771 glibcxx_cv_func_isinff_use=no
34773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34774 ac_ext=c
34775 ac_cpp='$CPP $CPPFLAGS'
34776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34785 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34787 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34788 for ac_func in isinff
34789 do :
34790 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34791 if test "x$ac_cv_func_isinff" = x""yes; then :
34792 cat >>confdefs.h <<_ACEOF
34793 #define HAVE_ISINFF 1
34794 _ACEOF
34797 done
34799 else
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34802 $as_echo_n "checking for _isinff declaration... " >&6; }
34803 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34804 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34805 $as_echo_n "(cached) " >&6
34806 else
34809 ac_ext=cpp
34810 ac_cpp='$CXXCPP $CPPFLAGS'
34811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34816 /* end confdefs.h. */
34817 #include <math.h>
34818 #ifdef HAVE_IEEEFP_H
34819 #include <ieeefp.h>
34820 #endif
34823 main ()
34825 _isinff(0);
34827 return 0;
34829 _ACEOF
34830 if ac_fn_cxx_try_compile "$LINENO"; then :
34831 glibcxx_cv_func__isinff_use=yes
34832 else
34833 glibcxx_cv_func__isinff_use=no
34835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34836 ac_ext=c
34837 ac_cpp='$CPP $CPPFLAGS'
34838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34847 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34849 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34850 for ac_func in _isinff
34851 do :
34852 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34853 if test "x$ac_cv_func__isinff" = x""yes; then :
34854 cat >>confdefs.h <<_ACEOF
34855 #define HAVE__ISINFF 1
34856 _ACEOF
34859 done
34868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34869 $as_echo_n "checking for atan2f declaration... " >&6; }
34870 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34871 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34872 $as_echo_n "(cached) " >&6
34873 else
34876 ac_ext=cpp
34877 ac_cpp='$CXXCPP $CPPFLAGS'
34878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34883 /* end confdefs.h. */
34884 #include <math.h>
34886 main ()
34888 atan2f(0, 0);
34890 return 0;
34892 _ACEOF
34893 if ac_fn_cxx_try_compile "$LINENO"; then :
34894 glibcxx_cv_func_atan2f_use=yes
34895 else
34896 glibcxx_cv_func_atan2f_use=no
34898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34899 ac_ext=c
34900 ac_cpp='$CPP $CPPFLAGS'
34901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34910 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34912 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34913 for ac_func in atan2f
34914 do :
34915 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34916 if test "x$ac_cv_func_atan2f" = x""yes; then :
34917 cat >>confdefs.h <<_ACEOF
34918 #define HAVE_ATAN2F 1
34919 _ACEOF
34922 done
34924 else
34926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34927 $as_echo_n "checking for _atan2f declaration... " >&6; }
34928 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34929 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34930 $as_echo_n "(cached) " >&6
34931 else
34934 ac_ext=cpp
34935 ac_cpp='$CXXCPP $CPPFLAGS'
34936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34941 /* end confdefs.h. */
34942 #include <math.h>
34944 main ()
34946 _atan2f(0, 0);
34948 return 0;
34950 _ACEOF
34951 if ac_fn_cxx_try_compile "$LINENO"; then :
34952 glibcxx_cv_func__atan2f_use=yes
34953 else
34954 glibcxx_cv_func__atan2f_use=no
34956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34957 ac_ext=c
34958 ac_cpp='$CPP $CPPFLAGS'
34959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34968 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34970 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34971 for ac_func in _atan2f
34972 do :
34973 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34974 if test "x$ac_cv_func__atan2f" = x""yes; then :
34975 cat >>confdefs.h <<_ACEOF
34976 #define HAVE__ATAN2F 1
34977 _ACEOF
34980 done
34989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34990 $as_echo_n "checking for fabsf declaration... " >&6; }
34991 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34992 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34993 $as_echo_n "(cached) " >&6
34994 else
34997 ac_ext=cpp
34998 ac_cpp='$CXXCPP $CPPFLAGS'
34999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35004 /* end confdefs.h. */
35005 #include <math.h>
35006 #ifdef HAVE_IEEEFP_H
35007 #include <ieeefp.h>
35008 #endif
35011 main ()
35013 fabsf(0);
35015 return 0;
35017 _ACEOF
35018 if ac_fn_cxx_try_compile "$LINENO"; then :
35019 glibcxx_cv_func_fabsf_use=yes
35020 else
35021 glibcxx_cv_func_fabsf_use=no
35023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35024 ac_ext=c
35025 ac_cpp='$CPP $CPPFLAGS'
35026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35035 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35037 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35038 for ac_func in fabsf
35039 do :
35040 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35041 if test "x$ac_cv_func_fabsf" = x""yes; then :
35042 cat >>confdefs.h <<_ACEOF
35043 #define HAVE_FABSF 1
35044 _ACEOF
35047 done
35049 else
35051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35052 $as_echo_n "checking for _fabsf declaration... " >&6; }
35053 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35054 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35055 $as_echo_n "(cached) " >&6
35056 else
35059 ac_ext=cpp
35060 ac_cpp='$CXXCPP $CPPFLAGS'
35061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35066 /* end confdefs.h. */
35067 #include <math.h>
35068 #ifdef HAVE_IEEEFP_H
35069 #include <ieeefp.h>
35070 #endif
35073 main ()
35075 _fabsf(0);
35077 return 0;
35079 _ACEOF
35080 if ac_fn_cxx_try_compile "$LINENO"; then :
35081 glibcxx_cv_func__fabsf_use=yes
35082 else
35083 glibcxx_cv_func__fabsf_use=no
35085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35086 ac_ext=c
35087 ac_cpp='$CPP $CPPFLAGS'
35088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35097 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35099 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35100 for ac_func in _fabsf
35101 do :
35102 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35103 if test "x$ac_cv_func__fabsf" = x""yes; then :
35104 cat >>confdefs.h <<_ACEOF
35105 #define HAVE__FABSF 1
35106 _ACEOF
35109 done
35118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35119 $as_echo_n "checking for fmodf declaration... " >&6; }
35120 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35121 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35122 $as_echo_n "(cached) " >&6
35123 else
35126 ac_ext=cpp
35127 ac_cpp='$CXXCPP $CPPFLAGS'
35128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35133 /* end confdefs.h. */
35134 #include <math.h>
35136 main ()
35138 fmodf(0, 0);
35140 return 0;
35142 _ACEOF
35143 if ac_fn_cxx_try_compile "$LINENO"; then :
35144 glibcxx_cv_func_fmodf_use=yes
35145 else
35146 glibcxx_cv_func_fmodf_use=no
35148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35149 ac_ext=c
35150 ac_cpp='$CPP $CPPFLAGS'
35151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35160 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35162 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35163 for ac_func in fmodf
35164 do :
35165 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35166 if test "x$ac_cv_func_fmodf" = x""yes; then :
35167 cat >>confdefs.h <<_ACEOF
35168 #define HAVE_FMODF 1
35169 _ACEOF
35172 done
35174 else
35176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35177 $as_echo_n "checking for _fmodf declaration... " >&6; }
35178 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35179 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35180 $as_echo_n "(cached) " >&6
35181 else
35184 ac_ext=cpp
35185 ac_cpp='$CXXCPP $CPPFLAGS'
35186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35191 /* end confdefs.h. */
35192 #include <math.h>
35194 main ()
35196 _fmodf(0, 0);
35198 return 0;
35200 _ACEOF
35201 if ac_fn_cxx_try_compile "$LINENO"; then :
35202 glibcxx_cv_func__fmodf_use=yes
35203 else
35204 glibcxx_cv_func__fmodf_use=no
35206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35207 ac_ext=c
35208 ac_cpp='$CPP $CPPFLAGS'
35209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35218 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35220 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35221 for ac_func in _fmodf
35222 do :
35223 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35224 if test "x$ac_cv_func__fmodf" = x""yes; then :
35225 cat >>confdefs.h <<_ACEOF
35226 #define HAVE__FMODF 1
35227 _ACEOF
35230 done
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35240 $as_echo_n "checking for frexpf declaration... " >&6; }
35241 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35242 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35243 $as_echo_n "(cached) " >&6
35244 else
35247 ac_ext=cpp
35248 ac_cpp='$CXXCPP $CPPFLAGS'
35249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35254 /* end confdefs.h. */
35255 #include <math.h>
35257 main ()
35259 frexpf(0, 0);
35261 return 0;
35263 _ACEOF
35264 if ac_fn_cxx_try_compile "$LINENO"; then :
35265 glibcxx_cv_func_frexpf_use=yes
35266 else
35267 glibcxx_cv_func_frexpf_use=no
35269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35270 ac_ext=c
35271 ac_cpp='$CPP $CPPFLAGS'
35272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35281 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35283 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35284 for ac_func in frexpf
35285 do :
35286 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35287 if test "x$ac_cv_func_frexpf" = x""yes; then :
35288 cat >>confdefs.h <<_ACEOF
35289 #define HAVE_FREXPF 1
35290 _ACEOF
35293 done
35295 else
35297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35298 $as_echo_n "checking for _frexpf declaration... " >&6; }
35299 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35300 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35301 $as_echo_n "(cached) " >&6
35302 else
35305 ac_ext=cpp
35306 ac_cpp='$CXXCPP $CPPFLAGS'
35307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35312 /* end confdefs.h. */
35313 #include <math.h>
35315 main ()
35317 _frexpf(0, 0);
35319 return 0;
35321 _ACEOF
35322 if ac_fn_cxx_try_compile "$LINENO"; then :
35323 glibcxx_cv_func__frexpf_use=yes
35324 else
35325 glibcxx_cv_func__frexpf_use=no
35327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35328 ac_ext=c
35329 ac_cpp='$CPP $CPPFLAGS'
35330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35339 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35341 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35342 for ac_func in _frexpf
35343 do :
35344 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35345 if test "x$ac_cv_func__frexpf" = x""yes; then :
35346 cat >>confdefs.h <<_ACEOF
35347 #define HAVE__FREXPF 1
35348 _ACEOF
35351 done
35360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35361 $as_echo_n "checking for hypotf declaration... " >&6; }
35362 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35363 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35364 $as_echo_n "(cached) " >&6
35365 else
35368 ac_ext=cpp
35369 ac_cpp='$CXXCPP $CPPFLAGS'
35370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35375 /* end confdefs.h. */
35376 #include <math.h>
35378 main ()
35380 hypotf(0, 0);
35382 return 0;
35384 _ACEOF
35385 if ac_fn_cxx_try_compile "$LINENO"; then :
35386 glibcxx_cv_func_hypotf_use=yes
35387 else
35388 glibcxx_cv_func_hypotf_use=no
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391 ac_ext=c
35392 ac_cpp='$CPP $CPPFLAGS'
35393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35402 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35404 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35405 for ac_func in hypotf
35406 do :
35407 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35408 if test "x$ac_cv_func_hypotf" = x""yes; then :
35409 cat >>confdefs.h <<_ACEOF
35410 #define HAVE_HYPOTF 1
35411 _ACEOF
35414 done
35416 else
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35419 $as_echo_n "checking for _hypotf declaration... " >&6; }
35420 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35421 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35422 $as_echo_n "(cached) " >&6
35423 else
35426 ac_ext=cpp
35427 ac_cpp='$CXXCPP $CPPFLAGS'
35428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35433 /* end confdefs.h. */
35434 #include <math.h>
35436 main ()
35438 _hypotf(0, 0);
35440 return 0;
35442 _ACEOF
35443 if ac_fn_cxx_try_compile "$LINENO"; then :
35444 glibcxx_cv_func__hypotf_use=yes
35445 else
35446 glibcxx_cv_func__hypotf_use=no
35448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35449 ac_ext=c
35450 ac_cpp='$CPP $CPPFLAGS'
35451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35460 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35462 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35463 for ac_func in _hypotf
35464 do :
35465 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35466 if test "x$ac_cv_func__hypotf" = x""yes; then :
35467 cat >>confdefs.h <<_ACEOF
35468 #define HAVE__HYPOTF 1
35469 _ACEOF
35472 done
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35482 $as_echo_n "checking for ldexpf declaration... " >&6; }
35483 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35484 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35485 $as_echo_n "(cached) " >&6
35486 else
35489 ac_ext=cpp
35490 ac_cpp='$CXXCPP $CPPFLAGS'
35491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35496 /* end confdefs.h. */
35497 #include <math.h>
35499 main ()
35501 ldexpf(0, 0);
35503 return 0;
35505 _ACEOF
35506 if ac_fn_cxx_try_compile "$LINENO"; then :
35507 glibcxx_cv_func_ldexpf_use=yes
35508 else
35509 glibcxx_cv_func_ldexpf_use=no
35511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35512 ac_ext=c
35513 ac_cpp='$CPP $CPPFLAGS'
35514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35523 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35525 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35526 for ac_func in ldexpf
35527 do :
35528 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35529 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35530 cat >>confdefs.h <<_ACEOF
35531 #define HAVE_LDEXPF 1
35532 _ACEOF
35535 done
35537 else
35539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35540 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35541 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35542 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35543 $as_echo_n "(cached) " >&6
35544 else
35547 ac_ext=cpp
35548 ac_cpp='$CXXCPP $CPPFLAGS'
35549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35554 /* end confdefs.h. */
35555 #include <math.h>
35557 main ()
35559 _ldexpf(0, 0);
35561 return 0;
35563 _ACEOF
35564 if ac_fn_cxx_try_compile "$LINENO"; then :
35565 glibcxx_cv_func__ldexpf_use=yes
35566 else
35567 glibcxx_cv_func__ldexpf_use=no
35569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35570 ac_ext=c
35571 ac_cpp='$CPP $CPPFLAGS'
35572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35581 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35583 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35584 for ac_func in _ldexpf
35585 do :
35586 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35587 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35588 cat >>confdefs.h <<_ACEOF
35589 #define HAVE__LDEXPF 1
35590 _ACEOF
35593 done
35602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35603 $as_echo_n "checking for logf declaration... " >&6; }
35604 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35605 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35606 $as_echo_n "(cached) " >&6
35607 else
35610 ac_ext=cpp
35611 ac_cpp='$CXXCPP $CPPFLAGS'
35612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35617 /* end confdefs.h. */
35618 #include <math.h>
35619 #ifdef HAVE_IEEEFP_H
35620 #include <ieeefp.h>
35621 #endif
35624 main ()
35626 logf(0);
35628 return 0;
35630 _ACEOF
35631 if ac_fn_cxx_try_compile "$LINENO"; then :
35632 glibcxx_cv_func_logf_use=yes
35633 else
35634 glibcxx_cv_func_logf_use=no
35636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35637 ac_ext=c
35638 ac_cpp='$CPP $CPPFLAGS'
35639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35648 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35650 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35651 for ac_func in logf
35652 do :
35653 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35654 if test "x$ac_cv_func_logf" = x""yes; then :
35655 cat >>confdefs.h <<_ACEOF
35656 #define HAVE_LOGF 1
35657 _ACEOF
35660 done
35662 else
35664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35665 $as_echo_n "checking for _logf declaration... " >&6; }
35666 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35667 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35668 $as_echo_n "(cached) " >&6
35669 else
35672 ac_ext=cpp
35673 ac_cpp='$CXXCPP $CPPFLAGS'
35674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35679 /* end confdefs.h. */
35680 #include <math.h>
35681 #ifdef HAVE_IEEEFP_H
35682 #include <ieeefp.h>
35683 #endif
35686 main ()
35688 _logf(0);
35690 return 0;
35692 _ACEOF
35693 if ac_fn_cxx_try_compile "$LINENO"; then :
35694 glibcxx_cv_func__logf_use=yes
35695 else
35696 glibcxx_cv_func__logf_use=no
35698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35699 ac_ext=c
35700 ac_cpp='$CPP $CPPFLAGS'
35701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35710 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35712 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35713 for ac_func in _logf
35714 do :
35715 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35716 if test "x$ac_cv_func__logf" = x""yes; then :
35717 cat >>confdefs.h <<_ACEOF
35718 #define HAVE__LOGF 1
35719 _ACEOF
35722 done
35731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35732 $as_echo_n "checking for log10f declaration... " >&6; }
35733 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35734 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35735 $as_echo_n "(cached) " >&6
35736 else
35739 ac_ext=cpp
35740 ac_cpp='$CXXCPP $CPPFLAGS'
35741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35746 /* end confdefs.h. */
35747 #include <math.h>
35748 #ifdef HAVE_IEEEFP_H
35749 #include <ieeefp.h>
35750 #endif
35753 main ()
35755 log10f(0);
35757 return 0;
35759 _ACEOF
35760 if ac_fn_cxx_try_compile "$LINENO"; then :
35761 glibcxx_cv_func_log10f_use=yes
35762 else
35763 glibcxx_cv_func_log10f_use=no
35765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35766 ac_ext=c
35767 ac_cpp='$CPP $CPPFLAGS'
35768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35777 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35779 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35780 for ac_func in log10f
35781 do :
35782 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35783 if test "x$ac_cv_func_log10f" = x""yes; then :
35784 cat >>confdefs.h <<_ACEOF
35785 #define HAVE_LOG10F 1
35786 _ACEOF
35789 done
35791 else
35793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35794 $as_echo_n "checking for _log10f declaration... " >&6; }
35795 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35796 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35797 $as_echo_n "(cached) " >&6
35798 else
35801 ac_ext=cpp
35802 ac_cpp='$CXXCPP $CPPFLAGS'
35803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35808 /* end confdefs.h. */
35809 #include <math.h>
35810 #ifdef HAVE_IEEEFP_H
35811 #include <ieeefp.h>
35812 #endif
35815 main ()
35817 _log10f(0);
35819 return 0;
35821 _ACEOF
35822 if ac_fn_cxx_try_compile "$LINENO"; then :
35823 glibcxx_cv_func__log10f_use=yes
35824 else
35825 glibcxx_cv_func__log10f_use=no
35827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35828 ac_ext=c
35829 ac_cpp='$CPP $CPPFLAGS'
35830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35839 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35841 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35842 for ac_func in _log10f
35843 do :
35844 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35845 if test "x$ac_cv_func__log10f" = x""yes; then :
35846 cat >>confdefs.h <<_ACEOF
35847 #define HAVE__LOG10F 1
35848 _ACEOF
35851 done
35860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35861 $as_echo_n "checking for modff declaration... " >&6; }
35862 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35863 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35864 $as_echo_n "(cached) " >&6
35865 else
35868 ac_ext=cpp
35869 ac_cpp='$CXXCPP $CPPFLAGS'
35870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35875 /* end confdefs.h. */
35876 #include <math.h>
35878 main ()
35880 modff(0, 0);
35882 return 0;
35884 _ACEOF
35885 if ac_fn_cxx_try_compile "$LINENO"; then :
35886 glibcxx_cv_func_modff_use=yes
35887 else
35888 glibcxx_cv_func_modff_use=no
35890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35891 ac_ext=c
35892 ac_cpp='$CPP $CPPFLAGS'
35893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35902 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35904 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35905 for ac_func in modff
35906 do :
35907 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35908 if test "x$ac_cv_func_modff" = x""yes; then :
35909 cat >>confdefs.h <<_ACEOF
35910 #define HAVE_MODFF 1
35911 _ACEOF
35914 done
35916 else
35918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35919 $as_echo_n "checking for _modff declaration... " >&6; }
35920 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35921 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35922 $as_echo_n "(cached) " >&6
35923 else
35926 ac_ext=cpp
35927 ac_cpp='$CXXCPP $CPPFLAGS'
35928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35933 /* end confdefs.h. */
35934 #include <math.h>
35936 main ()
35938 _modff(0, 0);
35940 return 0;
35942 _ACEOF
35943 if ac_fn_cxx_try_compile "$LINENO"; then :
35944 glibcxx_cv_func__modff_use=yes
35945 else
35946 glibcxx_cv_func__modff_use=no
35948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35949 ac_ext=c
35950 ac_cpp='$CPP $CPPFLAGS'
35951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35960 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35962 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35963 for ac_func in _modff
35964 do :
35965 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35966 if test "x$ac_cv_func__modff" = x""yes; then :
35967 cat >>confdefs.h <<_ACEOF
35968 #define HAVE__MODFF 1
35969 _ACEOF
35972 done
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35982 $as_echo_n "checking for modf declaration... " >&6; }
35983 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35984 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35985 $as_echo_n "(cached) " >&6
35986 else
35989 ac_ext=cpp
35990 ac_cpp='$CXXCPP $CPPFLAGS'
35991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35996 /* end confdefs.h. */
35997 #include <math.h>
35999 main ()
36001 modf(0, 0);
36003 return 0;
36005 _ACEOF
36006 if ac_fn_cxx_try_compile "$LINENO"; then :
36007 glibcxx_cv_func_modf_use=yes
36008 else
36009 glibcxx_cv_func_modf_use=no
36011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36012 ac_ext=c
36013 ac_cpp='$CPP $CPPFLAGS'
36014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36023 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36025 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36026 for ac_func in modf
36027 do :
36028 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36029 if test "x$ac_cv_func_modf" = x""yes; then :
36030 cat >>confdefs.h <<_ACEOF
36031 #define HAVE_MODF 1
36032 _ACEOF
36035 done
36037 else
36039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36040 $as_echo_n "checking for _modf declaration... " >&6; }
36041 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36042 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36043 $as_echo_n "(cached) " >&6
36044 else
36047 ac_ext=cpp
36048 ac_cpp='$CXXCPP $CPPFLAGS'
36049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36054 /* end confdefs.h. */
36055 #include <math.h>
36057 main ()
36059 _modf(0, 0);
36061 return 0;
36063 _ACEOF
36064 if ac_fn_cxx_try_compile "$LINENO"; then :
36065 glibcxx_cv_func__modf_use=yes
36066 else
36067 glibcxx_cv_func__modf_use=no
36069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36070 ac_ext=c
36071 ac_cpp='$CPP $CPPFLAGS'
36072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36081 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36083 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36084 for ac_func in _modf
36085 do :
36086 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36087 if test "x$ac_cv_func__modf" = x""yes; then :
36088 cat >>confdefs.h <<_ACEOF
36089 #define HAVE__MODF 1
36090 _ACEOF
36093 done
36102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36103 $as_echo_n "checking for powf declaration... " >&6; }
36104 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36105 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36106 $as_echo_n "(cached) " >&6
36107 else
36110 ac_ext=cpp
36111 ac_cpp='$CXXCPP $CPPFLAGS'
36112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36117 /* end confdefs.h. */
36118 #include <math.h>
36120 main ()
36122 powf(0, 0);
36124 return 0;
36126 _ACEOF
36127 if ac_fn_cxx_try_compile "$LINENO"; then :
36128 glibcxx_cv_func_powf_use=yes
36129 else
36130 glibcxx_cv_func_powf_use=no
36132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36133 ac_ext=c
36134 ac_cpp='$CPP $CPPFLAGS'
36135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36144 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36146 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36147 for ac_func in powf
36148 do :
36149 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36150 if test "x$ac_cv_func_powf" = x""yes; then :
36151 cat >>confdefs.h <<_ACEOF
36152 #define HAVE_POWF 1
36153 _ACEOF
36156 done
36158 else
36160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36161 $as_echo_n "checking for _powf declaration... " >&6; }
36162 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36163 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36164 $as_echo_n "(cached) " >&6
36165 else
36168 ac_ext=cpp
36169 ac_cpp='$CXXCPP $CPPFLAGS'
36170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36175 /* end confdefs.h. */
36176 #include <math.h>
36178 main ()
36180 _powf(0, 0);
36182 return 0;
36184 _ACEOF
36185 if ac_fn_cxx_try_compile "$LINENO"; then :
36186 glibcxx_cv_func__powf_use=yes
36187 else
36188 glibcxx_cv_func__powf_use=no
36190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36191 ac_ext=c
36192 ac_cpp='$CPP $CPPFLAGS'
36193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36202 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36204 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36205 for ac_func in _powf
36206 do :
36207 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36208 if test "x$ac_cv_func__powf" = x""yes; then :
36209 cat >>confdefs.h <<_ACEOF
36210 #define HAVE__POWF 1
36211 _ACEOF
36214 done
36223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36224 $as_echo_n "checking for sqrtf declaration... " >&6; }
36225 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36226 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36227 $as_echo_n "(cached) " >&6
36228 else
36231 ac_ext=cpp
36232 ac_cpp='$CXXCPP $CPPFLAGS'
36233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36238 /* end confdefs.h. */
36239 #include <math.h>
36240 #ifdef HAVE_IEEEFP_H
36241 #include <ieeefp.h>
36242 #endif
36245 main ()
36247 sqrtf(0);
36249 return 0;
36251 _ACEOF
36252 if ac_fn_cxx_try_compile "$LINENO"; then :
36253 glibcxx_cv_func_sqrtf_use=yes
36254 else
36255 glibcxx_cv_func_sqrtf_use=no
36257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36258 ac_ext=c
36259 ac_cpp='$CPP $CPPFLAGS'
36260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36269 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36271 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36272 for ac_func in sqrtf
36273 do :
36274 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36275 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36276 cat >>confdefs.h <<_ACEOF
36277 #define HAVE_SQRTF 1
36278 _ACEOF
36281 done
36283 else
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36286 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36287 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36288 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36289 $as_echo_n "(cached) " >&6
36290 else
36293 ac_ext=cpp
36294 ac_cpp='$CXXCPP $CPPFLAGS'
36295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36300 /* end confdefs.h. */
36301 #include <math.h>
36302 #ifdef HAVE_IEEEFP_H
36303 #include <ieeefp.h>
36304 #endif
36307 main ()
36309 _sqrtf(0);
36311 return 0;
36313 _ACEOF
36314 if ac_fn_cxx_try_compile "$LINENO"; then :
36315 glibcxx_cv_func__sqrtf_use=yes
36316 else
36317 glibcxx_cv_func__sqrtf_use=no
36319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36320 ac_ext=c
36321 ac_cpp='$CPP $CPPFLAGS'
36322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36331 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36333 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36334 for ac_func in _sqrtf
36335 do :
36336 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36337 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36338 cat >>confdefs.h <<_ACEOF
36339 #define HAVE__SQRTF 1
36340 _ACEOF
36343 done
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36353 $as_echo_n "checking for sincosf declaration... " >&6; }
36354 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36355 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36356 $as_echo_n "(cached) " >&6
36357 else
36360 ac_ext=cpp
36361 ac_cpp='$CXXCPP $CPPFLAGS'
36362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36367 /* end confdefs.h. */
36368 #include <math.h>
36370 main ()
36372 sincosf(0, 0, 0);
36374 return 0;
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func_sincosf_use=yes
36379 else
36380 glibcxx_cv_func_sincosf_use=no
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36394 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36396 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36397 for ac_func in sincosf
36398 do :
36399 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36400 if test "x$ac_cv_func_sincosf" = x""yes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE_SINCOSF 1
36403 _ACEOF
36406 done
36408 else
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36411 $as_echo_n "checking for _sincosf declaration... " >&6; }
36412 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36413 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36414 $as_echo_n "(cached) " >&6
36415 else
36418 ac_ext=cpp
36419 ac_cpp='$CXXCPP $CPPFLAGS'
36420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36425 /* end confdefs.h. */
36426 #include <math.h>
36428 main ()
36430 _sincosf(0, 0, 0);
36432 return 0;
36434 _ACEOF
36435 if ac_fn_cxx_try_compile "$LINENO"; then :
36436 glibcxx_cv_func__sincosf_use=yes
36437 else
36438 glibcxx_cv_func__sincosf_use=no
36440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36441 ac_ext=c
36442 ac_cpp='$CPP $CPPFLAGS'
36443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36452 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36454 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36455 for ac_func in _sincosf
36456 do :
36457 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36458 if test "x$ac_cv_func__sincosf" = x""yes; then :
36459 cat >>confdefs.h <<_ACEOF
36460 #define HAVE__SINCOSF 1
36461 _ACEOF
36464 done
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36474 $as_echo_n "checking for finitef declaration... " >&6; }
36475 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36476 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36477 $as_echo_n "(cached) " >&6
36478 else
36481 ac_ext=cpp
36482 ac_cpp='$CXXCPP $CPPFLAGS'
36483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36488 /* end confdefs.h. */
36489 #include <math.h>
36490 #ifdef HAVE_IEEEFP_H
36491 #include <ieeefp.h>
36492 #endif
36495 main ()
36497 finitef(0);
36499 return 0;
36501 _ACEOF
36502 if ac_fn_cxx_try_compile "$LINENO"; then :
36503 glibcxx_cv_func_finitef_use=yes
36504 else
36505 glibcxx_cv_func_finitef_use=no
36507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36508 ac_ext=c
36509 ac_cpp='$CPP $CPPFLAGS'
36510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36519 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36521 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36522 for ac_func in finitef
36523 do :
36524 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36525 if test "x$ac_cv_func_finitef" = x""yes; then :
36526 cat >>confdefs.h <<_ACEOF
36527 #define HAVE_FINITEF 1
36528 _ACEOF
36531 done
36533 else
36535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36536 $as_echo_n "checking for _finitef declaration... " >&6; }
36537 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36538 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36539 $as_echo_n "(cached) " >&6
36540 else
36543 ac_ext=cpp
36544 ac_cpp='$CXXCPP $CPPFLAGS'
36545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36550 /* end confdefs.h. */
36551 #include <math.h>
36552 #ifdef HAVE_IEEEFP_H
36553 #include <ieeefp.h>
36554 #endif
36557 main ()
36559 _finitef(0);
36561 return 0;
36563 _ACEOF
36564 if ac_fn_cxx_try_compile "$LINENO"; then :
36565 glibcxx_cv_func__finitef_use=yes
36566 else
36567 glibcxx_cv_func__finitef_use=no
36569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36570 ac_ext=c
36571 ac_cpp='$CPP $CPPFLAGS'
36572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36581 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36583 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36584 for ac_func in _finitef
36585 do :
36586 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36587 if test "x$ac_cv_func__finitef" = x""yes; then :
36588 cat >>confdefs.h <<_ACEOF
36589 #define HAVE__FINITEF 1
36590 _ACEOF
36593 done
36602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36603 $as_echo_n "checking for long double trig functions... " >&6; }
36604 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36605 $as_echo_n "(cached) " >&6
36606 else
36609 ac_ext=cpp
36610 ac_cpp='$CXXCPP $CPPFLAGS'
36611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36616 /* end confdefs.h. */
36617 #include <math.h>
36619 main ()
36621 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36623 return 0;
36625 _ACEOF
36626 if ac_fn_cxx_try_compile "$LINENO"; then :
36627 glibcxx_cv_func_long_double_trig_use=yes
36628 else
36629 glibcxx_cv_func_long_double_trig_use=no
36631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36632 ac_ext=c
36633 ac_cpp='$CPP $CPPFLAGS'
36634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36641 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36642 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36643 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36644 do :
36645 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36646 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36647 eval as_val=\$$as_ac_var
36648 if test "x$as_val" = x""yes; then :
36649 cat >>confdefs.h <<_ACEOF
36650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36651 _ACEOF
36654 done
36656 else
36657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36658 $as_echo_n "checking for _long double trig functions... " >&6; }
36659 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36660 $as_echo_n "(cached) " >&6
36661 else
36664 ac_ext=cpp
36665 ac_cpp='$CXXCPP $CPPFLAGS'
36666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36671 /* end confdefs.h. */
36672 #include <math.h>
36674 main ()
36676 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36678 return 0;
36680 _ACEOF
36681 if ac_fn_cxx_try_compile "$LINENO"; then :
36682 glibcxx_cv_func__long_double_trig_use=yes
36683 else
36684 glibcxx_cv_func__long_double_trig_use=no
36686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36687 ac_ext=c
36688 ac_cpp='$CPP $CPPFLAGS'
36689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36696 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36697 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36698 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36699 do :
36700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36702 eval as_val=\$$as_ac_var
36703 if test "x$as_val" = x""yes; then :
36704 cat >>confdefs.h <<_ACEOF
36705 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36706 _ACEOF
36709 done
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36719 $as_echo_n "checking for long double round functions... " >&6; }
36720 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36721 $as_echo_n "(cached) " >&6
36722 else
36725 ac_ext=cpp
36726 ac_cpp='$CXXCPP $CPPFLAGS'
36727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36732 /* end confdefs.h. */
36733 #include <math.h>
36735 main ()
36737 ceill (0); floorl (0);
36739 return 0;
36741 _ACEOF
36742 if ac_fn_cxx_try_compile "$LINENO"; then :
36743 glibcxx_cv_func_long_double_round_use=yes
36744 else
36745 glibcxx_cv_func_long_double_round_use=no
36747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36748 ac_ext=c
36749 ac_cpp='$CPP $CPPFLAGS'
36750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36757 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36758 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36759 for ac_func in ceill floorl
36760 do :
36761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36763 eval as_val=\$$as_ac_var
36764 if test "x$as_val" = x""yes; then :
36765 cat >>confdefs.h <<_ACEOF
36766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36767 _ACEOF
36770 done
36772 else
36773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36774 $as_echo_n "checking for _long double round functions... " >&6; }
36775 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36776 $as_echo_n "(cached) " >&6
36777 else
36780 ac_ext=cpp
36781 ac_cpp='$CXXCPP $CPPFLAGS'
36782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36787 /* end confdefs.h. */
36788 #include <math.h>
36790 main ()
36792 _ceill (0); _floorl (0);
36794 return 0;
36796 _ACEOF
36797 if ac_fn_cxx_try_compile "$LINENO"; then :
36798 glibcxx_cv_func__long_double_round_use=yes
36799 else
36800 glibcxx_cv_func__long_double_round_use=no
36802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36803 ac_ext=c
36804 ac_cpp='$CPP $CPPFLAGS'
36805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36812 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36813 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36814 for ac_func in _ceill _floorl
36815 do :
36816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36818 eval as_val=\$$as_ac_var
36819 if test "x$as_val" = x""yes; then :
36820 cat >>confdefs.h <<_ACEOF
36821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36822 _ACEOF
36825 done
36835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36836 $as_echo_n "checking for isnanl declaration... " >&6; }
36837 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36838 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36839 $as_echo_n "(cached) " >&6
36840 else
36843 ac_ext=cpp
36844 ac_cpp='$CXXCPP $CPPFLAGS'
36845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36850 /* end confdefs.h. */
36851 #include <math.h>
36852 #ifdef HAVE_IEEEFP_H
36853 #include <ieeefp.h>
36854 #endif
36857 main ()
36859 isnanl(0);
36861 return 0;
36863 _ACEOF
36864 if ac_fn_cxx_try_compile "$LINENO"; then :
36865 glibcxx_cv_func_isnanl_use=yes
36866 else
36867 glibcxx_cv_func_isnanl_use=no
36869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36870 ac_ext=c
36871 ac_cpp='$CPP $CPPFLAGS'
36872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36881 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36883 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36884 for ac_func in isnanl
36885 do :
36886 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36887 if test "x$ac_cv_func_isnanl" = x""yes; then :
36888 cat >>confdefs.h <<_ACEOF
36889 #define HAVE_ISNANL 1
36890 _ACEOF
36893 done
36895 else
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36898 $as_echo_n "checking for _isnanl declaration... " >&6; }
36899 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36900 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36901 $as_echo_n "(cached) " >&6
36902 else
36905 ac_ext=cpp
36906 ac_cpp='$CXXCPP $CPPFLAGS'
36907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36912 /* end confdefs.h. */
36913 #include <math.h>
36914 #ifdef HAVE_IEEEFP_H
36915 #include <ieeefp.h>
36916 #endif
36919 main ()
36921 _isnanl(0);
36923 return 0;
36925 _ACEOF
36926 if ac_fn_cxx_try_compile "$LINENO"; then :
36927 glibcxx_cv_func__isnanl_use=yes
36928 else
36929 glibcxx_cv_func__isnanl_use=no
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36943 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36945 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36946 for ac_func in _isnanl
36947 do :
36948 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36949 if test "x$ac_cv_func__isnanl" = x""yes; then :
36950 cat >>confdefs.h <<_ACEOF
36951 #define HAVE__ISNANL 1
36952 _ACEOF
36955 done
36964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36965 $as_echo_n "checking for isinfl declaration... " >&6; }
36966 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36967 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36968 $as_echo_n "(cached) " >&6
36969 else
36972 ac_ext=cpp
36973 ac_cpp='$CXXCPP $CPPFLAGS'
36974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36979 /* end confdefs.h. */
36980 #include <math.h>
36981 #ifdef HAVE_IEEEFP_H
36982 #include <ieeefp.h>
36983 #endif
36986 main ()
36988 isinfl(0);
36990 return 0;
36992 _ACEOF
36993 if ac_fn_cxx_try_compile "$LINENO"; then :
36994 glibcxx_cv_func_isinfl_use=yes
36995 else
36996 glibcxx_cv_func_isinfl_use=no
36998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36999 ac_ext=c
37000 ac_cpp='$CPP $CPPFLAGS'
37001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37010 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37012 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37013 for ac_func in isinfl
37014 do :
37015 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37016 if test "x$ac_cv_func_isinfl" = x""yes; then :
37017 cat >>confdefs.h <<_ACEOF
37018 #define HAVE_ISINFL 1
37019 _ACEOF
37022 done
37024 else
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37027 $as_echo_n "checking for _isinfl declaration... " >&6; }
37028 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37029 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37030 $as_echo_n "(cached) " >&6
37031 else
37034 ac_ext=cpp
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 /* end confdefs.h. */
37042 #include <math.h>
37043 #ifdef HAVE_IEEEFP_H
37044 #include <ieeefp.h>
37045 #endif
37048 main ()
37050 _isinfl(0);
37052 return 0;
37054 _ACEOF
37055 if ac_fn_cxx_try_compile "$LINENO"; then :
37056 glibcxx_cv_func__isinfl_use=yes
37057 else
37058 glibcxx_cv_func__isinfl_use=no
37060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37061 ac_ext=c
37062 ac_cpp='$CPP $CPPFLAGS'
37063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37072 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37074 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37075 for ac_func in _isinfl
37076 do :
37077 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37078 if test "x$ac_cv_func__isinfl" = x""yes; then :
37079 cat >>confdefs.h <<_ACEOF
37080 #define HAVE__ISINFL 1
37081 _ACEOF
37084 done
37093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37094 $as_echo_n "checking for atan2l declaration... " >&6; }
37095 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37096 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37097 $as_echo_n "(cached) " >&6
37098 else
37101 ac_ext=cpp
37102 ac_cpp='$CXXCPP $CPPFLAGS'
37103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37108 /* end confdefs.h. */
37109 #include <math.h>
37111 main ()
37113 atan2l(0, 0);
37115 return 0;
37117 _ACEOF
37118 if ac_fn_cxx_try_compile "$LINENO"; then :
37119 glibcxx_cv_func_atan2l_use=yes
37120 else
37121 glibcxx_cv_func_atan2l_use=no
37123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37124 ac_ext=c
37125 ac_cpp='$CPP $CPPFLAGS'
37126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37135 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37137 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37138 for ac_func in atan2l
37139 do :
37140 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37141 if test "x$ac_cv_func_atan2l" = x""yes; then :
37142 cat >>confdefs.h <<_ACEOF
37143 #define HAVE_ATAN2L 1
37144 _ACEOF
37147 done
37149 else
37151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37152 $as_echo_n "checking for _atan2l declaration... " >&6; }
37153 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37154 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37155 $as_echo_n "(cached) " >&6
37156 else
37159 ac_ext=cpp
37160 ac_cpp='$CXXCPP $CPPFLAGS'
37161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37166 /* end confdefs.h. */
37167 #include <math.h>
37169 main ()
37171 _atan2l(0, 0);
37173 return 0;
37175 _ACEOF
37176 if ac_fn_cxx_try_compile "$LINENO"; then :
37177 glibcxx_cv_func__atan2l_use=yes
37178 else
37179 glibcxx_cv_func__atan2l_use=no
37181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37182 ac_ext=c
37183 ac_cpp='$CPP $CPPFLAGS'
37184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37193 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37195 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37196 for ac_func in _atan2l
37197 do :
37198 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37199 if test "x$ac_cv_func__atan2l" = x""yes; then :
37200 cat >>confdefs.h <<_ACEOF
37201 #define HAVE__ATAN2L 1
37202 _ACEOF
37205 done
37214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37215 $as_echo_n "checking for expl declaration... " >&6; }
37216 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37217 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37218 $as_echo_n "(cached) " >&6
37219 else
37222 ac_ext=cpp
37223 ac_cpp='$CXXCPP $CPPFLAGS'
37224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37229 /* end confdefs.h. */
37230 #include <math.h>
37231 #ifdef HAVE_IEEEFP_H
37232 #include <ieeefp.h>
37233 #endif
37236 main ()
37238 expl(0);
37240 return 0;
37242 _ACEOF
37243 if ac_fn_cxx_try_compile "$LINENO"; then :
37244 glibcxx_cv_func_expl_use=yes
37245 else
37246 glibcxx_cv_func_expl_use=no
37248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37249 ac_ext=c
37250 ac_cpp='$CPP $CPPFLAGS'
37251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37260 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37262 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37263 for ac_func in expl
37264 do :
37265 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37266 if test "x$ac_cv_func_expl" = x""yes; then :
37267 cat >>confdefs.h <<_ACEOF
37268 #define HAVE_EXPL 1
37269 _ACEOF
37272 done
37274 else
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37277 $as_echo_n "checking for _expl declaration... " >&6; }
37278 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37279 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37280 $as_echo_n "(cached) " >&6
37281 else
37284 ac_ext=cpp
37285 ac_cpp='$CXXCPP $CPPFLAGS'
37286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37291 /* end confdefs.h. */
37292 #include <math.h>
37293 #ifdef HAVE_IEEEFP_H
37294 #include <ieeefp.h>
37295 #endif
37298 main ()
37300 _expl(0);
37302 return 0;
37304 _ACEOF
37305 if ac_fn_cxx_try_compile "$LINENO"; then :
37306 glibcxx_cv_func__expl_use=yes
37307 else
37308 glibcxx_cv_func__expl_use=no
37310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37311 ac_ext=c
37312 ac_cpp='$CPP $CPPFLAGS'
37313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37322 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37324 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37325 for ac_func in _expl
37326 do :
37327 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37328 if test "x$ac_cv_func__expl" = x""yes; then :
37329 cat >>confdefs.h <<_ACEOF
37330 #define HAVE__EXPL 1
37331 _ACEOF
37334 done
37343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37344 $as_echo_n "checking for fabsl declaration... " >&6; }
37345 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37346 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37347 $as_echo_n "(cached) " >&6
37348 else
37351 ac_ext=cpp
37352 ac_cpp='$CXXCPP $CPPFLAGS'
37353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37358 /* end confdefs.h. */
37359 #include <math.h>
37360 #ifdef HAVE_IEEEFP_H
37361 #include <ieeefp.h>
37362 #endif
37365 main ()
37367 fabsl(0);
37369 return 0;
37371 _ACEOF
37372 if ac_fn_cxx_try_compile "$LINENO"; then :
37373 glibcxx_cv_func_fabsl_use=yes
37374 else
37375 glibcxx_cv_func_fabsl_use=no
37377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37378 ac_ext=c
37379 ac_cpp='$CPP $CPPFLAGS'
37380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37389 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37391 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37392 for ac_func in fabsl
37393 do :
37394 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37395 if test "x$ac_cv_func_fabsl" = x""yes; then :
37396 cat >>confdefs.h <<_ACEOF
37397 #define HAVE_FABSL 1
37398 _ACEOF
37401 done
37403 else
37405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37406 $as_echo_n "checking for _fabsl declaration... " >&6; }
37407 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37408 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37409 $as_echo_n "(cached) " >&6
37410 else
37413 ac_ext=cpp
37414 ac_cpp='$CXXCPP $CPPFLAGS'
37415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37420 /* end confdefs.h. */
37421 #include <math.h>
37422 #ifdef HAVE_IEEEFP_H
37423 #include <ieeefp.h>
37424 #endif
37427 main ()
37429 _fabsl(0);
37431 return 0;
37433 _ACEOF
37434 if ac_fn_cxx_try_compile "$LINENO"; then :
37435 glibcxx_cv_func__fabsl_use=yes
37436 else
37437 glibcxx_cv_func__fabsl_use=no
37439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37440 ac_ext=c
37441 ac_cpp='$CPP $CPPFLAGS'
37442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37451 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37453 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37454 for ac_func in _fabsl
37455 do :
37456 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37457 if test "x$ac_cv_func__fabsl" = x""yes; then :
37458 cat >>confdefs.h <<_ACEOF
37459 #define HAVE__FABSL 1
37460 _ACEOF
37463 done
37472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37473 $as_echo_n "checking for fmodl declaration... " >&6; }
37474 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37475 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37476 $as_echo_n "(cached) " >&6
37477 else
37480 ac_ext=cpp
37481 ac_cpp='$CXXCPP $CPPFLAGS'
37482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37487 /* end confdefs.h. */
37488 #include <math.h>
37490 main ()
37492 fmodl(0, 0);
37494 return 0;
37496 _ACEOF
37497 if ac_fn_cxx_try_compile "$LINENO"; then :
37498 glibcxx_cv_func_fmodl_use=yes
37499 else
37500 glibcxx_cv_func_fmodl_use=no
37502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37503 ac_ext=c
37504 ac_cpp='$CPP $CPPFLAGS'
37505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37514 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37516 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37517 for ac_func in fmodl
37518 do :
37519 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37520 if test "x$ac_cv_func_fmodl" = x""yes; then :
37521 cat >>confdefs.h <<_ACEOF
37522 #define HAVE_FMODL 1
37523 _ACEOF
37526 done
37528 else
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37531 $as_echo_n "checking for _fmodl declaration... " >&6; }
37532 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37533 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37534 $as_echo_n "(cached) " >&6
37535 else
37538 ac_ext=cpp
37539 ac_cpp='$CXXCPP $CPPFLAGS'
37540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37545 /* end confdefs.h. */
37546 #include <math.h>
37548 main ()
37550 _fmodl(0, 0);
37552 return 0;
37554 _ACEOF
37555 if ac_fn_cxx_try_compile "$LINENO"; then :
37556 glibcxx_cv_func__fmodl_use=yes
37557 else
37558 glibcxx_cv_func__fmodl_use=no
37560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37561 ac_ext=c
37562 ac_cpp='$CPP $CPPFLAGS'
37563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37572 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37574 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37575 for ac_func in _fmodl
37576 do :
37577 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37578 if test "x$ac_cv_func__fmodl" = x""yes; then :
37579 cat >>confdefs.h <<_ACEOF
37580 #define HAVE__FMODL 1
37581 _ACEOF
37584 done
37593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37594 $as_echo_n "checking for frexpl declaration... " >&6; }
37595 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37596 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37597 $as_echo_n "(cached) " >&6
37598 else
37601 ac_ext=cpp
37602 ac_cpp='$CXXCPP $CPPFLAGS'
37603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37608 /* end confdefs.h. */
37609 #include <math.h>
37611 main ()
37613 frexpl(0, 0);
37615 return 0;
37617 _ACEOF
37618 if ac_fn_cxx_try_compile "$LINENO"; then :
37619 glibcxx_cv_func_frexpl_use=yes
37620 else
37621 glibcxx_cv_func_frexpl_use=no
37623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37624 ac_ext=c
37625 ac_cpp='$CPP $CPPFLAGS'
37626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37635 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37637 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37638 for ac_func in frexpl
37639 do :
37640 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37641 if test "x$ac_cv_func_frexpl" = x""yes; then :
37642 cat >>confdefs.h <<_ACEOF
37643 #define HAVE_FREXPL 1
37644 _ACEOF
37647 done
37649 else
37651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37652 $as_echo_n "checking for _frexpl declaration... " >&6; }
37653 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37654 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37655 $as_echo_n "(cached) " >&6
37656 else
37659 ac_ext=cpp
37660 ac_cpp='$CXXCPP $CPPFLAGS'
37661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37666 /* end confdefs.h. */
37667 #include <math.h>
37669 main ()
37671 _frexpl(0, 0);
37673 return 0;
37675 _ACEOF
37676 if ac_fn_cxx_try_compile "$LINENO"; then :
37677 glibcxx_cv_func__frexpl_use=yes
37678 else
37679 glibcxx_cv_func__frexpl_use=no
37681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37682 ac_ext=c
37683 ac_cpp='$CPP $CPPFLAGS'
37684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37693 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37695 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37696 for ac_func in _frexpl
37697 do :
37698 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37699 if test "x$ac_cv_func__frexpl" = x""yes; then :
37700 cat >>confdefs.h <<_ACEOF
37701 #define HAVE__FREXPL 1
37702 _ACEOF
37705 done
37714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37715 $as_echo_n "checking for hypotl declaration... " >&6; }
37716 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37717 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37718 $as_echo_n "(cached) " >&6
37719 else
37722 ac_ext=cpp
37723 ac_cpp='$CXXCPP $CPPFLAGS'
37724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37729 /* end confdefs.h. */
37730 #include <math.h>
37732 main ()
37734 hypotl(0, 0);
37736 return 0;
37738 _ACEOF
37739 if ac_fn_cxx_try_compile "$LINENO"; then :
37740 glibcxx_cv_func_hypotl_use=yes
37741 else
37742 glibcxx_cv_func_hypotl_use=no
37744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37745 ac_ext=c
37746 ac_cpp='$CPP $CPPFLAGS'
37747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37756 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37758 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37759 for ac_func in hypotl
37760 do :
37761 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37762 if test "x$ac_cv_func_hypotl" = x""yes; then :
37763 cat >>confdefs.h <<_ACEOF
37764 #define HAVE_HYPOTL 1
37765 _ACEOF
37768 done
37770 else
37772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37773 $as_echo_n "checking for _hypotl declaration... " >&6; }
37774 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37775 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37776 $as_echo_n "(cached) " >&6
37777 else
37780 ac_ext=cpp
37781 ac_cpp='$CXXCPP $CPPFLAGS'
37782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37787 /* end confdefs.h. */
37788 #include <math.h>
37790 main ()
37792 _hypotl(0, 0);
37794 return 0;
37796 _ACEOF
37797 if ac_fn_cxx_try_compile "$LINENO"; then :
37798 glibcxx_cv_func__hypotl_use=yes
37799 else
37800 glibcxx_cv_func__hypotl_use=no
37802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37803 ac_ext=c
37804 ac_cpp='$CPP $CPPFLAGS'
37805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37814 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37816 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37817 for ac_func in _hypotl
37818 do :
37819 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37820 if test "x$ac_cv_func__hypotl" = x""yes; then :
37821 cat >>confdefs.h <<_ACEOF
37822 #define HAVE__HYPOTL 1
37823 _ACEOF
37826 done
37835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37836 $as_echo_n "checking for ldexpl declaration... " >&6; }
37837 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37838 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37839 $as_echo_n "(cached) " >&6
37840 else
37843 ac_ext=cpp
37844 ac_cpp='$CXXCPP $CPPFLAGS'
37845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37850 /* end confdefs.h. */
37851 #include <math.h>
37853 main ()
37855 ldexpl(0, 0);
37857 return 0;
37859 _ACEOF
37860 if ac_fn_cxx_try_compile "$LINENO"; then :
37861 glibcxx_cv_func_ldexpl_use=yes
37862 else
37863 glibcxx_cv_func_ldexpl_use=no
37865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37866 ac_ext=c
37867 ac_cpp='$CPP $CPPFLAGS'
37868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37877 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37879 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37880 for ac_func in ldexpl
37881 do :
37882 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37883 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37884 cat >>confdefs.h <<_ACEOF
37885 #define HAVE_LDEXPL 1
37886 _ACEOF
37889 done
37891 else
37893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37894 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37895 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37896 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37897 $as_echo_n "(cached) " >&6
37898 else
37901 ac_ext=cpp
37902 ac_cpp='$CXXCPP $CPPFLAGS'
37903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37908 /* end confdefs.h. */
37909 #include <math.h>
37911 main ()
37913 _ldexpl(0, 0);
37915 return 0;
37917 _ACEOF
37918 if ac_fn_cxx_try_compile "$LINENO"; then :
37919 glibcxx_cv_func__ldexpl_use=yes
37920 else
37921 glibcxx_cv_func__ldexpl_use=no
37923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37924 ac_ext=c
37925 ac_cpp='$CPP $CPPFLAGS'
37926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37935 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37937 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37938 for ac_func in _ldexpl
37939 do :
37940 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37941 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37942 cat >>confdefs.h <<_ACEOF
37943 #define HAVE__LDEXPL 1
37944 _ACEOF
37947 done
37956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37957 $as_echo_n "checking for logl declaration... " >&6; }
37958 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37959 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37960 $as_echo_n "(cached) " >&6
37961 else
37964 ac_ext=cpp
37965 ac_cpp='$CXXCPP $CPPFLAGS'
37966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37971 /* end confdefs.h. */
37972 #include <math.h>
37973 #ifdef HAVE_IEEEFP_H
37974 #include <ieeefp.h>
37975 #endif
37978 main ()
37980 logl(0);
37982 return 0;
37984 _ACEOF
37985 if ac_fn_cxx_try_compile "$LINENO"; then :
37986 glibcxx_cv_func_logl_use=yes
37987 else
37988 glibcxx_cv_func_logl_use=no
37990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37991 ac_ext=c
37992 ac_cpp='$CPP $CPPFLAGS'
37993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38002 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38004 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38005 for ac_func in logl
38006 do :
38007 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38008 if test "x$ac_cv_func_logl" = x""yes; then :
38009 cat >>confdefs.h <<_ACEOF
38010 #define HAVE_LOGL 1
38011 _ACEOF
38014 done
38016 else
38018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38019 $as_echo_n "checking for _logl declaration... " >&6; }
38020 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38021 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38022 $as_echo_n "(cached) " >&6
38023 else
38026 ac_ext=cpp
38027 ac_cpp='$CXXCPP $CPPFLAGS'
38028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38033 /* end confdefs.h. */
38034 #include <math.h>
38035 #ifdef HAVE_IEEEFP_H
38036 #include <ieeefp.h>
38037 #endif
38040 main ()
38042 _logl(0);
38044 return 0;
38046 _ACEOF
38047 if ac_fn_cxx_try_compile "$LINENO"; then :
38048 glibcxx_cv_func__logl_use=yes
38049 else
38050 glibcxx_cv_func__logl_use=no
38052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38053 ac_ext=c
38054 ac_cpp='$CPP $CPPFLAGS'
38055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38064 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38066 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38067 for ac_func in _logl
38068 do :
38069 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38070 if test "x$ac_cv_func__logl" = x""yes; then :
38071 cat >>confdefs.h <<_ACEOF
38072 #define HAVE__LOGL 1
38073 _ACEOF
38076 done
38085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38086 $as_echo_n "checking for log10l declaration... " >&6; }
38087 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38088 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38089 $as_echo_n "(cached) " >&6
38090 else
38093 ac_ext=cpp
38094 ac_cpp='$CXXCPP $CPPFLAGS'
38095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38100 /* end confdefs.h. */
38101 #include <math.h>
38102 #ifdef HAVE_IEEEFP_H
38103 #include <ieeefp.h>
38104 #endif
38107 main ()
38109 log10l(0);
38111 return 0;
38113 _ACEOF
38114 if ac_fn_cxx_try_compile "$LINENO"; then :
38115 glibcxx_cv_func_log10l_use=yes
38116 else
38117 glibcxx_cv_func_log10l_use=no
38119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38120 ac_ext=c
38121 ac_cpp='$CPP $CPPFLAGS'
38122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38131 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38133 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38134 for ac_func in log10l
38135 do :
38136 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38137 if test "x$ac_cv_func_log10l" = x""yes; then :
38138 cat >>confdefs.h <<_ACEOF
38139 #define HAVE_LOG10L 1
38140 _ACEOF
38143 done
38145 else
38147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38148 $as_echo_n "checking for _log10l declaration... " >&6; }
38149 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38150 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38151 $as_echo_n "(cached) " >&6
38152 else
38155 ac_ext=cpp
38156 ac_cpp='$CXXCPP $CPPFLAGS'
38157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38162 /* end confdefs.h. */
38163 #include <math.h>
38164 #ifdef HAVE_IEEEFP_H
38165 #include <ieeefp.h>
38166 #endif
38169 main ()
38171 _log10l(0);
38173 return 0;
38175 _ACEOF
38176 if ac_fn_cxx_try_compile "$LINENO"; then :
38177 glibcxx_cv_func__log10l_use=yes
38178 else
38179 glibcxx_cv_func__log10l_use=no
38181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38182 ac_ext=c
38183 ac_cpp='$CPP $CPPFLAGS'
38184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38193 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38195 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38196 for ac_func in _log10l
38197 do :
38198 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38199 if test "x$ac_cv_func__log10l" = x""yes; then :
38200 cat >>confdefs.h <<_ACEOF
38201 #define HAVE__LOG10L 1
38202 _ACEOF
38205 done
38214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38215 $as_echo_n "checking for modfl declaration... " >&6; }
38216 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38217 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38218 $as_echo_n "(cached) " >&6
38219 else
38222 ac_ext=cpp
38223 ac_cpp='$CXXCPP $CPPFLAGS'
38224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38229 /* end confdefs.h. */
38230 #include <math.h>
38232 main ()
38234 modfl(0, 0);
38236 return 0;
38238 _ACEOF
38239 if ac_fn_cxx_try_compile "$LINENO"; then :
38240 glibcxx_cv_func_modfl_use=yes
38241 else
38242 glibcxx_cv_func_modfl_use=no
38244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38245 ac_ext=c
38246 ac_cpp='$CPP $CPPFLAGS'
38247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38256 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38258 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38259 for ac_func in modfl
38260 do :
38261 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38262 if test "x$ac_cv_func_modfl" = x""yes; then :
38263 cat >>confdefs.h <<_ACEOF
38264 #define HAVE_MODFL 1
38265 _ACEOF
38268 done
38270 else
38272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38273 $as_echo_n "checking for _modfl declaration... " >&6; }
38274 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38275 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38276 $as_echo_n "(cached) " >&6
38277 else
38280 ac_ext=cpp
38281 ac_cpp='$CXXCPP $CPPFLAGS'
38282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38287 /* end confdefs.h. */
38288 #include <math.h>
38290 main ()
38292 _modfl(0, 0);
38294 return 0;
38296 _ACEOF
38297 if ac_fn_cxx_try_compile "$LINENO"; then :
38298 glibcxx_cv_func__modfl_use=yes
38299 else
38300 glibcxx_cv_func__modfl_use=no
38302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38303 ac_ext=c
38304 ac_cpp='$CPP $CPPFLAGS'
38305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38314 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38316 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38317 for ac_func in _modfl
38318 do :
38319 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38320 if test "x$ac_cv_func__modfl" = x""yes; then :
38321 cat >>confdefs.h <<_ACEOF
38322 #define HAVE__MODFL 1
38323 _ACEOF
38326 done
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38336 $as_echo_n "checking for powl declaration... " >&6; }
38337 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38338 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38339 $as_echo_n "(cached) " >&6
38340 else
38343 ac_ext=cpp
38344 ac_cpp='$CXXCPP $CPPFLAGS'
38345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38350 /* end confdefs.h. */
38351 #include <math.h>
38353 main ()
38355 powl(0, 0);
38357 return 0;
38359 _ACEOF
38360 if ac_fn_cxx_try_compile "$LINENO"; then :
38361 glibcxx_cv_func_powl_use=yes
38362 else
38363 glibcxx_cv_func_powl_use=no
38365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38366 ac_ext=c
38367 ac_cpp='$CPP $CPPFLAGS'
38368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38377 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38379 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38380 for ac_func in powl
38381 do :
38382 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38383 if test "x$ac_cv_func_powl" = x""yes; then :
38384 cat >>confdefs.h <<_ACEOF
38385 #define HAVE_POWL 1
38386 _ACEOF
38389 done
38391 else
38393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38394 $as_echo_n "checking for _powl declaration... " >&6; }
38395 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38396 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38397 $as_echo_n "(cached) " >&6
38398 else
38401 ac_ext=cpp
38402 ac_cpp='$CXXCPP $CPPFLAGS'
38403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38408 /* end confdefs.h. */
38409 #include <math.h>
38411 main ()
38413 _powl(0, 0);
38415 return 0;
38417 _ACEOF
38418 if ac_fn_cxx_try_compile "$LINENO"; then :
38419 glibcxx_cv_func__powl_use=yes
38420 else
38421 glibcxx_cv_func__powl_use=no
38423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38424 ac_ext=c
38425 ac_cpp='$CPP $CPPFLAGS'
38426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38435 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38437 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38438 for ac_func in _powl
38439 do :
38440 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38441 if test "x$ac_cv_func__powl" = x""yes; then :
38442 cat >>confdefs.h <<_ACEOF
38443 #define HAVE__POWL 1
38444 _ACEOF
38447 done
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38457 $as_echo_n "checking for sqrtl declaration... " >&6; }
38458 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38459 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38460 $as_echo_n "(cached) " >&6
38461 else
38464 ac_ext=cpp
38465 ac_cpp='$CXXCPP $CPPFLAGS'
38466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38471 /* end confdefs.h. */
38472 #include <math.h>
38473 #ifdef HAVE_IEEEFP_H
38474 #include <ieeefp.h>
38475 #endif
38478 main ()
38480 sqrtl(0);
38482 return 0;
38484 _ACEOF
38485 if ac_fn_cxx_try_compile "$LINENO"; then :
38486 glibcxx_cv_func_sqrtl_use=yes
38487 else
38488 glibcxx_cv_func_sqrtl_use=no
38490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38491 ac_ext=c
38492 ac_cpp='$CPP $CPPFLAGS'
38493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38502 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38504 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38505 for ac_func in sqrtl
38506 do :
38507 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38508 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38509 cat >>confdefs.h <<_ACEOF
38510 #define HAVE_SQRTL 1
38511 _ACEOF
38514 done
38516 else
38518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38519 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38520 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38521 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38522 $as_echo_n "(cached) " >&6
38523 else
38526 ac_ext=cpp
38527 ac_cpp='$CXXCPP $CPPFLAGS'
38528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38533 /* end confdefs.h. */
38534 #include <math.h>
38535 #ifdef HAVE_IEEEFP_H
38536 #include <ieeefp.h>
38537 #endif
38540 main ()
38542 _sqrtl(0);
38544 return 0;
38546 _ACEOF
38547 if ac_fn_cxx_try_compile "$LINENO"; then :
38548 glibcxx_cv_func__sqrtl_use=yes
38549 else
38550 glibcxx_cv_func__sqrtl_use=no
38552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38553 ac_ext=c
38554 ac_cpp='$CPP $CPPFLAGS'
38555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38564 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38566 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38567 for ac_func in _sqrtl
38568 do :
38569 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38570 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38571 cat >>confdefs.h <<_ACEOF
38572 #define HAVE__SQRTL 1
38573 _ACEOF
38576 done
38585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38586 $as_echo_n "checking for sincosl declaration... " >&6; }
38587 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38588 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38589 $as_echo_n "(cached) " >&6
38590 else
38593 ac_ext=cpp
38594 ac_cpp='$CXXCPP $CPPFLAGS'
38595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38600 /* end confdefs.h. */
38601 #include <math.h>
38603 main ()
38605 sincosl(0, 0, 0);
38607 return 0;
38609 _ACEOF
38610 if ac_fn_cxx_try_compile "$LINENO"; then :
38611 glibcxx_cv_func_sincosl_use=yes
38612 else
38613 glibcxx_cv_func_sincosl_use=no
38615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38616 ac_ext=c
38617 ac_cpp='$CPP $CPPFLAGS'
38618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38627 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38629 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38630 for ac_func in sincosl
38631 do :
38632 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38633 if test "x$ac_cv_func_sincosl" = x""yes; then :
38634 cat >>confdefs.h <<_ACEOF
38635 #define HAVE_SINCOSL 1
38636 _ACEOF
38639 done
38641 else
38643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38644 $as_echo_n "checking for _sincosl declaration... " >&6; }
38645 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38646 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38647 $as_echo_n "(cached) " >&6
38648 else
38651 ac_ext=cpp
38652 ac_cpp='$CXXCPP $CPPFLAGS'
38653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38658 /* end confdefs.h. */
38659 #include <math.h>
38661 main ()
38663 _sincosl(0, 0, 0);
38665 return 0;
38667 _ACEOF
38668 if ac_fn_cxx_try_compile "$LINENO"; then :
38669 glibcxx_cv_func__sincosl_use=yes
38670 else
38671 glibcxx_cv_func__sincosl_use=no
38673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38674 ac_ext=c
38675 ac_cpp='$CPP $CPPFLAGS'
38676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38685 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38687 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38688 for ac_func in _sincosl
38689 do :
38690 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38691 if test "x$ac_cv_func__sincosl" = x""yes; then :
38692 cat >>confdefs.h <<_ACEOF
38693 #define HAVE__SINCOSL 1
38694 _ACEOF
38697 done
38706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38707 $as_echo_n "checking for finitel declaration... " >&6; }
38708 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38709 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38710 $as_echo_n "(cached) " >&6
38711 else
38714 ac_ext=cpp
38715 ac_cpp='$CXXCPP $CPPFLAGS'
38716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38721 /* end confdefs.h. */
38722 #include <math.h>
38723 #ifdef HAVE_IEEEFP_H
38724 #include <ieeefp.h>
38725 #endif
38728 main ()
38730 finitel(0);
38732 return 0;
38734 _ACEOF
38735 if ac_fn_cxx_try_compile "$LINENO"; then :
38736 glibcxx_cv_func_finitel_use=yes
38737 else
38738 glibcxx_cv_func_finitel_use=no
38740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38741 ac_ext=c
38742 ac_cpp='$CPP $CPPFLAGS'
38743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38752 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38754 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38755 for ac_func in finitel
38756 do :
38757 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38758 if test "x$ac_cv_func_finitel" = x""yes; then :
38759 cat >>confdefs.h <<_ACEOF
38760 #define HAVE_FINITEL 1
38761 _ACEOF
38764 done
38766 else
38768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38769 $as_echo_n "checking for _finitel declaration... " >&6; }
38770 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38771 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38772 $as_echo_n "(cached) " >&6
38773 else
38776 ac_ext=cpp
38777 ac_cpp='$CXXCPP $CPPFLAGS'
38778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38783 /* end confdefs.h. */
38784 #include <math.h>
38785 #ifdef HAVE_IEEEFP_H
38786 #include <ieeefp.h>
38787 #endif
38790 main ()
38792 _finitel(0);
38794 return 0;
38796 _ACEOF
38797 if ac_fn_cxx_try_compile "$LINENO"; then :
38798 glibcxx_cv_func__finitel_use=yes
38799 else
38800 glibcxx_cv_func__finitel_use=no
38802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38803 ac_ext=c
38804 ac_cpp='$CPP $CPPFLAGS'
38805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38814 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38816 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38817 for ac_func in _finitel
38818 do :
38819 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38820 if test "x$ac_cv_func__finitel" = x""yes; then :
38821 cat >>confdefs.h <<_ACEOF
38822 #define HAVE__FINITEL 1
38823 _ACEOF
38826 done
38834 LIBS="$ac_save_LIBS"
38835 CXXFLAGS="$ac_save_CXXFLAGS"
38838 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38839 ac_save_CXXFLAGS="$CXXFLAGS"
38840 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38844 $as_echo_n "checking for strtold declaration... " >&6; }
38845 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38846 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38847 $as_echo_n "(cached) " >&6
38848 else
38851 ac_ext=cpp
38852 ac_cpp='$CXXCPP $CPPFLAGS'
38853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38858 /* end confdefs.h. */
38859 #include <stdlib.h>
38861 main ()
38863 strtold(0, 0);
38865 return 0;
38867 _ACEOF
38868 if ac_fn_cxx_try_compile "$LINENO"; then :
38869 glibcxx_cv_func_strtold_use=yes
38870 else
38871 glibcxx_cv_func_strtold_use=no
38873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38874 ac_ext=c
38875 ac_cpp='$CPP $CPPFLAGS'
38876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38885 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38886 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38887 for ac_func in strtold
38888 do :
38889 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38890 if test "x$ac_cv_func_strtold" = x""yes; then :
38891 cat >>confdefs.h <<_ACEOF
38892 #define HAVE_STRTOLD 1
38893 _ACEOF
38896 done
38903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38904 $as_echo_n "checking for strtof declaration... " >&6; }
38905 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38906 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38907 $as_echo_n "(cached) " >&6
38908 else
38911 ac_ext=cpp
38912 ac_cpp='$CXXCPP $CPPFLAGS'
38913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38918 /* end confdefs.h. */
38919 #include <stdlib.h>
38921 main ()
38923 strtof(0, 0);
38925 return 0;
38927 _ACEOF
38928 if ac_fn_cxx_try_compile "$LINENO"; then :
38929 glibcxx_cv_func_strtof_use=yes
38930 else
38931 glibcxx_cv_func_strtof_use=no
38933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38934 ac_ext=c
38935 ac_cpp='$CPP $CPPFLAGS'
38936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38945 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38946 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38947 for ac_func in strtof
38948 do :
38949 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38950 if test "x$ac_cv_func_strtof" = x""yes; then :
38951 cat >>confdefs.h <<_ACEOF
38952 #define HAVE_STRTOF 1
38953 _ACEOF
38956 done
38963 CXXFLAGS="$ac_save_CXXFLAGS"
38965 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38967 # We don't yet support AIX's TLS ABI.
38968 #GCC_CHECK_TLS
38974 am_save_CPPFLAGS="$CPPFLAGS"
38976 for element in $INCICONV; do
38977 haveit=
38978 for x in $CPPFLAGS; do
38980 acl_save_prefix="$prefix"
38981 prefix="$acl_final_prefix"
38982 acl_save_exec_prefix="$exec_prefix"
38983 exec_prefix="$acl_final_exec_prefix"
38984 eval x=\"$x\"
38985 exec_prefix="$acl_save_exec_prefix"
38986 prefix="$acl_save_prefix"
38988 if test "X$x" = "X$element"; then
38989 haveit=yes
38990 break
38992 done
38993 if test -z "$haveit"; then
38994 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38996 done
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39000 $as_echo_n "checking for iconv... " >&6; }
39001 if test "${am_cv_func_iconv+set}" = set; then :
39002 $as_echo_n "(cached) " >&6
39003 else
39005 am_cv_func_iconv="no, consider installing GNU libiconv"
39006 am_cv_lib_iconv=no
39007 if test x$gcc_no_link = xyes; then
39008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39011 /* end confdefs.h. */
39012 #include <stdlib.h>
39013 #include <iconv.h>
39015 main ()
39017 iconv_t cd = iconv_open("","");
39018 iconv(cd,NULL,NULL,NULL,NULL);
39019 iconv_close(cd);
39021 return 0;
39023 _ACEOF
39024 if ac_fn_c_try_link "$LINENO"; then :
39025 am_cv_func_iconv=yes
39027 rm -f core conftest.err conftest.$ac_objext \
39028 conftest$ac_exeext conftest.$ac_ext
39029 if test "$am_cv_func_iconv" != yes; then
39030 am_save_LIBS="$LIBS"
39031 LIBS="$LIBS $LIBICONV"
39032 if test x$gcc_no_link = xyes; then
39033 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39036 /* end confdefs.h. */
39037 #include <stdlib.h>
39038 #include <iconv.h>
39040 main ()
39042 iconv_t cd = iconv_open("","");
39043 iconv(cd,NULL,NULL,NULL,NULL);
39044 iconv_close(cd);
39046 return 0;
39048 _ACEOF
39049 if ac_fn_c_try_link "$LINENO"; then :
39050 am_cv_lib_iconv=yes
39051 am_cv_func_iconv=yes
39053 rm -f core conftest.err conftest.$ac_objext \
39054 conftest$ac_exeext conftest.$ac_ext
39055 LIBS="$am_save_LIBS"
39059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39060 $as_echo "$am_cv_func_iconv" >&6; }
39061 if test "$am_cv_func_iconv" = yes; then
39063 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39066 if test "$am_cv_lib_iconv" = yes; then
39067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39068 $as_echo_n "checking how to link with libiconv... " >&6; }
39069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39070 $as_echo "$LIBICONV" >&6; }
39071 else
39072 CPPFLAGS="$am_save_CPPFLAGS"
39073 LIBICONV=
39074 LTLIBICONV=
39079 if test "$am_cv_func_iconv" = yes; then
39080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39081 $as_echo_n "checking for iconv declaration... " >&6; }
39082 if test "${am_cv_proto_iconv+set}" = set; then :
39083 $as_echo_n "(cached) " >&6
39084 else
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39089 #include <stdlib.h>
39090 #include <iconv.h>
39091 extern
39092 #ifdef __cplusplus
39094 #endif
39095 #if defined(__STDC__) || defined(__cplusplus)
39096 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39097 #else
39098 size_t iconv();
39099 #endif
39102 main ()
39106 return 0;
39108 _ACEOF
39109 if ac_fn_c_try_compile "$LINENO"; then :
39110 am_cv_proto_iconv_arg1=""
39111 else
39112 am_cv_proto_iconv_arg1="const"
39114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39115 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);"
39118 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39120 }$am_cv_proto_iconv" >&5
39121 $as_echo "${ac_t:-
39122 }$am_cv_proto_iconv" >&6; }
39124 cat >>confdefs.h <<_ACEOF
39125 #define ICONV_CONST $am_cv_proto_iconv_arg1
39126 _ACEOF
39132 *-darwin*)
39133 # Darwin versions vary, but the linker should work in a cross environment,
39134 # so we just check for all the features here.
39135 # Check for available headers.
39137 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39139 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39140 ac_save_CXXFLAGS="$CXXFLAGS"
39141 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39144 $as_echo_n "checking for sin in -lm... " >&6; }
39145 if test "${ac_cv_lib_m_sin+set}" = set; then :
39146 $as_echo_n "(cached) " >&6
39147 else
39148 ac_check_lib_save_LIBS=$LIBS
39149 LIBS="-lm $LIBS"
39150 if test x$gcc_no_link = xyes; then
39151 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39154 /* end confdefs.h. */
39156 /* Override any GCC internal prototype to avoid an error.
39157 Use char because int might match the return type of a GCC
39158 builtin and then its argument prototype would still apply. */
39159 #ifdef __cplusplus
39160 extern "C"
39161 #endif
39162 char sin ();
39164 main ()
39166 return sin ();
39168 return 0;
39170 _ACEOF
39171 if ac_fn_c_try_link "$LINENO"; then :
39172 ac_cv_lib_m_sin=yes
39173 else
39174 ac_cv_lib_m_sin=no
39176 rm -f core conftest.err conftest.$ac_objext \
39177 conftest$ac_exeext conftest.$ac_ext
39178 LIBS=$ac_check_lib_save_LIBS
39180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39181 $as_echo "$ac_cv_lib_m_sin" >&6; }
39182 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39183 libm="-lm"
39186 ac_save_LIBS="$LIBS"
39187 LIBS="$LIBS $libm"
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39192 $as_echo_n "checking for isinf declaration... " >&6; }
39193 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39194 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39195 $as_echo_n "(cached) " >&6
39196 else
39199 ac_ext=cpp
39200 ac_cpp='$CXXCPP $CPPFLAGS'
39201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39206 /* end confdefs.h. */
39207 #include <math.h>
39208 #ifdef HAVE_IEEEFP_H
39209 #include <ieeefp.h>
39210 #endif
39213 main ()
39215 isinf(0);
39217 return 0;
39219 _ACEOF
39220 if ac_fn_cxx_try_compile "$LINENO"; then :
39221 glibcxx_cv_func_isinf_use=yes
39222 else
39223 glibcxx_cv_func_isinf_use=no
39225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39226 ac_ext=c
39227 ac_cpp='$CPP $CPPFLAGS'
39228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39237 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39239 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39240 for ac_func in isinf
39241 do :
39242 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39243 if test "x$ac_cv_func_isinf" = x""yes; then :
39244 cat >>confdefs.h <<_ACEOF
39245 #define HAVE_ISINF 1
39246 _ACEOF
39249 done
39251 else
39253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39254 $as_echo_n "checking for _isinf declaration... " >&6; }
39255 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39256 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39257 $as_echo_n "(cached) " >&6
39258 else
39261 ac_ext=cpp
39262 ac_cpp='$CXXCPP $CPPFLAGS'
39263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39268 /* end confdefs.h. */
39269 #include <math.h>
39270 #ifdef HAVE_IEEEFP_H
39271 #include <ieeefp.h>
39272 #endif
39275 main ()
39277 _isinf(0);
39279 return 0;
39281 _ACEOF
39282 if ac_fn_cxx_try_compile "$LINENO"; then :
39283 glibcxx_cv_func__isinf_use=yes
39284 else
39285 glibcxx_cv_func__isinf_use=no
39287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39288 ac_ext=c
39289 ac_cpp='$CPP $CPPFLAGS'
39290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39299 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39301 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39302 for ac_func in _isinf
39303 do :
39304 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39305 if test "x$ac_cv_func__isinf" = x""yes; then :
39306 cat >>confdefs.h <<_ACEOF
39307 #define HAVE__ISINF 1
39308 _ACEOF
39311 done
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39321 $as_echo_n "checking for isnan declaration... " >&6; }
39322 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39323 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39324 $as_echo_n "(cached) " >&6
39325 else
39328 ac_ext=cpp
39329 ac_cpp='$CXXCPP $CPPFLAGS'
39330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39335 /* end confdefs.h. */
39336 #include <math.h>
39337 #ifdef HAVE_IEEEFP_H
39338 #include <ieeefp.h>
39339 #endif
39342 main ()
39344 isnan(0);
39346 return 0;
39348 _ACEOF
39349 if ac_fn_cxx_try_compile "$LINENO"; then :
39350 glibcxx_cv_func_isnan_use=yes
39351 else
39352 glibcxx_cv_func_isnan_use=no
39354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39355 ac_ext=c
39356 ac_cpp='$CPP $CPPFLAGS'
39357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39366 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39368 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39369 for ac_func in isnan
39370 do :
39371 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39372 if test "x$ac_cv_func_isnan" = x""yes; then :
39373 cat >>confdefs.h <<_ACEOF
39374 #define HAVE_ISNAN 1
39375 _ACEOF
39378 done
39380 else
39382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39383 $as_echo_n "checking for _isnan declaration... " >&6; }
39384 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39385 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39386 $as_echo_n "(cached) " >&6
39387 else
39390 ac_ext=cpp
39391 ac_cpp='$CXXCPP $CPPFLAGS'
39392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39397 /* end confdefs.h. */
39398 #include <math.h>
39399 #ifdef HAVE_IEEEFP_H
39400 #include <ieeefp.h>
39401 #endif
39404 main ()
39406 _isnan(0);
39408 return 0;
39410 _ACEOF
39411 if ac_fn_cxx_try_compile "$LINENO"; then :
39412 glibcxx_cv_func__isnan_use=yes
39413 else
39414 glibcxx_cv_func__isnan_use=no
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417 ac_ext=c
39418 ac_cpp='$CPP $CPPFLAGS'
39419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39428 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39430 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39431 for ac_func in _isnan
39432 do :
39433 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39434 if test "x$ac_cv_func__isnan" = x""yes; then :
39435 cat >>confdefs.h <<_ACEOF
39436 #define HAVE__ISNAN 1
39437 _ACEOF
39440 done
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39450 $as_echo_n "checking for finite declaration... " >&6; }
39451 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39452 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39453 $as_echo_n "(cached) " >&6
39454 else
39457 ac_ext=cpp
39458 ac_cpp='$CXXCPP $CPPFLAGS'
39459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39464 /* end confdefs.h. */
39465 #include <math.h>
39466 #ifdef HAVE_IEEEFP_H
39467 #include <ieeefp.h>
39468 #endif
39471 main ()
39473 finite(0);
39475 return 0;
39477 _ACEOF
39478 if ac_fn_cxx_try_compile "$LINENO"; then :
39479 glibcxx_cv_func_finite_use=yes
39480 else
39481 glibcxx_cv_func_finite_use=no
39483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39484 ac_ext=c
39485 ac_cpp='$CPP $CPPFLAGS'
39486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39495 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39497 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39498 for ac_func in finite
39499 do :
39500 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39501 if test "x$ac_cv_func_finite" = x""yes; then :
39502 cat >>confdefs.h <<_ACEOF
39503 #define HAVE_FINITE 1
39504 _ACEOF
39507 done
39509 else
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39512 $as_echo_n "checking for _finite declaration... " >&6; }
39513 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39514 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39515 $as_echo_n "(cached) " >&6
39516 else
39519 ac_ext=cpp
39520 ac_cpp='$CXXCPP $CPPFLAGS'
39521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39526 /* end confdefs.h. */
39527 #include <math.h>
39528 #ifdef HAVE_IEEEFP_H
39529 #include <ieeefp.h>
39530 #endif
39533 main ()
39535 _finite(0);
39537 return 0;
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func__finite_use=yes
39542 else
39543 glibcxx_cv_func__finite_use=no
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39557 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39559 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39560 for ac_func in _finite
39561 do :
39562 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39563 if test "x$ac_cv_func__finite" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE__FINITE 1
39566 _ACEOF
39569 done
39578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39579 $as_echo_n "checking for sincos declaration... " >&6; }
39580 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39581 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39582 $as_echo_n "(cached) " >&6
39583 else
39586 ac_ext=cpp
39587 ac_cpp='$CXXCPP $CPPFLAGS'
39588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39593 /* end confdefs.h. */
39594 #include <math.h>
39596 main ()
39598 sincos(0, 0, 0);
39600 return 0;
39602 _ACEOF
39603 if ac_fn_cxx_try_compile "$LINENO"; then :
39604 glibcxx_cv_func_sincos_use=yes
39605 else
39606 glibcxx_cv_func_sincos_use=no
39608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39609 ac_ext=c
39610 ac_cpp='$CPP $CPPFLAGS'
39611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39620 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39622 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39623 for ac_func in sincos
39624 do :
39625 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39626 if test "x$ac_cv_func_sincos" = x""yes; then :
39627 cat >>confdefs.h <<_ACEOF
39628 #define HAVE_SINCOS 1
39629 _ACEOF
39632 done
39634 else
39636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39637 $as_echo_n "checking for _sincos declaration... " >&6; }
39638 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39639 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39640 $as_echo_n "(cached) " >&6
39641 else
39644 ac_ext=cpp
39645 ac_cpp='$CXXCPP $CPPFLAGS'
39646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39651 /* end confdefs.h. */
39652 #include <math.h>
39654 main ()
39656 _sincos(0, 0, 0);
39658 return 0;
39660 _ACEOF
39661 if ac_fn_cxx_try_compile "$LINENO"; then :
39662 glibcxx_cv_func__sincos_use=yes
39663 else
39664 glibcxx_cv_func__sincos_use=no
39666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39667 ac_ext=c
39668 ac_cpp='$CPP $CPPFLAGS'
39669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39678 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39680 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39681 for ac_func in _sincos
39682 do :
39683 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39684 if test "x$ac_cv_func__sincos" = x""yes; then :
39685 cat >>confdefs.h <<_ACEOF
39686 #define HAVE__SINCOS 1
39687 _ACEOF
39690 done
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39700 $as_echo_n "checking for fpclass declaration... " >&6; }
39701 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39702 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39703 $as_echo_n "(cached) " >&6
39704 else
39707 ac_ext=cpp
39708 ac_cpp='$CXXCPP $CPPFLAGS'
39709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39714 /* end confdefs.h. */
39715 #include <math.h>
39716 #ifdef HAVE_IEEEFP_H
39717 #include <ieeefp.h>
39718 #endif
39721 main ()
39723 fpclass(0);
39725 return 0;
39727 _ACEOF
39728 if ac_fn_cxx_try_compile "$LINENO"; then :
39729 glibcxx_cv_func_fpclass_use=yes
39730 else
39731 glibcxx_cv_func_fpclass_use=no
39733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39734 ac_ext=c
39735 ac_cpp='$CPP $CPPFLAGS'
39736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39745 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39747 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39748 for ac_func in fpclass
39749 do :
39750 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39751 if test "x$ac_cv_func_fpclass" = x""yes; then :
39752 cat >>confdefs.h <<_ACEOF
39753 #define HAVE_FPCLASS 1
39754 _ACEOF
39757 done
39759 else
39761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39762 $as_echo_n "checking for _fpclass declaration... " >&6; }
39763 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39764 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39765 $as_echo_n "(cached) " >&6
39766 else
39769 ac_ext=cpp
39770 ac_cpp='$CXXCPP $CPPFLAGS'
39771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39776 /* end confdefs.h. */
39777 #include <math.h>
39778 #ifdef HAVE_IEEEFP_H
39779 #include <ieeefp.h>
39780 #endif
39783 main ()
39785 _fpclass(0);
39787 return 0;
39789 _ACEOF
39790 if ac_fn_cxx_try_compile "$LINENO"; then :
39791 glibcxx_cv_func__fpclass_use=yes
39792 else
39793 glibcxx_cv_func__fpclass_use=no
39795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39796 ac_ext=c
39797 ac_cpp='$CPP $CPPFLAGS'
39798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39807 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39809 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39810 for ac_func in _fpclass
39811 do :
39812 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39813 if test "x$ac_cv_func__fpclass" = x""yes; then :
39814 cat >>confdefs.h <<_ACEOF
39815 #define HAVE__FPCLASS 1
39816 _ACEOF
39819 done
39828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39829 $as_echo_n "checking for qfpclass declaration... " >&6; }
39830 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39831 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39832 $as_echo_n "(cached) " >&6
39833 else
39836 ac_ext=cpp
39837 ac_cpp='$CXXCPP $CPPFLAGS'
39838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39843 /* end confdefs.h. */
39844 #include <math.h>
39845 #ifdef HAVE_IEEEFP_H
39846 #include <ieeefp.h>
39847 #endif
39850 main ()
39852 qfpclass(0);
39854 return 0;
39856 _ACEOF
39857 if ac_fn_cxx_try_compile "$LINENO"; then :
39858 glibcxx_cv_func_qfpclass_use=yes
39859 else
39860 glibcxx_cv_func_qfpclass_use=no
39862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39863 ac_ext=c
39864 ac_cpp='$CPP $CPPFLAGS'
39865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39874 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39876 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39877 for ac_func in qfpclass
39878 do :
39879 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39880 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39881 cat >>confdefs.h <<_ACEOF
39882 #define HAVE_QFPCLASS 1
39883 _ACEOF
39886 done
39888 else
39890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39891 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39892 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39893 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39894 $as_echo_n "(cached) " >&6
39895 else
39898 ac_ext=cpp
39899 ac_cpp='$CXXCPP $CPPFLAGS'
39900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39905 /* end confdefs.h. */
39906 #include <math.h>
39907 #ifdef HAVE_IEEEFP_H
39908 #include <ieeefp.h>
39909 #endif
39912 main ()
39914 _qfpclass(0);
39916 return 0;
39918 _ACEOF
39919 if ac_fn_cxx_try_compile "$LINENO"; then :
39920 glibcxx_cv_func__qfpclass_use=yes
39921 else
39922 glibcxx_cv_func__qfpclass_use=no
39924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39925 ac_ext=c
39926 ac_cpp='$CPP $CPPFLAGS'
39927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39936 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39938 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39939 for ac_func in _qfpclass
39940 do :
39941 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39942 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39943 cat >>confdefs.h <<_ACEOF
39944 #define HAVE__QFPCLASS 1
39945 _ACEOF
39948 done
39957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39958 $as_echo_n "checking for hypot declaration... " >&6; }
39959 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39960 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39961 $as_echo_n "(cached) " >&6
39962 else
39965 ac_ext=cpp
39966 ac_cpp='$CXXCPP $CPPFLAGS'
39967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39972 /* end confdefs.h. */
39973 #include <math.h>
39975 main ()
39977 hypot(0, 0);
39979 return 0;
39981 _ACEOF
39982 if ac_fn_cxx_try_compile "$LINENO"; then :
39983 glibcxx_cv_func_hypot_use=yes
39984 else
39985 glibcxx_cv_func_hypot_use=no
39987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39988 ac_ext=c
39989 ac_cpp='$CPP $CPPFLAGS'
39990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39999 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40001 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40002 for ac_func in hypot
40003 do :
40004 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40005 if test "x$ac_cv_func_hypot" = x""yes; then :
40006 cat >>confdefs.h <<_ACEOF
40007 #define HAVE_HYPOT 1
40008 _ACEOF
40011 done
40013 else
40015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40016 $as_echo_n "checking for _hypot declaration... " >&6; }
40017 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40018 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40019 $as_echo_n "(cached) " >&6
40020 else
40023 ac_ext=cpp
40024 ac_cpp='$CXXCPP $CPPFLAGS'
40025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40030 /* end confdefs.h. */
40031 #include <math.h>
40033 main ()
40035 _hypot(0, 0);
40037 return 0;
40039 _ACEOF
40040 if ac_fn_cxx_try_compile "$LINENO"; then :
40041 glibcxx_cv_func__hypot_use=yes
40042 else
40043 glibcxx_cv_func__hypot_use=no
40045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40046 ac_ext=c
40047 ac_cpp='$CPP $CPPFLAGS'
40048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40057 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40059 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40060 for ac_func in _hypot
40061 do :
40062 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40063 if test "x$ac_cv_func__hypot" = x""yes; then :
40064 cat >>confdefs.h <<_ACEOF
40065 #define HAVE__HYPOT 1
40066 _ACEOF
40069 done
40078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40079 $as_echo_n "checking for float trig functions... " >&6; }
40080 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40081 $as_echo_n "(cached) " >&6
40082 else
40085 ac_ext=cpp
40086 ac_cpp='$CXXCPP $CPPFLAGS'
40087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40092 /* end confdefs.h. */
40093 #include <math.h>
40095 main ()
40097 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40099 return 0;
40101 _ACEOF
40102 if ac_fn_cxx_try_compile "$LINENO"; then :
40103 glibcxx_cv_func_float_trig_use=yes
40104 else
40105 glibcxx_cv_func_float_trig_use=no
40107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40108 ac_ext=c
40109 ac_cpp='$CPP $CPPFLAGS'
40110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40117 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40118 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40119 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40120 do :
40121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40123 eval as_val=\$$as_ac_var
40124 if test "x$as_val" = x""yes; then :
40125 cat >>confdefs.h <<_ACEOF
40126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40127 _ACEOF
40130 done
40132 else
40133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40134 $as_echo_n "checking for _float trig functions... " >&6; }
40135 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40136 $as_echo_n "(cached) " >&6
40137 else
40140 ac_ext=cpp
40141 ac_cpp='$CXXCPP $CPPFLAGS'
40142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40147 /* end confdefs.h. */
40148 #include <math.h>
40150 main ()
40152 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40154 return 0;
40156 _ACEOF
40157 if ac_fn_cxx_try_compile "$LINENO"; then :
40158 glibcxx_cv_func__float_trig_use=yes
40159 else
40160 glibcxx_cv_func__float_trig_use=no
40162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40163 ac_ext=c
40164 ac_cpp='$CPP $CPPFLAGS'
40165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40172 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40173 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40174 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40175 do :
40176 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40178 eval as_val=\$$as_ac_var
40179 if test "x$as_val" = x""yes; then :
40180 cat >>confdefs.h <<_ACEOF
40181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40182 _ACEOF
40185 done
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40195 $as_echo_n "checking for float round functions... " >&6; }
40196 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40197 $as_echo_n "(cached) " >&6
40198 else
40201 ac_ext=cpp
40202 ac_cpp='$CXXCPP $CPPFLAGS'
40203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40208 /* end confdefs.h. */
40209 #include <math.h>
40211 main ()
40213 ceilf (0); floorf (0);
40215 return 0;
40217 _ACEOF
40218 if ac_fn_cxx_try_compile "$LINENO"; then :
40219 glibcxx_cv_func_float_round_use=yes
40220 else
40221 glibcxx_cv_func_float_round_use=no
40223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40224 ac_ext=c
40225 ac_cpp='$CPP $CPPFLAGS'
40226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40233 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40234 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40235 for ac_func in ceilf floorf
40236 do :
40237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40239 eval as_val=\$$as_ac_var
40240 if test "x$as_val" = x""yes; then :
40241 cat >>confdefs.h <<_ACEOF
40242 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40243 _ACEOF
40246 done
40248 else
40249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40250 $as_echo_n "checking for _float round functions... " >&6; }
40251 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40252 $as_echo_n "(cached) " >&6
40253 else
40256 ac_ext=cpp
40257 ac_cpp='$CXXCPP $CPPFLAGS'
40258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 /* end confdefs.h. */
40264 #include <math.h>
40266 main ()
40268 _ceilf (0); _floorf (0);
40270 return 0;
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func__float_round_use=yes
40275 else
40276 glibcxx_cv_func__float_round_use=no
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40288 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40289 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40290 for ac_func in _ceilf _floorf
40291 do :
40292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40294 eval as_val=\$$as_ac_var
40295 if test "x$as_val" = x""yes; then :
40296 cat >>confdefs.h <<_ACEOF
40297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40298 _ACEOF
40301 done
40311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40312 $as_echo_n "checking for expf declaration... " >&6; }
40313 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40314 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40315 $as_echo_n "(cached) " >&6
40316 else
40319 ac_ext=cpp
40320 ac_cpp='$CXXCPP $CPPFLAGS'
40321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40326 /* end confdefs.h. */
40327 #include <math.h>
40328 #ifdef HAVE_IEEEFP_H
40329 #include <ieeefp.h>
40330 #endif
40333 main ()
40335 expf(0);
40337 return 0;
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func_expf_use=yes
40342 else
40343 glibcxx_cv_func_expf_use=no
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40357 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40359 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40360 for ac_func in expf
40361 do :
40362 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40363 if test "x$ac_cv_func_expf" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE_EXPF 1
40366 _ACEOF
40369 done
40371 else
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40374 $as_echo_n "checking for _expf declaration... " >&6; }
40375 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40376 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 #ifdef HAVE_IEEEFP_H
40391 #include <ieeefp.h>
40392 #endif
40395 main ()
40397 _expf(0);
40399 return 0;
40401 _ACEOF
40402 if ac_fn_cxx_try_compile "$LINENO"; then :
40403 glibcxx_cv_func__expf_use=yes
40404 else
40405 glibcxx_cv_func__expf_use=no
40407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40408 ac_ext=c
40409 ac_cpp='$CPP $CPPFLAGS'
40410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40419 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40421 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40422 for ac_func in _expf
40423 do :
40424 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40425 if test "x$ac_cv_func__expf" = x""yes; then :
40426 cat >>confdefs.h <<_ACEOF
40427 #define HAVE__EXPF 1
40428 _ACEOF
40431 done
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40441 $as_echo_n "checking for isnanf declaration... " >&6; }
40442 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40443 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40457 #ifdef HAVE_IEEEFP_H
40458 #include <ieeefp.h>
40459 #endif
40462 main ()
40464 isnanf(0);
40466 return 0;
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func_isnanf_use=yes
40471 else
40472 glibcxx_cv_func_isnanf_use=no
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40486 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40488 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40489 for ac_func in isnanf
40490 do :
40491 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40492 if test "x$ac_cv_func_isnanf" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE_ISNANF 1
40495 _ACEOF
40498 done
40500 else
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40503 $as_echo_n "checking for _isnanf declaration... " >&6; }
40504 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40505 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40519 #ifdef HAVE_IEEEFP_H
40520 #include <ieeefp.h>
40521 #endif
40524 main ()
40526 _isnanf(0);
40528 return 0;
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func__isnanf_use=yes
40533 else
40534 glibcxx_cv_func__isnanf_use=no
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40548 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40550 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40551 for ac_func in _isnanf
40552 do :
40553 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40554 if test "x$ac_cv_func__isnanf" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE__ISNANF 1
40557 _ACEOF
40560 done
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40570 $as_echo_n "checking for isinff declaration... " >&6; }
40571 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40572 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40573 $as_echo_n "(cached) " >&6
40574 else
40577 ac_ext=cpp
40578 ac_cpp='$CXXCPP $CPPFLAGS'
40579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40584 /* end confdefs.h. */
40585 #include <math.h>
40586 #ifdef HAVE_IEEEFP_H
40587 #include <ieeefp.h>
40588 #endif
40591 main ()
40593 isinff(0);
40595 return 0;
40597 _ACEOF
40598 if ac_fn_cxx_try_compile "$LINENO"; then :
40599 glibcxx_cv_func_isinff_use=yes
40600 else
40601 glibcxx_cv_func_isinff_use=no
40603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40604 ac_ext=c
40605 ac_cpp='$CPP $CPPFLAGS'
40606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40615 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40617 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40618 for ac_func in isinff
40619 do :
40620 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40621 if test "x$ac_cv_func_isinff" = x""yes; then :
40622 cat >>confdefs.h <<_ACEOF
40623 #define HAVE_ISINFF 1
40624 _ACEOF
40627 done
40629 else
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40632 $as_echo_n "checking for _isinff declaration... " >&6; }
40633 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40634 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40635 $as_echo_n "(cached) " >&6
40636 else
40639 ac_ext=cpp
40640 ac_cpp='$CXXCPP $CPPFLAGS'
40641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40646 /* end confdefs.h. */
40647 #include <math.h>
40648 #ifdef HAVE_IEEEFP_H
40649 #include <ieeefp.h>
40650 #endif
40653 main ()
40655 _isinff(0);
40657 return 0;
40659 _ACEOF
40660 if ac_fn_cxx_try_compile "$LINENO"; then :
40661 glibcxx_cv_func__isinff_use=yes
40662 else
40663 glibcxx_cv_func__isinff_use=no
40665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40666 ac_ext=c
40667 ac_cpp='$CPP $CPPFLAGS'
40668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40677 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40679 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40680 for ac_func in _isinff
40681 do :
40682 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40683 if test "x$ac_cv_func__isinff" = x""yes; then :
40684 cat >>confdefs.h <<_ACEOF
40685 #define HAVE__ISINFF 1
40686 _ACEOF
40689 done
40698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40699 $as_echo_n "checking for atan2f declaration... " >&6; }
40700 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40701 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40702 $as_echo_n "(cached) " >&6
40703 else
40706 ac_ext=cpp
40707 ac_cpp='$CXXCPP $CPPFLAGS'
40708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40713 /* end confdefs.h. */
40714 #include <math.h>
40716 main ()
40718 atan2f(0, 0);
40720 return 0;
40722 _ACEOF
40723 if ac_fn_cxx_try_compile "$LINENO"; then :
40724 glibcxx_cv_func_atan2f_use=yes
40725 else
40726 glibcxx_cv_func_atan2f_use=no
40728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40729 ac_ext=c
40730 ac_cpp='$CPP $CPPFLAGS'
40731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40740 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40742 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40743 for ac_func in atan2f
40744 do :
40745 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40746 if test "x$ac_cv_func_atan2f" = x""yes; then :
40747 cat >>confdefs.h <<_ACEOF
40748 #define HAVE_ATAN2F 1
40749 _ACEOF
40752 done
40754 else
40756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40757 $as_echo_n "checking for _atan2f declaration... " >&6; }
40758 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40759 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40760 $as_echo_n "(cached) " >&6
40761 else
40764 ac_ext=cpp
40765 ac_cpp='$CXXCPP $CPPFLAGS'
40766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40771 /* end confdefs.h. */
40772 #include <math.h>
40774 main ()
40776 _atan2f(0, 0);
40778 return 0;
40780 _ACEOF
40781 if ac_fn_cxx_try_compile "$LINENO"; then :
40782 glibcxx_cv_func__atan2f_use=yes
40783 else
40784 glibcxx_cv_func__atan2f_use=no
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787 ac_ext=c
40788 ac_cpp='$CPP $CPPFLAGS'
40789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40798 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40800 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40801 for ac_func in _atan2f
40802 do :
40803 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40804 if test "x$ac_cv_func__atan2f" = x""yes; then :
40805 cat >>confdefs.h <<_ACEOF
40806 #define HAVE__ATAN2F 1
40807 _ACEOF
40810 done
40819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40820 $as_echo_n "checking for fabsf declaration... " >&6; }
40821 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40822 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40823 $as_echo_n "(cached) " >&6
40824 else
40827 ac_ext=cpp
40828 ac_cpp='$CXXCPP $CPPFLAGS'
40829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40834 /* end confdefs.h. */
40835 #include <math.h>
40836 #ifdef HAVE_IEEEFP_H
40837 #include <ieeefp.h>
40838 #endif
40841 main ()
40843 fabsf(0);
40845 return 0;
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849 glibcxx_cv_func_fabsf_use=yes
40850 else
40851 glibcxx_cv_func_fabsf_use=no
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854 ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40865 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40867 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40868 for ac_func in fabsf
40869 do :
40870 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40871 if test "x$ac_cv_func_fabsf" = x""yes; then :
40872 cat >>confdefs.h <<_ACEOF
40873 #define HAVE_FABSF 1
40874 _ACEOF
40877 done
40879 else
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40882 $as_echo_n "checking for _fabsf declaration... " >&6; }
40883 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40884 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <math.h>
40898 #ifdef HAVE_IEEEFP_H
40899 #include <ieeefp.h>
40900 #endif
40903 main ()
40905 _fabsf(0);
40907 return 0;
40909 _ACEOF
40910 if ac_fn_cxx_try_compile "$LINENO"; then :
40911 glibcxx_cv_func__fabsf_use=yes
40912 else
40913 glibcxx_cv_func__fabsf_use=no
40915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40916 ac_ext=c
40917 ac_cpp='$CPP $CPPFLAGS'
40918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40927 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40929 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40930 for ac_func in _fabsf
40931 do :
40932 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40933 if test "x$ac_cv_func__fabsf" = x""yes; then :
40934 cat >>confdefs.h <<_ACEOF
40935 #define HAVE__FABSF 1
40936 _ACEOF
40939 done
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40949 $as_echo_n "checking for fmodf declaration... " >&6; }
40950 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40951 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40952 $as_echo_n "(cached) " >&6
40953 else
40956 ac_ext=cpp
40957 ac_cpp='$CXXCPP $CPPFLAGS'
40958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40963 /* end confdefs.h. */
40964 #include <math.h>
40966 main ()
40968 fmodf(0, 0);
40970 return 0;
40972 _ACEOF
40973 if ac_fn_cxx_try_compile "$LINENO"; then :
40974 glibcxx_cv_func_fmodf_use=yes
40975 else
40976 glibcxx_cv_func_fmodf_use=no
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40979 ac_ext=c
40980 ac_cpp='$CPP $CPPFLAGS'
40981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40990 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40992 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40993 for ac_func in fmodf
40994 do :
40995 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40996 if test "x$ac_cv_func_fmodf" = x""yes; then :
40997 cat >>confdefs.h <<_ACEOF
40998 #define HAVE_FMODF 1
40999 _ACEOF
41002 done
41004 else
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41007 $as_echo_n "checking for _fmodf declaration... " >&6; }
41008 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41009 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41010 $as_echo_n "(cached) " >&6
41011 else
41014 ac_ext=cpp
41015 ac_cpp='$CXXCPP $CPPFLAGS'
41016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41021 /* end confdefs.h. */
41022 #include <math.h>
41024 main ()
41026 _fmodf(0, 0);
41028 return 0;
41030 _ACEOF
41031 if ac_fn_cxx_try_compile "$LINENO"; then :
41032 glibcxx_cv_func__fmodf_use=yes
41033 else
41034 glibcxx_cv_func__fmodf_use=no
41036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41037 ac_ext=c
41038 ac_cpp='$CPP $CPPFLAGS'
41039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41048 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41050 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41051 for ac_func in _fmodf
41052 do :
41053 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41054 if test "x$ac_cv_func__fmodf" = x""yes; then :
41055 cat >>confdefs.h <<_ACEOF
41056 #define HAVE__FMODF 1
41057 _ACEOF
41060 done
41069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41070 $as_echo_n "checking for frexpf declaration... " >&6; }
41071 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41072 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41073 $as_echo_n "(cached) " >&6
41074 else
41077 ac_ext=cpp
41078 ac_cpp='$CXXCPP $CPPFLAGS'
41079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41084 /* end confdefs.h. */
41085 #include <math.h>
41087 main ()
41089 frexpf(0, 0);
41091 return 0;
41093 _ACEOF
41094 if ac_fn_cxx_try_compile "$LINENO"; then :
41095 glibcxx_cv_func_frexpf_use=yes
41096 else
41097 glibcxx_cv_func_frexpf_use=no
41099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41100 ac_ext=c
41101 ac_cpp='$CPP $CPPFLAGS'
41102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41111 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41113 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41114 for ac_func in frexpf
41115 do :
41116 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41117 if test "x$ac_cv_func_frexpf" = x""yes; then :
41118 cat >>confdefs.h <<_ACEOF
41119 #define HAVE_FREXPF 1
41120 _ACEOF
41123 done
41125 else
41127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41128 $as_echo_n "checking for _frexpf declaration... " >&6; }
41129 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41130 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41131 $as_echo_n "(cached) " >&6
41132 else
41135 ac_ext=cpp
41136 ac_cpp='$CXXCPP $CPPFLAGS'
41137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41142 /* end confdefs.h. */
41143 #include <math.h>
41145 main ()
41147 _frexpf(0, 0);
41149 return 0;
41151 _ACEOF
41152 if ac_fn_cxx_try_compile "$LINENO"; then :
41153 glibcxx_cv_func__frexpf_use=yes
41154 else
41155 glibcxx_cv_func__frexpf_use=no
41157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41158 ac_ext=c
41159 ac_cpp='$CPP $CPPFLAGS'
41160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41169 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41171 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41172 for ac_func in _frexpf
41173 do :
41174 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41175 if test "x$ac_cv_func__frexpf" = x""yes; then :
41176 cat >>confdefs.h <<_ACEOF
41177 #define HAVE__FREXPF 1
41178 _ACEOF
41181 done
41190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41191 $as_echo_n "checking for hypotf declaration... " >&6; }
41192 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41193 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41194 $as_echo_n "(cached) " >&6
41195 else
41198 ac_ext=cpp
41199 ac_cpp='$CXXCPP $CPPFLAGS'
41200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41205 /* end confdefs.h. */
41206 #include <math.h>
41208 main ()
41210 hypotf(0, 0);
41212 return 0;
41214 _ACEOF
41215 if ac_fn_cxx_try_compile "$LINENO"; then :
41216 glibcxx_cv_func_hypotf_use=yes
41217 else
41218 glibcxx_cv_func_hypotf_use=no
41220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41221 ac_ext=c
41222 ac_cpp='$CPP $CPPFLAGS'
41223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41232 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41234 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41235 for ac_func in hypotf
41236 do :
41237 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41238 if test "x$ac_cv_func_hypotf" = x""yes; then :
41239 cat >>confdefs.h <<_ACEOF
41240 #define HAVE_HYPOTF 1
41241 _ACEOF
41244 done
41246 else
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41249 $as_echo_n "checking for _hypotf declaration... " >&6; }
41250 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41251 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41252 $as_echo_n "(cached) " >&6
41253 else
41256 ac_ext=cpp
41257 ac_cpp='$CXXCPP $CPPFLAGS'
41258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41263 /* end confdefs.h. */
41264 #include <math.h>
41266 main ()
41268 _hypotf(0, 0);
41270 return 0;
41272 _ACEOF
41273 if ac_fn_cxx_try_compile "$LINENO"; then :
41274 glibcxx_cv_func__hypotf_use=yes
41275 else
41276 glibcxx_cv_func__hypotf_use=no
41278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41279 ac_ext=c
41280 ac_cpp='$CPP $CPPFLAGS'
41281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41290 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41292 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41293 for ac_func in _hypotf
41294 do :
41295 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41296 if test "x$ac_cv_func__hypotf" = x""yes; then :
41297 cat >>confdefs.h <<_ACEOF
41298 #define HAVE__HYPOTF 1
41299 _ACEOF
41302 done
41311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41312 $as_echo_n "checking for ldexpf declaration... " >&6; }
41313 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41314 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41315 $as_echo_n "(cached) " >&6
41316 else
41319 ac_ext=cpp
41320 ac_cpp='$CXXCPP $CPPFLAGS'
41321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41326 /* end confdefs.h. */
41327 #include <math.h>
41329 main ()
41331 ldexpf(0, 0);
41333 return 0;
41335 _ACEOF
41336 if ac_fn_cxx_try_compile "$LINENO"; then :
41337 glibcxx_cv_func_ldexpf_use=yes
41338 else
41339 glibcxx_cv_func_ldexpf_use=no
41341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41342 ac_ext=c
41343 ac_cpp='$CPP $CPPFLAGS'
41344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41353 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41355 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41356 for ac_func in ldexpf
41357 do :
41358 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41359 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41360 cat >>confdefs.h <<_ACEOF
41361 #define HAVE_LDEXPF 1
41362 _ACEOF
41365 done
41367 else
41369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41370 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41371 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41372 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41373 $as_echo_n "(cached) " >&6
41374 else
41377 ac_ext=cpp
41378 ac_cpp='$CXXCPP $CPPFLAGS'
41379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41384 /* end confdefs.h. */
41385 #include <math.h>
41387 main ()
41389 _ldexpf(0, 0);
41391 return 0;
41393 _ACEOF
41394 if ac_fn_cxx_try_compile "$LINENO"; then :
41395 glibcxx_cv_func__ldexpf_use=yes
41396 else
41397 glibcxx_cv_func__ldexpf_use=no
41399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41400 ac_ext=c
41401 ac_cpp='$CPP $CPPFLAGS'
41402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41411 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41413 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41414 for ac_func in _ldexpf
41415 do :
41416 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41417 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41418 cat >>confdefs.h <<_ACEOF
41419 #define HAVE__LDEXPF 1
41420 _ACEOF
41423 done
41432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41433 $as_echo_n "checking for logf declaration... " >&6; }
41434 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41435 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41436 $as_echo_n "(cached) " >&6
41437 else
41440 ac_ext=cpp
41441 ac_cpp='$CXXCPP $CPPFLAGS'
41442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41447 /* end confdefs.h. */
41448 #include <math.h>
41449 #ifdef HAVE_IEEEFP_H
41450 #include <ieeefp.h>
41451 #endif
41454 main ()
41456 logf(0);
41458 return 0;
41460 _ACEOF
41461 if ac_fn_cxx_try_compile "$LINENO"; then :
41462 glibcxx_cv_func_logf_use=yes
41463 else
41464 glibcxx_cv_func_logf_use=no
41466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41467 ac_ext=c
41468 ac_cpp='$CPP $CPPFLAGS'
41469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41478 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41480 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41481 for ac_func in logf
41482 do :
41483 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41484 if test "x$ac_cv_func_logf" = x""yes; then :
41485 cat >>confdefs.h <<_ACEOF
41486 #define HAVE_LOGF 1
41487 _ACEOF
41490 done
41492 else
41494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41495 $as_echo_n "checking for _logf declaration... " >&6; }
41496 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41497 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41498 $as_echo_n "(cached) " >&6
41499 else
41502 ac_ext=cpp
41503 ac_cpp='$CXXCPP $CPPFLAGS'
41504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41509 /* end confdefs.h. */
41510 #include <math.h>
41511 #ifdef HAVE_IEEEFP_H
41512 #include <ieeefp.h>
41513 #endif
41516 main ()
41518 _logf(0);
41520 return 0;
41522 _ACEOF
41523 if ac_fn_cxx_try_compile "$LINENO"; then :
41524 glibcxx_cv_func__logf_use=yes
41525 else
41526 glibcxx_cv_func__logf_use=no
41528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41529 ac_ext=c
41530 ac_cpp='$CPP $CPPFLAGS'
41531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41540 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41542 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41543 for ac_func in _logf
41544 do :
41545 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41546 if test "x$ac_cv_func__logf" = x""yes; then :
41547 cat >>confdefs.h <<_ACEOF
41548 #define HAVE__LOGF 1
41549 _ACEOF
41552 done
41561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41562 $as_echo_n "checking for log10f declaration... " >&6; }
41563 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41564 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41565 $as_echo_n "(cached) " >&6
41566 else
41569 ac_ext=cpp
41570 ac_cpp='$CXXCPP $CPPFLAGS'
41571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41576 /* end confdefs.h. */
41577 #include <math.h>
41578 #ifdef HAVE_IEEEFP_H
41579 #include <ieeefp.h>
41580 #endif
41583 main ()
41585 log10f(0);
41587 return 0;
41589 _ACEOF
41590 if ac_fn_cxx_try_compile "$LINENO"; then :
41591 glibcxx_cv_func_log10f_use=yes
41592 else
41593 glibcxx_cv_func_log10f_use=no
41595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41596 ac_ext=c
41597 ac_cpp='$CPP $CPPFLAGS'
41598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41607 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41609 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41610 for ac_func in log10f
41611 do :
41612 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41613 if test "x$ac_cv_func_log10f" = x""yes; then :
41614 cat >>confdefs.h <<_ACEOF
41615 #define HAVE_LOG10F 1
41616 _ACEOF
41619 done
41621 else
41623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41624 $as_echo_n "checking for _log10f declaration... " >&6; }
41625 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41626 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41627 $as_echo_n "(cached) " >&6
41628 else
41631 ac_ext=cpp
41632 ac_cpp='$CXXCPP $CPPFLAGS'
41633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41638 /* end confdefs.h. */
41639 #include <math.h>
41640 #ifdef HAVE_IEEEFP_H
41641 #include <ieeefp.h>
41642 #endif
41645 main ()
41647 _log10f(0);
41649 return 0;
41651 _ACEOF
41652 if ac_fn_cxx_try_compile "$LINENO"; then :
41653 glibcxx_cv_func__log10f_use=yes
41654 else
41655 glibcxx_cv_func__log10f_use=no
41657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41658 ac_ext=c
41659 ac_cpp='$CPP $CPPFLAGS'
41660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41669 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41671 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41672 for ac_func in _log10f
41673 do :
41674 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41675 if test "x$ac_cv_func__log10f" = x""yes; then :
41676 cat >>confdefs.h <<_ACEOF
41677 #define HAVE__LOG10F 1
41678 _ACEOF
41681 done
41690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41691 $as_echo_n "checking for modff declaration... " >&6; }
41692 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41693 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41694 $as_echo_n "(cached) " >&6
41695 else
41698 ac_ext=cpp
41699 ac_cpp='$CXXCPP $CPPFLAGS'
41700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41705 /* end confdefs.h. */
41706 #include <math.h>
41708 main ()
41710 modff(0, 0);
41712 return 0;
41714 _ACEOF
41715 if ac_fn_cxx_try_compile "$LINENO"; then :
41716 glibcxx_cv_func_modff_use=yes
41717 else
41718 glibcxx_cv_func_modff_use=no
41720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41721 ac_ext=c
41722 ac_cpp='$CPP $CPPFLAGS'
41723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41732 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41734 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41735 for ac_func in modff
41736 do :
41737 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41738 if test "x$ac_cv_func_modff" = x""yes; then :
41739 cat >>confdefs.h <<_ACEOF
41740 #define HAVE_MODFF 1
41741 _ACEOF
41744 done
41746 else
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41749 $as_echo_n "checking for _modff declaration... " >&6; }
41750 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41751 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41752 $as_echo_n "(cached) " >&6
41753 else
41756 ac_ext=cpp
41757 ac_cpp='$CXXCPP $CPPFLAGS'
41758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41763 /* end confdefs.h. */
41764 #include <math.h>
41766 main ()
41768 _modff(0, 0);
41770 return 0;
41772 _ACEOF
41773 if ac_fn_cxx_try_compile "$LINENO"; then :
41774 glibcxx_cv_func__modff_use=yes
41775 else
41776 glibcxx_cv_func__modff_use=no
41778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41779 ac_ext=c
41780 ac_cpp='$CPP $CPPFLAGS'
41781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41790 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41792 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41793 for ac_func in _modff
41794 do :
41795 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41796 if test "x$ac_cv_func__modff" = x""yes; then :
41797 cat >>confdefs.h <<_ACEOF
41798 #define HAVE__MODFF 1
41799 _ACEOF
41802 done
41811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41812 $as_echo_n "checking for modf declaration... " >&6; }
41813 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41814 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41815 $as_echo_n "(cached) " >&6
41816 else
41819 ac_ext=cpp
41820 ac_cpp='$CXXCPP $CPPFLAGS'
41821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41826 /* end confdefs.h. */
41827 #include <math.h>
41829 main ()
41831 modf(0, 0);
41833 return 0;
41835 _ACEOF
41836 if ac_fn_cxx_try_compile "$LINENO"; then :
41837 glibcxx_cv_func_modf_use=yes
41838 else
41839 glibcxx_cv_func_modf_use=no
41841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41842 ac_ext=c
41843 ac_cpp='$CPP $CPPFLAGS'
41844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41853 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41855 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41856 for ac_func in modf
41857 do :
41858 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41859 if test "x$ac_cv_func_modf" = x""yes; then :
41860 cat >>confdefs.h <<_ACEOF
41861 #define HAVE_MODF 1
41862 _ACEOF
41865 done
41867 else
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41870 $as_echo_n "checking for _modf declaration... " >&6; }
41871 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41872 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41873 $as_echo_n "(cached) " >&6
41874 else
41877 ac_ext=cpp
41878 ac_cpp='$CXXCPP $CPPFLAGS'
41879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41884 /* end confdefs.h. */
41885 #include <math.h>
41887 main ()
41889 _modf(0, 0);
41891 return 0;
41893 _ACEOF
41894 if ac_fn_cxx_try_compile "$LINENO"; then :
41895 glibcxx_cv_func__modf_use=yes
41896 else
41897 glibcxx_cv_func__modf_use=no
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900 ac_ext=c
41901 ac_cpp='$CPP $CPPFLAGS'
41902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41911 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41913 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41914 for ac_func in _modf
41915 do :
41916 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41917 if test "x$ac_cv_func__modf" = x""yes; then :
41918 cat >>confdefs.h <<_ACEOF
41919 #define HAVE__MODF 1
41920 _ACEOF
41923 done
41932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41933 $as_echo_n "checking for powf declaration... " >&6; }
41934 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41935 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41936 $as_echo_n "(cached) " >&6
41937 else
41940 ac_ext=cpp
41941 ac_cpp='$CXXCPP $CPPFLAGS'
41942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41947 /* end confdefs.h. */
41948 #include <math.h>
41950 main ()
41952 powf(0, 0);
41954 return 0;
41956 _ACEOF
41957 if ac_fn_cxx_try_compile "$LINENO"; then :
41958 glibcxx_cv_func_powf_use=yes
41959 else
41960 glibcxx_cv_func_powf_use=no
41962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41963 ac_ext=c
41964 ac_cpp='$CPP $CPPFLAGS'
41965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41974 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41976 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41977 for ac_func in powf
41978 do :
41979 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41980 if test "x$ac_cv_func_powf" = x""yes; then :
41981 cat >>confdefs.h <<_ACEOF
41982 #define HAVE_POWF 1
41983 _ACEOF
41986 done
41988 else
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41991 $as_echo_n "checking for _powf declaration... " >&6; }
41992 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41993 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41994 $as_echo_n "(cached) " >&6
41995 else
41998 ac_ext=cpp
41999 ac_cpp='$CXXCPP $CPPFLAGS'
42000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42005 /* end confdefs.h. */
42006 #include <math.h>
42008 main ()
42010 _powf(0, 0);
42012 return 0;
42014 _ACEOF
42015 if ac_fn_cxx_try_compile "$LINENO"; then :
42016 glibcxx_cv_func__powf_use=yes
42017 else
42018 glibcxx_cv_func__powf_use=no
42020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42021 ac_ext=c
42022 ac_cpp='$CPP $CPPFLAGS'
42023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42032 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42034 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42035 for ac_func in _powf
42036 do :
42037 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42038 if test "x$ac_cv_func__powf" = x""yes; then :
42039 cat >>confdefs.h <<_ACEOF
42040 #define HAVE__POWF 1
42041 _ACEOF
42044 done
42053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42054 $as_echo_n "checking for sqrtf declaration... " >&6; }
42055 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42056 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42057 $as_echo_n "(cached) " >&6
42058 else
42061 ac_ext=cpp
42062 ac_cpp='$CXXCPP $CPPFLAGS'
42063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42068 /* end confdefs.h. */
42069 #include <math.h>
42070 #ifdef HAVE_IEEEFP_H
42071 #include <ieeefp.h>
42072 #endif
42075 main ()
42077 sqrtf(0);
42079 return 0;
42081 _ACEOF
42082 if ac_fn_cxx_try_compile "$LINENO"; then :
42083 glibcxx_cv_func_sqrtf_use=yes
42084 else
42085 glibcxx_cv_func_sqrtf_use=no
42087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42088 ac_ext=c
42089 ac_cpp='$CPP $CPPFLAGS'
42090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42099 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42101 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42102 for ac_func in sqrtf
42103 do :
42104 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42105 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42106 cat >>confdefs.h <<_ACEOF
42107 #define HAVE_SQRTF 1
42108 _ACEOF
42111 done
42113 else
42115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42116 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42117 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42118 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42119 $as_echo_n "(cached) " >&6
42120 else
42123 ac_ext=cpp
42124 ac_cpp='$CXXCPP $CPPFLAGS'
42125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42130 /* end confdefs.h. */
42131 #include <math.h>
42132 #ifdef HAVE_IEEEFP_H
42133 #include <ieeefp.h>
42134 #endif
42137 main ()
42139 _sqrtf(0);
42141 return 0;
42143 _ACEOF
42144 if ac_fn_cxx_try_compile "$LINENO"; then :
42145 glibcxx_cv_func__sqrtf_use=yes
42146 else
42147 glibcxx_cv_func__sqrtf_use=no
42149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42150 ac_ext=c
42151 ac_cpp='$CPP $CPPFLAGS'
42152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42161 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42163 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42164 for ac_func in _sqrtf
42165 do :
42166 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42167 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42168 cat >>confdefs.h <<_ACEOF
42169 #define HAVE__SQRTF 1
42170 _ACEOF
42173 done
42182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42183 $as_echo_n "checking for sincosf declaration... " >&6; }
42184 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42185 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42186 $as_echo_n "(cached) " >&6
42187 else
42190 ac_ext=cpp
42191 ac_cpp='$CXXCPP $CPPFLAGS'
42192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42197 /* end confdefs.h. */
42198 #include <math.h>
42200 main ()
42202 sincosf(0, 0, 0);
42204 return 0;
42206 _ACEOF
42207 if ac_fn_cxx_try_compile "$LINENO"; then :
42208 glibcxx_cv_func_sincosf_use=yes
42209 else
42210 glibcxx_cv_func_sincosf_use=no
42212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42213 ac_ext=c
42214 ac_cpp='$CPP $CPPFLAGS'
42215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42224 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42226 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42227 for ac_func in sincosf
42228 do :
42229 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42230 if test "x$ac_cv_func_sincosf" = x""yes; then :
42231 cat >>confdefs.h <<_ACEOF
42232 #define HAVE_SINCOSF 1
42233 _ACEOF
42236 done
42238 else
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42241 $as_echo_n "checking for _sincosf declaration... " >&6; }
42242 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42243 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42244 $as_echo_n "(cached) " >&6
42245 else
42248 ac_ext=cpp
42249 ac_cpp='$CXXCPP $CPPFLAGS'
42250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42255 /* end confdefs.h. */
42256 #include <math.h>
42258 main ()
42260 _sincosf(0, 0, 0);
42262 return 0;
42264 _ACEOF
42265 if ac_fn_cxx_try_compile "$LINENO"; then :
42266 glibcxx_cv_func__sincosf_use=yes
42267 else
42268 glibcxx_cv_func__sincosf_use=no
42270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42271 ac_ext=c
42272 ac_cpp='$CPP $CPPFLAGS'
42273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42282 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42284 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42285 for ac_func in _sincosf
42286 do :
42287 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42288 if test "x$ac_cv_func__sincosf" = x""yes; then :
42289 cat >>confdefs.h <<_ACEOF
42290 #define HAVE__SINCOSF 1
42291 _ACEOF
42294 done
42303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42304 $as_echo_n "checking for finitef declaration... " >&6; }
42305 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42306 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42307 $as_echo_n "(cached) " >&6
42308 else
42311 ac_ext=cpp
42312 ac_cpp='$CXXCPP $CPPFLAGS'
42313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42318 /* end confdefs.h. */
42319 #include <math.h>
42320 #ifdef HAVE_IEEEFP_H
42321 #include <ieeefp.h>
42322 #endif
42325 main ()
42327 finitef(0);
42329 return 0;
42331 _ACEOF
42332 if ac_fn_cxx_try_compile "$LINENO"; then :
42333 glibcxx_cv_func_finitef_use=yes
42334 else
42335 glibcxx_cv_func_finitef_use=no
42337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42338 ac_ext=c
42339 ac_cpp='$CPP $CPPFLAGS'
42340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42349 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42351 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42352 for ac_func in finitef
42353 do :
42354 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42355 if test "x$ac_cv_func_finitef" = x""yes; then :
42356 cat >>confdefs.h <<_ACEOF
42357 #define HAVE_FINITEF 1
42358 _ACEOF
42361 done
42363 else
42365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42366 $as_echo_n "checking for _finitef declaration... " >&6; }
42367 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42368 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42369 $as_echo_n "(cached) " >&6
42370 else
42373 ac_ext=cpp
42374 ac_cpp='$CXXCPP $CPPFLAGS'
42375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42380 /* end confdefs.h. */
42381 #include <math.h>
42382 #ifdef HAVE_IEEEFP_H
42383 #include <ieeefp.h>
42384 #endif
42387 main ()
42389 _finitef(0);
42391 return 0;
42393 _ACEOF
42394 if ac_fn_cxx_try_compile "$LINENO"; then :
42395 glibcxx_cv_func__finitef_use=yes
42396 else
42397 glibcxx_cv_func__finitef_use=no
42399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42400 ac_ext=c
42401 ac_cpp='$CPP $CPPFLAGS'
42402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42411 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42413 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42414 for ac_func in _finitef
42415 do :
42416 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42417 if test "x$ac_cv_func__finitef" = x""yes; then :
42418 cat >>confdefs.h <<_ACEOF
42419 #define HAVE__FINITEF 1
42420 _ACEOF
42423 done
42432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42433 $as_echo_n "checking for long double trig functions... " >&6; }
42434 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42435 $as_echo_n "(cached) " >&6
42436 else
42439 ac_ext=cpp
42440 ac_cpp='$CXXCPP $CPPFLAGS'
42441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42446 /* end confdefs.h. */
42447 #include <math.h>
42449 main ()
42451 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42453 return 0;
42455 _ACEOF
42456 if ac_fn_cxx_try_compile "$LINENO"; then :
42457 glibcxx_cv_func_long_double_trig_use=yes
42458 else
42459 glibcxx_cv_func_long_double_trig_use=no
42461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42462 ac_ext=c
42463 ac_cpp='$CPP $CPPFLAGS'
42464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42471 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42472 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42473 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42474 do :
42475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42477 eval as_val=\$$as_ac_var
42478 if test "x$as_val" = x""yes; then :
42479 cat >>confdefs.h <<_ACEOF
42480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42481 _ACEOF
42484 done
42486 else
42487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42488 $as_echo_n "checking for _long double trig functions... " >&6; }
42489 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42490 $as_echo_n "(cached) " >&6
42491 else
42494 ac_ext=cpp
42495 ac_cpp='$CXXCPP $CPPFLAGS'
42496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42501 /* end confdefs.h. */
42502 #include <math.h>
42504 main ()
42506 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42508 return 0;
42510 _ACEOF
42511 if ac_fn_cxx_try_compile "$LINENO"; then :
42512 glibcxx_cv_func__long_double_trig_use=yes
42513 else
42514 glibcxx_cv_func__long_double_trig_use=no
42516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42517 ac_ext=c
42518 ac_cpp='$CPP $CPPFLAGS'
42519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42526 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42527 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42528 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42529 do :
42530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42532 eval as_val=\$$as_ac_var
42533 if test "x$as_val" = x""yes; then :
42534 cat >>confdefs.h <<_ACEOF
42535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42536 _ACEOF
42539 done
42548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42549 $as_echo_n "checking for long double round functions... " >&6; }
42550 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42551 $as_echo_n "(cached) " >&6
42552 else
42555 ac_ext=cpp
42556 ac_cpp='$CXXCPP $CPPFLAGS'
42557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42562 /* end confdefs.h. */
42563 #include <math.h>
42565 main ()
42567 ceill (0); floorl (0);
42569 return 0;
42571 _ACEOF
42572 if ac_fn_cxx_try_compile "$LINENO"; then :
42573 glibcxx_cv_func_long_double_round_use=yes
42574 else
42575 glibcxx_cv_func_long_double_round_use=no
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42578 ac_ext=c
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42587 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42588 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42589 for ac_func in ceill floorl
42590 do :
42591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42593 eval as_val=\$$as_ac_var
42594 if test "x$as_val" = x""yes; then :
42595 cat >>confdefs.h <<_ACEOF
42596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42597 _ACEOF
42600 done
42602 else
42603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42604 $as_echo_n "checking for _long double round functions... " >&6; }
42605 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42606 $as_echo_n "(cached) " >&6
42607 else
42610 ac_ext=cpp
42611 ac_cpp='$CXXCPP $CPPFLAGS'
42612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42617 /* end confdefs.h. */
42618 #include <math.h>
42620 main ()
42622 _ceill (0); _floorl (0);
42624 return 0;
42626 _ACEOF
42627 if ac_fn_cxx_try_compile "$LINENO"; then :
42628 glibcxx_cv_func__long_double_round_use=yes
42629 else
42630 glibcxx_cv_func__long_double_round_use=no
42632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42633 ac_ext=c
42634 ac_cpp='$CPP $CPPFLAGS'
42635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42642 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42643 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42644 for ac_func in _ceill _floorl
42645 do :
42646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42648 eval as_val=\$$as_ac_var
42649 if test "x$as_val" = x""yes; then :
42650 cat >>confdefs.h <<_ACEOF
42651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42652 _ACEOF
42655 done
42665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42666 $as_echo_n "checking for isnanl declaration... " >&6; }
42667 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42668 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42669 $as_echo_n "(cached) " >&6
42670 else
42673 ac_ext=cpp
42674 ac_cpp='$CXXCPP $CPPFLAGS'
42675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42680 /* end confdefs.h. */
42681 #include <math.h>
42682 #ifdef HAVE_IEEEFP_H
42683 #include <ieeefp.h>
42684 #endif
42687 main ()
42689 isnanl(0);
42691 return 0;
42693 _ACEOF
42694 if ac_fn_cxx_try_compile "$LINENO"; then :
42695 glibcxx_cv_func_isnanl_use=yes
42696 else
42697 glibcxx_cv_func_isnanl_use=no
42699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42700 ac_ext=c
42701 ac_cpp='$CPP $CPPFLAGS'
42702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42711 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42713 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42714 for ac_func in isnanl
42715 do :
42716 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42717 if test "x$ac_cv_func_isnanl" = x""yes; then :
42718 cat >>confdefs.h <<_ACEOF
42719 #define HAVE_ISNANL 1
42720 _ACEOF
42723 done
42725 else
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42728 $as_echo_n "checking for _isnanl declaration... " >&6; }
42729 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42730 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42731 $as_echo_n "(cached) " >&6
42732 else
42735 ac_ext=cpp
42736 ac_cpp='$CXXCPP $CPPFLAGS'
42737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42742 /* end confdefs.h. */
42743 #include <math.h>
42744 #ifdef HAVE_IEEEFP_H
42745 #include <ieeefp.h>
42746 #endif
42749 main ()
42751 _isnanl(0);
42753 return 0;
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func__isnanl_use=yes
42758 else
42759 glibcxx_cv_func__isnanl_use=no
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42773 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42775 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42776 for ac_func in _isnanl
42777 do :
42778 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42779 if test "x$ac_cv_func__isnanl" = x""yes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE__ISNANL 1
42782 _ACEOF
42785 done
42794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42795 $as_echo_n "checking for isinfl declaration... " >&6; }
42796 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42797 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42798 $as_echo_n "(cached) " >&6
42799 else
42802 ac_ext=cpp
42803 ac_cpp='$CXXCPP $CPPFLAGS'
42804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42809 /* end confdefs.h. */
42810 #include <math.h>
42811 #ifdef HAVE_IEEEFP_H
42812 #include <ieeefp.h>
42813 #endif
42816 main ()
42818 isinfl(0);
42820 return 0;
42822 _ACEOF
42823 if ac_fn_cxx_try_compile "$LINENO"; then :
42824 glibcxx_cv_func_isinfl_use=yes
42825 else
42826 glibcxx_cv_func_isinfl_use=no
42828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42829 ac_ext=c
42830 ac_cpp='$CPP $CPPFLAGS'
42831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42840 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42842 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42843 for ac_func in isinfl
42844 do :
42845 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42846 if test "x$ac_cv_func_isinfl" = x""yes; then :
42847 cat >>confdefs.h <<_ACEOF
42848 #define HAVE_ISINFL 1
42849 _ACEOF
42852 done
42854 else
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42857 $as_echo_n "checking for _isinfl declaration... " >&6; }
42858 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42859 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42878 main ()
42880 _isinfl(0);
42882 return 0;
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func__isinfl_use=yes
42887 else
42888 glibcxx_cv_func__isinfl_use=no
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42902 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42904 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42905 for ac_func in _isinfl
42906 do :
42907 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42908 if test "x$ac_cv_func__isinfl" = x""yes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE__ISINFL 1
42911 _ACEOF
42914 done
42923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42924 $as_echo_n "checking for atan2l declaration... " >&6; }
42925 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42926 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42927 $as_echo_n "(cached) " >&6
42928 else
42931 ac_ext=cpp
42932 ac_cpp='$CXXCPP $CPPFLAGS'
42933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42938 /* end confdefs.h. */
42939 #include <math.h>
42941 main ()
42943 atan2l(0, 0);
42945 return 0;
42947 _ACEOF
42948 if ac_fn_cxx_try_compile "$LINENO"; then :
42949 glibcxx_cv_func_atan2l_use=yes
42950 else
42951 glibcxx_cv_func_atan2l_use=no
42953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42954 ac_ext=c
42955 ac_cpp='$CPP $CPPFLAGS'
42956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42965 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42967 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42968 for ac_func in atan2l
42969 do :
42970 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42971 if test "x$ac_cv_func_atan2l" = x""yes; then :
42972 cat >>confdefs.h <<_ACEOF
42973 #define HAVE_ATAN2L 1
42974 _ACEOF
42977 done
42979 else
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42982 $as_echo_n "checking for _atan2l declaration... " >&6; }
42983 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42984 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42985 $as_echo_n "(cached) " >&6
42986 else
42989 ac_ext=cpp
42990 ac_cpp='$CXXCPP $CPPFLAGS'
42991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42996 /* end confdefs.h. */
42997 #include <math.h>
42999 main ()
43001 _atan2l(0, 0);
43003 return 0;
43005 _ACEOF
43006 if ac_fn_cxx_try_compile "$LINENO"; then :
43007 glibcxx_cv_func__atan2l_use=yes
43008 else
43009 glibcxx_cv_func__atan2l_use=no
43011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43012 ac_ext=c
43013 ac_cpp='$CPP $CPPFLAGS'
43014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43023 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43025 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43026 for ac_func in _atan2l
43027 do :
43028 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43029 if test "x$ac_cv_func__atan2l" = x""yes; then :
43030 cat >>confdefs.h <<_ACEOF
43031 #define HAVE__ATAN2L 1
43032 _ACEOF
43035 done
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43045 $as_echo_n "checking for expl declaration... " >&6; }
43046 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43047 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43048 $as_echo_n "(cached) " >&6
43049 else
43052 ac_ext=cpp
43053 ac_cpp='$CXXCPP $CPPFLAGS'
43054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43059 /* end confdefs.h. */
43060 #include <math.h>
43061 #ifdef HAVE_IEEEFP_H
43062 #include <ieeefp.h>
43063 #endif
43066 main ()
43068 expl(0);
43070 return 0;
43072 _ACEOF
43073 if ac_fn_cxx_try_compile "$LINENO"; then :
43074 glibcxx_cv_func_expl_use=yes
43075 else
43076 glibcxx_cv_func_expl_use=no
43078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43079 ac_ext=c
43080 ac_cpp='$CPP $CPPFLAGS'
43081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43090 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43092 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43093 for ac_func in expl
43094 do :
43095 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43096 if test "x$ac_cv_func_expl" = x""yes; then :
43097 cat >>confdefs.h <<_ACEOF
43098 #define HAVE_EXPL 1
43099 _ACEOF
43102 done
43104 else
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43107 $as_echo_n "checking for _expl declaration... " >&6; }
43108 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43109 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 #ifdef HAVE_IEEEFP_H
43124 #include <ieeefp.h>
43125 #endif
43128 main ()
43130 _expl(0);
43132 return 0;
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func__expl_use=yes
43137 else
43138 glibcxx_cv_func__expl_use=no
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43152 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43154 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43155 for ac_func in _expl
43156 do :
43157 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43158 if test "x$ac_cv_func__expl" = x""yes; then :
43159 cat >>confdefs.h <<_ACEOF
43160 #define HAVE__EXPL 1
43161 _ACEOF
43164 done
43173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43174 $as_echo_n "checking for fabsl declaration... " >&6; }
43175 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43176 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43177 $as_echo_n "(cached) " >&6
43178 else
43181 ac_ext=cpp
43182 ac_cpp='$CXXCPP $CPPFLAGS'
43183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43188 /* end confdefs.h. */
43189 #include <math.h>
43190 #ifdef HAVE_IEEEFP_H
43191 #include <ieeefp.h>
43192 #endif
43195 main ()
43197 fabsl(0);
43199 return 0;
43201 _ACEOF
43202 if ac_fn_cxx_try_compile "$LINENO"; then :
43203 glibcxx_cv_func_fabsl_use=yes
43204 else
43205 glibcxx_cv_func_fabsl_use=no
43207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43208 ac_ext=c
43209 ac_cpp='$CPP $CPPFLAGS'
43210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43219 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43221 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43222 for ac_func in fabsl
43223 do :
43224 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43225 if test "x$ac_cv_func_fabsl" = x""yes; then :
43226 cat >>confdefs.h <<_ACEOF
43227 #define HAVE_FABSL 1
43228 _ACEOF
43231 done
43233 else
43235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43236 $as_echo_n "checking for _fabsl declaration... " >&6; }
43237 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43238 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43239 $as_echo_n "(cached) " >&6
43240 else
43243 ac_ext=cpp
43244 ac_cpp='$CXXCPP $CPPFLAGS'
43245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43250 /* end confdefs.h. */
43251 #include <math.h>
43252 #ifdef HAVE_IEEEFP_H
43253 #include <ieeefp.h>
43254 #endif
43257 main ()
43259 _fabsl(0);
43261 return 0;
43263 _ACEOF
43264 if ac_fn_cxx_try_compile "$LINENO"; then :
43265 glibcxx_cv_func__fabsl_use=yes
43266 else
43267 glibcxx_cv_func__fabsl_use=no
43269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43270 ac_ext=c
43271 ac_cpp='$CPP $CPPFLAGS'
43272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43281 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43283 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43284 for ac_func in _fabsl
43285 do :
43286 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43287 if test "x$ac_cv_func__fabsl" = x""yes; then :
43288 cat >>confdefs.h <<_ACEOF
43289 #define HAVE__FABSL 1
43290 _ACEOF
43293 done
43302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43303 $as_echo_n "checking for fmodl declaration... " >&6; }
43304 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43305 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43306 $as_echo_n "(cached) " >&6
43307 else
43310 ac_ext=cpp
43311 ac_cpp='$CXXCPP $CPPFLAGS'
43312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43317 /* end confdefs.h. */
43318 #include <math.h>
43320 main ()
43322 fmodl(0, 0);
43324 return 0;
43326 _ACEOF
43327 if ac_fn_cxx_try_compile "$LINENO"; then :
43328 glibcxx_cv_func_fmodl_use=yes
43329 else
43330 glibcxx_cv_func_fmodl_use=no
43332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43333 ac_ext=c
43334 ac_cpp='$CPP $CPPFLAGS'
43335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43344 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43346 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43347 for ac_func in fmodl
43348 do :
43349 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43350 if test "x$ac_cv_func_fmodl" = x""yes; then :
43351 cat >>confdefs.h <<_ACEOF
43352 #define HAVE_FMODL 1
43353 _ACEOF
43356 done
43358 else
43360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43361 $as_echo_n "checking for _fmodl declaration... " >&6; }
43362 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43363 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43364 $as_echo_n "(cached) " >&6
43365 else
43368 ac_ext=cpp
43369 ac_cpp='$CXXCPP $CPPFLAGS'
43370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43375 /* end confdefs.h. */
43376 #include <math.h>
43378 main ()
43380 _fmodl(0, 0);
43382 return 0;
43384 _ACEOF
43385 if ac_fn_cxx_try_compile "$LINENO"; then :
43386 glibcxx_cv_func__fmodl_use=yes
43387 else
43388 glibcxx_cv_func__fmodl_use=no
43390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43391 ac_ext=c
43392 ac_cpp='$CPP $CPPFLAGS'
43393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43402 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43404 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43405 for ac_func in _fmodl
43406 do :
43407 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43408 if test "x$ac_cv_func__fmodl" = x""yes; then :
43409 cat >>confdefs.h <<_ACEOF
43410 #define HAVE__FMODL 1
43411 _ACEOF
43414 done
43423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43424 $as_echo_n "checking for frexpl declaration... " >&6; }
43425 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43426 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43427 $as_echo_n "(cached) " >&6
43428 else
43431 ac_ext=cpp
43432 ac_cpp='$CXXCPP $CPPFLAGS'
43433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43438 /* end confdefs.h. */
43439 #include <math.h>
43441 main ()
43443 frexpl(0, 0);
43445 return 0;
43447 _ACEOF
43448 if ac_fn_cxx_try_compile "$LINENO"; then :
43449 glibcxx_cv_func_frexpl_use=yes
43450 else
43451 glibcxx_cv_func_frexpl_use=no
43453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43454 ac_ext=c
43455 ac_cpp='$CPP $CPPFLAGS'
43456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43465 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43467 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43468 for ac_func in frexpl
43469 do :
43470 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43471 if test "x$ac_cv_func_frexpl" = x""yes; then :
43472 cat >>confdefs.h <<_ACEOF
43473 #define HAVE_FREXPL 1
43474 _ACEOF
43477 done
43479 else
43481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43482 $as_echo_n "checking for _frexpl declaration... " >&6; }
43483 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43484 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43485 $as_echo_n "(cached) " >&6
43486 else
43489 ac_ext=cpp
43490 ac_cpp='$CXXCPP $CPPFLAGS'
43491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43496 /* end confdefs.h. */
43497 #include <math.h>
43499 main ()
43501 _frexpl(0, 0);
43503 return 0;
43505 _ACEOF
43506 if ac_fn_cxx_try_compile "$LINENO"; then :
43507 glibcxx_cv_func__frexpl_use=yes
43508 else
43509 glibcxx_cv_func__frexpl_use=no
43511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43512 ac_ext=c
43513 ac_cpp='$CPP $CPPFLAGS'
43514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43523 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43525 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43526 for ac_func in _frexpl
43527 do :
43528 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43529 if test "x$ac_cv_func__frexpl" = x""yes; then :
43530 cat >>confdefs.h <<_ACEOF
43531 #define HAVE__FREXPL 1
43532 _ACEOF
43535 done
43544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43545 $as_echo_n "checking for hypotl declaration... " >&6; }
43546 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43547 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43548 $as_echo_n "(cached) " >&6
43549 else
43552 ac_ext=cpp
43553 ac_cpp='$CXXCPP $CPPFLAGS'
43554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43559 /* end confdefs.h. */
43560 #include <math.h>
43562 main ()
43564 hypotl(0, 0);
43566 return 0;
43568 _ACEOF
43569 if ac_fn_cxx_try_compile "$LINENO"; then :
43570 glibcxx_cv_func_hypotl_use=yes
43571 else
43572 glibcxx_cv_func_hypotl_use=no
43574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43575 ac_ext=c
43576 ac_cpp='$CPP $CPPFLAGS'
43577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43586 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43588 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43589 for ac_func in hypotl
43590 do :
43591 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43592 if test "x$ac_cv_func_hypotl" = x""yes; then :
43593 cat >>confdefs.h <<_ACEOF
43594 #define HAVE_HYPOTL 1
43595 _ACEOF
43598 done
43600 else
43602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43603 $as_echo_n "checking for _hypotl declaration... " >&6; }
43604 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43605 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43606 $as_echo_n "(cached) " >&6
43607 else
43610 ac_ext=cpp
43611 ac_cpp='$CXXCPP $CPPFLAGS'
43612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43617 /* end confdefs.h. */
43618 #include <math.h>
43620 main ()
43622 _hypotl(0, 0);
43624 return 0;
43626 _ACEOF
43627 if ac_fn_cxx_try_compile "$LINENO"; then :
43628 glibcxx_cv_func__hypotl_use=yes
43629 else
43630 glibcxx_cv_func__hypotl_use=no
43632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43633 ac_ext=c
43634 ac_cpp='$CPP $CPPFLAGS'
43635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43644 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43646 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43647 for ac_func in _hypotl
43648 do :
43649 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43650 if test "x$ac_cv_func__hypotl" = x""yes; then :
43651 cat >>confdefs.h <<_ACEOF
43652 #define HAVE__HYPOTL 1
43653 _ACEOF
43656 done
43665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43666 $as_echo_n "checking for ldexpl declaration... " >&6; }
43667 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43668 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43669 $as_echo_n "(cached) " >&6
43670 else
43673 ac_ext=cpp
43674 ac_cpp='$CXXCPP $CPPFLAGS'
43675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43680 /* end confdefs.h. */
43681 #include <math.h>
43683 main ()
43685 ldexpl(0, 0);
43687 return 0;
43689 _ACEOF
43690 if ac_fn_cxx_try_compile "$LINENO"; then :
43691 glibcxx_cv_func_ldexpl_use=yes
43692 else
43693 glibcxx_cv_func_ldexpl_use=no
43695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43696 ac_ext=c
43697 ac_cpp='$CPP $CPPFLAGS'
43698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43707 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43709 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43710 for ac_func in ldexpl
43711 do :
43712 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43713 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43714 cat >>confdefs.h <<_ACEOF
43715 #define HAVE_LDEXPL 1
43716 _ACEOF
43719 done
43721 else
43723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43724 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43725 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43726 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43727 $as_echo_n "(cached) " >&6
43728 else
43731 ac_ext=cpp
43732 ac_cpp='$CXXCPP $CPPFLAGS'
43733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43738 /* end confdefs.h. */
43739 #include <math.h>
43741 main ()
43743 _ldexpl(0, 0);
43745 return 0;
43747 _ACEOF
43748 if ac_fn_cxx_try_compile "$LINENO"; then :
43749 glibcxx_cv_func__ldexpl_use=yes
43750 else
43751 glibcxx_cv_func__ldexpl_use=no
43753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43754 ac_ext=c
43755 ac_cpp='$CPP $CPPFLAGS'
43756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43765 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43767 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43768 for ac_func in _ldexpl
43769 do :
43770 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43771 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43772 cat >>confdefs.h <<_ACEOF
43773 #define HAVE__LDEXPL 1
43774 _ACEOF
43777 done
43786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43787 $as_echo_n "checking for logl declaration... " >&6; }
43788 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43789 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43790 $as_echo_n "(cached) " >&6
43791 else
43794 ac_ext=cpp
43795 ac_cpp='$CXXCPP $CPPFLAGS'
43796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43801 /* end confdefs.h. */
43802 #include <math.h>
43803 #ifdef HAVE_IEEEFP_H
43804 #include <ieeefp.h>
43805 #endif
43808 main ()
43810 logl(0);
43812 return 0;
43814 _ACEOF
43815 if ac_fn_cxx_try_compile "$LINENO"; then :
43816 glibcxx_cv_func_logl_use=yes
43817 else
43818 glibcxx_cv_func_logl_use=no
43820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43821 ac_ext=c
43822 ac_cpp='$CPP $CPPFLAGS'
43823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43832 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43834 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43835 for ac_func in logl
43836 do :
43837 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43838 if test "x$ac_cv_func_logl" = x""yes; then :
43839 cat >>confdefs.h <<_ACEOF
43840 #define HAVE_LOGL 1
43841 _ACEOF
43844 done
43846 else
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43849 $as_echo_n "checking for _logl declaration... " >&6; }
43850 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43851 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43852 $as_echo_n "(cached) " >&6
43853 else
43856 ac_ext=cpp
43857 ac_cpp='$CXXCPP $CPPFLAGS'
43858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43863 /* end confdefs.h. */
43864 #include <math.h>
43865 #ifdef HAVE_IEEEFP_H
43866 #include <ieeefp.h>
43867 #endif
43870 main ()
43872 _logl(0);
43874 return 0;
43876 _ACEOF
43877 if ac_fn_cxx_try_compile "$LINENO"; then :
43878 glibcxx_cv_func__logl_use=yes
43879 else
43880 glibcxx_cv_func__logl_use=no
43882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43883 ac_ext=c
43884 ac_cpp='$CPP $CPPFLAGS'
43885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43894 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43896 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43897 for ac_func in _logl
43898 do :
43899 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43900 if test "x$ac_cv_func__logl" = x""yes; then :
43901 cat >>confdefs.h <<_ACEOF
43902 #define HAVE__LOGL 1
43903 _ACEOF
43906 done
43915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43916 $as_echo_n "checking for log10l declaration... " >&6; }
43917 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43918 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43919 $as_echo_n "(cached) " >&6
43920 else
43923 ac_ext=cpp
43924 ac_cpp='$CXXCPP $CPPFLAGS'
43925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43930 /* end confdefs.h. */
43931 #include <math.h>
43932 #ifdef HAVE_IEEEFP_H
43933 #include <ieeefp.h>
43934 #endif
43937 main ()
43939 log10l(0);
43941 return 0;
43943 _ACEOF
43944 if ac_fn_cxx_try_compile "$LINENO"; then :
43945 glibcxx_cv_func_log10l_use=yes
43946 else
43947 glibcxx_cv_func_log10l_use=no
43949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43950 ac_ext=c
43951 ac_cpp='$CPP $CPPFLAGS'
43952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43961 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43963 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43964 for ac_func in log10l
43965 do :
43966 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43967 if test "x$ac_cv_func_log10l" = x""yes; then :
43968 cat >>confdefs.h <<_ACEOF
43969 #define HAVE_LOG10L 1
43970 _ACEOF
43973 done
43975 else
43977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43978 $as_echo_n "checking for _log10l declaration... " >&6; }
43979 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43980 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43981 $as_echo_n "(cached) " >&6
43982 else
43985 ac_ext=cpp
43986 ac_cpp='$CXXCPP $CPPFLAGS'
43987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43992 /* end confdefs.h. */
43993 #include <math.h>
43994 #ifdef HAVE_IEEEFP_H
43995 #include <ieeefp.h>
43996 #endif
43999 main ()
44001 _log10l(0);
44003 return 0;
44005 _ACEOF
44006 if ac_fn_cxx_try_compile "$LINENO"; then :
44007 glibcxx_cv_func__log10l_use=yes
44008 else
44009 glibcxx_cv_func__log10l_use=no
44011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44012 ac_ext=c
44013 ac_cpp='$CPP $CPPFLAGS'
44014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44023 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44025 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44026 for ac_func in _log10l
44027 do :
44028 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44029 if test "x$ac_cv_func__log10l" = x""yes; then :
44030 cat >>confdefs.h <<_ACEOF
44031 #define HAVE__LOG10L 1
44032 _ACEOF
44035 done
44044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44045 $as_echo_n "checking for modfl declaration... " >&6; }
44046 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44047 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44048 $as_echo_n "(cached) " >&6
44049 else
44052 ac_ext=cpp
44053 ac_cpp='$CXXCPP $CPPFLAGS'
44054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44059 /* end confdefs.h. */
44060 #include <math.h>
44062 main ()
44064 modfl(0, 0);
44066 return 0;
44068 _ACEOF
44069 if ac_fn_cxx_try_compile "$LINENO"; then :
44070 glibcxx_cv_func_modfl_use=yes
44071 else
44072 glibcxx_cv_func_modfl_use=no
44074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44075 ac_ext=c
44076 ac_cpp='$CPP $CPPFLAGS'
44077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44086 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44088 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44089 for ac_func in modfl
44090 do :
44091 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44092 if test "x$ac_cv_func_modfl" = x""yes; then :
44093 cat >>confdefs.h <<_ACEOF
44094 #define HAVE_MODFL 1
44095 _ACEOF
44098 done
44100 else
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44103 $as_echo_n "checking for _modfl declaration... " >&6; }
44104 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44105 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44106 $as_echo_n "(cached) " >&6
44107 else
44110 ac_ext=cpp
44111 ac_cpp='$CXXCPP $CPPFLAGS'
44112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44117 /* end confdefs.h. */
44118 #include <math.h>
44120 main ()
44122 _modfl(0, 0);
44124 return 0;
44126 _ACEOF
44127 if ac_fn_cxx_try_compile "$LINENO"; then :
44128 glibcxx_cv_func__modfl_use=yes
44129 else
44130 glibcxx_cv_func__modfl_use=no
44132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44133 ac_ext=c
44134 ac_cpp='$CPP $CPPFLAGS'
44135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44144 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44146 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44147 for ac_func in _modfl
44148 do :
44149 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44150 if test "x$ac_cv_func__modfl" = x""yes; then :
44151 cat >>confdefs.h <<_ACEOF
44152 #define HAVE__MODFL 1
44153 _ACEOF
44156 done
44165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44166 $as_echo_n "checking for powl declaration... " >&6; }
44167 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44168 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44169 $as_echo_n "(cached) " >&6
44170 else
44173 ac_ext=cpp
44174 ac_cpp='$CXXCPP $CPPFLAGS'
44175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44180 /* end confdefs.h. */
44181 #include <math.h>
44183 main ()
44185 powl(0, 0);
44187 return 0;
44189 _ACEOF
44190 if ac_fn_cxx_try_compile "$LINENO"; then :
44191 glibcxx_cv_func_powl_use=yes
44192 else
44193 glibcxx_cv_func_powl_use=no
44195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44196 ac_ext=c
44197 ac_cpp='$CPP $CPPFLAGS'
44198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44207 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44209 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44210 for ac_func in powl
44211 do :
44212 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44213 if test "x$ac_cv_func_powl" = x""yes; then :
44214 cat >>confdefs.h <<_ACEOF
44215 #define HAVE_POWL 1
44216 _ACEOF
44219 done
44221 else
44223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44224 $as_echo_n "checking for _powl declaration... " >&6; }
44225 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44226 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44227 $as_echo_n "(cached) " >&6
44228 else
44231 ac_ext=cpp
44232 ac_cpp='$CXXCPP $CPPFLAGS'
44233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44238 /* end confdefs.h. */
44239 #include <math.h>
44241 main ()
44243 _powl(0, 0);
44245 return 0;
44247 _ACEOF
44248 if ac_fn_cxx_try_compile "$LINENO"; then :
44249 glibcxx_cv_func__powl_use=yes
44250 else
44251 glibcxx_cv_func__powl_use=no
44253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44254 ac_ext=c
44255 ac_cpp='$CPP $CPPFLAGS'
44256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44265 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44267 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44268 for ac_func in _powl
44269 do :
44270 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44271 if test "x$ac_cv_func__powl" = x""yes; then :
44272 cat >>confdefs.h <<_ACEOF
44273 #define HAVE__POWL 1
44274 _ACEOF
44277 done
44286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44287 $as_echo_n "checking for sqrtl declaration... " >&6; }
44288 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44289 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44290 $as_echo_n "(cached) " >&6
44291 else
44294 ac_ext=cpp
44295 ac_cpp='$CXXCPP $CPPFLAGS'
44296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44301 /* end confdefs.h. */
44302 #include <math.h>
44303 #ifdef HAVE_IEEEFP_H
44304 #include <ieeefp.h>
44305 #endif
44308 main ()
44310 sqrtl(0);
44312 return 0;
44314 _ACEOF
44315 if ac_fn_cxx_try_compile "$LINENO"; then :
44316 glibcxx_cv_func_sqrtl_use=yes
44317 else
44318 glibcxx_cv_func_sqrtl_use=no
44320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44321 ac_ext=c
44322 ac_cpp='$CPP $CPPFLAGS'
44323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44332 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44334 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44335 for ac_func in sqrtl
44336 do :
44337 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44338 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44339 cat >>confdefs.h <<_ACEOF
44340 #define HAVE_SQRTL 1
44341 _ACEOF
44344 done
44346 else
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44349 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44350 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44351 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44352 $as_echo_n "(cached) " >&6
44353 else
44356 ac_ext=cpp
44357 ac_cpp='$CXXCPP $CPPFLAGS'
44358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44363 /* end confdefs.h. */
44364 #include <math.h>
44365 #ifdef HAVE_IEEEFP_H
44366 #include <ieeefp.h>
44367 #endif
44370 main ()
44372 _sqrtl(0);
44374 return 0;
44376 _ACEOF
44377 if ac_fn_cxx_try_compile "$LINENO"; then :
44378 glibcxx_cv_func__sqrtl_use=yes
44379 else
44380 glibcxx_cv_func__sqrtl_use=no
44382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44383 ac_ext=c
44384 ac_cpp='$CPP $CPPFLAGS'
44385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44394 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44396 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44397 for ac_func in _sqrtl
44398 do :
44399 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44400 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44401 cat >>confdefs.h <<_ACEOF
44402 #define HAVE__SQRTL 1
44403 _ACEOF
44406 done
44415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44416 $as_echo_n "checking for sincosl declaration... " >&6; }
44417 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44418 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44419 $as_echo_n "(cached) " >&6
44420 else
44423 ac_ext=cpp
44424 ac_cpp='$CXXCPP $CPPFLAGS'
44425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44430 /* end confdefs.h. */
44431 #include <math.h>
44433 main ()
44435 sincosl(0, 0, 0);
44437 return 0;
44439 _ACEOF
44440 if ac_fn_cxx_try_compile "$LINENO"; then :
44441 glibcxx_cv_func_sincosl_use=yes
44442 else
44443 glibcxx_cv_func_sincosl_use=no
44445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44446 ac_ext=c
44447 ac_cpp='$CPP $CPPFLAGS'
44448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44457 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44459 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44460 for ac_func in sincosl
44461 do :
44462 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44463 if test "x$ac_cv_func_sincosl" = x""yes; then :
44464 cat >>confdefs.h <<_ACEOF
44465 #define HAVE_SINCOSL 1
44466 _ACEOF
44469 done
44471 else
44473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44474 $as_echo_n "checking for _sincosl declaration... " >&6; }
44475 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44476 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44477 $as_echo_n "(cached) " >&6
44478 else
44481 ac_ext=cpp
44482 ac_cpp='$CXXCPP $CPPFLAGS'
44483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44488 /* end confdefs.h. */
44489 #include <math.h>
44491 main ()
44493 _sincosl(0, 0, 0);
44495 return 0;
44497 _ACEOF
44498 if ac_fn_cxx_try_compile "$LINENO"; then :
44499 glibcxx_cv_func__sincosl_use=yes
44500 else
44501 glibcxx_cv_func__sincosl_use=no
44503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44504 ac_ext=c
44505 ac_cpp='$CPP $CPPFLAGS'
44506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44515 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44517 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44518 for ac_func in _sincosl
44519 do :
44520 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44521 if test "x$ac_cv_func__sincosl" = x""yes; then :
44522 cat >>confdefs.h <<_ACEOF
44523 #define HAVE__SINCOSL 1
44524 _ACEOF
44527 done
44536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44537 $as_echo_n "checking for finitel declaration... " >&6; }
44538 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44539 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44540 $as_echo_n "(cached) " >&6
44541 else
44544 ac_ext=cpp
44545 ac_cpp='$CXXCPP $CPPFLAGS'
44546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44551 /* end confdefs.h. */
44552 #include <math.h>
44553 #ifdef HAVE_IEEEFP_H
44554 #include <ieeefp.h>
44555 #endif
44558 main ()
44560 finitel(0);
44562 return 0;
44564 _ACEOF
44565 if ac_fn_cxx_try_compile "$LINENO"; then :
44566 glibcxx_cv_func_finitel_use=yes
44567 else
44568 glibcxx_cv_func_finitel_use=no
44570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44571 ac_ext=c
44572 ac_cpp='$CPP $CPPFLAGS'
44573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44582 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44584 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44585 for ac_func in finitel
44586 do :
44587 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44588 if test "x$ac_cv_func_finitel" = x""yes; then :
44589 cat >>confdefs.h <<_ACEOF
44590 #define HAVE_FINITEL 1
44591 _ACEOF
44594 done
44596 else
44598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44599 $as_echo_n "checking for _finitel declaration... " >&6; }
44600 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44601 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44602 $as_echo_n "(cached) " >&6
44603 else
44606 ac_ext=cpp
44607 ac_cpp='$CXXCPP $CPPFLAGS'
44608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44613 /* end confdefs.h. */
44614 #include <math.h>
44615 #ifdef HAVE_IEEEFP_H
44616 #include <ieeefp.h>
44617 #endif
44620 main ()
44622 _finitel(0);
44624 return 0;
44626 _ACEOF
44627 if ac_fn_cxx_try_compile "$LINENO"; then :
44628 glibcxx_cv_func__finitel_use=yes
44629 else
44630 glibcxx_cv_func__finitel_use=no
44632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44633 ac_ext=c
44634 ac_cpp='$CPP $CPPFLAGS'
44635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44644 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44646 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44647 for ac_func in _finitel
44648 do :
44649 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44650 if test "x$ac_cv_func__finitel" = x""yes; then :
44651 cat >>confdefs.h <<_ACEOF
44652 #define HAVE__FINITEL 1
44653 _ACEOF
44656 done
44664 LIBS="$ac_save_LIBS"
44665 CXXFLAGS="$ac_save_CXXFLAGS"
44668 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44669 ac_save_CXXFLAGS="$CXXFLAGS"
44670 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44674 $as_echo_n "checking for strtold declaration... " >&6; }
44675 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44676 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44677 $as_echo_n "(cached) " >&6
44678 else
44681 ac_ext=cpp
44682 ac_cpp='$CXXCPP $CPPFLAGS'
44683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44688 /* end confdefs.h. */
44689 #include <stdlib.h>
44691 main ()
44693 strtold(0, 0);
44695 return 0;
44697 _ACEOF
44698 if ac_fn_cxx_try_compile "$LINENO"; then :
44699 glibcxx_cv_func_strtold_use=yes
44700 else
44701 glibcxx_cv_func_strtold_use=no
44703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44704 ac_ext=c
44705 ac_cpp='$CPP $CPPFLAGS'
44706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44715 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44716 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44717 for ac_func in strtold
44718 do :
44719 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44720 if test "x$ac_cv_func_strtold" = x""yes; then :
44721 cat >>confdefs.h <<_ACEOF
44722 #define HAVE_STRTOLD 1
44723 _ACEOF
44726 done
44733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44734 $as_echo_n "checking for strtof declaration... " >&6; }
44735 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44736 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44737 $as_echo_n "(cached) " >&6
44738 else
44741 ac_ext=cpp
44742 ac_cpp='$CXXCPP $CPPFLAGS'
44743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44748 /* end confdefs.h. */
44749 #include <stdlib.h>
44751 main ()
44753 strtof(0, 0);
44755 return 0;
44757 _ACEOF
44758 if ac_fn_cxx_try_compile "$LINENO"; then :
44759 glibcxx_cv_func_strtof_use=yes
44760 else
44761 glibcxx_cv_func_strtof_use=no
44763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44764 ac_ext=c
44765 ac_cpp='$CPP $CPPFLAGS'
44766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44775 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44776 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44777 for ac_func in strtof
44778 do :
44779 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44780 if test "x$ac_cv_func_strtof" = x""yes; then :
44781 cat >>confdefs.h <<_ACEOF
44782 #define HAVE_STRTOF 1
44783 _ACEOF
44786 done
44793 CXXFLAGS="$ac_save_CXXFLAGS"
44797 *djgpp)
44798 # GLIBCXX_CHECK_MATH_SUPPORT
44799 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44801 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44803 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44805 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44807 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44811 *-freebsd*)
44812 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44815 # If we're not using GNU ld, then there's no point in even trying these
44816 # tests. Check for that first. We should have already tested for gld
44817 # by now (in libtool), but require it now just to be safe...
44818 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44819 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44823 # The name set by libtool depends on the version of libtool. Shame on us
44824 # for depending on an impl detail, but c'est la vie. Older versions used
44825 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44826 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44827 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44828 # set (hence we're using an older libtool), then set it.
44829 if test x${with_gnu_ld+set} != xset; then
44830 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44831 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44832 with_gnu_ld=no
44833 else
44834 with_gnu_ld=$ac_cv_prog_gnu_ld
44838 # Start by getting the version number. I think the libtool test already
44839 # does some of this, but throws away the result.
44840 glibcxx_ld_is_gold=no
44841 if test x"$with_gnu_ld" = x"yes"; then
44842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44843 $as_echo_n "checking for ld version... " >&6; }
44845 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44846 glibcxx_ld_is_gold=yes
44848 ldver=`$LD --version 2>/dev/null |
44849 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'`
44851 glibcxx_gnu_ld_version=`echo $ldver | \
44852 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44854 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44857 # Set --gc-sections.
44858 glibcxx_have_gc_sections=no
44859 if test "$glibcxx_ld_is_gold" = "yes"; then
44860 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44861 glibcxx_have_gc_sections=yes
44863 else
44864 glibcxx_gcsections_min_ld=21602
44865 if test x"$with_gnu_ld" = x"yes" &&
44866 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44867 glibcxx_have_gc_sections=yes
44870 if test "$glibcxx_have_gc_sections" = "yes"; then
44871 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44872 # NB: This flag only works reliably after 2.16.1. Configure tests
44873 # for this are difficult, so hard wire a value that should work.
44875 ac_test_CFLAGS="${CFLAGS+set}"
44876 ac_save_CFLAGS="$CFLAGS"
44877 CFLAGS='-Wl,--gc-sections'
44879 # Check for -Wl,--gc-sections
44880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44881 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44882 if test x$gcc_no_link = xyes; then
44883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44886 /* end confdefs.h. */
44887 int one(void) { return 1; }
44888 int two(void) { return 2; }
44891 main ()
44893 two();
44895 return 0;
44897 _ACEOF
44898 if ac_fn_c_try_link "$LINENO"; then :
44899 ac_gcsections=yes
44900 else
44901 ac_gcsections=no
44903 rm -f core conftest.err conftest.$ac_objext \
44904 conftest$ac_exeext conftest.$ac_ext
44905 if test "$ac_gcsections" = "yes"; then
44906 rm -f conftest.c
44907 touch conftest.c
44908 if $CC -c conftest.c; then
44909 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44910 grep "Warning: gc-sections option ignored" > /dev/null; then
44911 ac_gcsections=no
44914 rm -f conftest.c conftest.o conftest
44916 if test "$ac_gcsections" = "yes"; then
44917 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44920 $as_echo "$ac_gcsections" >&6; }
44922 if test "$ac_test_CFLAGS" = set; then
44923 CFLAGS="$ac_save_CFLAGS"
44924 else
44925 # this is the suspicious part
44926 CFLAGS=''
44930 # Set -z,relro.
44931 # Note this is only for shared objects.
44932 ac_ld_relro=no
44933 if test x"$with_gnu_ld" = x"yes"; then
44934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44935 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44936 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44937 if test -n "$cxx_z_relo"; then
44938 OPT_LDFLAGS="-Wl,-z,relro"
44939 ac_ld_relro=yes
44941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44942 $as_echo "$ac_ld_relro" >&6; }
44945 # Set linker optimization flags.
44946 if test x"$with_gnu_ld" = x"yes"; then
44947 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44953 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44955 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44957 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44959 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44961 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44963 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44965 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44967 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44969 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44972 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44974 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44976 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44978 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44980 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44982 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44984 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44986 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44988 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44990 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44992 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44994 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44996 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44998 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45000 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45002 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45004 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45006 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45008 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45010 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45012 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45014 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45016 if test x"long_double_math_on_this_cpu" = x"yes"; then
45017 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45019 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45021 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45025 *-hpux*)
45026 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45029 # If we're not using GNU ld, then there's no point in even trying these
45030 # tests. Check for that first. We should have already tested for gld
45031 # by now (in libtool), but require it now just to be safe...
45032 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45033 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45037 # The name set by libtool depends on the version of libtool. Shame on us
45038 # for depending on an impl detail, but c'est la vie. Older versions used
45039 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45040 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45041 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45042 # set (hence we're using an older libtool), then set it.
45043 if test x${with_gnu_ld+set} != xset; then
45044 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45045 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45046 with_gnu_ld=no
45047 else
45048 with_gnu_ld=$ac_cv_prog_gnu_ld
45052 # Start by getting the version number. I think the libtool test already
45053 # does some of this, but throws away the result.
45054 glibcxx_ld_is_gold=no
45055 if test x"$with_gnu_ld" = x"yes"; then
45056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45057 $as_echo_n "checking for ld version... " >&6; }
45059 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45060 glibcxx_ld_is_gold=yes
45062 ldver=`$LD --version 2>/dev/null |
45063 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'`
45065 glibcxx_gnu_ld_version=`echo $ldver | \
45066 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45068 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45071 # Set --gc-sections.
45072 glibcxx_have_gc_sections=no
45073 if test "$glibcxx_ld_is_gold" = "yes"; then
45074 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45075 glibcxx_have_gc_sections=yes
45077 else
45078 glibcxx_gcsections_min_ld=21602
45079 if test x"$with_gnu_ld" = x"yes" &&
45080 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45081 glibcxx_have_gc_sections=yes
45084 if test "$glibcxx_have_gc_sections" = "yes"; then
45085 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45086 # NB: This flag only works reliably after 2.16.1. Configure tests
45087 # for this are difficult, so hard wire a value that should work.
45089 ac_test_CFLAGS="${CFLAGS+set}"
45090 ac_save_CFLAGS="$CFLAGS"
45091 CFLAGS='-Wl,--gc-sections'
45093 # Check for -Wl,--gc-sections
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45095 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45096 if test x$gcc_no_link = xyes; then
45097 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45100 /* end confdefs.h. */
45101 int one(void) { return 1; }
45102 int two(void) { return 2; }
45105 main ()
45107 two();
45109 return 0;
45111 _ACEOF
45112 if ac_fn_c_try_link "$LINENO"; then :
45113 ac_gcsections=yes
45114 else
45115 ac_gcsections=no
45117 rm -f core conftest.err conftest.$ac_objext \
45118 conftest$ac_exeext conftest.$ac_ext
45119 if test "$ac_gcsections" = "yes"; then
45120 rm -f conftest.c
45121 touch conftest.c
45122 if $CC -c conftest.c; then
45123 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45124 grep "Warning: gc-sections option ignored" > /dev/null; then
45125 ac_gcsections=no
45128 rm -f conftest.c conftest.o conftest
45130 if test "$ac_gcsections" = "yes"; then
45131 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45134 $as_echo "$ac_gcsections" >&6; }
45136 if test "$ac_test_CFLAGS" = set; then
45137 CFLAGS="$ac_save_CFLAGS"
45138 else
45139 # this is the suspicious part
45140 CFLAGS=''
45144 # Set -z,relro.
45145 # Note this is only for shared objects.
45146 ac_ld_relro=no
45147 if test x"$with_gnu_ld" = x"yes"; then
45148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45149 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45150 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45151 if test -n "$cxx_z_relo"; then
45152 OPT_LDFLAGS="-Wl,-z,relro"
45153 ac_ld_relro=yes
45155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45156 $as_echo "$ac_ld_relro" >&6; }
45159 # Set linker optimization flags.
45160 if test x"$with_gnu_ld" = x"yes"; then
45161 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45168 # GLIBCXX_CHECK_MATH_SUPPORT
45169 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45171 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45173 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45175 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45177 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45179 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45181 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45183 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45185 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45187 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45189 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45191 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45193 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45195 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45197 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45199 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45201 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45203 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45205 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45207 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45209 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45212 # GLIBCXX_CHECK_STDLIB_SUPPORT
45213 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45218 # Check whether --enable-tls was given.
45219 if test "${enable_tls+set}" = set; then :
45220 enableval=$enable_tls;
45221 case "$enableval" in
45222 yes|no) ;;
45223 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45224 esac
45226 else
45227 enable_tls=yes
45231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45232 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45233 if test "${gcc_cv_have_tls+set}" = set; then :
45234 $as_echo_n "(cached) " >&6
45235 else
45237 if test "$cross_compiling" = yes; then :
45238 if test x$gcc_no_link = xyes; then
45239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45242 /* end confdefs.h. */
45243 __thread int a; int b; int main() { return a = b; }
45244 _ACEOF
45245 if ac_fn_c_try_link "$LINENO"; then :
45246 chktls_save_LDFLAGS="$LDFLAGS"
45247 case $host in
45248 *-*-linux*)
45249 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45251 esac
45252 chktls_save_CFLAGS="$CFLAGS"
45253 CFLAGS="-fPIC $CFLAGS"
45254 if test x$gcc_no_link = xyes; then
45255 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45258 /* end confdefs.h. */
45259 int f() { return 0; }
45260 _ACEOF
45261 if ac_fn_c_try_link "$LINENO"; then :
45262 if test x$gcc_no_link = xyes; then
45263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45266 /* end confdefs.h. */
45267 __thread int a; int b; int f() { return a = b; }
45268 _ACEOF
45269 if ac_fn_c_try_link "$LINENO"; then :
45270 gcc_cv_have_tls=yes
45271 else
45272 gcc_cv_have_tls=no
45274 rm -f core conftest.err conftest.$ac_objext \
45275 conftest$ac_exeext conftest.$ac_ext
45276 else
45277 gcc_cv_have_tls=yes
45279 rm -f core conftest.err conftest.$ac_objext \
45280 conftest$ac_exeext conftest.$ac_ext
45281 CFLAGS="$chktls_save_CFLAGS"
45282 LDFLAGS="$chktls_save_LDFLAGS"
45283 else
45284 gcc_cv_have_tls=no
45286 rm -f core conftest.err conftest.$ac_objext \
45287 conftest$ac_exeext conftest.$ac_ext
45290 else
45291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45292 /* end confdefs.h. */
45293 __thread int a; int b; int main() { return a = b; }
45294 _ACEOF
45295 if ac_fn_c_try_run "$LINENO"; then :
45296 chktls_save_LDFLAGS="$LDFLAGS"
45297 LDFLAGS="-static $LDFLAGS"
45298 if test x$gcc_no_link = xyes; then
45299 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45302 /* end confdefs.h. */
45303 int main() { return 0; }
45304 _ACEOF
45305 if ac_fn_c_try_link "$LINENO"; then :
45306 if test "$cross_compiling" = yes; then :
45307 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45309 as_fn_error "cannot run test program while cross compiling
45310 See \`config.log' for more details." "$LINENO" 5; }
45311 else
45312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45313 /* end confdefs.h. */
45314 __thread int a; int b; int main() { return a = b; }
45315 _ACEOF
45316 if ac_fn_c_try_run "$LINENO"; then :
45317 gcc_cv_have_tls=yes
45318 else
45319 gcc_cv_have_tls=no
45321 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45322 conftest.$ac_objext conftest.beam conftest.$ac_ext
45325 else
45326 gcc_cv_have_tls=yes
45328 rm -f core conftest.err conftest.$ac_objext \
45329 conftest$ac_exeext conftest.$ac_ext
45330 LDFLAGS="$chktls_save_LDFLAGS"
45331 if test $gcc_cv_have_tls = yes; then
45332 chktls_save_CFLAGS="$CFLAGS"
45333 thread_CFLAGS=failed
45334 for flag in '' '-pthread' '-lpthread'; do
45335 CFLAGS="$flag $chktls_save_CFLAGS"
45336 if test x$gcc_no_link = xyes; then
45337 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45340 /* end confdefs.h. */
45341 #include <pthread.h>
45342 void *g(void *d) { return NULL; }
45344 main ()
45346 pthread_t t; pthread_create(&t,NULL,g,NULL);
45348 return 0;
45350 _ACEOF
45351 if ac_fn_c_try_link "$LINENO"; then :
45352 thread_CFLAGS="$flag"
45354 rm -f core conftest.err conftest.$ac_objext \
45355 conftest$ac_exeext conftest.$ac_ext
45356 if test "X$thread_CFLAGS" != Xfailed; then
45357 break
45359 done
45360 CFLAGS="$chktls_save_CFLAGS"
45361 if test "X$thread_CFLAGS" != Xfailed; then
45362 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45363 if test "$cross_compiling" = yes; then :
45364 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45366 as_fn_error "cannot run test program while cross compiling
45367 See \`config.log' for more details." "$LINENO" 5; }
45368 else
45369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45370 /* end confdefs.h. */
45371 #include <pthread.h>
45372 __thread int a;
45373 static int *volatile a_in_other_thread;
45374 static void *
45375 thread_func (void *arg)
45377 a_in_other_thread = &a;
45378 return (void *)0;
45381 main ()
45383 pthread_t thread;
45384 void *thread_retval;
45385 int *volatile a_in_main_thread;
45386 a_in_main_thread = &a;
45387 if (pthread_create (&thread, (pthread_attr_t *)0,
45388 thread_func, (void *)0))
45389 return 0;
45390 if (pthread_join (thread, &thread_retval))
45391 return 0;
45392 return (a_in_other_thread == a_in_main_thread);
45394 return 0;
45396 _ACEOF
45397 if ac_fn_c_try_run "$LINENO"; then :
45398 gcc_cv_have_tls=yes
45399 else
45400 gcc_cv_have_tls=no
45402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45403 conftest.$ac_objext conftest.beam conftest.$ac_ext
45406 CFLAGS="$chktls_save_CFLAGS"
45409 else
45410 gcc_cv_have_tls=no
45412 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45413 conftest.$ac_objext conftest.beam conftest.$ac_ext
45417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45418 $as_echo "$gcc_cv_have_tls" >&6; }
45419 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45421 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45424 case "$target" in
45425 *-hpux10*)
45426 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45428 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45430 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45432 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45434 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45437 esac
45439 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45441 # All these tests are for C++; save the language and the compiler flags.
45442 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45443 # found in GLIBCXX_CONFIGURE.
45445 ac_ext=cpp
45446 ac_cpp='$CXXCPP $CPPFLAGS'
45447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45451 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45452 ac_save_CXXFLAGS="$CXXFLAGS"
45454 # Check for maintainer-mode bits.
45455 if test x"$USE_MAINTAINER_MODE" = xno; then
45456 WERROR=''
45457 else
45458 WERROR='-Werror'
45461 # Check for -ffunction-sections -fdata-sections
45462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45463 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45464 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45466 /* end confdefs.h. */
45467 int foo; void bar() { };
45469 main ()
45473 return 0;
45475 _ACEOF
45476 if ac_fn_cxx_try_compile "$LINENO"; then :
45477 ac_fdsections=yes
45478 else
45479 ac_fdsections=no
45481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45482 if test "$ac_test_CXXFLAGS" = set; then
45483 CXXFLAGS="$ac_save_CXXFLAGS"
45484 else
45485 # this is the suspicious part
45486 CXXFLAGS=''
45488 if test x"$ac_fdsections" = x"yes"; then
45489 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45492 $as_echo "$ac_fdsections" >&6; }
45494 ac_ext=c
45495 ac_cpp='$CPP $CPPFLAGS'
45496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45504 # If we're not using GNU ld, then there's no point in even trying these
45505 # tests. Check for that first. We should have already tested for gld
45506 # by now (in libtool), but require it now just to be safe...
45507 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45508 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45512 # The name set by libtool depends on the version of libtool. Shame on us
45513 # for depending on an impl detail, but c'est la vie. Older versions used
45514 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45515 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45516 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45517 # set (hence we're using an older libtool), then set it.
45518 if test x${with_gnu_ld+set} != xset; then
45519 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45520 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45521 with_gnu_ld=no
45522 else
45523 with_gnu_ld=$ac_cv_prog_gnu_ld
45527 # Start by getting the version number. I think the libtool test already
45528 # does some of this, but throws away the result.
45529 glibcxx_ld_is_gold=no
45530 if test x"$with_gnu_ld" = x"yes"; then
45531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45532 $as_echo_n "checking for ld version... " >&6; }
45534 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45535 glibcxx_ld_is_gold=yes
45537 ldver=`$LD --version 2>/dev/null |
45538 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'`
45540 glibcxx_gnu_ld_version=`echo $ldver | \
45541 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45543 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45546 # Set --gc-sections.
45547 glibcxx_have_gc_sections=no
45548 if test "$glibcxx_ld_is_gold" = "yes"; then
45549 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45550 glibcxx_have_gc_sections=yes
45552 else
45553 glibcxx_gcsections_min_ld=21602
45554 if test x"$with_gnu_ld" = x"yes" &&
45555 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45556 glibcxx_have_gc_sections=yes
45559 if test "$glibcxx_have_gc_sections" = "yes"; then
45560 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45561 # NB: This flag only works reliably after 2.16.1. Configure tests
45562 # for this are difficult, so hard wire a value that should work.
45564 ac_test_CFLAGS="${CFLAGS+set}"
45565 ac_save_CFLAGS="$CFLAGS"
45566 CFLAGS='-Wl,--gc-sections'
45568 # Check for -Wl,--gc-sections
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45570 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45571 if test x$gcc_no_link = xyes; then
45572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45575 /* end confdefs.h. */
45576 int one(void) { return 1; }
45577 int two(void) { return 2; }
45580 main ()
45582 two();
45584 return 0;
45586 _ACEOF
45587 if ac_fn_c_try_link "$LINENO"; then :
45588 ac_gcsections=yes
45589 else
45590 ac_gcsections=no
45592 rm -f core conftest.err conftest.$ac_objext \
45593 conftest$ac_exeext conftest.$ac_ext
45594 if test "$ac_gcsections" = "yes"; then
45595 rm -f conftest.c
45596 touch conftest.c
45597 if $CC -c conftest.c; then
45598 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45599 grep "Warning: gc-sections option ignored" > /dev/null; then
45600 ac_gcsections=no
45603 rm -f conftest.c conftest.o conftest
45605 if test "$ac_gcsections" = "yes"; then
45606 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45609 $as_echo "$ac_gcsections" >&6; }
45611 if test "$ac_test_CFLAGS" = set; then
45612 CFLAGS="$ac_save_CFLAGS"
45613 else
45614 # this is the suspicious part
45615 CFLAGS=''
45619 # Set -z,relro.
45620 # Note this is only for shared objects.
45621 ac_ld_relro=no
45622 if test x"$with_gnu_ld" = x"yes"; then
45623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45624 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45625 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45626 if test -n "$cxx_z_relo"; then
45627 OPT_LDFLAGS="-Wl,-z,relro"
45628 ac_ld_relro=yes
45630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45631 $as_echo "$ac_ld_relro" >&6; }
45634 # Set linker optimization flags.
45635 if test x"$with_gnu_ld" = x"yes"; then
45636 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45644 ac_save_CXXFLAGS="$CXXFLAGS"
45645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45648 $as_echo_n "checking for sin in -lm... " >&6; }
45649 if test "${ac_cv_lib_m_sin+set}" = set; then :
45650 $as_echo_n "(cached) " >&6
45651 else
45652 ac_check_lib_save_LIBS=$LIBS
45653 LIBS="-lm $LIBS"
45654 if test x$gcc_no_link = xyes; then
45655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45658 /* end confdefs.h. */
45660 /* Override any GCC internal prototype to avoid an error.
45661 Use char because int might match the return type of a GCC
45662 builtin and then its argument prototype would still apply. */
45663 #ifdef __cplusplus
45664 extern "C"
45665 #endif
45666 char sin ();
45668 main ()
45670 return sin ();
45672 return 0;
45674 _ACEOF
45675 if ac_fn_c_try_link "$LINENO"; then :
45676 ac_cv_lib_m_sin=yes
45677 else
45678 ac_cv_lib_m_sin=no
45680 rm -f core conftest.err conftest.$ac_objext \
45681 conftest$ac_exeext conftest.$ac_ext
45682 LIBS=$ac_check_lib_save_LIBS
45684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45685 $as_echo "$ac_cv_lib_m_sin" >&6; }
45686 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45687 libm="-lm"
45690 ac_save_LIBS="$LIBS"
45691 LIBS="$LIBS $libm"
45695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45696 $as_echo_n "checking for isinf declaration... " >&6; }
45697 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45698 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45699 $as_echo_n "(cached) " >&6
45700 else
45703 ac_ext=cpp
45704 ac_cpp='$CXXCPP $CPPFLAGS'
45705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45710 /* end confdefs.h. */
45711 #include <math.h>
45712 #ifdef HAVE_IEEEFP_H
45713 #include <ieeefp.h>
45714 #endif
45717 main ()
45719 isinf(0);
45721 return 0;
45723 _ACEOF
45724 if ac_fn_cxx_try_compile "$LINENO"; then :
45725 glibcxx_cv_func_isinf_use=yes
45726 else
45727 glibcxx_cv_func_isinf_use=no
45729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45730 ac_ext=c
45731 ac_cpp='$CPP $CPPFLAGS'
45732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45741 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45743 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45744 for ac_func in isinf
45745 do :
45746 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45747 if test "x$ac_cv_func_isinf" = x""yes; then :
45748 cat >>confdefs.h <<_ACEOF
45749 #define HAVE_ISINF 1
45750 _ACEOF
45753 done
45755 else
45757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45758 $as_echo_n "checking for _isinf declaration... " >&6; }
45759 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45760 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45761 $as_echo_n "(cached) " >&6
45762 else
45765 ac_ext=cpp
45766 ac_cpp='$CXXCPP $CPPFLAGS'
45767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45772 /* end confdefs.h. */
45773 #include <math.h>
45774 #ifdef HAVE_IEEEFP_H
45775 #include <ieeefp.h>
45776 #endif
45779 main ()
45781 _isinf(0);
45783 return 0;
45785 _ACEOF
45786 if ac_fn_cxx_try_compile "$LINENO"; then :
45787 glibcxx_cv_func__isinf_use=yes
45788 else
45789 glibcxx_cv_func__isinf_use=no
45791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45792 ac_ext=c
45793 ac_cpp='$CPP $CPPFLAGS'
45794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45803 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45805 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45806 for ac_func in _isinf
45807 do :
45808 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45809 if test "x$ac_cv_func__isinf" = x""yes; then :
45810 cat >>confdefs.h <<_ACEOF
45811 #define HAVE__ISINF 1
45812 _ACEOF
45815 done
45824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45825 $as_echo_n "checking for isnan declaration... " >&6; }
45826 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45827 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45828 $as_echo_n "(cached) " >&6
45829 else
45832 ac_ext=cpp
45833 ac_cpp='$CXXCPP $CPPFLAGS'
45834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45839 /* end confdefs.h. */
45840 #include <math.h>
45841 #ifdef HAVE_IEEEFP_H
45842 #include <ieeefp.h>
45843 #endif
45846 main ()
45848 isnan(0);
45850 return 0;
45852 _ACEOF
45853 if ac_fn_cxx_try_compile "$LINENO"; then :
45854 glibcxx_cv_func_isnan_use=yes
45855 else
45856 glibcxx_cv_func_isnan_use=no
45858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45859 ac_ext=c
45860 ac_cpp='$CPP $CPPFLAGS'
45861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45870 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45872 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45873 for ac_func in isnan
45874 do :
45875 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45876 if test "x$ac_cv_func_isnan" = x""yes; then :
45877 cat >>confdefs.h <<_ACEOF
45878 #define HAVE_ISNAN 1
45879 _ACEOF
45882 done
45884 else
45886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45887 $as_echo_n "checking for _isnan declaration... " >&6; }
45888 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45889 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45890 $as_echo_n "(cached) " >&6
45891 else
45894 ac_ext=cpp
45895 ac_cpp='$CXXCPP $CPPFLAGS'
45896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45901 /* end confdefs.h. */
45902 #include <math.h>
45903 #ifdef HAVE_IEEEFP_H
45904 #include <ieeefp.h>
45905 #endif
45908 main ()
45910 _isnan(0);
45912 return 0;
45914 _ACEOF
45915 if ac_fn_cxx_try_compile "$LINENO"; then :
45916 glibcxx_cv_func__isnan_use=yes
45917 else
45918 glibcxx_cv_func__isnan_use=no
45920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45921 ac_ext=c
45922 ac_cpp='$CPP $CPPFLAGS'
45923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45932 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45934 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45935 for ac_func in _isnan
45936 do :
45937 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45938 if test "x$ac_cv_func__isnan" = x""yes; then :
45939 cat >>confdefs.h <<_ACEOF
45940 #define HAVE__ISNAN 1
45941 _ACEOF
45944 done
45953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45954 $as_echo_n "checking for finite declaration... " >&6; }
45955 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45956 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45957 $as_echo_n "(cached) " >&6
45958 else
45961 ac_ext=cpp
45962 ac_cpp='$CXXCPP $CPPFLAGS'
45963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45968 /* end confdefs.h. */
45969 #include <math.h>
45970 #ifdef HAVE_IEEEFP_H
45971 #include <ieeefp.h>
45972 #endif
45975 main ()
45977 finite(0);
45979 return 0;
45981 _ACEOF
45982 if ac_fn_cxx_try_compile "$LINENO"; then :
45983 glibcxx_cv_func_finite_use=yes
45984 else
45985 glibcxx_cv_func_finite_use=no
45987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45988 ac_ext=c
45989 ac_cpp='$CPP $CPPFLAGS'
45990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45999 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46001 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46002 for ac_func in finite
46003 do :
46004 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46005 if test "x$ac_cv_func_finite" = x""yes; then :
46006 cat >>confdefs.h <<_ACEOF
46007 #define HAVE_FINITE 1
46008 _ACEOF
46011 done
46013 else
46015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46016 $as_echo_n "checking for _finite declaration... " >&6; }
46017 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46018 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46019 $as_echo_n "(cached) " >&6
46020 else
46023 ac_ext=cpp
46024 ac_cpp='$CXXCPP $CPPFLAGS'
46025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46030 /* end confdefs.h. */
46031 #include <math.h>
46032 #ifdef HAVE_IEEEFP_H
46033 #include <ieeefp.h>
46034 #endif
46037 main ()
46039 _finite(0);
46041 return 0;
46043 _ACEOF
46044 if ac_fn_cxx_try_compile "$LINENO"; then :
46045 glibcxx_cv_func__finite_use=yes
46046 else
46047 glibcxx_cv_func__finite_use=no
46049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46050 ac_ext=c
46051 ac_cpp='$CPP $CPPFLAGS'
46052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46061 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46063 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46064 for ac_func in _finite
46065 do :
46066 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46067 if test "x$ac_cv_func__finite" = x""yes; then :
46068 cat >>confdefs.h <<_ACEOF
46069 #define HAVE__FINITE 1
46070 _ACEOF
46073 done
46082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46083 $as_echo_n "checking for sincos declaration... " >&6; }
46084 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46085 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46086 $as_echo_n "(cached) " >&6
46087 else
46090 ac_ext=cpp
46091 ac_cpp='$CXXCPP $CPPFLAGS'
46092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46097 /* end confdefs.h. */
46098 #include <math.h>
46100 main ()
46102 sincos(0, 0, 0);
46104 return 0;
46106 _ACEOF
46107 if ac_fn_cxx_try_compile "$LINENO"; then :
46108 glibcxx_cv_func_sincos_use=yes
46109 else
46110 glibcxx_cv_func_sincos_use=no
46112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46113 ac_ext=c
46114 ac_cpp='$CPP $CPPFLAGS'
46115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46124 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46126 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46127 for ac_func in sincos
46128 do :
46129 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46130 if test "x$ac_cv_func_sincos" = x""yes; then :
46131 cat >>confdefs.h <<_ACEOF
46132 #define HAVE_SINCOS 1
46133 _ACEOF
46136 done
46138 else
46140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46141 $as_echo_n "checking for _sincos declaration... " >&6; }
46142 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46143 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46144 $as_echo_n "(cached) " >&6
46145 else
46148 ac_ext=cpp
46149 ac_cpp='$CXXCPP $CPPFLAGS'
46150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46155 /* end confdefs.h. */
46156 #include <math.h>
46158 main ()
46160 _sincos(0, 0, 0);
46162 return 0;
46164 _ACEOF
46165 if ac_fn_cxx_try_compile "$LINENO"; then :
46166 glibcxx_cv_func__sincos_use=yes
46167 else
46168 glibcxx_cv_func__sincos_use=no
46170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46171 ac_ext=c
46172 ac_cpp='$CPP $CPPFLAGS'
46173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46182 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46184 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46185 for ac_func in _sincos
46186 do :
46187 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46188 if test "x$ac_cv_func__sincos" = x""yes; then :
46189 cat >>confdefs.h <<_ACEOF
46190 #define HAVE__SINCOS 1
46191 _ACEOF
46194 done
46203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46204 $as_echo_n "checking for fpclass declaration... " >&6; }
46205 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46206 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46207 $as_echo_n "(cached) " >&6
46208 else
46211 ac_ext=cpp
46212 ac_cpp='$CXXCPP $CPPFLAGS'
46213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46218 /* end confdefs.h. */
46219 #include <math.h>
46220 #ifdef HAVE_IEEEFP_H
46221 #include <ieeefp.h>
46222 #endif
46225 main ()
46227 fpclass(0);
46229 return 0;
46231 _ACEOF
46232 if ac_fn_cxx_try_compile "$LINENO"; then :
46233 glibcxx_cv_func_fpclass_use=yes
46234 else
46235 glibcxx_cv_func_fpclass_use=no
46237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46238 ac_ext=c
46239 ac_cpp='$CPP $CPPFLAGS'
46240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46249 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46251 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46252 for ac_func in fpclass
46253 do :
46254 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46255 if test "x$ac_cv_func_fpclass" = x""yes; then :
46256 cat >>confdefs.h <<_ACEOF
46257 #define HAVE_FPCLASS 1
46258 _ACEOF
46261 done
46263 else
46265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46266 $as_echo_n "checking for _fpclass declaration... " >&6; }
46267 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46268 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46269 $as_echo_n "(cached) " >&6
46270 else
46273 ac_ext=cpp
46274 ac_cpp='$CXXCPP $CPPFLAGS'
46275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46280 /* end confdefs.h. */
46281 #include <math.h>
46282 #ifdef HAVE_IEEEFP_H
46283 #include <ieeefp.h>
46284 #endif
46287 main ()
46289 _fpclass(0);
46291 return 0;
46293 _ACEOF
46294 if ac_fn_cxx_try_compile "$LINENO"; then :
46295 glibcxx_cv_func__fpclass_use=yes
46296 else
46297 glibcxx_cv_func__fpclass_use=no
46299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46300 ac_ext=c
46301 ac_cpp='$CPP $CPPFLAGS'
46302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46311 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46313 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46314 for ac_func in _fpclass
46315 do :
46316 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46317 if test "x$ac_cv_func__fpclass" = x""yes; then :
46318 cat >>confdefs.h <<_ACEOF
46319 #define HAVE__FPCLASS 1
46320 _ACEOF
46323 done
46332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46333 $as_echo_n "checking for qfpclass declaration... " >&6; }
46334 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46335 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46336 $as_echo_n "(cached) " >&6
46337 else
46340 ac_ext=cpp
46341 ac_cpp='$CXXCPP $CPPFLAGS'
46342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46347 /* end confdefs.h. */
46348 #include <math.h>
46349 #ifdef HAVE_IEEEFP_H
46350 #include <ieeefp.h>
46351 #endif
46354 main ()
46356 qfpclass(0);
46358 return 0;
46360 _ACEOF
46361 if ac_fn_cxx_try_compile "$LINENO"; then :
46362 glibcxx_cv_func_qfpclass_use=yes
46363 else
46364 glibcxx_cv_func_qfpclass_use=no
46366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46367 ac_ext=c
46368 ac_cpp='$CPP $CPPFLAGS'
46369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46378 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46380 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46381 for ac_func in qfpclass
46382 do :
46383 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46384 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46385 cat >>confdefs.h <<_ACEOF
46386 #define HAVE_QFPCLASS 1
46387 _ACEOF
46390 done
46392 else
46394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46395 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46396 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46397 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46398 $as_echo_n "(cached) " >&6
46399 else
46402 ac_ext=cpp
46403 ac_cpp='$CXXCPP $CPPFLAGS'
46404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46409 /* end confdefs.h. */
46410 #include <math.h>
46411 #ifdef HAVE_IEEEFP_H
46412 #include <ieeefp.h>
46413 #endif
46416 main ()
46418 _qfpclass(0);
46420 return 0;
46422 _ACEOF
46423 if ac_fn_cxx_try_compile "$LINENO"; then :
46424 glibcxx_cv_func__qfpclass_use=yes
46425 else
46426 glibcxx_cv_func__qfpclass_use=no
46428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46429 ac_ext=c
46430 ac_cpp='$CPP $CPPFLAGS'
46431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46440 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46442 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46443 for ac_func in _qfpclass
46444 do :
46445 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46446 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46447 cat >>confdefs.h <<_ACEOF
46448 #define HAVE__QFPCLASS 1
46449 _ACEOF
46452 done
46461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46462 $as_echo_n "checking for hypot declaration... " >&6; }
46463 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46464 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46465 $as_echo_n "(cached) " >&6
46466 else
46469 ac_ext=cpp
46470 ac_cpp='$CXXCPP $CPPFLAGS'
46471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46476 /* end confdefs.h. */
46477 #include <math.h>
46479 main ()
46481 hypot(0, 0);
46483 return 0;
46485 _ACEOF
46486 if ac_fn_cxx_try_compile "$LINENO"; then :
46487 glibcxx_cv_func_hypot_use=yes
46488 else
46489 glibcxx_cv_func_hypot_use=no
46491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46492 ac_ext=c
46493 ac_cpp='$CPP $CPPFLAGS'
46494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46503 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46505 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46506 for ac_func in hypot
46507 do :
46508 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46509 if test "x$ac_cv_func_hypot" = x""yes; then :
46510 cat >>confdefs.h <<_ACEOF
46511 #define HAVE_HYPOT 1
46512 _ACEOF
46515 done
46517 else
46519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46520 $as_echo_n "checking for _hypot declaration... " >&6; }
46521 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46522 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46523 $as_echo_n "(cached) " >&6
46524 else
46527 ac_ext=cpp
46528 ac_cpp='$CXXCPP $CPPFLAGS'
46529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46534 /* end confdefs.h. */
46535 #include <math.h>
46537 main ()
46539 _hypot(0, 0);
46541 return 0;
46543 _ACEOF
46544 if ac_fn_cxx_try_compile "$LINENO"; then :
46545 glibcxx_cv_func__hypot_use=yes
46546 else
46547 glibcxx_cv_func__hypot_use=no
46549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46550 ac_ext=c
46551 ac_cpp='$CPP $CPPFLAGS'
46552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46561 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46563 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46564 for ac_func in _hypot
46565 do :
46566 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46567 if test "x$ac_cv_func__hypot" = x""yes; then :
46568 cat >>confdefs.h <<_ACEOF
46569 #define HAVE__HYPOT 1
46570 _ACEOF
46573 done
46582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46583 $as_echo_n "checking for float trig functions... " >&6; }
46584 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46585 $as_echo_n "(cached) " >&6
46586 else
46589 ac_ext=cpp
46590 ac_cpp='$CXXCPP $CPPFLAGS'
46591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46596 /* end confdefs.h. */
46597 #include <math.h>
46599 main ()
46601 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46603 return 0;
46605 _ACEOF
46606 if ac_fn_cxx_try_compile "$LINENO"; then :
46607 glibcxx_cv_func_float_trig_use=yes
46608 else
46609 glibcxx_cv_func_float_trig_use=no
46611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46612 ac_ext=c
46613 ac_cpp='$CPP $CPPFLAGS'
46614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46621 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46622 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46623 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46624 do :
46625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46627 eval as_val=\$$as_ac_var
46628 if test "x$as_val" = x""yes; then :
46629 cat >>confdefs.h <<_ACEOF
46630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46631 _ACEOF
46634 done
46636 else
46637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46638 $as_echo_n "checking for _float trig functions... " >&6; }
46639 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46640 $as_echo_n "(cached) " >&6
46641 else
46644 ac_ext=cpp
46645 ac_cpp='$CXXCPP $CPPFLAGS'
46646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46651 /* end confdefs.h. */
46652 #include <math.h>
46654 main ()
46656 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46658 return 0;
46660 _ACEOF
46661 if ac_fn_cxx_try_compile "$LINENO"; then :
46662 glibcxx_cv_func__float_trig_use=yes
46663 else
46664 glibcxx_cv_func__float_trig_use=no
46666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46667 ac_ext=c
46668 ac_cpp='$CPP $CPPFLAGS'
46669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46676 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46677 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46678 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46679 do :
46680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46682 eval as_val=\$$as_ac_var
46683 if test "x$as_val" = x""yes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46686 _ACEOF
46689 done
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46699 $as_echo_n "checking for float round functions... " >&6; }
46700 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46701 $as_echo_n "(cached) " >&6
46702 else
46705 ac_ext=cpp
46706 ac_cpp='$CXXCPP $CPPFLAGS'
46707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46712 /* end confdefs.h. */
46713 #include <math.h>
46715 main ()
46717 ceilf (0); floorf (0);
46719 return 0;
46721 _ACEOF
46722 if ac_fn_cxx_try_compile "$LINENO"; then :
46723 glibcxx_cv_func_float_round_use=yes
46724 else
46725 glibcxx_cv_func_float_round_use=no
46727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46728 ac_ext=c
46729 ac_cpp='$CPP $CPPFLAGS'
46730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46737 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46738 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46739 for ac_func in ceilf floorf
46740 do :
46741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46743 eval as_val=\$$as_ac_var
46744 if test "x$as_val" = x""yes; then :
46745 cat >>confdefs.h <<_ACEOF
46746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46747 _ACEOF
46750 done
46752 else
46753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46754 $as_echo_n "checking for _float round functions... " >&6; }
46755 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46756 $as_echo_n "(cached) " >&6
46757 else
46760 ac_ext=cpp
46761 ac_cpp='$CXXCPP $CPPFLAGS'
46762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46767 /* end confdefs.h. */
46768 #include <math.h>
46770 main ()
46772 _ceilf (0); _floorf (0);
46774 return 0;
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func__float_round_use=yes
46779 else
46780 glibcxx_cv_func__float_round_use=no
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46792 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46793 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46794 for ac_func in _ceilf _floorf
46795 do :
46796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46798 eval as_val=\$$as_ac_var
46799 if test "x$as_val" = x""yes; then :
46800 cat >>confdefs.h <<_ACEOF
46801 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46802 _ACEOF
46805 done
46815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46816 $as_echo_n "checking for expf declaration... " >&6; }
46817 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46818 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46819 $as_echo_n "(cached) " >&6
46820 else
46823 ac_ext=cpp
46824 ac_cpp='$CXXCPP $CPPFLAGS'
46825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46830 /* end confdefs.h. */
46831 #include <math.h>
46832 #ifdef HAVE_IEEEFP_H
46833 #include <ieeefp.h>
46834 #endif
46837 main ()
46839 expf(0);
46841 return 0;
46843 _ACEOF
46844 if ac_fn_cxx_try_compile "$LINENO"; then :
46845 glibcxx_cv_func_expf_use=yes
46846 else
46847 glibcxx_cv_func_expf_use=no
46849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46850 ac_ext=c
46851 ac_cpp='$CPP $CPPFLAGS'
46852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46861 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46863 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46864 for ac_func in expf
46865 do :
46866 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46867 if test "x$ac_cv_func_expf" = x""yes; then :
46868 cat >>confdefs.h <<_ACEOF
46869 #define HAVE_EXPF 1
46870 _ACEOF
46873 done
46875 else
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46878 $as_echo_n "checking for _expf declaration... " >&6; }
46879 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46880 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46881 $as_echo_n "(cached) " >&6
46882 else
46885 ac_ext=cpp
46886 ac_cpp='$CXXCPP $CPPFLAGS'
46887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46892 /* end confdefs.h. */
46893 #include <math.h>
46894 #ifdef HAVE_IEEEFP_H
46895 #include <ieeefp.h>
46896 #endif
46899 main ()
46901 _expf(0);
46903 return 0;
46905 _ACEOF
46906 if ac_fn_cxx_try_compile "$LINENO"; then :
46907 glibcxx_cv_func__expf_use=yes
46908 else
46909 glibcxx_cv_func__expf_use=no
46911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46912 ac_ext=c
46913 ac_cpp='$CPP $CPPFLAGS'
46914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46923 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46925 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46926 for ac_func in _expf
46927 do :
46928 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46929 if test "x$ac_cv_func__expf" = x""yes; then :
46930 cat >>confdefs.h <<_ACEOF
46931 #define HAVE__EXPF 1
46932 _ACEOF
46935 done
46944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46945 $as_echo_n "checking for isnanf declaration... " >&6; }
46946 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46947 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46948 $as_echo_n "(cached) " >&6
46949 else
46952 ac_ext=cpp
46953 ac_cpp='$CXXCPP $CPPFLAGS'
46954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46959 /* end confdefs.h. */
46960 #include <math.h>
46961 #ifdef HAVE_IEEEFP_H
46962 #include <ieeefp.h>
46963 #endif
46966 main ()
46968 isnanf(0);
46970 return 0;
46972 _ACEOF
46973 if ac_fn_cxx_try_compile "$LINENO"; then :
46974 glibcxx_cv_func_isnanf_use=yes
46975 else
46976 glibcxx_cv_func_isnanf_use=no
46978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46979 ac_ext=c
46980 ac_cpp='$CPP $CPPFLAGS'
46981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46990 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46992 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46993 for ac_func in isnanf
46994 do :
46995 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46996 if test "x$ac_cv_func_isnanf" = x""yes; then :
46997 cat >>confdefs.h <<_ACEOF
46998 #define HAVE_ISNANF 1
46999 _ACEOF
47002 done
47004 else
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47007 $as_echo_n "checking for _isnanf declaration... " >&6; }
47008 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47009 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47023 #ifdef HAVE_IEEEFP_H
47024 #include <ieeefp.h>
47025 #endif
47028 main ()
47030 _isnanf(0);
47032 return 0;
47034 _ACEOF
47035 if ac_fn_cxx_try_compile "$LINENO"; then :
47036 glibcxx_cv_func__isnanf_use=yes
47037 else
47038 glibcxx_cv_func__isnanf_use=no
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47041 ac_ext=c
47042 ac_cpp='$CPP $CPPFLAGS'
47043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47052 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47054 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47055 for ac_func in _isnanf
47056 do :
47057 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47058 if test "x$ac_cv_func__isnanf" = x""yes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE__ISNANF 1
47061 _ACEOF
47064 done
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47074 $as_echo_n "checking for isinff declaration... " >&6; }
47075 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47076 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47077 $as_echo_n "(cached) " >&6
47078 else
47081 ac_ext=cpp
47082 ac_cpp='$CXXCPP $CPPFLAGS'
47083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47088 /* end confdefs.h. */
47089 #include <math.h>
47090 #ifdef HAVE_IEEEFP_H
47091 #include <ieeefp.h>
47092 #endif
47095 main ()
47097 isinff(0);
47099 return 0;
47101 _ACEOF
47102 if ac_fn_cxx_try_compile "$LINENO"; then :
47103 glibcxx_cv_func_isinff_use=yes
47104 else
47105 glibcxx_cv_func_isinff_use=no
47107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47108 ac_ext=c
47109 ac_cpp='$CPP $CPPFLAGS'
47110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47119 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47121 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47122 for ac_func in isinff
47123 do :
47124 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47125 if test "x$ac_cv_func_isinff" = x""yes; then :
47126 cat >>confdefs.h <<_ACEOF
47127 #define HAVE_ISINFF 1
47128 _ACEOF
47131 done
47133 else
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47136 $as_echo_n "checking for _isinff declaration... " >&6; }
47137 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47138 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47139 $as_echo_n "(cached) " >&6
47140 else
47143 ac_ext=cpp
47144 ac_cpp='$CXXCPP $CPPFLAGS'
47145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47150 /* end confdefs.h. */
47151 #include <math.h>
47152 #ifdef HAVE_IEEEFP_H
47153 #include <ieeefp.h>
47154 #endif
47157 main ()
47159 _isinff(0);
47161 return 0;
47163 _ACEOF
47164 if ac_fn_cxx_try_compile "$LINENO"; then :
47165 glibcxx_cv_func__isinff_use=yes
47166 else
47167 glibcxx_cv_func__isinff_use=no
47169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47170 ac_ext=c
47171 ac_cpp='$CPP $CPPFLAGS'
47172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47181 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47183 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47184 for ac_func in _isinff
47185 do :
47186 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47187 if test "x$ac_cv_func__isinff" = x""yes; then :
47188 cat >>confdefs.h <<_ACEOF
47189 #define HAVE__ISINFF 1
47190 _ACEOF
47193 done
47202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47203 $as_echo_n "checking for atan2f declaration... " >&6; }
47204 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47205 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47206 $as_echo_n "(cached) " >&6
47207 else
47210 ac_ext=cpp
47211 ac_cpp='$CXXCPP $CPPFLAGS'
47212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47217 /* end confdefs.h. */
47218 #include <math.h>
47220 main ()
47222 atan2f(0, 0);
47224 return 0;
47226 _ACEOF
47227 if ac_fn_cxx_try_compile "$LINENO"; then :
47228 glibcxx_cv_func_atan2f_use=yes
47229 else
47230 glibcxx_cv_func_atan2f_use=no
47232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47233 ac_ext=c
47234 ac_cpp='$CPP $CPPFLAGS'
47235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47244 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47246 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47247 for ac_func in atan2f
47248 do :
47249 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47250 if test "x$ac_cv_func_atan2f" = x""yes; then :
47251 cat >>confdefs.h <<_ACEOF
47252 #define HAVE_ATAN2F 1
47253 _ACEOF
47256 done
47258 else
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47261 $as_echo_n "checking for _atan2f declaration... " >&6; }
47262 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47263 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47264 $as_echo_n "(cached) " >&6
47265 else
47268 ac_ext=cpp
47269 ac_cpp='$CXXCPP $CPPFLAGS'
47270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47275 /* end confdefs.h. */
47276 #include <math.h>
47278 main ()
47280 _atan2f(0, 0);
47282 return 0;
47284 _ACEOF
47285 if ac_fn_cxx_try_compile "$LINENO"; then :
47286 glibcxx_cv_func__atan2f_use=yes
47287 else
47288 glibcxx_cv_func__atan2f_use=no
47290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47291 ac_ext=c
47292 ac_cpp='$CPP $CPPFLAGS'
47293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47302 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47304 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47305 for ac_func in _atan2f
47306 do :
47307 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47308 if test "x$ac_cv_func__atan2f" = x""yes; then :
47309 cat >>confdefs.h <<_ACEOF
47310 #define HAVE__ATAN2F 1
47311 _ACEOF
47314 done
47323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47324 $as_echo_n "checking for fabsf declaration... " >&6; }
47325 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47326 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47327 $as_echo_n "(cached) " >&6
47328 else
47331 ac_ext=cpp
47332 ac_cpp='$CXXCPP $CPPFLAGS'
47333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47338 /* end confdefs.h. */
47339 #include <math.h>
47340 #ifdef HAVE_IEEEFP_H
47341 #include <ieeefp.h>
47342 #endif
47345 main ()
47347 fabsf(0);
47349 return 0;
47351 _ACEOF
47352 if ac_fn_cxx_try_compile "$LINENO"; then :
47353 glibcxx_cv_func_fabsf_use=yes
47354 else
47355 glibcxx_cv_func_fabsf_use=no
47357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47358 ac_ext=c
47359 ac_cpp='$CPP $CPPFLAGS'
47360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47369 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47371 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47372 for ac_func in fabsf
47373 do :
47374 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47375 if test "x$ac_cv_func_fabsf" = x""yes; then :
47376 cat >>confdefs.h <<_ACEOF
47377 #define HAVE_FABSF 1
47378 _ACEOF
47381 done
47383 else
47385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47386 $as_echo_n "checking for _fabsf declaration... " >&6; }
47387 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47388 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47389 $as_echo_n "(cached) " >&6
47390 else
47393 ac_ext=cpp
47394 ac_cpp='$CXXCPP $CPPFLAGS'
47395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47400 /* end confdefs.h. */
47401 #include <math.h>
47402 #ifdef HAVE_IEEEFP_H
47403 #include <ieeefp.h>
47404 #endif
47407 main ()
47409 _fabsf(0);
47411 return 0;
47413 _ACEOF
47414 if ac_fn_cxx_try_compile "$LINENO"; then :
47415 glibcxx_cv_func__fabsf_use=yes
47416 else
47417 glibcxx_cv_func__fabsf_use=no
47419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47420 ac_ext=c
47421 ac_cpp='$CPP $CPPFLAGS'
47422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47431 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47433 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47434 for ac_func in _fabsf
47435 do :
47436 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47437 if test "x$ac_cv_func__fabsf" = x""yes; then :
47438 cat >>confdefs.h <<_ACEOF
47439 #define HAVE__FABSF 1
47440 _ACEOF
47443 done
47452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47453 $as_echo_n "checking for fmodf declaration... " >&6; }
47454 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47455 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47456 $as_echo_n "(cached) " >&6
47457 else
47460 ac_ext=cpp
47461 ac_cpp='$CXXCPP $CPPFLAGS'
47462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47467 /* end confdefs.h. */
47468 #include <math.h>
47470 main ()
47472 fmodf(0, 0);
47474 return 0;
47476 _ACEOF
47477 if ac_fn_cxx_try_compile "$LINENO"; then :
47478 glibcxx_cv_func_fmodf_use=yes
47479 else
47480 glibcxx_cv_func_fmodf_use=no
47482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47483 ac_ext=c
47484 ac_cpp='$CPP $CPPFLAGS'
47485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47494 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47496 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47497 for ac_func in fmodf
47498 do :
47499 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47500 if test "x$ac_cv_func_fmodf" = x""yes; then :
47501 cat >>confdefs.h <<_ACEOF
47502 #define HAVE_FMODF 1
47503 _ACEOF
47506 done
47508 else
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47511 $as_echo_n "checking for _fmodf declaration... " >&6; }
47512 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47513 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47514 $as_echo_n "(cached) " >&6
47515 else
47518 ac_ext=cpp
47519 ac_cpp='$CXXCPP $CPPFLAGS'
47520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47525 /* end confdefs.h. */
47526 #include <math.h>
47528 main ()
47530 _fmodf(0, 0);
47532 return 0;
47534 _ACEOF
47535 if ac_fn_cxx_try_compile "$LINENO"; then :
47536 glibcxx_cv_func__fmodf_use=yes
47537 else
47538 glibcxx_cv_func__fmodf_use=no
47540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47541 ac_ext=c
47542 ac_cpp='$CPP $CPPFLAGS'
47543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47552 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47554 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47555 for ac_func in _fmodf
47556 do :
47557 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47558 if test "x$ac_cv_func__fmodf" = x""yes; then :
47559 cat >>confdefs.h <<_ACEOF
47560 #define HAVE__FMODF 1
47561 _ACEOF
47564 done
47573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47574 $as_echo_n "checking for frexpf declaration... " >&6; }
47575 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47576 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47577 $as_echo_n "(cached) " >&6
47578 else
47581 ac_ext=cpp
47582 ac_cpp='$CXXCPP $CPPFLAGS'
47583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47588 /* end confdefs.h. */
47589 #include <math.h>
47591 main ()
47593 frexpf(0, 0);
47595 return 0;
47597 _ACEOF
47598 if ac_fn_cxx_try_compile "$LINENO"; then :
47599 glibcxx_cv_func_frexpf_use=yes
47600 else
47601 glibcxx_cv_func_frexpf_use=no
47603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47604 ac_ext=c
47605 ac_cpp='$CPP $CPPFLAGS'
47606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47615 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47617 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47618 for ac_func in frexpf
47619 do :
47620 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47621 if test "x$ac_cv_func_frexpf" = x""yes; then :
47622 cat >>confdefs.h <<_ACEOF
47623 #define HAVE_FREXPF 1
47624 _ACEOF
47627 done
47629 else
47631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47632 $as_echo_n "checking for _frexpf declaration... " >&6; }
47633 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47634 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47635 $as_echo_n "(cached) " >&6
47636 else
47639 ac_ext=cpp
47640 ac_cpp='$CXXCPP $CPPFLAGS'
47641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47646 /* end confdefs.h. */
47647 #include <math.h>
47649 main ()
47651 _frexpf(0, 0);
47653 return 0;
47655 _ACEOF
47656 if ac_fn_cxx_try_compile "$LINENO"; then :
47657 glibcxx_cv_func__frexpf_use=yes
47658 else
47659 glibcxx_cv_func__frexpf_use=no
47661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47662 ac_ext=c
47663 ac_cpp='$CPP $CPPFLAGS'
47664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47673 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47675 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47676 for ac_func in _frexpf
47677 do :
47678 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47679 if test "x$ac_cv_func__frexpf" = x""yes; then :
47680 cat >>confdefs.h <<_ACEOF
47681 #define HAVE__FREXPF 1
47682 _ACEOF
47685 done
47694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47695 $as_echo_n "checking for hypotf declaration... " >&6; }
47696 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47697 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47698 $as_echo_n "(cached) " >&6
47699 else
47702 ac_ext=cpp
47703 ac_cpp='$CXXCPP $CPPFLAGS'
47704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47709 /* end confdefs.h. */
47710 #include <math.h>
47712 main ()
47714 hypotf(0, 0);
47716 return 0;
47718 _ACEOF
47719 if ac_fn_cxx_try_compile "$LINENO"; then :
47720 glibcxx_cv_func_hypotf_use=yes
47721 else
47722 glibcxx_cv_func_hypotf_use=no
47724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47725 ac_ext=c
47726 ac_cpp='$CPP $CPPFLAGS'
47727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47736 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47738 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47739 for ac_func in hypotf
47740 do :
47741 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47742 if test "x$ac_cv_func_hypotf" = x""yes; then :
47743 cat >>confdefs.h <<_ACEOF
47744 #define HAVE_HYPOTF 1
47745 _ACEOF
47748 done
47750 else
47752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47753 $as_echo_n "checking for _hypotf declaration... " >&6; }
47754 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47755 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47756 $as_echo_n "(cached) " >&6
47757 else
47760 ac_ext=cpp
47761 ac_cpp='$CXXCPP $CPPFLAGS'
47762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47767 /* end confdefs.h. */
47768 #include <math.h>
47770 main ()
47772 _hypotf(0, 0);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func__hypotf_use=yes
47779 else
47780 glibcxx_cv_func__hypotf_use=no
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47794 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47796 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47797 for ac_func in _hypotf
47798 do :
47799 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47800 if test "x$ac_cv_func__hypotf" = x""yes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE__HYPOTF 1
47803 _ACEOF
47806 done
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47816 $as_echo_n "checking for ldexpf declaration... " >&6; }
47817 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47818 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47819 $as_echo_n "(cached) " >&6
47820 else
47823 ac_ext=cpp
47824 ac_cpp='$CXXCPP $CPPFLAGS'
47825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47830 /* end confdefs.h. */
47831 #include <math.h>
47833 main ()
47835 ldexpf(0, 0);
47837 return 0;
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func_ldexpf_use=yes
47842 else
47843 glibcxx_cv_func_ldexpf_use=no
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47857 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47859 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47860 for ac_func in ldexpf
47861 do :
47862 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47863 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE_LDEXPF 1
47866 _ACEOF
47869 done
47871 else
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47874 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47875 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47876 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47891 main ()
47893 _ldexpf(0, 0);
47895 return 0;
47897 _ACEOF
47898 if ac_fn_cxx_try_compile "$LINENO"; then :
47899 glibcxx_cv_func__ldexpf_use=yes
47900 else
47901 glibcxx_cv_func__ldexpf_use=no
47903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47904 ac_ext=c
47905 ac_cpp='$CPP $CPPFLAGS'
47906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47915 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47917 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47918 for ac_func in _ldexpf
47919 do :
47920 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47921 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47922 cat >>confdefs.h <<_ACEOF
47923 #define HAVE__LDEXPF 1
47924 _ACEOF
47927 done
47936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47937 $as_echo_n "checking for logf declaration... " >&6; }
47938 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47939 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47940 $as_echo_n "(cached) " >&6
47941 else
47944 ac_ext=cpp
47945 ac_cpp='$CXXCPP $CPPFLAGS'
47946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47951 /* end confdefs.h. */
47952 #include <math.h>
47953 #ifdef HAVE_IEEEFP_H
47954 #include <ieeefp.h>
47955 #endif
47958 main ()
47960 logf(0);
47962 return 0;
47964 _ACEOF
47965 if ac_fn_cxx_try_compile "$LINENO"; then :
47966 glibcxx_cv_func_logf_use=yes
47967 else
47968 glibcxx_cv_func_logf_use=no
47970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47971 ac_ext=c
47972 ac_cpp='$CPP $CPPFLAGS'
47973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47982 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47984 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47985 for ac_func in logf
47986 do :
47987 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47988 if test "x$ac_cv_func_logf" = x""yes; then :
47989 cat >>confdefs.h <<_ACEOF
47990 #define HAVE_LOGF 1
47991 _ACEOF
47994 done
47996 else
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47999 $as_echo_n "checking for _logf declaration... " >&6; }
48000 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48001 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48002 $as_echo_n "(cached) " >&6
48003 else
48006 ac_ext=cpp
48007 ac_cpp='$CXXCPP $CPPFLAGS'
48008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48013 /* end confdefs.h. */
48014 #include <math.h>
48015 #ifdef HAVE_IEEEFP_H
48016 #include <ieeefp.h>
48017 #endif
48020 main ()
48022 _logf(0);
48024 return 0;
48026 _ACEOF
48027 if ac_fn_cxx_try_compile "$LINENO"; then :
48028 glibcxx_cv_func__logf_use=yes
48029 else
48030 glibcxx_cv_func__logf_use=no
48032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48033 ac_ext=c
48034 ac_cpp='$CPP $CPPFLAGS'
48035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48044 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48046 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48047 for ac_func in _logf
48048 do :
48049 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48050 if test "x$ac_cv_func__logf" = x""yes; then :
48051 cat >>confdefs.h <<_ACEOF
48052 #define HAVE__LOGF 1
48053 _ACEOF
48056 done
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48066 $as_echo_n "checking for log10f declaration... " >&6; }
48067 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48068 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48069 $as_echo_n "(cached) " >&6
48070 else
48073 ac_ext=cpp
48074 ac_cpp='$CXXCPP $CPPFLAGS'
48075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48080 /* end confdefs.h. */
48081 #include <math.h>
48082 #ifdef HAVE_IEEEFP_H
48083 #include <ieeefp.h>
48084 #endif
48087 main ()
48089 log10f(0);
48091 return 0;
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_log10f_use=yes
48096 else
48097 glibcxx_cv_func_log10f_use=no
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48111 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48113 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48114 for ac_func in log10f
48115 do :
48116 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48117 if test "x$ac_cv_func_log10f" = x""yes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define HAVE_LOG10F 1
48120 _ACEOF
48123 done
48125 else
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48128 $as_echo_n "checking for _log10f declaration... " >&6; }
48129 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48130 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48144 #ifdef HAVE_IEEEFP_H
48145 #include <ieeefp.h>
48146 #endif
48149 main ()
48151 _log10f(0);
48153 return 0;
48155 _ACEOF
48156 if ac_fn_cxx_try_compile "$LINENO"; then :
48157 glibcxx_cv_func__log10f_use=yes
48158 else
48159 glibcxx_cv_func__log10f_use=no
48161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48162 ac_ext=c
48163 ac_cpp='$CPP $CPPFLAGS'
48164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48173 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48175 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48176 for ac_func in _log10f
48177 do :
48178 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48179 if test "x$ac_cv_func__log10f" = x""yes; then :
48180 cat >>confdefs.h <<_ACEOF
48181 #define HAVE__LOG10F 1
48182 _ACEOF
48185 done
48194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48195 $as_echo_n "checking for modff declaration... " >&6; }
48196 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48197 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48198 $as_echo_n "(cached) " >&6
48199 else
48202 ac_ext=cpp
48203 ac_cpp='$CXXCPP $CPPFLAGS'
48204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48209 /* end confdefs.h. */
48210 #include <math.h>
48212 main ()
48214 modff(0, 0);
48216 return 0;
48218 _ACEOF
48219 if ac_fn_cxx_try_compile "$LINENO"; then :
48220 glibcxx_cv_func_modff_use=yes
48221 else
48222 glibcxx_cv_func_modff_use=no
48224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48225 ac_ext=c
48226 ac_cpp='$CPP $CPPFLAGS'
48227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48236 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48238 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48239 for ac_func in modff
48240 do :
48241 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48242 if test "x$ac_cv_func_modff" = x""yes; then :
48243 cat >>confdefs.h <<_ACEOF
48244 #define HAVE_MODFF 1
48245 _ACEOF
48248 done
48250 else
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48253 $as_echo_n "checking for _modff declaration... " >&6; }
48254 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48255 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48256 $as_echo_n "(cached) " >&6
48257 else
48260 ac_ext=cpp
48261 ac_cpp='$CXXCPP $CPPFLAGS'
48262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48267 /* end confdefs.h. */
48268 #include <math.h>
48270 main ()
48272 _modff(0, 0);
48274 return 0;
48276 _ACEOF
48277 if ac_fn_cxx_try_compile "$LINENO"; then :
48278 glibcxx_cv_func__modff_use=yes
48279 else
48280 glibcxx_cv_func__modff_use=no
48282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48283 ac_ext=c
48284 ac_cpp='$CPP $CPPFLAGS'
48285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48294 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48296 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48297 for ac_func in _modff
48298 do :
48299 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48300 if test "x$ac_cv_func__modff" = x""yes; then :
48301 cat >>confdefs.h <<_ACEOF
48302 #define HAVE__MODFF 1
48303 _ACEOF
48306 done
48315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48316 $as_echo_n "checking for modf declaration... " >&6; }
48317 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48318 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48319 $as_echo_n "(cached) " >&6
48320 else
48323 ac_ext=cpp
48324 ac_cpp='$CXXCPP $CPPFLAGS'
48325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48330 /* end confdefs.h. */
48331 #include <math.h>
48333 main ()
48335 modf(0, 0);
48337 return 0;
48339 _ACEOF
48340 if ac_fn_cxx_try_compile "$LINENO"; then :
48341 glibcxx_cv_func_modf_use=yes
48342 else
48343 glibcxx_cv_func_modf_use=no
48345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48346 ac_ext=c
48347 ac_cpp='$CPP $CPPFLAGS'
48348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48357 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48359 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48360 for ac_func in modf
48361 do :
48362 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48363 if test "x$ac_cv_func_modf" = x""yes; then :
48364 cat >>confdefs.h <<_ACEOF
48365 #define HAVE_MODF 1
48366 _ACEOF
48369 done
48371 else
48373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48374 $as_echo_n "checking for _modf declaration... " >&6; }
48375 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48376 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48377 $as_echo_n "(cached) " >&6
48378 else
48381 ac_ext=cpp
48382 ac_cpp='$CXXCPP $CPPFLAGS'
48383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48388 /* end confdefs.h. */
48389 #include <math.h>
48391 main ()
48393 _modf(0, 0);
48395 return 0;
48397 _ACEOF
48398 if ac_fn_cxx_try_compile "$LINENO"; then :
48399 glibcxx_cv_func__modf_use=yes
48400 else
48401 glibcxx_cv_func__modf_use=no
48403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48404 ac_ext=c
48405 ac_cpp='$CPP $CPPFLAGS'
48406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48415 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48417 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48418 for ac_func in _modf
48419 do :
48420 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48421 if test "x$ac_cv_func__modf" = x""yes; then :
48422 cat >>confdefs.h <<_ACEOF
48423 #define HAVE__MODF 1
48424 _ACEOF
48427 done
48436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48437 $as_echo_n "checking for powf declaration... " >&6; }
48438 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48439 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48440 $as_echo_n "(cached) " >&6
48441 else
48444 ac_ext=cpp
48445 ac_cpp='$CXXCPP $CPPFLAGS'
48446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48451 /* end confdefs.h. */
48452 #include <math.h>
48454 main ()
48456 powf(0, 0);
48458 return 0;
48460 _ACEOF
48461 if ac_fn_cxx_try_compile "$LINENO"; then :
48462 glibcxx_cv_func_powf_use=yes
48463 else
48464 glibcxx_cv_func_powf_use=no
48466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48467 ac_ext=c
48468 ac_cpp='$CPP $CPPFLAGS'
48469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48478 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48480 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48481 for ac_func in powf
48482 do :
48483 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48484 if test "x$ac_cv_func_powf" = x""yes; then :
48485 cat >>confdefs.h <<_ACEOF
48486 #define HAVE_POWF 1
48487 _ACEOF
48490 done
48492 else
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48495 $as_echo_n "checking for _powf declaration... " >&6; }
48496 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48497 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48498 $as_echo_n "(cached) " >&6
48499 else
48502 ac_ext=cpp
48503 ac_cpp='$CXXCPP $CPPFLAGS'
48504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48509 /* end confdefs.h. */
48510 #include <math.h>
48512 main ()
48514 _powf(0, 0);
48516 return 0;
48518 _ACEOF
48519 if ac_fn_cxx_try_compile "$LINENO"; then :
48520 glibcxx_cv_func__powf_use=yes
48521 else
48522 glibcxx_cv_func__powf_use=no
48524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48525 ac_ext=c
48526 ac_cpp='$CPP $CPPFLAGS'
48527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48536 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48538 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48539 for ac_func in _powf
48540 do :
48541 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48542 if test "x$ac_cv_func__powf" = x""yes; then :
48543 cat >>confdefs.h <<_ACEOF
48544 #define HAVE__POWF 1
48545 _ACEOF
48548 done
48557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48558 $as_echo_n "checking for sqrtf declaration... " >&6; }
48559 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48560 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48561 $as_echo_n "(cached) " >&6
48562 else
48565 ac_ext=cpp
48566 ac_cpp='$CXXCPP $CPPFLAGS'
48567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48572 /* end confdefs.h. */
48573 #include <math.h>
48574 #ifdef HAVE_IEEEFP_H
48575 #include <ieeefp.h>
48576 #endif
48579 main ()
48581 sqrtf(0);
48583 return 0;
48585 _ACEOF
48586 if ac_fn_cxx_try_compile "$LINENO"; then :
48587 glibcxx_cv_func_sqrtf_use=yes
48588 else
48589 glibcxx_cv_func_sqrtf_use=no
48591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48592 ac_ext=c
48593 ac_cpp='$CPP $CPPFLAGS'
48594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48603 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48605 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48606 for ac_func in sqrtf
48607 do :
48608 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48609 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48610 cat >>confdefs.h <<_ACEOF
48611 #define HAVE_SQRTF 1
48612 _ACEOF
48615 done
48617 else
48619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48620 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48621 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48622 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48623 $as_echo_n "(cached) " >&6
48624 else
48627 ac_ext=cpp
48628 ac_cpp='$CXXCPP $CPPFLAGS'
48629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48634 /* end confdefs.h. */
48635 #include <math.h>
48636 #ifdef HAVE_IEEEFP_H
48637 #include <ieeefp.h>
48638 #endif
48641 main ()
48643 _sqrtf(0);
48645 return 0;
48647 _ACEOF
48648 if ac_fn_cxx_try_compile "$LINENO"; then :
48649 glibcxx_cv_func__sqrtf_use=yes
48650 else
48651 glibcxx_cv_func__sqrtf_use=no
48653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48654 ac_ext=c
48655 ac_cpp='$CPP $CPPFLAGS'
48656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48665 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48667 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48668 for ac_func in _sqrtf
48669 do :
48670 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48671 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48672 cat >>confdefs.h <<_ACEOF
48673 #define HAVE__SQRTF 1
48674 _ACEOF
48677 done
48686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48687 $as_echo_n "checking for sincosf declaration... " >&6; }
48688 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48689 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48690 $as_echo_n "(cached) " >&6
48691 else
48694 ac_ext=cpp
48695 ac_cpp='$CXXCPP $CPPFLAGS'
48696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48701 /* end confdefs.h. */
48702 #include <math.h>
48704 main ()
48706 sincosf(0, 0, 0);
48708 return 0;
48710 _ACEOF
48711 if ac_fn_cxx_try_compile "$LINENO"; then :
48712 glibcxx_cv_func_sincosf_use=yes
48713 else
48714 glibcxx_cv_func_sincosf_use=no
48716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48717 ac_ext=c
48718 ac_cpp='$CPP $CPPFLAGS'
48719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48728 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48730 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48731 for ac_func in sincosf
48732 do :
48733 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48734 if test "x$ac_cv_func_sincosf" = x""yes; then :
48735 cat >>confdefs.h <<_ACEOF
48736 #define HAVE_SINCOSF 1
48737 _ACEOF
48740 done
48742 else
48744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48745 $as_echo_n "checking for _sincosf declaration... " >&6; }
48746 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48747 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48748 $as_echo_n "(cached) " >&6
48749 else
48752 ac_ext=cpp
48753 ac_cpp='$CXXCPP $CPPFLAGS'
48754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48759 /* end confdefs.h. */
48760 #include <math.h>
48762 main ()
48764 _sincosf(0, 0, 0);
48766 return 0;
48768 _ACEOF
48769 if ac_fn_cxx_try_compile "$LINENO"; then :
48770 glibcxx_cv_func__sincosf_use=yes
48771 else
48772 glibcxx_cv_func__sincosf_use=no
48774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48775 ac_ext=c
48776 ac_cpp='$CPP $CPPFLAGS'
48777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48786 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48788 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48789 for ac_func in _sincosf
48790 do :
48791 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48792 if test "x$ac_cv_func__sincosf" = x""yes; then :
48793 cat >>confdefs.h <<_ACEOF
48794 #define HAVE__SINCOSF 1
48795 _ACEOF
48798 done
48807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48808 $as_echo_n "checking for finitef declaration... " >&6; }
48809 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48810 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48811 $as_echo_n "(cached) " >&6
48812 else
48815 ac_ext=cpp
48816 ac_cpp='$CXXCPP $CPPFLAGS'
48817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48822 /* end confdefs.h. */
48823 #include <math.h>
48824 #ifdef HAVE_IEEEFP_H
48825 #include <ieeefp.h>
48826 #endif
48829 main ()
48831 finitef(0);
48833 return 0;
48835 _ACEOF
48836 if ac_fn_cxx_try_compile "$LINENO"; then :
48837 glibcxx_cv_func_finitef_use=yes
48838 else
48839 glibcxx_cv_func_finitef_use=no
48841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48842 ac_ext=c
48843 ac_cpp='$CPP $CPPFLAGS'
48844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48853 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48855 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48856 for ac_func in finitef
48857 do :
48858 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48859 if test "x$ac_cv_func_finitef" = x""yes; then :
48860 cat >>confdefs.h <<_ACEOF
48861 #define HAVE_FINITEF 1
48862 _ACEOF
48865 done
48867 else
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48870 $as_echo_n "checking for _finitef declaration... " >&6; }
48871 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48872 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48873 $as_echo_n "(cached) " >&6
48874 else
48877 ac_ext=cpp
48878 ac_cpp='$CXXCPP $CPPFLAGS'
48879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48884 /* end confdefs.h. */
48885 #include <math.h>
48886 #ifdef HAVE_IEEEFP_H
48887 #include <ieeefp.h>
48888 #endif
48891 main ()
48893 _finitef(0);
48895 return 0;
48897 _ACEOF
48898 if ac_fn_cxx_try_compile "$LINENO"; then :
48899 glibcxx_cv_func__finitef_use=yes
48900 else
48901 glibcxx_cv_func__finitef_use=no
48903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48904 ac_ext=c
48905 ac_cpp='$CPP $CPPFLAGS'
48906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48915 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48917 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48918 for ac_func in _finitef
48919 do :
48920 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48921 if test "x$ac_cv_func__finitef" = x""yes; then :
48922 cat >>confdefs.h <<_ACEOF
48923 #define HAVE__FINITEF 1
48924 _ACEOF
48927 done
48936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48937 $as_echo_n "checking for long double trig functions... " >&6; }
48938 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48939 $as_echo_n "(cached) " >&6
48940 else
48943 ac_ext=cpp
48944 ac_cpp='$CXXCPP $CPPFLAGS'
48945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48950 /* end confdefs.h. */
48951 #include <math.h>
48953 main ()
48955 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48957 return 0;
48959 _ACEOF
48960 if ac_fn_cxx_try_compile "$LINENO"; then :
48961 glibcxx_cv_func_long_double_trig_use=yes
48962 else
48963 glibcxx_cv_func_long_double_trig_use=no
48965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48966 ac_ext=c
48967 ac_cpp='$CPP $CPPFLAGS'
48968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48975 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48976 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48977 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48978 do :
48979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48981 eval as_val=\$$as_ac_var
48982 if test "x$as_val" = x""yes; then :
48983 cat >>confdefs.h <<_ACEOF
48984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48985 _ACEOF
48988 done
48990 else
48991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48992 $as_echo_n "checking for _long double trig functions... " >&6; }
48993 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48994 $as_echo_n "(cached) " >&6
48995 else
48998 ac_ext=cpp
48999 ac_cpp='$CXXCPP $CPPFLAGS'
49000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49005 /* end confdefs.h. */
49006 #include <math.h>
49008 main ()
49010 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49012 return 0;
49014 _ACEOF
49015 if ac_fn_cxx_try_compile "$LINENO"; then :
49016 glibcxx_cv_func__long_double_trig_use=yes
49017 else
49018 glibcxx_cv_func__long_double_trig_use=no
49020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49021 ac_ext=c
49022 ac_cpp='$CPP $CPPFLAGS'
49023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49030 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49031 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49032 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49033 do :
49034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49036 eval as_val=\$$as_ac_var
49037 if test "x$as_val" = x""yes; then :
49038 cat >>confdefs.h <<_ACEOF
49039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49040 _ACEOF
49043 done
49052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49053 $as_echo_n "checking for long double round functions... " >&6; }
49054 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49055 $as_echo_n "(cached) " >&6
49056 else
49059 ac_ext=cpp
49060 ac_cpp='$CXXCPP $CPPFLAGS'
49061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49066 /* end confdefs.h. */
49067 #include <math.h>
49069 main ()
49071 ceill (0); floorl (0);
49073 return 0;
49075 _ACEOF
49076 if ac_fn_cxx_try_compile "$LINENO"; then :
49077 glibcxx_cv_func_long_double_round_use=yes
49078 else
49079 glibcxx_cv_func_long_double_round_use=no
49081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49082 ac_ext=c
49083 ac_cpp='$CPP $CPPFLAGS'
49084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49091 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49092 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49093 for ac_func in ceill floorl
49094 do :
49095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49097 eval as_val=\$$as_ac_var
49098 if test "x$as_val" = x""yes; then :
49099 cat >>confdefs.h <<_ACEOF
49100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49101 _ACEOF
49104 done
49106 else
49107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49108 $as_echo_n "checking for _long double round functions... " >&6; }
49109 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49110 $as_echo_n "(cached) " >&6
49111 else
49114 ac_ext=cpp
49115 ac_cpp='$CXXCPP $CPPFLAGS'
49116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49121 /* end confdefs.h. */
49122 #include <math.h>
49124 main ()
49126 _ceill (0); _floorl (0);
49128 return 0;
49130 _ACEOF
49131 if ac_fn_cxx_try_compile "$LINENO"; then :
49132 glibcxx_cv_func__long_double_round_use=yes
49133 else
49134 glibcxx_cv_func__long_double_round_use=no
49136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49137 ac_ext=c
49138 ac_cpp='$CPP $CPPFLAGS'
49139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49146 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49147 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49148 for ac_func in _ceill _floorl
49149 do :
49150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49152 eval as_val=\$$as_ac_var
49153 if test "x$as_val" = x""yes; then :
49154 cat >>confdefs.h <<_ACEOF
49155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49156 _ACEOF
49159 done
49169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49170 $as_echo_n "checking for isnanl declaration... " >&6; }
49171 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49172 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49173 $as_echo_n "(cached) " >&6
49174 else
49177 ac_ext=cpp
49178 ac_cpp='$CXXCPP $CPPFLAGS'
49179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49184 /* end confdefs.h. */
49185 #include <math.h>
49186 #ifdef HAVE_IEEEFP_H
49187 #include <ieeefp.h>
49188 #endif
49191 main ()
49193 isnanl(0);
49195 return 0;
49197 _ACEOF
49198 if ac_fn_cxx_try_compile "$LINENO"; then :
49199 glibcxx_cv_func_isnanl_use=yes
49200 else
49201 glibcxx_cv_func_isnanl_use=no
49203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49204 ac_ext=c
49205 ac_cpp='$CPP $CPPFLAGS'
49206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49215 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49217 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49218 for ac_func in isnanl
49219 do :
49220 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49221 if test "x$ac_cv_func_isnanl" = x""yes; then :
49222 cat >>confdefs.h <<_ACEOF
49223 #define HAVE_ISNANL 1
49224 _ACEOF
49227 done
49229 else
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49232 $as_echo_n "checking for _isnanl declaration... " >&6; }
49233 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49234 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49235 $as_echo_n "(cached) " >&6
49236 else
49239 ac_ext=cpp
49240 ac_cpp='$CXXCPP $CPPFLAGS'
49241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49246 /* end confdefs.h. */
49247 #include <math.h>
49248 #ifdef HAVE_IEEEFP_H
49249 #include <ieeefp.h>
49250 #endif
49253 main ()
49255 _isnanl(0);
49257 return 0;
49259 _ACEOF
49260 if ac_fn_cxx_try_compile "$LINENO"; then :
49261 glibcxx_cv_func__isnanl_use=yes
49262 else
49263 glibcxx_cv_func__isnanl_use=no
49265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49266 ac_ext=c
49267 ac_cpp='$CPP $CPPFLAGS'
49268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49277 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49279 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49280 for ac_func in _isnanl
49281 do :
49282 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49283 if test "x$ac_cv_func__isnanl" = x""yes; then :
49284 cat >>confdefs.h <<_ACEOF
49285 #define HAVE__ISNANL 1
49286 _ACEOF
49289 done
49298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49299 $as_echo_n "checking for isinfl declaration... " >&6; }
49300 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49301 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49302 $as_echo_n "(cached) " >&6
49303 else
49306 ac_ext=cpp
49307 ac_cpp='$CXXCPP $CPPFLAGS'
49308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49313 /* end confdefs.h. */
49314 #include <math.h>
49315 #ifdef HAVE_IEEEFP_H
49316 #include <ieeefp.h>
49317 #endif
49320 main ()
49322 isinfl(0);
49324 return 0;
49326 _ACEOF
49327 if ac_fn_cxx_try_compile "$LINENO"; then :
49328 glibcxx_cv_func_isinfl_use=yes
49329 else
49330 glibcxx_cv_func_isinfl_use=no
49332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49333 ac_ext=c
49334 ac_cpp='$CPP $CPPFLAGS'
49335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49344 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49346 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49347 for ac_func in isinfl
49348 do :
49349 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49350 if test "x$ac_cv_func_isinfl" = x""yes; then :
49351 cat >>confdefs.h <<_ACEOF
49352 #define HAVE_ISINFL 1
49353 _ACEOF
49356 done
49358 else
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49361 $as_echo_n "checking for _isinfl declaration... " >&6; }
49362 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49363 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49364 $as_echo_n "(cached) " >&6
49365 else
49368 ac_ext=cpp
49369 ac_cpp='$CXXCPP $CPPFLAGS'
49370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375 /* end confdefs.h. */
49376 #include <math.h>
49377 #ifdef HAVE_IEEEFP_H
49378 #include <ieeefp.h>
49379 #endif
49382 main ()
49384 _isinfl(0);
49386 return 0;
49388 _ACEOF
49389 if ac_fn_cxx_try_compile "$LINENO"; then :
49390 glibcxx_cv_func__isinfl_use=yes
49391 else
49392 glibcxx_cv_func__isinfl_use=no
49394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49395 ac_ext=c
49396 ac_cpp='$CPP $CPPFLAGS'
49397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49406 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49408 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49409 for ac_func in _isinfl
49410 do :
49411 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49412 if test "x$ac_cv_func__isinfl" = x""yes; then :
49413 cat >>confdefs.h <<_ACEOF
49414 #define HAVE__ISINFL 1
49415 _ACEOF
49418 done
49427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49428 $as_echo_n "checking for atan2l declaration... " >&6; }
49429 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49430 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49431 $as_echo_n "(cached) " >&6
49432 else
49435 ac_ext=cpp
49436 ac_cpp='$CXXCPP $CPPFLAGS'
49437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49442 /* end confdefs.h. */
49443 #include <math.h>
49445 main ()
49447 atan2l(0, 0);
49449 return 0;
49451 _ACEOF
49452 if ac_fn_cxx_try_compile "$LINENO"; then :
49453 glibcxx_cv_func_atan2l_use=yes
49454 else
49455 glibcxx_cv_func_atan2l_use=no
49457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49458 ac_ext=c
49459 ac_cpp='$CPP $CPPFLAGS'
49460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49469 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49471 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49472 for ac_func in atan2l
49473 do :
49474 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49475 if test "x$ac_cv_func_atan2l" = x""yes; then :
49476 cat >>confdefs.h <<_ACEOF
49477 #define HAVE_ATAN2L 1
49478 _ACEOF
49481 done
49483 else
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49486 $as_echo_n "checking for _atan2l declaration... " >&6; }
49487 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49488 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49489 $as_echo_n "(cached) " >&6
49490 else
49493 ac_ext=cpp
49494 ac_cpp='$CXXCPP $CPPFLAGS'
49495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49500 /* end confdefs.h. */
49501 #include <math.h>
49503 main ()
49505 _atan2l(0, 0);
49507 return 0;
49509 _ACEOF
49510 if ac_fn_cxx_try_compile "$LINENO"; then :
49511 glibcxx_cv_func__atan2l_use=yes
49512 else
49513 glibcxx_cv_func__atan2l_use=no
49515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49516 ac_ext=c
49517 ac_cpp='$CPP $CPPFLAGS'
49518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49527 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49529 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49530 for ac_func in _atan2l
49531 do :
49532 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49533 if test "x$ac_cv_func__atan2l" = x""yes; then :
49534 cat >>confdefs.h <<_ACEOF
49535 #define HAVE__ATAN2L 1
49536 _ACEOF
49539 done
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49549 $as_echo_n "checking for expl declaration... " >&6; }
49550 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49551 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49552 $as_echo_n "(cached) " >&6
49553 else
49556 ac_ext=cpp
49557 ac_cpp='$CXXCPP $CPPFLAGS'
49558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49563 /* end confdefs.h. */
49564 #include <math.h>
49565 #ifdef HAVE_IEEEFP_H
49566 #include <ieeefp.h>
49567 #endif
49570 main ()
49572 expl(0);
49574 return 0;
49576 _ACEOF
49577 if ac_fn_cxx_try_compile "$LINENO"; then :
49578 glibcxx_cv_func_expl_use=yes
49579 else
49580 glibcxx_cv_func_expl_use=no
49582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49583 ac_ext=c
49584 ac_cpp='$CPP $CPPFLAGS'
49585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49594 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49596 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49597 for ac_func in expl
49598 do :
49599 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49600 if test "x$ac_cv_func_expl" = x""yes; then :
49601 cat >>confdefs.h <<_ACEOF
49602 #define HAVE_EXPL 1
49603 _ACEOF
49606 done
49608 else
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49611 $as_echo_n "checking for _expl declaration... " >&6; }
49612 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49613 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49614 $as_echo_n "(cached) " >&6
49615 else
49618 ac_ext=cpp
49619 ac_cpp='$CXXCPP $CPPFLAGS'
49620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625 /* end confdefs.h. */
49626 #include <math.h>
49627 #ifdef HAVE_IEEEFP_H
49628 #include <ieeefp.h>
49629 #endif
49632 main ()
49634 _expl(0);
49636 return 0;
49638 _ACEOF
49639 if ac_fn_cxx_try_compile "$LINENO"; then :
49640 glibcxx_cv_func__expl_use=yes
49641 else
49642 glibcxx_cv_func__expl_use=no
49644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49645 ac_ext=c
49646 ac_cpp='$CPP $CPPFLAGS'
49647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49656 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49658 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49659 for ac_func in _expl
49660 do :
49661 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49662 if test "x$ac_cv_func__expl" = x""yes; then :
49663 cat >>confdefs.h <<_ACEOF
49664 #define HAVE__EXPL 1
49665 _ACEOF
49668 done
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49678 $as_echo_n "checking for fabsl declaration... " >&6; }
49679 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49680 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49681 $as_echo_n "(cached) " >&6
49682 else
49685 ac_ext=cpp
49686 ac_cpp='$CXXCPP $CPPFLAGS'
49687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49692 /* end confdefs.h. */
49693 #include <math.h>
49694 #ifdef HAVE_IEEEFP_H
49695 #include <ieeefp.h>
49696 #endif
49699 main ()
49701 fabsl(0);
49703 return 0;
49705 _ACEOF
49706 if ac_fn_cxx_try_compile "$LINENO"; then :
49707 glibcxx_cv_func_fabsl_use=yes
49708 else
49709 glibcxx_cv_func_fabsl_use=no
49711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49712 ac_ext=c
49713 ac_cpp='$CPP $CPPFLAGS'
49714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49723 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49725 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49726 for ac_func in fabsl
49727 do :
49728 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49729 if test "x$ac_cv_func_fabsl" = x""yes; then :
49730 cat >>confdefs.h <<_ACEOF
49731 #define HAVE_FABSL 1
49732 _ACEOF
49735 done
49737 else
49739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49740 $as_echo_n "checking for _fabsl declaration... " >&6; }
49741 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49742 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49743 $as_echo_n "(cached) " >&6
49744 else
49747 ac_ext=cpp
49748 ac_cpp='$CXXCPP $CPPFLAGS'
49749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49754 /* end confdefs.h. */
49755 #include <math.h>
49756 #ifdef HAVE_IEEEFP_H
49757 #include <ieeefp.h>
49758 #endif
49761 main ()
49763 _fabsl(0);
49765 return 0;
49767 _ACEOF
49768 if ac_fn_cxx_try_compile "$LINENO"; then :
49769 glibcxx_cv_func__fabsl_use=yes
49770 else
49771 glibcxx_cv_func__fabsl_use=no
49773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49774 ac_ext=c
49775 ac_cpp='$CPP $CPPFLAGS'
49776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49785 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49787 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49788 for ac_func in _fabsl
49789 do :
49790 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49791 if test "x$ac_cv_func__fabsl" = x""yes; then :
49792 cat >>confdefs.h <<_ACEOF
49793 #define HAVE__FABSL 1
49794 _ACEOF
49797 done
49806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49807 $as_echo_n "checking for fmodl declaration... " >&6; }
49808 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49809 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49810 $as_echo_n "(cached) " >&6
49811 else
49814 ac_ext=cpp
49815 ac_cpp='$CXXCPP $CPPFLAGS'
49816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49821 /* end confdefs.h. */
49822 #include <math.h>
49824 main ()
49826 fmodl(0, 0);
49828 return 0;
49830 _ACEOF
49831 if ac_fn_cxx_try_compile "$LINENO"; then :
49832 glibcxx_cv_func_fmodl_use=yes
49833 else
49834 glibcxx_cv_func_fmodl_use=no
49836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49837 ac_ext=c
49838 ac_cpp='$CPP $CPPFLAGS'
49839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49848 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49850 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49851 for ac_func in fmodl
49852 do :
49853 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49854 if test "x$ac_cv_func_fmodl" = x""yes; then :
49855 cat >>confdefs.h <<_ACEOF
49856 #define HAVE_FMODL 1
49857 _ACEOF
49860 done
49862 else
49864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49865 $as_echo_n "checking for _fmodl declaration... " >&6; }
49866 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49867 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49868 $as_echo_n "(cached) " >&6
49869 else
49872 ac_ext=cpp
49873 ac_cpp='$CXXCPP $CPPFLAGS'
49874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49879 /* end confdefs.h. */
49880 #include <math.h>
49882 main ()
49884 _fmodl(0, 0);
49886 return 0;
49888 _ACEOF
49889 if ac_fn_cxx_try_compile "$LINENO"; then :
49890 glibcxx_cv_func__fmodl_use=yes
49891 else
49892 glibcxx_cv_func__fmodl_use=no
49894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49895 ac_ext=c
49896 ac_cpp='$CPP $CPPFLAGS'
49897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49906 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49908 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49909 for ac_func in _fmodl
49910 do :
49911 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49912 if test "x$ac_cv_func__fmodl" = x""yes; then :
49913 cat >>confdefs.h <<_ACEOF
49914 #define HAVE__FMODL 1
49915 _ACEOF
49918 done
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49928 $as_echo_n "checking for frexpl declaration... " >&6; }
49929 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49930 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49931 $as_echo_n "(cached) " >&6
49932 else
49935 ac_ext=cpp
49936 ac_cpp='$CXXCPP $CPPFLAGS'
49937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49942 /* end confdefs.h. */
49943 #include <math.h>
49945 main ()
49947 frexpl(0, 0);
49949 return 0;
49951 _ACEOF
49952 if ac_fn_cxx_try_compile "$LINENO"; then :
49953 glibcxx_cv_func_frexpl_use=yes
49954 else
49955 glibcxx_cv_func_frexpl_use=no
49957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49958 ac_ext=c
49959 ac_cpp='$CPP $CPPFLAGS'
49960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49969 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49971 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49972 for ac_func in frexpl
49973 do :
49974 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49975 if test "x$ac_cv_func_frexpl" = x""yes; then :
49976 cat >>confdefs.h <<_ACEOF
49977 #define HAVE_FREXPL 1
49978 _ACEOF
49981 done
49983 else
49985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49986 $as_echo_n "checking for _frexpl declaration... " >&6; }
49987 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49988 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49989 $as_echo_n "(cached) " >&6
49990 else
49993 ac_ext=cpp
49994 ac_cpp='$CXXCPP $CPPFLAGS'
49995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50000 /* end confdefs.h. */
50001 #include <math.h>
50003 main ()
50005 _frexpl(0, 0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func__frexpl_use=yes
50012 else
50013 glibcxx_cv_func__frexpl_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50027 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50029 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50030 for ac_func in _frexpl
50031 do :
50032 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50033 if test "x$ac_cv_func__frexpl" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE__FREXPL 1
50036 _ACEOF
50039 done
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50049 $as_echo_n "checking for hypotl declaration... " >&6; }
50050 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50051 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50052 $as_echo_n "(cached) " >&6
50053 else
50056 ac_ext=cpp
50057 ac_cpp='$CXXCPP $CPPFLAGS'
50058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50063 /* end confdefs.h. */
50064 #include <math.h>
50066 main ()
50068 hypotl(0, 0);
50070 return 0;
50072 _ACEOF
50073 if ac_fn_cxx_try_compile "$LINENO"; then :
50074 glibcxx_cv_func_hypotl_use=yes
50075 else
50076 glibcxx_cv_func_hypotl_use=no
50078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50079 ac_ext=c
50080 ac_cpp='$CPP $CPPFLAGS'
50081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50090 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50092 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50093 for ac_func in hypotl
50094 do :
50095 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50096 if test "x$ac_cv_func_hypotl" = x""yes; then :
50097 cat >>confdefs.h <<_ACEOF
50098 #define HAVE_HYPOTL 1
50099 _ACEOF
50102 done
50104 else
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50107 $as_echo_n "checking for _hypotl declaration... " >&6; }
50108 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50109 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50110 $as_echo_n "(cached) " >&6
50111 else
50114 ac_ext=cpp
50115 ac_cpp='$CXXCPP $CPPFLAGS'
50116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50121 /* end confdefs.h. */
50122 #include <math.h>
50124 main ()
50126 _hypotl(0, 0);
50128 return 0;
50130 _ACEOF
50131 if ac_fn_cxx_try_compile "$LINENO"; then :
50132 glibcxx_cv_func__hypotl_use=yes
50133 else
50134 glibcxx_cv_func__hypotl_use=no
50136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50137 ac_ext=c
50138 ac_cpp='$CPP $CPPFLAGS'
50139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50148 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50150 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50151 for ac_func in _hypotl
50152 do :
50153 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50154 if test "x$ac_cv_func__hypotl" = x""yes; then :
50155 cat >>confdefs.h <<_ACEOF
50156 #define HAVE__HYPOTL 1
50157 _ACEOF
50160 done
50169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50170 $as_echo_n "checking for ldexpl declaration... " >&6; }
50171 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50172 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50173 $as_echo_n "(cached) " >&6
50174 else
50177 ac_ext=cpp
50178 ac_cpp='$CXXCPP $CPPFLAGS'
50179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50184 /* end confdefs.h. */
50185 #include <math.h>
50187 main ()
50189 ldexpl(0, 0);
50191 return 0;
50193 _ACEOF
50194 if ac_fn_cxx_try_compile "$LINENO"; then :
50195 glibcxx_cv_func_ldexpl_use=yes
50196 else
50197 glibcxx_cv_func_ldexpl_use=no
50199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50200 ac_ext=c
50201 ac_cpp='$CPP $CPPFLAGS'
50202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50211 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50213 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50214 for ac_func in ldexpl
50215 do :
50216 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50217 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50218 cat >>confdefs.h <<_ACEOF
50219 #define HAVE_LDEXPL 1
50220 _ACEOF
50223 done
50225 else
50227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50228 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50229 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50230 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50231 $as_echo_n "(cached) " >&6
50232 else
50235 ac_ext=cpp
50236 ac_cpp='$CXXCPP $CPPFLAGS'
50237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50242 /* end confdefs.h. */
50243 #include <math.h>
50245 main ()
50247 _ldexpl(0, 0);
50249 return 0;
50251 _ACEOF
50252 if ac_fn_cxx_try_compile "$LINENO"; then :
50253 glibcxx_cv_func__ldexpl_use=yes
50254 else
50255 glibcxx_cv_func__ldexpl_use=no
50257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50258 ac_ext=c
50259 ac_cpp='$CPP $CPPFLAGS'
50260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50269 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50271 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50272 for ac_func in _ldexpl
50273 do :
50274 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50275 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50276 cat >>confdefs.h <<_ACEOF
50277 #define HAVE__LDEXPL 1
50278 _ACEOF
50281 done
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50291 $as_echo_n "checking for logl declaration... " >&6; }
50292 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50293 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50294 $as_echo_n "(cached) " >&6
50295 else
50298 ac_ext=cpp
50299 ac_cpp='$CXXCPP $CPPFLAGS'
50300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50305 /* end confdefs.h. */
50306 #include <math.h>
50307 #ifdef HAVE_IEEEFP_H
50308 #include <ieeefp.h>
50309 #endif
50312 main ()
50314 logl(0);
50316 return 0;
50318 _ACEOF
50319 if ac_fn_cxx_try_compile "$LINENO"; then :
50320 glibcxx_cv_func_logl_use=yes
50321 else
50322 glibcxx_cv_func_logl_use=no
50324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50325 ac_ext=c
50326 ac_cpp='$CPP $CPPFLAGS'
50327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50336 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50338 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50339 for ac_func in logl
50340 do :
50341 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50342 if test "x$ac_cv_func_logl" = x""yes; then :
50343 cat >>confdefs.h <<_ACEOF
50344 #define HAVE_LOGL 1
50345 _ACEOF
50348 done
50350 else
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50353 $as_echo_n "checking for _logl declaration... " >&6; }
50354 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50355 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50356 $as_echo_n "(cached) " >&6
50357 else
50360 ac_ext=cpp
50361 ac_cpp='$CXXCPP $CPPFLAGS'
50362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50367 /* end confdefs.h. */
50368 #include <math.h>
50369 #ifdef HAVE_IEEEFP_H
50370 #include <ieeefp.h>
50371 #endif
50374 main ()
50376 _logl(0);
50378 return 0;
50380 _ACEOF
50381 if ac_fn_cxx_try_compile "$LINENO"; then :
50382 glibcxx_cv_func__logl_use=yes
50383 else
50384 glibcxx_cv_func__logl_use=no
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387 ac_ext=c
50388 ac_cpp='$CPP $CPPFLAGS'
50389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50398 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50400 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50401 for ac_func in _logl
50402 do :
50403 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50404 if test "x$ac_cv_func__logl" = x""yes; then :
50405 cat >>confdefs.h <<_ACEOF
50406 #define HAVE__LOGL 1
50407 _ACEOF
50410 done
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50420 $as_echo_n "checking for log10l declaration... " >&6; }
50421 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50422 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50423 $as_echo_n "(cached) " >&6
50424 else
50427 ac_ext=cpp
50428 ac_cpp='$CXXCPP $CPPFLAGS'
50429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50434 /* end confdefs.h. */
50435 #include <math.h>
50436 #ifdef HAVE_IEEEFP_H
50437 #include <ieeefp.h>
50438 #endif
50441 main ()
50443 log10l(0);
50445 return 0;
50447 _ACEOF
50448 if ac_fn_cxx_try_compile "$LINENO"; then :
50449 glibcxx_cv_func_log10l_use=yes
50450 else
50451 glibcxx_cv_func_log10l_use=no
50453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50454 ac_ext=c
50455 ac_cpp='$CPP $CPPFLAGS'
50456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50465 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50467 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50468 for ac_func in log10l
50469 do :
50470 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50471 if test "x$ac_cv_func_log10l" = x""yes; then :
50472 cat >>confdefs.h <<_ACEOF
50473 #define HAVE_LOG10L 1
50474 _ACEOF
50477 done
50479 else
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50482 $as_echo_n "checking for _log10l declaration... " >&6; }
50483 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50484 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50485 $as_echo_n "(cached) " >&6
50486 else
50489 ac_ext=cpp
50490 ac_cpp='$CXXCPP $CPPFLAGS'
50491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h. */
50497 #include <math.h>
50498 #ifdef HAVE_IEEEFP_H
50499 #include <ieeefp.h>
50500 #endif
50503 main ()
50505 _log10l(0);
50507 return 0;
50509 _ACEOF
50510 if ac_fn_cxx_try_compile "$LINENO"; then :
50511 glibcxx_cv_func__log10l_use=yes
50512 else
50513 glibcxx_cv_func__log10l_use=no
50515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50516 ac_ext=c
50517 ac_cpp='$CPP $CPPFLAGS'
50518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50527 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50529 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50530 for ac_func in _log10l
50531 do :
50532 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50533 if test "x$ac_cv_func__log10l" = x""yes; then :
50534 cat >>confdefs.h <<_ACEOF
50535 #define HAVE__LOG10L 1
50536 _ACEOF
50539 done
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50549 $as_echo_n "checking for modfl declaration... " >&6; }
50550 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50551 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50552 $as_echo_n "(cached) " >&6
50553 else
50556 ac_ext=cpp
50557 ac_cpp='$CXXCPP $CPPFLAGS'
50558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50563 /* end confdefs.h. */
50564 #include <math.h>
50566 main ()
50568 modfl(0, 0);
50570 return 0;
50572 _ACEOF
50573 if ac_fn_cxx_try_compile "$LINENO"; then :
50574 glibcxx_cv_func_modfl_use=yes
50575 else
50576 glibcxx_cv_func_modfl_use=no
50578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50579 ac_ext=c
50580 ac_cpp='$CPP $CPPFLAGS'
50581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50590 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50592 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50593 for ac_func in modfl
50594 do :
50595 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50596 if test "x$ac_cv_func_modfl" = x""yes; then :
50597 cat >>confdefs.h <<_ACEOF
50598 #define HAVE_MODFL 1
50599 _ACEOF
50602 done
50604 else
50606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50607 $as_echo_n "checking for _modfl declaration... " >&6; }
50608 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50609 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50610 $as_echo_n "(cached) " >&6
50611 else
50614 ac_ext=cpp
50615 ac_cpp='$CXXCPP $CPPFLAGS'
50616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50621 /* end confdefs.h. */
50622 #include <math.h>
50624 main ()
50626 _modfl(0, 0);
50628 return 0;
50630 _ACEOF
50631 if ac_fn_cxx_try_compile "$LINENO"; then :
50632 glibcxx_cv_func__modfl_use=yes
50633 else
50634 glibcxx_cv_func__modfl_use=no
50636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50637 ac_ext=c
50638 ac_cpp='$CPP $CPPFLAGS'
50639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50648 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50650 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50651 for ac_func in _modfl
50652 do :
50653 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50654 if test "x$ac_cv_func__modfl" = x""yes; then :
50655 cat >>confdefs.h <<_ACEOF
50656 #define HAVE__MODFL 1
50657 _ACEOF
50660 done
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50670 $as_echo_n "checking for powl declaration... " >&6; }
50671 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50672 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50673 $as_echo_n "(cached) " >&6
50674 else
50677 ac_ext=cpp
50678 ac_cpp='$CXXCPP $CPPFLAGS'
50679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50684 /* end confdefs.h. */
50685 #include <math.h>
50687 main ()
50689 powl(0, 0);
50691 return 0;
50693 _ACEOF
50694 if ac_fn_cxx_try_compile "$LINENO"; then :
50695 glibcxx_cv_func_powl_use=yes
50696 else
50697 glibcxx_cv_func_powl_use=no
50699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50700 ac_ext=c
50701 ac_cpp='$CPP $CPPFLAGS'
50702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50711 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50713 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50714 for ac_func in powl
50715 do :
50716 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50717 if test "x$ac_cv_func_powl" = x""yes; then :
50718 cat >>confdefs.h <<_ACEOF
50719 #define HAVE_POWL 1
50720 _ACEOF
50723 done
50725 else
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50728 $as_echo_n "checking for _powl declaration... " >&6; }
50729 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50730 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50731 $as_echo_n "(cached) " >&6
50732 else
50735 ac_ext=cpp
50736 ac_cpp='$CXXCPP $CPPFLAGS'
50737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50742 /* end confdefs.h. */
50743 #include <math.h>
50745 main ()
50747 _powl(0, 0);
50749 return 0;
50751 _ACEOF
50752 if ac_fn_cxx_try_compile "$LINENO"; then :
50753 glibcxx_cv_func__powl_use=yes
50754 else
50755 glibcxx_cv_func__powl_use=no
50757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50758 ac_ext=c
50759 ac_cpp='$CPP $CPPFLAGS'
50760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50769 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50771 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50772 for ac_func in _powl
50773 do :
50774 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50775 if test "x$ac_cv_func__powl" = x""yes; then :
50776 cat >>confdefs.h <<_ACEOF
50777 #define HAVE__POWL 1
50778 _ACEOF
50781 done
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50791 $as_echo_n "checking for sqrtl declaration... " >&6; }
50792 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50793 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50794 $as_echo_n "(cached) " >&6
50795 else
50798 ac_ext=cpp
50799 ac_cpp='$CXXCPP $CPPFLAGS'
50800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50805 /* end confdefs.h. */
50806 #include <math.h>
50807 #ifdef HAVE_IEEEFP_H
50808 #include <ieeefp.h>
50809 #endif
50812 main ()
50814 sqrtl(0);
50816 return 0;
50818 _ACEOF
50819 if ac_fn_cxx_try_compile "$LINENO"; then :
50820 glibcxx_cv_func_sqrtl_use=yes
50821 else
50822 glibcxx_cv_func_sqrtl_use=no
50824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50825 ac_ext=c
50826 ac_cpp='$CPP $CPPFLAGS'
50827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50836 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50838 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50839 for ac_func in sqrtl
50840 do :
50841 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50842 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50843 cat >>confdefs.h <<_ACEOF
50844 #define HAVE_SQRTL 1
50845 _ACEOF
50848 done
50850 else
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50853 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50854 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50855 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50869 #ifdef HAVE_IEEEFP_H
50870 #include <ieeefp.h>
50871 #endif
50874 main ()
50876 _sqrtl(0);
50878 return 0;
50880 _ACEOF
50881 if ac_fn_cxx_try_compile "$LINENO"; then :
50882 glibcxx_cv_func__sqrtl_use=yes
50883 else
50884 glibcxx_cv_func__sqrtl_use=no
50886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50887 ac_ext=c
50888 ac_cpp='$CPP $CPPFLAGS'
50889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50898 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50900 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50901 for ac_func in _sqrtl
50902 do :
50903 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50904 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50905 cat >>confdefs.h <<_ACEOF
50906 #define HAVE__SQRTL 1
50907 _ACEOF
50910 done
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50920 $as_echo_n "checking for sincosl declaration... " >&6; }
50921 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50922 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50923 $as_echo_n "(cached) " >&6
50924 else
50927 ac_ext=cpp
50928 ac_cpp='$CXXCPP $CPPFLAGS'
50929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50934 /* end confdefs.h. */
50935 #include <math.h>
50937 main ()
50939 sincosl(0, 0, 0);
50941 return 0;
50943 _ACEOF
50944 if ac_fn_cxx_try_compile "$LINENO"; then :
50945 glibcxx_cv_func_sincosl_use=yes
50946 else
50947 glibcxx_cv_func_sincosl_use=no
50949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50950 ac_ext=c
50951 ac_cpp='$CPP $CPPFLAGS'
50952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50961 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50963 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50964 for ac_func in sincosl
50965 do :
50966 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50967 if test "x$ac_cv_func_sincosl" = x""yes; then :
50968 cat >>confdefs.h <<_ACEOF
50969 #define HAVE_SINCOSL 1
50970 _ACEOF
50973 done
50975 else
50977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50978 $as_echo_n "checking for _sincosl declaration... " >&6; }
50979 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50980 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50981 $as_echo_n "(cached) " >&6
50982 else
50985 ac_ext=cpp
50986 ac_cpp='$CXXCPP $CPPFLAGS'
50987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50992 /* end confdefs.h. */
50993 #include <math.h>
50995 main ()
50997 _sincosl(0, 0, 0);
50999 return 0;
51001 _ACEOF
51002 if ac_fn_cxx_try_compile "$LINENO"; then :
51003 glibcxx_cv_func__sincosl_use=yes
51004 else
51005 glibcxx_cv_func__sincosl_use=no
51007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51008 ac_ext=c
51009 ac_cpp='$CPP $CPPFLAGS'
51010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51019 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51021 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51022 for ac_func in _sincosl
51023 do :
51024 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51025 if test "x$ac_cv_func__sincosl" = x""yes; then :
51026 cat >>confdefs.h <<_ACEOF
51027 #define HAVE__SINCOSL 1
51028 _ACEOF
51031 done
51040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51041 $as_echo_n "checking for finitel declaration... " >&6; }
51042 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51043 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51044 $as_echo_n "(cached) " >&6
51045 else
51048 ac_ext=cpp
51049 ac_cpp='$CXXCPP $CPPFLAGS'
51050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51055 /* end confdefs.h. */
51056 #include <math.h>
51057 #ifdef HAVE_IEEEFP_H
51058 #include <ieeefp.h>
51059 #endif
51062 main ()
51064 finitel(0);
51066 return 0;
51068 _ACEOF
51069 if ac_fn_cxx_try_compile "$LINENO"; then :
51070 glibcxx_cv_func_finitel_use=yes
51071 else
51072 glibcxx_cv_func_finitel_use=no
51074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51075 ac_ext=c
51076 ac_cpp='$CPP $CPPFLAGS'
51077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51086 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51088 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51089 for ac_func in finitel
51090 do :
51091 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51092 if test "x$ac_cv_func_finitel" = x""yes; then :
51093 cat >>confdefs.h <<_ACEOF
51094 #define HAVE_FINITEL 1
51095 _ACEOF
51098 done
51100 else
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51103 $as_echo_n "checking for _finitel declaration... " >&6; }
51104 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51105 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51106 $as_echo_n "(cached) " >&6
51107 else
51110 ac_ext=cpp
51111 ac_cpp='$CXXCPP $CPPFLAGS'
51112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51117 /* end confdefs.h. */
51118 #include <math.h>
51119 #ifdef HAVE_IEEEFP_H
51120 #include <ieeefp.h>
51121 #endif
51124 main ()
51126 _finitel(0);
51128 return 0;
51130 _ACEOF
51131 if ac_fn_cxx_try_compile "$LINENO"; then :
51132 glibcxx_cv_func__finitel_use=yes
51133 else
51134 glibcxx_cv_func__finitel_use=no
51136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51137 ac_ext=c
51138 ac_cpp='$CPP $CPPFLAGS'
51139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51148 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51150 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51151 for ac_func in _finitel
51152 do :
51153 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51154 if test "x$ac_cv_func__finitel" = x""yes; then :
51155 cat >>confdefs.h <<_ACEOF
51156 #define HAVE__FINITEL 1
51157 _ACEOF
51160 done
51168 LIBS="$ac_save_LIBS"
51169 CXXFLAGS="$ac_save_CXXFLAGS"
51172 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51173 ac_save_CXXFLAGS="$CXXFLAGS"
51174 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51178 $as_echo_n "checking for strtold declaration... " >&6; }
51179 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51180 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51181 $as_echo_n "(cached) " >&6
51182 else
51185 ac_ext=cpp
51186 ac_cpp='$CXXCPP $CPPFLAGS'
51187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51192 /* end confdefs.h. */
51193 #include <stdlib.h>
51195 main ()
51197 strtold(0, 0);
51199 return 0;
51201 _ACEOF
51202 if ac_fn_cxx_try_compile "$LINENO"; then :
51203 glibcxx_cv_func_strtold_use=yes
51204 else
51205 glibcxx_cv_func_strtold_use=no
51207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51208 ac_ext=c
51209 ac_cpp='$CPP $CPPFLAGS'
51210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51219 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51220 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51221 for ac_func in strtold
51222 do :
51223 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51224 if test "x$ac_cv_func_strtold" = x""yes; then :
51225 cat >>confdefs.h <<_ACEOF
51226 #define HAVE_STRTOLD 1
51227 _ACEOF
51230 done
51237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51238 $as_echo_n "checking for strtof declaration... " >&6; }
51239 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51240 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51241 $as_echo_n "(cached) " >&6
51242 else
51245 ac_ext=cpp
51246 ac_cpp='$CXXCPP $CPPFLAGS'
51247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51252 /* end confdefs.h. */
51253 #include <stdlib.h>
51255 main ()
51257 strtof(0, 0);
51259 return 0;
51261 _ACEOF
51262 if ac_fn_cxx_try_compile "$LINENO"; then :
51263 glibcxx_cv_func_strtof_use=yes
51264 else
51265 glibcxx_cv_func_strtof_use=no
51267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51268 ac_ext=c
51269 ac_cpp='$CPP $CPPFLAGS'
51270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51279 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51280 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51281 for ac_func in strtof
51282 do :
51283 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51284 if test "x$ac_cv_func_strtof" = x""yes; then :
51285 cat >>confdefs.h <<_ACEOF
51286 #define HAVE_STRTOF 1
51287 _ACEOF
51290 done
51297 CXXFLAGS="$ac_save_CXXFLAGS"
51299 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51303 # Check whether --enable-tls was given.
51304 if test "${enable_tls+set}" = set; then :
51305 enableval=$enable_tls;
51306 case "$enableval" in
51307 yes|no) ;;
51308 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51309 esac
51311 else
51312 enable_tls=yes
51316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51317 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51318 if test "${gcc_cv_have_tls+set}" = set; then :
51319 $as_echo_n "(cached) " >&6
51320 else
51322 if test "$cross_compiling" = yes; then :
51323 if test x$gcc_no_link = xyes; then
51324 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51327 /* end confdefs.h. */
51328 __thread int a; int b; int main() { return a = b; }
51329 _ACEOF
51330 if ac_fn_c_try_link "$LINENO"; then :
51331 chktls_save_LDFLAGS="$LDFLAGS"
51332 case $host in
51333 *-*-linux*)
51334 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51336 esac
51337 chktls_save_CFLAGS="$CFLAGS"
51338 CFLAGS="-fPIC $CFLAGS"
51339 if test x$gcc_no_link = xyes; then
51340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51343 /* end confdefs.h. */
51344 int f() { return 0; }
51345 _ACEOF
51346 if ac_fn_c_try_link "$LINENO"; then :
51347 if test x$gcc_no_link = xyes; then
51348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51351 /* end confdefs.h. */
51352 __thread int a; int b; int f() { return a = b; }
51353 _ACEOF
51354 if ac_fn_c_try_link "$LINENO"; then :
51355 gcc_cv_have_tls=yes
51356 else
51357 gcc_cv_have_tls=no
51359 rm -f core conftest.err conftest.$ac_objext \
51360 conftest$ac_exeext conftest.$ac_ext
51361 else
51362 gcc_cv_have_tls=yes
51364 rm -f core conftest.err conftest.$ac_objext \
51365 conftest$ac_exeext conftest.$ac_ext
51366 CFLAGS="$chktls_save_CFLAGS"
51367 LDFLAGS="$chktls_save_LDFLAGS"
51368 else
51369 gcc_cv_have_tls=no
51371 rm -f core conftest.err conftest.$ac_objext \
51372 conftest$ac_exeext conftest.$ac_ext
51375 else
51376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51377 /* end confdefs.h. */
51378 __thread int a; int b; int main() { return a = b; }
51379 _ACEOF
51380 if ac_fn_c_try_run "$LINENO"; then :
51381 chktls_save_LDFLAGS="$LDFLAGS"
51382 LDFLAGS="-static $LDFLAGS"
51383 if test x$gcc_no_link = xyes; then
51384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51387 /* end confdefs.h. */
51388 int main() { return 0; }
51389 _ACEOF
51390 if ac_fn_c_try_link "$LINENO"; then :
51391 if test "$cross_compiling" = yes; then :
51392 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51394 as_fn_error "cannot run test program while cross compiling
51395 See \`config.log' for more details." "$LINENO" 5; }
51396 else
51397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51398 /* end confdefs.h. */
51399 __thread int a; int b; int main() { return a = b; }
51400 _ACEOF
51401 if ac_fn_c_try_run "$LINENO"; then :
51402 gcc_cv_have_tls=yes
51403 else
51404 gcc_cv_have_tls=no
51406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51407 conftest.$ac_objext conftest.beam conftest.$ac_ext
51410 else
51411 gcc_cv_have_tls=yes
51413 rm -f core conftest.err conftest.$ac_objext \
51414 conftest$ac_exeext conftest.$ac_ext
51415 LDFLAGS="$chktls_save_LDFLAGS"
51416 if test $gcc_cv_have_tls = yes; then
51417 chktls_save_CFLAGS="$CFLAGS"
51418 thread_CFLAGS=failed
51419 for flag in '' '-pthread' '-lpthread'; do
51420 CFLAGS="$flag $chktls_save_CFLAGS"
51421 if test x$gcc_no_link = xyes; then
51422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51425 /* end confdefs.h. */
51426 #include <pthread.h>
51427 void *g(void *d) { return NULL; }
51429 main ()
51431 pthread_t t; pthread_create(&t,NULL,g,NULL);
51433 return 0;
51435 _ACEOF
51436 if ac_fn_c_try_link "$LINENO"; then :
51437 thread_CFLAGS="$flag"
51439 rm -f core conftest.err conftest.$ac_objext \
51440 conftest$ac_exeext conftest.$ac_ext
51441 if test "X$thread_CFLAGS" != Xfailed; then
51442 break
51444 done
51445 CFLAGS="$chktls_save_CFLAGS"
51446 if test "X$thread_CFLAGS" != Xfailed; then
51447 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51448 if test "$cross_compiling" = yes; then :
51449 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51450 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51451 as_fn_error "cannot run test program while cross compiling
51452 See \`config.log' for more details." "$LINENO" 5; }
51453 else
51454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51455 /* end confdefs.h. */
51456 #include <pthread.h>
51457 __thread int a;
51458 static int *volatile a_in_other_thread;
51459 static void *
51460 thread_func (void *arg)
51462 a_in_other_thread = &a;
51463 return (void *)0;
51466 main ()
51468 pthread_t thread;
51469 void *thread_retval;
51470 int *volatile a_in_main_thread;
51471 a_in_main_thread = &a;
51472 if (pthread_create (&thread, (pthread_attr_t *)0,
51473 thread_func, (void *)0))
51474 return 0;
51475 if (pthread_join (thread, &thread_retval))
51476 return 0;
51477 return (a_in_other_thread == a_in_main_thread);
51479 return 0;
51481 _ACEOF
51482 if ac_fn_c_try_run "$LINENO"; then :
51483 gcc_cv_have_tls=yes
51484 else
51485 gcc_cv_have_tls=no
51487 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51488 conftest.$ac_objext conftest.beam conftest.$ac_ext
51491 CFLAGS="$chktls_save_CFLAGS"
51494 else
51495 gcc_cv_have_tls=no
51497 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51498 conftest.$ac_objext conftest.beam conftest.$ac_ext
51502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51503 $as_echo "$gcc_cv_have_tls" >&6; }
51504 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51506 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51514 am_save_CPPFLAGS="$CPPFLAGS"
51516 for element in $INCICONV; do
51517 haveit=
51518 for x in $CPPFLAGS; do
51520 acl_save_prefix="$prefix"
51521 prefix="$acl_final_prefix"
51522 acl_save_exec_prefix="$exec_prefix"
51523 exec_prefix="$acl_final_exec_prefix"
51524 eval x=\"$x\"
51525 exec_prefix="$acl_save_exec_prefix"
51526 prefix="$acl_save_prefix"
51528 if test "X$x" = "X$element"; then
51529 haveit=yes
51530 break
51532 done
51533 if test -z "$haveit"; then
51534 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51536 done
51539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51540 $as_echo_n "checking for iconv... " >&6; }
51541 if test "${am_cv_func_iconv+set}" = set; then :
51542 $as_echo_n "(cached) " >&6
51543 else
51545 am_cv_func_iconv="no, consider installing GNU libiconv"
51546 am_cv_lib_iconv=no
51547 if test x$gcc_no_link = xyes; then
51548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51551 /* end confdefs.h. */
51552 #include <stdlib.h>
51553 #include <iconv.h>
51555 main ()
51557 iconv_t cd = iconv_open("","");
51558 iconv(cd,NULL,NULL,NULL,NULL);
51559 iconv_close(cd);
51561 return 0;
51563 _ACEOF
51564 if ac_fn_c_try_link "$LINENO"; then :
51565 am_cv_func_iconv=yes
51567 rm -f core conftest.err conftest.$ac_objext \
51568 conftest$ac_exeext conftest.$ac_ext
51569 if test "$am_cv_func_iconv" != yes; then
51570 am_save_LIBS="$LIBS"
51571 LIBS="$LIBS $LIBICONV"
51572 if test x$gcc_no_link = xyes; then
51573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51576 /* end confdefs.h. */
51577 #include <stdlib.h>
51578 #include <iconv.h>
51580 main ()
51582 iconv_t cd = iconv_open("","");
51583 iconv(cd,NULL,NULL,NULL,NULL);
51584 iconv_close(cd);
51586 return 0;
51588 _ACEOF
51589 if ac_fn_c_try_link "$LINENO"; then :
51590 am_cv_lib_iconv=yes
51591 am_cv_func_iconv=yes
51593 rm -f core conftest.err conftest.$ac_objext \
51594 conftest$ac_exeext conftest.$ac_ext
51595 LIBS="$am_save_LIBS"
51599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51600 $as_echo "$am_cv_func_iconv" >&6; }
51601 if test "$am_cv_func_iconv" = yes; then
51603 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51606 if test "$am_cv_lib_iconv" = yes; then
51607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51608 $as_echo_n "checking how to link with libiconv... " >&6; }
51609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51610 $as_echo "$LIBICONV" >&6; }
51611 else
51612 CPPFLAGS="$am_save_CPPFLAGS"
51613 LIBICONV=
51614 LTLIBICONV=
51619 if test "$am_cv_func_iconv" = yes; then
51620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51621 $as_echo_n "checking for iconv declaration... " >&6; }
51622 if test "${am_cv_proto_iconv+set}" = set; then :
51623 $as_echo_n "(cached) " >&6
51624 else
51626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51627 /* end confdefs.h. */
51629 #include <stdlib.h>
51630 #include <iconv.h>
51631 extern
51632 #ifdef __cplusplus
51634 #endif
51635 #if defined(__STDC__) || defined(__cplusplus)
51636 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51637 #else
51638 size_t iconv();
51639 #endif
51642 main ()
51646 return 0;
51648 _ACEOF
51649 if ac_fn_c_try_compile "$LINENO"; then :
51650 am_cv_proto_iconv_arg1=""
51651 else
51652 am_cv_proto_iconv_arg1="const"
51654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51655 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);"
51658 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51660 }$am_cv_proto_iconv" >&5
51661 $as_echo "${ac_t:-
51662 }$am_cv_proto_iconv" >&6; }
51664 cat >>confdefs.h <<_ACEOF
51665 #define ICONV_CONST $am_cv_proto_iconv_arg1
51666 _ACEOF
51671 *-mingw32*)
51673 # If we're not using GNU ld, then there's no point in even trying these
51674 # tests. Check for that first. We should have already tested for gld
51675 # by now (in libtool), but require it now just to be safe...
51676 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51677 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51681 # The name set by libtool depends on the version of libtool. Shame on us
51682 # for depending on an impl detail, but c'est la vie. Older versions used
51683 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51684 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51685 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51686 # set (hence we're using an older libtool), then set it.
51687 if test x${with_gnu_ld+set} != xset; then
51688 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51689 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51690 with_gnu_ld=no
51691 else
51692 with_gnu_ld=$ac_cv_prog_gnu_ld
51696 # Start by getting the version number. I think the libtool test already
51697 # does some of this, but throws away the result.
51698 glibcxx_ld_is_gold=no
51699 if test x"$with_gnu_ld" = x"yes"; then
51700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51701 $as_echo_n "checking for ld version... " >&6; }
51703 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51704 glibcxx_ld_is_gold=yes
51706 ldver=`$LD --version 2>/dev/null |
51707 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'`
51709 glibcxx_gnu_ld_version=`echo $ldver | \
51710 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51712 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51715 # Set --gc-sections.
51716 glibcxx_have_gc_sections=no
51717 if test "$glibcxx_ld_is_gold" = "yes"; then
51718 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51719 glibcxx_have_gc_sections=yes
51721 else
51722 glibcxx_gcsections_min_ld=21602
51723 if test x"$with_gnu_ld" = x"yes" &&
51724 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51725 glibcxx_have_gc_sections=yes
51728 if test "$glibcxx_have_gc_sections" = "yes"; then
51729 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51730 # NB: This flag only works reliably after 2.16.1. Configure tests
51731 # for this are difficult, so hard wire a value that should work.
51733 ac_test_CFLAGS="${CFLAGS+set}"
51734 ac_save_CFLAGS="$CFLAGS"
51735 CFLAGS='-Wl,--gc-sections'
51737 # Check for -Wl,--gc-sections
51738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51739 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51740 if test x$gcc_no_link = xyes; then
51741 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51744 /* end confdefs.h. */
51745 int one(void) { return 1; }
51746 int two(void) { return 2; }
51749 main ()
51751 two();
51753 return 0;
51755 _ACEOF
51756 if ac_fn_c_try_link "$LINENO"; then :
51757 ac_gcsections=yes
51758 else
51759 ac_gcsections=no
51761 rm -f core conftest.err conftest.$ac_objext \
51762 conftest$ac_exeext conftest.$ac_ext
51763 if test "$ac_gcsections" = "yes"; then
51764 rm -f conftest.c
51765 touch conftest.c
51766 if $CC -c conftest.c; then
51767 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51768 grep "Warning: gc-sections option ignored" > /dev/null; then
51769 ac_gcsections=no
51772 rm -f conftest.c conftest.o conftest
51774 if test "$ac_gcsections" = "yes"; then
51775 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51778 $as_echo "$ac_gcsections" >&6; }
51780 if test "$ac_test_CFLAGS" = set; then
51781 CFLAGS="$ac_save_CFLAGS"
51782 else
51783 # this is the suspicious part
51784 CFLAGS=''
51788 # Set -z,relro.
51789 # Note this is only for shared objects.
51790 ac_ld_relro=no
51791 if test x"$with_gnu_ld" = x"yes"; then
51792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51793 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51794 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51795 if test -n "$cxx_z_relo"; then
51796 OPT_LDFLAGS="-Wl,-z,relro"
51797 ac_ld_relro=yes
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51800 $as_echo "$ac_ld_relro" >&6; }
51803 # Set linker optimization flags.
51804 if test x"$with_gnu_ld" = x"yes"; then
51805 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51812 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51813 ac_save_CXXFLAGS="$CXXFLAGS"
51814 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51817 $as_echo_n "checking for sin in -lm... " >&6; }
51818 if test "${ac_cv_lib_m_sin+set}" = set; then :
51819 $as_echo_n "(cached) " >&6
51820 else
51821 ac_check_lib_save_LIBS=$LIBS
51822 LIBS="-lm $LIBS"
51823 if test x$gcc_no_link = xyes; then
51824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51827 /* end confdefs.h. */
51829 /* Override any GCC internal prototype to avoid an error.
51830 Use char because int might match the return type of a GCC
51831 builtin and then its argument prototype would still apply. */
51832 #ifdef __cplusplus
51833 extern "C"
51834 #endif
51835 char sin ();
51837 main ()
51839 return sin ();
51841 return 0;
51843 _ACEOF
51844 if ac_fn_c_try_link "$LINENO"; then :
51845 ac_cv_lib_m_sin=yes
51846 else
51847 ac_cv_lib_m_sin=no
51849 rm -f core conftest.err conftest.$ac_objext \
51850 conftest$ac_exeext conftest.$ac_ext
51851 LIBS=$ac_check_lib_save_LIBS
51853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51854 $as_echo "$ac_cv_lib_m_sin" >&6; }
51855 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51856 libm="-lm"
51859 ac_save_LIBS="$LIBS"
51860 LIBS="$LIBS $libm"
51864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51865 $as_echo_n "checking for isinf declaration... " >&6; }
51866 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51867 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51868 $as_echo_n "(cached) " >&6
51869 else
51872 ac_ext=cpp
51873 ac_cpp='$CXXCPP $CPPFLAGS'
51874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51879 /* end confdefs.h. */
51880 #include <math.h>
51881 #ifdef HAVE_IEEEFP_H
51882 #include <ieeefp.h>
51883 #endif
51886 main ()
51888 isinf(0);
51890 return 0;
51892 _ACEOF
51893 if ac_fn_cxx_try_compile "$LINENO"; then :
51894 glibcxx_cv_func_isinf_use=yes
51895 else
51896 glibcxx_cv_func_isinf_use=no
51898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51899 ac_ext=c
51900 ac_cpp='$CPP $CPPFLAGS'
51901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51910 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51912 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51913 for ac_func in isinf
51914 do :
51915 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51916 if test "x$ac_cv_func_isinf" = x""yes; then :
51917 cat >>confdefs.h <<_ACEOF
51918 #define HAVE_ISINF 1
51919 _ACEOF
51922 done
51924 else
51926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51927 $as_echo_n "checking for _isinf declaration... " >&6; }
51928 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51929 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51930 $as_echo_n "(cached) " >&6
51931 else
51934 ac_ext=cpp
51935 ac_cpp='$CXXCPP $CPPFLAGS'
51936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51941 /* end confdefs.h. */
51942 #include <math.h>
51943 #ifdef HAVE_IEEEFP_H
51944 #include <ieeefp.h>
51945 #endif
51948 main ()
51950 _isinf(0);
51952 return 0;
51954 _ACEOF
51955 if ac_fn_cxx_try_compile "$LINENO"; then :
51956 glibcxx_cv_func__isinf_use=yes
51957 else
51958 glibcxx_cv_func__isinf_use=no
51960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51961 ac_ext=c
51962 ac_cpp='$CPP $CPPFLAGS'
51963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51972 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51974 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51975 for ac_func in _isinf
51976 do :
51977 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51978 if test "x$ac_cv_func__isinf" = x""yes; then :
51979 cat >>confdefs.h <<_ACEOF
51980 #define HAVE__ISINF 1
51981 _ACEOF
51984 done
51993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51994 $as_echo_n "checking for isnan declaration... " >&6; }
51995 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51996 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51997 $as_echo_n "(cached) " >&6
51998 else
52001 ac_ext=cpp
52002 ac_cpp='$CXXCPP $CPPFLAGS'
52003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52008 /* end confdefs.h. */
52009 #include <math.h>
52010 #ifdef HAVE_IEEEFP_H
52011 #include <ieeefp.h>
52012 #endif
52015 main ()
52017 isnan(0);
52019 return 0;
52021 _ACEOF
52022 if ac_fn_cxx_try_compile "$LINENO"; then :
52023 glibcxx_cv_func_isnan_use=yes
52024 else
52025 glibcxx_cv_func_isnan_use=no
52027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52028 ac_ext=c
52029 ac_cpp='$CPP $CPPFLAGS'
52030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52039 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52041 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52042 for ac_func in isnan
52043 do :
52044 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52045 if test "x$ac_cv_func_isnan" = x""yes; then :
52046 cat >>confdefs.h <<_ACEOF
52047 #define HAVE_ISNAN 1
52048 _ACEOF
52051 done
52053 else
52055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52056 $as_echo_n "checking for _isnan declaration... " >&6; }
52057 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52058 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52059 $as_echo_n "(cached) " >&6
52060 else
52063 ac_ext=cpp
52064 ac_cpp='$CXXCPP $CPPFLAGS'
52065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52070 /* end confdefs.h. */
52071 #include <math.h>
52072 #ifdef HAVE_IEEEFP_H
52073 #include <ieeefp.h>
52074 #endif
52077 main ()
52079 _isnan(0);
52081 return 0;
52083 _ACEOF
52084 if ac_fn_cxx_try_compile "$LINENO"; then :
52085 glibcxx_cv_func__isnan_use=yes
52086 else
52087 glibcxx_cv_func__isnan_use=no
52089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52090 ac_ext=c
52091 ac_cpp='$CPP $CPPFLAGS'
52092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52101 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52103 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52104 for ac_func in _isnan
52105 do :
52106 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52107 if test "x$ac_cv_func__isnan" = x""yes; then :
52108 cat >>confdefs.h <<_ACEOF
52109 #define HAVE__ISNAN 1
52110 _ACEOF
52113 done
52122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52123 $as_echo_n "checking for finite declaration... " >&6; }
52124 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52125 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52126 $as_echo_n "(cached) " >&6
52127 else
52130 ac_ext=cpp
52131 ac_cpp='$CXXCPP $CPPFLAGS'
52132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52137 /* end confdefs.h. */
52138 #include <math.h>
52139 #ifdef HAVE_IEEEFP_H
52140 #include <ieeefp.h>
52141 #endif
52144 main ()
52146 finite(0);
52148 return 0;
52150 _ACEOF
52151 if ac_fn_cxx_try_compile "$LINENO"; then :
52152 glibcxx_cv_func_finite_use=yes
52153 else
52154 glibcxx_cv_func_finite_use=no
52156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52157 ac_ext=c
52158 ac_cpp='$CPP $CPPFLAGS'
52159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52168 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52170 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52171 for ac_func in finite
52172 do :
52173 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52174 if test "x$ac_cv_func_finite" = x""yes; then :
52175 cat >>confdefs.h <<_ACEOF
52176 #define HAVE_FINITE 1
52177 _ACEOF
52180 done
52182 else
52184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52185 $as_echo_n "checking for _finite declaration... " >&6; }
52186 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52187 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52188 $as_echo_n "(cached) " >&6
52189 else
52192 ac_ext=cpp
52193 ac_cpp='$CXXCPP $CPPFLAGS'
52194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52199 /* end confdefs.h. */
52200 #include <math.h>
52201 #ifdef HAVE_IEEEFP_H
52202 #include <ieeefp.h>
52203 #endif
52206 main ()
52208 _finite(0);
52210 return 0;
52212 _ACEOF
52213 if ac_fn_cxx_try_compile "$LINENO"; then :
52214 glibcxx_cv_func__finite_use=yes
52215 else
52216 glibcxx_cv_func__finite_use=no
52218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52219 ac_ext=c
52220 ac_cpp='$CPP $CPPFLAGS'
52221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52230 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52232 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52233 for ac_func in _finite
52234 do :
52235 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52236 if test "x$ac_cv_func__finite" = x""yes; then :
52237 cat >>confdefs.h <<_ACEOF
52238 #define HAVE__FINITE 1
52239 _ACEOF
52242 done
52251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52252 $as_echo_n "checking for sincos declaration... " >&6; }
52253 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52254 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52255 $as_echo_n "(cached) " >&6
52256 else
52259 ac_ext=cpp
52260 ac_cpp='$CXXCPP $CPPFLAGS'
52261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52266 /* end confdefs.h. */
52267 #include <math.h>
52269 main ()
52271 sincos(0, 0, 0);
52273 return 0;
52275 _ACEOF
52276 if ac_fn_cxx_try_compile "$LINENO"; then :
52277 glibcxx_cv_func_sincos_use=yes
52278 else
52279 glibcxx_cv_func_sincos_use=no
52281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52282 ac_ext=c
52283 ac_cpp='$CPP $CPPFLAGS'
52284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52293 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52295 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52296 for ac_func in sincos
52297 do :
52298 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52299 if test "x$ac_cv_func_sincos" = x""yes; then :
52300 cat >>confdefs.h <<_ACEOF
52301 #define HAVE_SINCOS 1
52302 _ACEOF
52305 done
52307 else
52309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52310 $as_echo_n "checking for _sincos declaration... " >&6; }
52311 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52312 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52313 $as_echo_n "(cached) " >&6
52314 else
52317 ac_ext=cpp
52318 ac_cpp='$CXXCPP $CPPFLAGS'
52319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52324 /* end confdefs.h. */
52325 #include <math.h>
52327 main ()
52329 _sincos(0, 0, 0);
52331 return 0;
52333 _ACEOF
52334 if ac_fn_cxx_try_compile "$LINENO"; then :
52335 glibcxx_cv_func__sincos_use=yes
52336 else
52337 glibcxx_cv_func__sincos_use=no
52339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52340 ac_ext=c
52341 ac_cpp='$CPP $CPPFLAGS'
52342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52351 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52353 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52354 for ac_func in _sincos
52355 do :
52356 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52357 if test "x$ac_cv_func__sincos" = x""yes; then :
52358 cat >>confdefs.h <<_ACEOF
52359 #define HAVE__SINCOS 1
52360 _ACEOF
52363 done
52372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52373 $as_echo_n "checking for fpclass declaration... " >&6; }
52374 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52375 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52376 $as_echo_n "(cached) " >&6
52377 else
52380 ac_ext=cpp
52381 ac_cpp='$CXXCPP $CPPFLAGS'
52382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52387 /* end confdefs.h. */
52388 #include <math.h>
52389 #ifdef HAVE_IEEEFP_H
52390 #include <ieeefp.h>
52391 #endif
52394 main ()
52396 fpclass(0);
52398 return 0;
52400 _ACEOF
52401 if ac_fn_cxx_try_compile "$LINENO"; then :
52402 glibcxx_cv_func_fpclass_use=yes
52403 else
52404 glibcxx_cv_func_fpclass_use=no
52406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52407 ac_ext=c
52408 ac_cpp='$CPP $CPPFLAGS'
52409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52418 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52420 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52421 for ac_func in fpclass
52422 do :
52423 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52424 if test "x$ac_cv_func_fpclass" = x""yes; then :
52425 cat >>confdefs.h <<_ACEOF
52426 #define HAVE_FPCLASS 1
52427 _ACEOF
52430 done
52432 else
52434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52435 $as_echo_n "checking for _fpclass declaration... " >&6; }
52436 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52437 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52438 $as_echo_n "(cached) " >&6
52439 else
52442 ac_ext=cpp
52443 ac_cpp='$CXXCPP $CPPFLAGS'
52444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52449 /* end confdefs.h. */
52450 #include <math.h>
52451 #ifdef HAVE_IEEEFP_H
52452 #include <ieeefp.h>
52453 #endif
52456 main ()
52458 _fpclass(0);
52460 return 0;
52462 _ACEOF
52463 if ac_fn_cxx_try_compile "$LINENO"; then :
52464 glibcxx_cv_func__fpclass_use=yes
52465 else
52466 glibcxx_cv_func__fpclass_use=no
52468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52469 ac_ext=c
52470 ac_cpp='$CPP $CPPFLAGS'
52471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52480 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52482 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52483 for ac_func in _fpclass
52484 do :
52485 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52486 if test "x$ac_cv_func__fpclass" = x""yes; then :
52487 cat >>confdefs.h <<_ACEOF
52488 #define HAVE__FPCLASS 1
52489 _ACEOF
52492 done
52501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52502 $as_echo_n "checking for qfpclass declaration... " >&6; }
52503 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52504 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52505 $as_echo_n "(cached) " >&6
52506 else
52509 ac_ext=cpp
52510 ac_cpp='$CXXCPP $CPPFLAGS'
52511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52516 /* end confdefs.h. */
52517 #include <math.h>
52518 #ifdef HAVE_IEEEFP_H
52519 #include <ieeefp.h>
52520 #endif
52523 main ()
52525 qfpclass(0);
52527 return 0;
52529 _ACEOF
52530 if ac_fn_cxx_try_compile "$LINENO"; then :
52531 glibcxx_cv_func_qfpclass_use=yes
52532 else
52533 glibcxx_cv_func_qfpclass_use=no
52535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52536 ac_ext=c
52537 ac_cpp='$CPP $CPPFLAGS'
52538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52547 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52549 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52550 for ac_func in qfpclass
52551 do :
52552 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52553 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52554 cat >>confdefs.h <<_ACEOF
52555 #define HAVE_QFPCLASS 1
52556 _ACEOF
52559 done
52561 else
52563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52564 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52565 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52566 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52567 $as_echo_n "(cached) " >&6
52568 else
52571 ac_ext=cpp
52572 ac_cpp='$CXXCPP $CPPFLAGS'
52573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52578 /* end confdefs.h. */
52579 #include <math.h>
52580 #ifdef HAVE_IEEEFP_H
52581 #include <ieeefp.h>
52582 #endif
52585 main ()
52587 _qfpclass(0);
52589 return 0;
52591 _ACEOF
52592 if ac_fn_cxx_try_compile "$LINENO"; then :
52593 glibcxx_cv_func__qfpclass_use=yes
52594 else
52595 glibcxx_cv_func__qfpclass_use=no
52597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52598 ac_ext=c
52599 ac_cpp='$CPP $CPPFLAGS'
52600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52609 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52611 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52612 for ac_func in _qfpclass
52613 do :
52614 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52615 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52616 cat >>confdefs.h <<_ACEOF
52617 #define HAVE__QFPCLASS 1
52618 _ACEOF
52621 done
52630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52631 $as_echo_n "checking for hypot declaration... " >&6; }
52632 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52633 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52634 $as_echo_n "(cached) " >&6
52635 else
52638 ac_ext=cpp
52639 ac_cpp='$CXXCPP $CPPFLAGS'
52640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52645 /* end confdefs.h. */
52646 #include <math.h>
52648 main ()
52650 hypot(0, 0);
52652 return 0;
52654 _ACEOF
52655 if ac_fn_cxx_try_compile "$LINENO"; then :
52656 glibcxx_cv_func_hypot_use=yes
52657 else
52658 glibcxx_cv_func_hypot_use=no
52660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52661 ac_ext=c
52662 ac_cpp='$CPP $CPPFLAGS'
52663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52672 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52674 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52675 for ac_func in hypot
52676 do :
52677 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52678 if test "x$ac_cv_func_hypot" = x""yes; then :
52679 cat >>confdefs.h <<_ACEOF
52680 #define HAVE_HYPOT 1
52681 _ACEOF
52684 done
52686 else
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52689 $as_echo_n "checking for _hypot declaration... " >&6; }
52690 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52691 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52692 $as_echo_n "(cached) " >&6
52693 else
52696 ac_ext=cpp
52697 ac_cpp='$CXXCPP $CPPFLAGS'
52698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52703 /* end confdefs.h. */
52704 #include <math.h>
52706 main ()
52708 _hypot(0, 0);
52710 return 0;
52712 _ACEOF
52713 if ac_fn_cxx_try_compile "$LINENO"; then :
52714 glibcxx_cv_func__hypot_use=yes
52715 else
52716 glibcxx_cv_func__hypot_use=no
52718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52719 ac_ext=c
52720 ac_cpp='$CPP $CPPFLAGS'
52721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52730 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52732 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52733 for ac_func in _hypot
52734 do :
52735 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52736 if test "x$ac_cv_func__hypot" = x""yes; then :
52737 cat >>confdefs.h <<_ACEOF
52738 #define HAVE__HYPOT 1
52739 _ACEOF
52742 done
52751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52752 $as_echo_n "checking for float trig functions... " >&6; }
52753 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52754 $as_echo_n "(cached) " >&6
52755 else
52758 ac_ext=cpp
52759 ac_cpp='$CXXCPP $CPPFLAGS'
52760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52765 /* end confdefs.h. */
52766 #include <math.h>
52768 main ()
52770 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52772 return 0;
52774 _ACEOF
52775 if ac_fn_cxx_try_compile "$LINENO"; then :
52776 glibcxx_cv_func_float_trig_use=yes
52777 else
52778 glibcxx_cv_func_float_trig_use=no
52780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52781 ac_ext=c
52782 ac_cpp='$CPP $CPPFLAGS'
52783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52790 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52791 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52792 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52793 do :
52794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52796 eval as_val=\$$as_ac_var
52797 if test "x$as_val" = x""yes; then :
52798 cat >>confdefs.h <<_ACEOF
52799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52800 _ACEOF
52803 done
52805 else
52806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52807 $as_echo_n "checking for _float trig functions... " >&6; }
52808 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52809 $as_echo_n "(cached) " >&6
52810 else
52813 ac_ext=cpp
52814 ac_cpp='$CXXCPP $CPPFLAGS'
52815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52820 /* end confdefs.h. */
52821 #include <math.h>
52823 main ()
52825 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52827 return 0;
52829 _ACEOF
52830 if ac_fn_cxx_try_compile "$LINENO"; then :
52831 glibcxx_cv_func__float_trig_use=yes
52832 else
52833 glibcxx_cv_func__float_trig_use=no
52835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52836 ac_ext=c
52837 ac_cpp='$CPP $CPPFLAGS'
52838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52845 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52846 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52847 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52848 do :
52849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52851 eval as_val=\$$as_ac_var
52852 if test "x$as_val" = x""yes; then :
52853 cat >>confdefs.h <<_ACEOF
52854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52855 _ACEOF
52858 done
52867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52868 $as_echo_n "checking for float round functions... " >&6; }
52869 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52870 $as_echo_n "(cached) " >&6
52871 else
52874 ac_ext=cpp
52875 ac_cpp='$CXXCPP $CPPFLAGS'
52876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52881 /* end confdefs.h. */
52882 #include <math.h>
52884 main ()
52886 ceilf (0); floorf (0);
52888 return 0;
52890 _ACEOF
52891 if ac_fn_cxx_try_compile "$LINENO"; then :
52892 glibcxx_cv_func_float_round_use=yes
52893 else
52894 glibcxx_cv_func_float_round_use=no
52896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52897 ac_ext=c
52898 ac_cpp='$CPP $CPPFLAGS'
52899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52906 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52907 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52908 for ac_func in ceilf floorf
52909 do :
52910 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52911 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52912 eval as_val=\$$as_ac_var
52913 if test "x$as_val" = x""yes; then :
52914 cat >>confdefs.h <<_ACEOF
52915 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52916 _ACEOF
52919 done
52921 else
52922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52923 $as_echo_n "checking for _float round functions... " >&6; }
52924 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52925 $as_echo_n "(cached) " >&6
52926 else
52929 ac_ext=cpp
52930 ac_cpp='$CXXCPP $CPPFLAGS'
52931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52936 /* end confdefs.h. */
52937 #include <math.h>
52939 main ()
52941 _ceilf (0); _floorf (0);
52943 return 0;
52945 _ACEOF
52946 if ac_fn_cxx_try_compile "$LINENO"; then :
52947 glibcxx_cv_func__float_round_use=yes
52948 else
52949 glibcxx_cv_func__float_round_use=no
52951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52952 ac_ext=c
52953 ac_cpp='$CPP $CPPFLAGS'
52954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52961 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52962 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52963 for ac_func in _ceilf _floorf
52964 do :
52965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52967 eval as_val=\$$as_ac_var
52968 if test "x$as_val" = x""yes; then :
52969 cat >>confdefs.h <<_ACEOF
52970 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52971 _ACEOF
52974 done
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52985 $as_echo_n "checking for expf declaration... " >&6; }
52986 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52987 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52988 $as_echo_n "(cached) " >&6
52989 else
52992 ac_ext=cpp
52993 ac_cpp='$CXXCPP $CPPFLAGS'
52994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52999 /* end confdefs.h. */
53000 #include <math.h>
53001 #ifdef HAVE_IEEEFP_H
53002 #include <ieeefp.h>
53003 #endif
53006 main ()
53008 expf(0);
53010 return 0;
53012 _ACEOF
53013 if ac_fn_cxx_try_compile "$LINENO"; then :
53014 glibcxx_cv_func_expf_use=yes
53015 else
53016 glibcxx_cv_func_expf_use=no
53018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53019 ac_ext=c
53020 ac_cpp='$CPP $CPPFLAGS'
53021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53030 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53032 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53033 for ac_func in expf
53034 do :
53035 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53036 if test "x$ac_cv_func_expf" = x""yes; then :
53037 cat >>confdefs.h <<_ACEOF
53038 #define HAVE_EXPF 1
53039 _ACEOF
53042 done
53044 else
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53047 $as_echo_n "checking for _expf declaration... " >&6; }
53048 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53049 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53050 $as_echo_n "(cached) " >&6
53051 else
53054 ac_ext=cpp
53055 ac_cpp='$CXXCPP $CPPFLAGS'
53056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53061 /* end confdefs.h. */
53062 #include <math.h>
53063 #ifdef HAVE_IEEEFP_H
53064 #include <ieeefp.h>
53065 #endif
53068 main ()
53070 _expf(0);
53072 return 0;
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076 glibcxx_cv_func__expf_use=yes
53077 else
53078 glibcxx_cv_func__expf_use=no
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53092 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53094 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53095 for ac_func in _expf
53096 do :
53097 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53098 if test "x$ac_cv_func__expf" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE__EXPF 1
53101 _ACEOF
53104 done
53113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53114 $as_echo_n "checking for isnanf declaration... " >&6; }
53115 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53116 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53117 $as_echo_n "(cached) " >&6
53118 else
53121 ac_ext=cpp
53122 ac_cpp='$CXXCPP $CPPFLAGS'
53123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53128 /* end confdefs.h. */
53129 #include <math.h>
53130 #ifdef HAVE_IEEEFP_H
53131 #include <ieeefp.h>
53132 #endif
53135 main ()
53137 isnanf(0);
53139 return 0;
53141 _ACEOF
53142 if ac_fn_cxx_try_compile "$LINENO"; then :
53143 glibcxx_cv_func_isnanf_use=yes
53144 else
53145 glibcxx_cv_func_isnanf_use=no
53147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53148 ac_ext=c
53149 ac_cpp='$CPP $CPPFLAGS'
53150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53159 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53161 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53162 for ac_func in isnanf
53163 do :
53164 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53165 if test "x$ac_cv_func_isnanf" = x""yes; then :
53166 cat >>confdefs.h <<_ACEOF
53167 #define HAVE_ISNANF 1
53168 _ACEOF
53171 done
53173 else
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53176 $as_echo_n "checking for _isnanf declaration... " >&6; }
53177 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53178 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53179 $as_echo_n "(cached) " >&6
53180 else
53183 ac_ext=cpp
53184 ac_cpp='$CXXCPP $CPPFLAGS'
53185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53190 /* end confdefs.h. */
53191 #include <math.h>
53192 #ifdef HAVE_IEEEFP_H
53193 #include <ieeefp.h>
53194 #endif
53197 main ()
53199 _isnanf(0);
53201 return 0;
53203 _ACEOF
53204 if ac_fn_cxx_try_compile "$LINENO"; then :
53205 glibcxx_cv_func__isnanf_use=yes
53206 else
53207 glibcxx_cv_func__isnanf_use=no
53209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53210 ac_ext=c
53211 ac_cpp='$CPP $CPPFLAGS'
53212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53221 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53223 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53224 for ac_func in _isnanf
53225 do :
53226 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53227 if test "x$ac_cv_func__isnanf" = x""yes; then :
53228 cat >>confdefs.h <<_ACEOF
53229 #define HAVE__ISNANF 1
53230 _ACEOF
53233 done
53242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53243 $as_echo_n "checking for isinff declaration... " >&6; }
53244 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53245 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53246 $as_echo_n "(cached) " >&6
53247 else
53250 ac_ext=cpp
53251 ac_cpp='$CXXCPP $CPPFLAGS'
53252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53257 /* end confdefs.h. */
53258 #include <math.h>
53259 #ifdef HAVE_IEEEFP_H
53260 #include <ieeefp.h>
53261 #endif
53264 main ()
53266 isinff(0);
53268 return 0;
53270 _ACEOF
53271 if ac_fn_cxx_try_compile "$LINENO"; then :
53272 glibcxx_cv_func_isinff_use=yes
53273 else
53274 glibcxx_cv_func_isinff_use=no
53276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53277 ac_ext=c
53278 ac_cpp='$CPP $CPPFLAGS'
53279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53288 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53290 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53291 for ac_func in isinff
53292 do :
53293 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53294 if test "x$ac_cv_func_isinff" = x""yes; then :
53295 cat >>confdefs.h <<_ACEOF
53296 #define HAVE_ISINFF 1
53297 _ACEOF
53300 done
53302 else
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53305 $as_echo_n "checking for _isinff declaration... " >&6; }
53306 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53307 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53308 $as_echo_n "(cached) " >&6
53309 else
53312 ac_ext=cpp
53313 ac_cpp='$CXXCPP $CPPFLAGS'
53314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53319 /* end confdefs.h. */
53320 #include <math.h>
53321 #ifdef HAVE_IEEEFP_H
53322 #include <ieeefp.h>
53323 #endif
53326 main ()
53328 _isinff(0);
53330 return 0;
53332 _ACEOF
53333 if ac_fn_cxx_try_compile "$LINENO"; then :
53334 glibcxx_cv_func__isinff_use=yes
53335 else
53336 glibcxx_cv_func__isinff_use=no
53338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53339 ac_ext=c
53340 ac_cpp='$CPP $CPPFLAGS'
53341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53350 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53352 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53353 for ac_func in _isinff
53354 do :
53355 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53356 if test "x$ac_cv_func__isinff" = x""yes; then :
53357 cat >>confdefs.h <<_ACEOF
53358 #define HAVE__ISINFF 1
53359 _ACEOF
53362 done
53371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53372 $as_echo_n "checking for atan2f declaration... " >&6; }
53373 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53374 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53375 $as_echo_n "(cached) " >&6
53376 else
53379 ac_ext=cpp
53380 ac_cpp='$CXXCPP $CPPFLAGS'
53381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53386 /* end confdefs.h. */
53387 #include <math.h>
53389 main ()
53391 atan2f(0, 0);
53393 return 0;
53395 _ACEOF
53396 if ac_fn_cxx_try_compile "$LINENO"; then :
53397 glibcxx_cv_func_atan2f_use=yes
53398 else
53399 glibcxx_cv_func_atan2f_use=no
53401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53402 ac_ext=c
53403 ac_cpp='$CPP $CPPFLAGS'
53404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53413 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53415 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53416 for ac_func in atan2f
53417 do :
53418 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53419 if test "x$ac_cv_func_atan2f" = x""yes; then :
53420 cat >>confdefs.h <<_ACEOF
53421 #define HAVE_ATAN2F 1
53422 _ACEOF
53425 done
53427 else
53429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53430 $as_echo_n "checking for _atan2f declaration... " >&6; }
53431 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53432 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53433 $as_echo_n "(cached) " >&6
53434 else
53437 ac_ext=cpp
53438 ac_cpp='$CXXCPP $CPPFLAGS'
53439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53444 /* end confdefs.h. */
53445 #include <math.h>
53447 main ()
53449 _atan2f(0, 0);
53451 return 0;
53453 _ACEOF
53454 if ac_fn_cxx_try_compile "$LINENO"; then :
53455 glibcxx_cv_func__atan2f_use=yes
53456 else
53457 glibcxx_cv_func__atan2f_use=no
53459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53460 ac_ext=c
53461 ac_cpp='$CPP $CPPFLAGS'
53462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53471 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53473 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53474 for ac_func in _atan2f
53475 do :
53476 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53477 if test "x$ac_cv_func__atan2f" = x""yes; then :
53478 cat >>confdefs.h <<_ACEOF
53479 #define HAVE__ATAN2F 1
53480 _ACEOF
53483 done
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53493 $as_echo_n "checking for fabsf declaration... " >&6; }
53494 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53495 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53496 $as_echo_n "(cached) " >&6
53497 else
53500 ac_ext=cpp
53501 ac_cpp='$CXXCPP $CPPFLAGS'
53502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53507 /* end confdefs.h. */
53508 #include <math.h>
53509 #ifdef HAVE_IEEEFP_H
53510 #include <ieeefp.h>
53511 #endif
53514 main ()
53516 fabsf(0);
53518 return 0;
53520 _ACEOF
53521 if ac_fn_cxx_try_compile "$LINENO"; then :
53522 glibcxx_cv_func_fabsf_use=yes
53523 else
53524 glibcxx_cv_func_fabsf_use=no
53526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53527 ac_ext=c
53528 ac_cpp='$CPP $CPPFLAGS'
53529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53538 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53540 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53541 for ac_func in fabsf
53542 do :
53543 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53544 if test "x$ac_cv_func_fabsf" = x""yes; then :
53545 cat >>confdefs.h <<_ACEOF
53546 #define HAVE_FABSF 1
53547 _ACEOF
53550 done
53552 else
53554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53555 $as_echo_n "checking for _fabsf declaration... " >&6; }
53556 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53557 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53558 $as_echo_n "(cached) " >&6
53559 else
53562 ac_ext=cpp
53563 ac_cpp='$CXXCPP $CPPFLAGS'
53564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53569 /* end confdefs.h. */
53570 #include <math.h>
53571 #ifdef HAVE_IEEEFP_H
53572 #include <ieeefp.h>
53573 #endif
53576 main ()
53578 _fabsf(0);
53580 return 0;
53582 _ACEOF
53583 if ac_fn_cxx_try_compile "$LINENO"; then :
53584 glibcxx_cv_func__fabsf_use=yes
53585 else
53586 glibcxx_cv_func__fabsf_use=no
53588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53589 ac_ext=c
53590 ac_cpp='$CPP $CPPFLAGS'
53591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53600 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53602 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53603 for ac_func in _fabsf
53604 do :
53605 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53606 if test "x$ac_cv_func__fabsf" = x""yes; then :
53607 cat >>confdefs.h <<_ACEOF
53608 #define HAVE__FABSF 1
53609 _ACEOF
53612 done
53621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53622 $as_echo_n "checking for fmodf declaration... " >&6; }
53623 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53624 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53625 $as_echo_n "(cached) " >&6
53626 else
53629 ac_ext=cpp
53630 ac_cpp='$CXXCPP $CPPFLAGS'
53631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53636 /* end confdefs.h. */
53637 #include <math.h>
53639 main ()
53641 fmodf(0, 0);
53643 return 0;
53645 _ACEOF
53646 if ac_fn_cxx_try_compile "$LINENO"; then :
53647 glibcxx_cv_func_fmodf_use=yes
53648 else
53649 glibcxx_cv_func_fmodf_use=no
53651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53652 ac_ext=c
53653 ac_cpp='$CPP $CPPFLAGS'
53654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53663 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53665 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53666 for ac_func in fmodf
53667 do :
53668 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53669 if test "x$ac_cv_func_fmodf" = x""yes; then :
53670 cat >>confdefs.h <<_ACEOF
53671 #define HAVE_FMODF 1
53672 _ACEOF
53675 done
53677 else
53679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53680 $as_echo_n "checking for _fmodf declaration... " >&6; }
53681 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53682 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53683 $as_echo_n "(cached) " >&6
53684 else
53687 ac_ext=cpp
53688 ac_cpp='$CXXCPP $CPPFLAGS'
53689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53694 /* end confdefs.h. */
53695 #include <math.h>
53697 main ()
53699 _fmodf(0, 0);
53701 return 0;
53703 _ACEOF
53704 if ac_fn_cxx_try_compile "$LINENO"; then :
53705 glibcxx_cv_func__fmodf_use=yes
53706 else
53707 glibcxx_cv_func__fmodf_use=no
53709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53710 ac_ext=c
53711 ac_cpp='$CPP $CPPFLAGS'
53712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53721 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53723 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53724 for ac_func in _fmodf
53725 do :
53726 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53727 if test "x$ac_cv_func__fmodf" = x""yes; then :
53728 cat >>confdefs.h <<_ACEOF
53729 #define HAVE__FMODF 1
53730 _ACEOF
53733 done
53742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53743 $as_echo_n "checking for frexpf declaration... " >&6; }
53744 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53745 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53746 $as_echo_n "(cached) " >&6
53747 else
53750 ac_ext=cpp
53751 ac_cpp='$CXXCPP $CPPFLAGS'
53752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53757 /* end confdefs.h. */
53758 #include <math.h>
53760 main ()
53762 frexpf(0, 0);
53764 return 0;
53766 _ACEOF
53767 if ac_fn_cxx_try_compile "$LINENO"; then :
53768 glibcxx_cv_func_frexpf_use=yes
53769 else
53770 glibcxx_cv_func_frexpf_use=no
53772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53773 ac_ext=c
53774 ac_cpp='$CPP $CPPFLAGS'
53775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53784 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53786 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53787 for ac_func in frexpf
53788 do :
53789 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53790 if test "x$ac_cv_func_frexpf" = x""yes; then :
53791 cat >>confdefs.h <<_ACEOF
53792 #define HAVE_FREXPF 1
53793 _ACEOF
53796 done
53798 else
53800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53801 $as_echo_n "checking for _frexpf declaration... " >&6; }
53802 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53803 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53804 $as_echo_n "(cached) " >&6
53805 else
53808 ac_ext=cpp
53809 ac_cpp='$CXXCPP $CPPFLAGS'
53810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53815 /* end confdefs.h. */
53816 #include <math.h>
53818 main ()
53820 _frexpf(0, 0);
53822 return 0;
53824 _ACEOF
53825 if ac_fn_cxx_try_compile "$LINENO"; then :
53826 glibcxx_cv_func__frexpf_use=yes
53827 else
53828 glibcxx_cv_func__frexpf_use=no
53830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53831 ac_ext=c
53832 ac_cpp='$CPP $CPPFLAGS'
53833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53842 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53844 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53845 for ac_func in _frexpf
53846 do :
53847 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53848 if test "x$ac_cv_func__frexpf" = x""yes; then :
53849 cat >>confdefs.h <<_ACEOF
53850 #define HAVE__FREXPF 1
53851 _ACEOF
53854 done
53863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53864 $as_echo_n "checking for hypotf declaration... " >&6; }
53865 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53866 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53867 $as_echo_n "(cached) " >&6
53868 else
53871 ac_ext=cpp
53872 ac_cpp='$CXXCPP $CPPFLAGS'
53873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53878 /* end confdefs.h. */
53879 #include <math.h>
53881 main ()
53883 hypotf(0, 0);
53885 return 0;
53887 _ACEOF
53888 if ac_fn_cxx_try_compile "$LINENO"; then :
53889 glibcxx_cv_func_hypotf_use=yes
53890 else
53891 glibcxx_cv_func_hypotf_use=no
53893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53894 ac_ext=c
53895 ac_cpp='$CPP $CPPFLAGS'
53896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53905 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53907 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53908 for ac_func in hypotf
53909 do :
53910 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53911 if test "x$ac_cv_func_hypotf" = x""yes; then :
53912 cat >>confdefs.h <<_ACEOF
53913 #define HAVE_HYPOTF 1
53914 _ACEOF
53917 done
53919 else
53921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53922 $as_echo_n "checking for _hypotf declaration... " >&6; }
53923 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53924 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53925 $as_echo_n "(cached) " >&6
53926 else
53929 ac_ext=cpp
53930 ac_cpp='$CXXCPP $CPPFLAGS'
53931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53936 /* end confdefs.h. */
53937 #include <math.h>
53939 main ()
53941 _hypotf(0, 0);
53943 return 0;
53945 _ACEOF
53946 if ac_fn_cxx_try_compile "$LINENO"; then :
53947 glibcxx_cv_func__hypotf_use=yes
53948 else
53949 glibcxx_cv_func__hypotf_use=no
53951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53952 ac_ext=c
53953 ac_cpp='$CPP $CPPFLAGS'
53954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53963 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53965 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53966 for ac_func in _hypotf
53967 do :
53968 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53969 if test "x$ac_cv_func__hypotf" = x""yes; then :
53970 cat >>confdefs.h <<_ACEOF
53971 #define HAVE__HYPOTF 1
53972 _ACEOF
53975 done
53984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53985 $as_echo_n "checking for ldexpf declaration... " >&6; }
53986 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53987 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53988 $as_echo_n "(cached) " >&6
53989 else
53992 ac_ext=cpp
53993 ac_cpp='$CXXCPP $CPPFLAGS'
53994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53999 /* end confdefs.h. */
54000 #include <math.h>
54002 main ()
54004 ldexpf(0, 0);
54006 return 0;
54008 _ACEOF
54009 if ac_fn_cxx_try_compile "$LINENO"; then :
54010 glibcxx_cv_func_ldexpf_use=yes
54011 else
54012 glibcxx_cv_func_ldexpf_use=no
54014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54015 ac_ext=c
54016 ac_cpp='$CPP $CPPFLAGS'
54017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54026 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54028 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54029 for ac_func in ldexpf
54030 do :
54031 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54032 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54033 cat >>confdefs.h <<_ACEOF
54034 #define HAVE_LDEXPF 1
54035 _ACEOF
54038 done
54040 else
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54043 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54044 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54045 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54046 $as_echo_n "(cached) " >&6
54047 else
54050 ac_ext=cpp
54051 ac_cpp='$CXXCPP $CPPFLAGS'
54052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54057 /* end confdefs.h. */
54058 #include <math.h>
54060 main ()
54062 _ldexpf(0, 0);
54064 return 0;
54066 _ACEOF
54067 if ac_fn_cxx_try_compile "$LINENO"; then :
54068 glibcxx_cv_func__ldexpf_use=yes
54069 else
54070 glibcxx_cv_func__ldexpf_use=no
54072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54073 ac_ext=c
54074 ac_cpp='$CPP $CPPFLAGS'
54075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54084 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54086 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54087 for ac_func in _ldexpf
54088 do :
54089 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54090 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54091 cat >>confdefs.h <<_ACEOF
54092 #define HAVE__LDEXPF 1
54093 _ACEOF
54096 done
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54106 $as_echo_n "checking for logf declaration... " >&6; }
54107 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54108 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54109 $as_echo_n "(cached) " >&6
54110 else
54113 ac_ext=cpp
54114 ac_cpp='$CXXCPP $CPPFLAGS'
54115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54120 /* end confdefs.h. */
54121 #include <math.h>
54122 #ifdef HAVE_IEEEFP_H
54123 #include <ieeefp.h>
54124 #endif
54127 main ()
54129 logf(0);
54131 return 0;
54133 _ACEOF
54134 if ac_fn_cxx_try_compile "$LINENO"; then :
54135 glibcxx_cv_func_logf_use=yes
54136 else
54137 glibcxx_cv_func_logf_use=no
54139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54140 ac_ext=c
54141 ac_cpp='$CPP $CPPFLAGS'
54142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54151 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54153 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54154 for ac_func in logf
54155 do :
54156 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54157 if test "x$ac_cv_func_logf" = x""yes; then :
54158 cat >>confdefs.h <<_ACEOF
54159 #define HAVE_LOGF 1
54160 _ACEOF
54163 done
54165 else
54167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54168 $as_echo_n "checking for _logf declaration... " >&6; }
54169 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54170 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54171 $as_echo_n "(cached) " >&6
54172 else
54175 ac_ext=cpp
54176 ac_cpp='$CXXCPP $CPPFLAGS'
54177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54182 /* end confdefs.h. */
54183 #include <math.h>
54184 #ifdef HAVE_IEEEFP_H
54185 #include <ieeefp.h>
54186 #endif
54189 main ()
54191 _logf(0);
54193 return 0;
54195 _ACEOF
54196 if ac_fn_cxx_try_compile "$LINENO"; then :
54197 glibcxx_cv_func__logf_use=yes
54198 else
54199 glibcxx_cv_func__logf_use=no
54201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54202 ac_ext=c
54203 ac_cpp='$CPP $CPPFLAGS'
54204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54213 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54215 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54216 for ac_func in _logf
54217 do :
54218 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54219 if test "x$ac_cv_func__logf" = x""yes; then :
54220 cat >>confdefs.h <<_ACEOF
54221 #define HAVE__LOGF 1
54222 _ACEOF
54225 done
54234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54235 $as_echo_n "checking for log10f declaration... " >&6; }
54236 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54237 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54238 $as_echo_n "(cached) " >&6
54239 else
54242 ac_ext=cpp
54243 ac_cpp='$CXXCPP $CPPFLAGS'
54244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54249 /* end confdefs.h. */
54250 #include <math.h>
54251 #ifdef HAVE_IEEEFP_H
54252 #include <ieeefp.h>
54253 #endif
54256 main ()
54258 log10f(0);
54260 return 0;
54262 _ACEOF
54263 if ac_fn_cxx_try_compile "$LINENO"; then :
54264 glibcxx_cv_func_log10f_use=yes
54265 else
54266 glibcxx_cv_func_log10f_use=no
54268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54269 ac_ext=c
54270 ac_cpp='$CPP $CPPFLAGS'
54271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54280 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54282 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54283 for ac_func in log10f
54284 do :
54285 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54286 if test "x$ac_cv_func_log10f" = x""yes; then :
54287 cat >>confdefs.h <<_ACEOF
54288 #define HAVE_LOG10F 1
54289 _ACEOF
54292 done
54294 else
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54297 $as_echo_n "checking for _log10f declaration... " >&6; }
54298 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54299 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54300 $as_echo_n "(cached) " >&6
54301 else
54304 ac_ext=cpp
54305 ac_cpp='$CXXCPP $CPPFLAGS'
54306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54311 /* end confdefs.h. */
54312 #include <math.h>
54313 #ifdef HAVE_IEEEFP_H
54314 #include <ieeefp.h>
54315 #endif
54318 main ()
54320 _log10f(0);
54322 return 0;
54324 _ACEOF
54325 if ac_fn_cxx_try_compile "$LINENO"; then :
54326 glibcxx_cv_func__log10f_use=yes
54327 else
54328 glibcxx_cv_func__log10f_use=no
54330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54331 ac_ext=c
54332 ac_cpp='$CPP $CPPFLAGS'
54333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54342 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54344 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54345 for ac_func in _log10f
54346 do :
54347 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54348 if test "x$ac_cv_func__log10f" = x""yes; then :
54349 cat >>confdefs.h <<_ACEOF
54350 #define HAVE__LOG10F 1
54351 _ACEOF
54354 done
54363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54364 $as_echo_n "checking for modff declaration... " >&6; }
54365 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54366 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54367 $as_echo_n "(cached) " >&6
54368 else
54371 ac_ext=cpp
54372 ac_cpp='$CXXCPP $CPPFLAGS'
54373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54378 /* end confdefs.h. */
54379 #include <math.h>
54381 main ()
54383 modff(0, 0);
54385 return 0;
54387 _ACEOF
54388 if ac_fn_cxx_try_compile "$LINENO"; then :
54389 glibcxx_cv_func_modff_use=yes
54390 else
54391 glibcxx_cv_func_modff_use=no
54393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54394 ac_ext=c
54395 ac_cpp='$CPP $CPPFLAGS'
54396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54405 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54407 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54408 for ac_func in modff
54409 do :
54410 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54411 if test "x$ac_cv_func_modff" = x""yes; then :
54412 cat >>confdefs.h <<_ACEOF
54413 #define HAVE_MODFF 1
54414 _ACEOF
54417 done
54419 else
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54422 $as_echo_n "checking for _modff declaration... " >&6; }
54423 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54424 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54425 $as_echo_n "(cached) " >&6
54426 else
54429 ac_ext=cpp
54430 ac_cpp='$CXXCPP $CPPFLAGS'
54431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54436 /* end confdefs.h. */
54437 #include <math.h>
54439 main ()
54441 _modff(0, 0);
54443 return 0;
54445 _ACEOF
54446 if ac_fn_cxx_try_compile "$LINENO"; then :
54447 glibcxx_cv_func__modff_use=yes
54448 else
54449 glibcxx_cv_func__modff_use=no
54451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54452 ac_ext=c
54453 ac_cpp='$CPP $CPPFLAGS'
54454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54463 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54465 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54466 for ac_func in _modff
54467 do :
54468 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54469 if test "x$ac_cv_func__modff" = x""yes; then :
54470 cat >>confdefs.h <<_ACEOF
54471 #define HAVE__MODFF 1
54472 _ACEOF
54475 done
54484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54485 $as_echo_n "checking for modf declaration... " >&6; }
54486 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54487 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54488 $as_echo_n "(cached) " >&6
54489 else
54492 ac_ext=cpp
54493 ac_cpp='$CXXCPP $CPPFLAGS'
54494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54499 /* end confdefs.h. */
54500 #include <math.h>
54502 main ()
54504 modf(0, 0);
54506 return 0;
54508 _ACEOF
54509 if ac_fn_cxx_try_compile "$LINENO"; then :
54510 glibcxx_cv_func_modf_use=yes
54511 else
54512 glibcxx_cv_func_modf_use=no
54514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54515 ac_ext=c
54516 ac_cpp='$CPP $CPPFLAGS'
54517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54526 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54528 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54529 for ac_func in modf
54530 do :
54531 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54532 if test "x$ac_cv_func_modf" = x""yes; then :
54533 cat >>confdefs.h <<_ACEOF
54534 #define HAVE_MODF 1
54535 _ACEOF
54538 done
54540 else
54542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54543 $as_echo_n "checking for _modf declaration... " >&6; }
54544 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54545 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54546 $as_echo_n "(cached) " >&6
54547 else
54550 ac_ext=cpp
54551 ac_cpp='$CXXCPP $CPPFLAGS'
54552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54557 /* end confdefs.h. */
54558 #include <math.h>
54560 main ()
54562 _modf(0, 0);
54564 return 0;
54566 _ACEOF
54567 if ac_fn_cxx_try_compile "$LINENO"; then :
54568 glibcxx_cv_func__modf_use=yes
54569 else
54570 glibcxx_cv_func__modf_use=no
54572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54573 ac_ext=c
54574 ac_cpp='$CPP $CPPFLAGS'
54575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54584 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54586 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54587 for ac_func in _modf
54588 do :
54589 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54590 if test "x$ac_cv_func__modf" = x""yes; then :
54591 cat >>confdefs.h <<_ACEOF
54592 #define HAVE__MODF 1
54593 _ACEOF
54596 done
54605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54606 $as_echo_n "checking for powf declaration... " >&6; }
54607 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54608 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54609 $as_echo_n "(cached) " >&6
54610 else
54613 ac_ext=cpp
54614 ac_cpp='$CXXCPP $CPPFLAGS'
54615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54620 /* end confdefs.h. */
54621 #include <math.h>
54623 main ()
54625 powf(0, 0);
54627 return 0;
54629 _ACEOF
54630 if ac_fn_cxx_try_compile "$LINENO"; then :
54631 glibcxx_cv_func_powf_use=yes
54632 else
54633 glibcxx_cv_func_powf_use=no
54635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54636 ac_ext=c
54637 ac_cpp='$CPP $CPPFLAGS'
54638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54647 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54649 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54650 for ac_func in powf
54651 do :
54652 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54653 if test "x$ac_cv_func_powf" = x""yes; then :
54654 cat >>confdefs.h <<_ACEOF
54655 #define HAVE_POWF 1
54656 _ACEOF
54659 done
54661 else
54663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54664 $as_echo_n "checking for _powf declaration... " >&6; }
54665 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54666 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54667 $as_echo_n "(cached) " >&6
54668 else
54671 ac_ext=cpp
54672 ac_cpp='$CXXCPP $CPPFLAGS'
54673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54678 /* end confdefs.h. */
54679 #include <math.h>
54681 main ()
54683 _powf(0, 0);
54685 return 0;
54687 _ACEOF
54688 if ac_fn_cxx_try_compile "$LINENO"; then :
54689 glibcxx_cv_func__powf_use=yes
54690 else
54691 glibcxx_cv_func__powf_use=no
54693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54694 ac_ext=c
54695 ac_cpp='$CPP $CPPFLAGS'
54696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54705 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54707 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54708 for ac_func in _powf
54709 do :
54710 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54711 if test "x$ac_cv_func__powf" = x""yes; then :
54712 cat >>confdefs.h <<_ACEOF
54713 #define HAVE__POWF 1
54714 _ACEOF
54717 done
54726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54727 $as_echo_n "checking for sqrtf declaration... " >&6; }
54728 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54729 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54730 $as_echo_n "(cached) " >&6
54731 else
54734 ac_ext=cpp
54735 ac_cpp='$CXXCPP $CPPFLAGS'
54736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54741 /* end confdefs.h. */
54742 #include <math.h>
54743 #ifdef HAVE_IEEEFP_H
54744 #include <ieeefp.h>
54745 #endif
54748 main ()
54750 sqrtf(0);
54752 return 0;
54754 _ACEOF
54755 if ac_fn_cxx_try_compile "$LINENO"; then :
54756 glibcxx_cv_func_sqrtf_use=yes
54757 else
54758 glibcxx_cv_func_sqrtf_use=no
54760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54761 ac_ext=c
54762 ac_cpp='$CPP $CPPFLAGS'
54763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54772 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54774 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54775 for ac_func in sqrtf
54776 do :
54777 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54778 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54779 cat >>confdefs.h <<_ACEOF
54780 #define HAVE_SQRTF 1
54781 _ACEOF
54784 done
54786 else
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54789 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54790 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54791 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54792 $as_echo_n "(cached) " >&6
54793 else
54796 ac_ext=cpp
54797 ac_cpp='$CXXCPP $CPPFLAGS'
54798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54803 /* end confdefs.h. */
54804 #include <math.h>
54805 #ifdef HAVE_IEEEFP_H
54806 #include <ieeefp.h>
54807 #endif
54810 main ()
54812 _sqrtf(0);
54814 return 0;
54816 _ACEOF
54817 if ac_fn_cxx_try_compile "$LINENO"; then :
54818 glibcxx_cv_func__sqrtf_use=yes
54819 else
54820 glibcxx_cv_func__sqrtf_use=no
54822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54823 ac_ext=c
54824 ac_cpp='$CPP $CPPFLAGS'
54825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54834 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54836 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54837 for ac_func in _sqrtf
54838 do :
54839 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54840 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54841 cat >>confdefs.h <<_ACEOF
54842 #define HAVE__SQRTF 1
54843 _ACEOF
54846 done
54855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54856 $as_echo_n "checking for sincosf declaration... " >&6; }
54857 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54858 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54859 $as_echo_n "(cached) " >&6
54860 else
54863 ac_ext=cpp
54864 ac_cpp='$CXXCPP $CPPFLAGS'
54865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54870 /* end confdefs.h. */
54871 #include <math.h>
54873 main ()
54875 sincosf(0, 0, 0);
54877 return 0;
54879 _ACEOF
54880 if ac_fn_cxx_try_compile "$LINENO"; then :
54881 glibcxx_cv_func_sincosf_use=yes
54882 else
54883 glibcxx_cv_func_sincosf_use=no
54885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54886 ac_ext=c
54887 ac_cpp='$CPP $CPPFLAGS'
54888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54897 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54899 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54900 for ac_func in sincosf
54901 do :
54902 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54903 if test "x$ac_cv_func_sincosf" = x""yes; then :
54904 cat >>confdefs.h <<_ACEOF
54905 #define HAVE_SINCOSF 1
54906 _ACEOF
54909 done
54911 else
54913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54914 $as_echo_n "checking for _sincosf declaration... " >&6; }
54915 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54916 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54917 $as_echo_n "(cached) " >&6
54918 else
54921 ac_ext=cpp
54922 ac_cpp='$CXXCPP $CPPFLAGS'
54923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54928 /* end confdefs.h. */
54929 #include <math.h>
54931 main ()
54933 _sincosf(0, 0, 0);
54935 return 0;
54937 _ACEOF
54938 if ac_fn_cxx_try_compile "$LINENO"; then :
54939 glibcxx_cv_func__sincosf_use=yes
54940 else
54941 glibcxx_cv_func__sincosf_use=no
54943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54944 ac_ext=c
54945 ac_cpp='$CPP $CPPFLAGS'
54946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54955 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54957 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54958 for ac_func in _sincosf
54959 do :
54960 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54961 if test "x$ac_cv_func__sincosf" = x""yes; then :
54962 cat >>confdefs.h <<_ACEOF
54963 #define HAVE__SINCOSF 1
54964 _ACEOF
54967 done
54976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54977 $as_echo_n "checking for finitef declaration... " >&6; }
54978 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54979 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54980 $as_echo_n "(cached) " >&6
54981 else
54984 ac_ext=cpp
54985 ac_cpp='$CXXCPP $CPPFLAGS'
54986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54991 /* end confdefs.h. */
54992 #include <math.h>
54993 #ifdef HAVE_IEEEFP_H
54994 #include <ieeefp.h>
54995 #endif
54998 main ()
55000 finitef(0);
55002 return 0;
55004 _ACEOF
55005 if ac_fn_cxx_try_compile "$LINENO"; then :
55006 glibcxx_cv_func_finitef_use=yes
55007 else
55008 glibcxx_cv_func_finitef_use=no
55010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55011 ac_ext=c
55012 ac_cpp='$CPP $CPPFLAGS'
55013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55022 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55024 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55025 for ac_func in finitef
55026 do :
55027 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55028 if test "x$ac_cv_func_finitef" = x""yes; then :
55029 cat >>confdefs.h <<_ACEOF
55030 #define HAVE_FINITEF 1
55031 _ACEOF
55034 done
55036 else
55038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55039 $as_echo_n "checking for _finitef declaration... " >&6; }
55040 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55041 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55042 $as_echo_n "(cached) " >&6
55043 else
55046 ac_ext=cpp
55047 ac_cpp='$CXXCPP $CPPFLAGS'
55048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55053 /* end confdefs.h. */
55054 #include <math.h>
55055 #ifdef HAVE_IEEEFP_H
55056 #include <ieeefp.h>
55057 #endif
55060 main ()
55062 _finitef(0);
55064 return 0;
55066 _ACEOF
55067 if ac_fn_cxx_try_compile "$LINENO"; then :
55068 glibcxx_cv_func__finitef_use=yes
55069 else
55070 glibcxx_cv_func__finitef_use=no
55072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55073 ac_ext=c
55074 ac_cpp='$CPP $CPPFLAGS'
55075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55084 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55086 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55087 for ac_func in _finitef
55088 do :
55089 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55090 if test "x$ac_cv_func__finitef" = x""yes; then :
55091 cat >>confdefs.h <<_ACEOF
55092 #define HAVE__FINITEF 1
55093 _ACEOF
55096 done
55105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55106 $as_echo_n "checking for long double trig functions... " >&6; }
55107 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55108 $as_echo_n "(cached) " >&6
55109 else
55112 ac_ext=cpp
55113 ac_cpp='$CXXCPP $CPPFLAGS'
55114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55119 /* end confdefs.h. */
55120 #include <math.h>
55122 main ()
55124 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55126 return 0;
55128 _ACEOF
55129 if ac_fn_cxx_try_compile "$LINENO"; then :
55130 glibcxx_cv_func_long_double_trig_use=yes
55131 else
55132 glibcxx_cv_func_long_double_trig_use=no
55134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55135 ac_ext=c
55136 ac_cpp='$CPP $CPPFLAGS'
55137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55144 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55145 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55146 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55147 do :
55148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55150 eval as_val=\$$as_ac_var
55151 if test "x$as_val" = x""yes; then :
55152 cat >>confdefs.h <<_ACEOF
55153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55154 _ACEOF
55157 done
55159 else
55160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55161 $as_echo_n "checking for _long double trig functions... " >&6; }
55162 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55163 $as_echo_n "(cached) " >&6
55164 else
55167 ac_ext=cpp
55168 ac_cpp='$CXXCPP $CPPFLAGS'
55169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55174 /* end confdefs.h. */
55175 #include <math.h>
55177 main ()
55179 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55181 return 0;
55183 _ACEOF
55184 if ac_fn_cxx_try_compile "$LINENO"; then :
55185 glibcxx_cv_func__long_double_trig_use=yes
55186 else
55187 glibcxx_cv_func__long_double_trig_use=no
55189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55190 ac_ext=c
55191 ac_cpp='$CPP $CPPFLAGS'
55192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55199 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55200 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55201 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55202 do :
55203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55205 eval as_val=\$$as_ac_var
55206 if test "x$as_val" = x""yes; then :
55207 cat >>confdefs.h <<_ACEOF
55208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55209 _ACEOF
55212 done
55221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55222 $as_echo_n "checking for long double round functions... " >&6; }
55223 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55224 $as_echo_n "(cached) " >&6
55225 else
55228 ac_ext=cpp
55229 ac_cpp='$CXXCPP $CPPFLAGS'
55230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55235 /* end confdefs.h. */
55236 #include <math.h>
55238 main ()
55240 ceill (0); floorl (0);
55242 return 0;
55244 _ACEOF
55245 if ac_fn_cxx_try_compile "$LINENO"; then :
55246 glibcxx_cv_func_long_double_round_use=yes
55247 else
55248 glibcxx_cv_func_long_double_round_use=no
55250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55251 ac_ext=c
55252 ac_cpp='$CPP $CPPFLAGS'
55253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55260 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55261 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55262 for ac_func in ceill floorl
55263 do :
55264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55266 eval as_val=\$$as_ac_var
55267 if test "x$as_val" = x""yes; then :
55268 cat >>confdefs.h <<_ACEOF
55269 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55270 _ACEOF
55273 done
55275 else
55276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55277 $as_echo_n "checking for _long double round functions... " >&6; }
55278 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55279 $as_echo_n "(cached) " >&6
55280 else
55283 ac_ext=cpp
55284 ac_cpp='$CXXCPP $CPPFLAGS'
55285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55290 /* end confdefs.h. */
55291 #include <math.h>
55293 main ()
55295 _ceill (0); _floorl (0);
55297 return 0;
55299 _ACEOF
55300 if ac_fn_cxx_try_compile "$LINENO"; then :
55301 glibcxx_cv_func__long_double_round_use=yes
55302 else
55303 glibcxx_cv_func__long_double_round_use=no
55305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55306 ac_ext=c
55307 ac_cpp='$CPP $CPPFLAGS'
55308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55315 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55316 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55317 for ac_func in _ceill _floorl
55318 do :
55319 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55320 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55321 eval as_val=\$$as_ac_var
55322 if test "x$as_val" = x""yes; then :
55323 cat >>confdefs.h <<_ACEOF
55324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55325 _ACEOF
55328 done
55338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55339 $as_echo_n "checking for isnanl declaration... " >&6; }
55340 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55341 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55342 $as_echo_n "(cached) " >&6
55343 else
55346 ac_ext=cpp
55347 ac_cpp='$CXXCPP $CPPFLAGS'
55348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55353 /* end confdefs.h. */
55354 #include <math.h>
55355 #ifdef HAVE_IEEEFP_H
55356 #include <ieeefp.h>
55357 #endif
55360 main ()
55362 isnanl(0);
55364 return 0;
55366 _ACEOF
55367 if ac_fn_cxx_try_compile "$LINENO"; then :
55368 glibcxx_cv_func_isnanl_use=yes
55369 else
55370 glibcxx_cv_func_isnanl_use=no
55372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55373 ac_ext=c
55374 ac_cpp='$CPP $CPPFLAGS'
55375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55384 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55386 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55387 for ac_func in isnanl
55388 do :
55389 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55390 if test "x$ac_cv_func_isnanl" = x""yes; then :
55391 cat >>confdefs.h <<_ACEOF
55392 #define HAVE_ISNANL 1
55393 _ACEOF
55396 done
55398 else
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55401 $as_echo_n "checking for _isnanl declaration... " >&6; }
55402 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55403 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55404 $as_echo_n "(cached) " >&6
55405 else
55408 ac_ext=cpp
55409 ac_cpp='$CXXCPP $CPPFLAGS'
55410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55415 /* end confdefs.h. */
55416 #include <math.h>
55417 #ifdef HAVE_IEEEFP_H
55418 #include <ieeefp.h>
55419 #endif
55422 main ()
55424 _isnanl(0);
55426 return 0;
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430 glibcxx_cv_func__isnanl_use=yes
55431 else
55432 glibcxx_cv_func__isnanl_use=no
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435 ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55446 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55448 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55449 for ac_func in _isnanl
55450 do :
55451 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55452 if test "x$ac_cv_func__isnanl" = x""yes; then :
55453 cat >>confdefs.h <<_ACEOF
55454 #define HAVE__ISNANL 1
55455 _ACEOF
55458 done
55467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55468 $as_echo_n "checking for isinfl declaration... " >&6; }
55469 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55470 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55471 $as_echo_n "(cached) " >&6
55472 else
55475 ac_ext=cpp
55476 ac_cpp='$CXXCPP $CPPFLAGS'
55477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55482 /* end confdefs.h. */
55483 #include <math.h>
55484 #ifdef HAVE_IEEEFP_H
55485 #include <ieeefp.h>
55486 #endif
55489 main ()
55491 isinfl(0);
55493 return 0;
55495 _ACEOF
55496 if ac_fn_cxx_try_compile "$LINENO"; then :
55497 glibcxx_cv_func_isinfl_use=yes
55498 else
55499 glibcxx_cv_func_isinfl_use=no
55501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55502 ac_ext=c
55503 ac_cpp='$CPP $CPPFLAGS'
55504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55513 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55515 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55516 for ac_func in isinfl
55517 do :
55518 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55519 if test "x$ac_cv_func_isinfl" = x""yes; then :
55520 cat >>confdefs.h <<_ACEOF
55521 #define HAVE_ISINFL 1
55522 _ACEOF
55525 done
55527 else
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55530 $as_echo_n "checking for _isinfl declaration... " >&6; }
55531 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55532 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55533 $as_echo_n "(cached) " >&6
55534 else
55537 ac_ext=cpp
55538 ac_cpp='$CXXCPP $CPPFLAGS'
55539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55544 /* end confdefs.h. */
55545 #include <math.h>
55546 #ifdef HAVE_IEEEFP_H
55547 #include <ieeefp.h>
55548 #endif
55551 main ()
55553 _isinfl(0);
55555 return 0;
55557 _ACEOF
55558 if ac_fn_cxx_try_compile "$LINENO"; then :
55559 glibcxx_cv_func__isinfl_use=yes
55560 else
55561 glibcxx_cv_func__isinfl_use=no
55563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55564 ac_ext=c
55565 ac_cpp='$CPP $CPPFLAGS'
55566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55575 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55577 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55578 for ac_func in _isinfl
55579 do :
55580 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55581 if test "x$ac_cv_func__isinfl" = x""yes; then :
55582 cat >>confdefs.h <<_ACEOF
55583 #define HAVE__ISINFL 1
55584 _ACEOF
55587 done
55596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55597 $as_echo_n "checking for atan2l declaration... " >&6; }
55598 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55599 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55600 $as_echo_n "(cached) " >&6
55601 else
55604 ac_ext=cpp
55605 ac_cpp='$CXXCPP $CPPFLAGS'
55606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55611 /* end confdefs.h. */
55612 #include <math.h>
55614 main ()
55616 atan2l(0, 0);
55618 return 0;
55620 _ACEOF
55621 if ac_fn_cxx_try_compile "$LINENO"; then :
55622 glibcxx_cv_func_atan2l_use=yes
55623 else
55624 glibcxx_cv_func_atan2l_use=no
55626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55627 ac_ext=c
55628 ac_cpp='$CPP $CPPFLAGS'
55629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55638 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55640 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55641 for ac_func in atan2l
55642 do :
55643 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55644 if test "x$ac_cv_func_atan2l" = x""yes; then :
55645 cat >>confdefs.h <<_ACEOF
55646 #define HAVE_ATAN2L 1
55647 _ACEOF
55650 done
55652 else
55654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55655 $as_echo_n "checking for _atan2l declaration... " >&6; }
55656 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55657 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55658 $as_echo_n "(cached) " >&6
55659 else
55662 ac_ext=cpp
55663 ac_cpp='$CXXCPP $CPPFLAGS'
55664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55669 /* end confdefs.h. */
55670 #include <math.h>
55672 main ()
55674 _atan2l(0, 0);
55676 return 0;
55678 _ACEOF
55679 if ac_fn_cxx_try_compile "$LINENO"; then :
55680 glibcxx_cv_func__atan2l_use=yes
55681 else
55682 glibcxx_cv_func__atan2l_use=no
55684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55685 ac_ext=c
55686 ac_cpp='$CPP $CPPFLAGS'
55687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55696 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55698 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55699 for ac_func in _atan2l
55700 do :
55701 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55702 if test "x$ac_cv_func__atan2l" = x""yes; then :
55703 cat >>confdefs.h <<_ACEOF
55704 #define HAVE__ATAN2L 1
55705 _ACEOF
55708 done
55717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55718 $as_echo_n "checking for expl declaration... " >&6; }
55719 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55720 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55721 $as_echo_n "(cached) " >&6
55722 else
55725 ac_ext=cpp
55726 ac_cpp='$CXXCPP $CPPFLAGS'
55727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55732 /* end confdefs.h. */
55733 #include <math.h>
55734 #ifdef HAVE_IEEEFP_H
55735 #include <ieeefp.h>
55736 #endif
55739 main ()
55741 expl(0);
55743 return 0;
55745 _ACEOF
55746 if ac_fn_cxx_try_compile "$LINENO"; then :
55747 glibcxx_cv_func_expl_use=yes
55748 else
55749 glibcxx_cv_func_expl_use=no
55751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55752 ac_ext=c
55753 ac_cpp='$CPP $CPPFLAGS'
55754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55763 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55765 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55766 for ac_func in expl
55767 do :
55768 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55769 if test "x$ac_cv_func_expl" = x""yes; then :
55770 cat >>confdefs.h <<_ACEOF
55771 #define HAVE_EXPL 1
55772 _ACEOF
55775 done
55777 else
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55780 $as_echo_n "checking for _expl declaration... " >&6; }
55781 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55782 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55783 $as_echo_n "(cached) " >&6
55784 else
55787 ac_ext=cpp
55788 ac_cpp='$CXXCPP $CPPFLAGS'
55789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55794 /* end confdefs.h. */
55795 #include <math.h>
55796 #ifdef HAVE_IEEEFP_H
55797 #include <ieeefp.h>
55798 #endif
55801 main ()
55803 _expl(0);
55805 return 0;
55807 _ACEOF
55808 if ac_fn_cxx_try_compile "$LINENO"; then :
55809 glibcxx_cv_func__expl_use=yes
55810 else
55811 glibcxx_cv_func__expl_use=no
55813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55814 ac_ext=c
55815 ac_cpp='$CPP $CPPFLAGS'
55816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55825 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55827 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55828 for ac_func in _expl
55829 do :
55830 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55831 if test "x$ac_cv_func__expl" = x""yes; then :
55832 cat >>confdefs.h <<_ACEOF
55833 #define HAVE__EXPL 1
55834 _ACEOF
55837 done
55846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55847 $as_echo_n "checking for fabsl declaration... " >&6; }
55848 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55849 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55850 $as_echo_n "(cached) " >&6
55851 else
55854 ac_ext=cpp
55855 ac_cpp='$CXXCPP $CPPFLAGS'
55856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55861 /* end confdefs.h. */
55862 #include <math.h>
55863 #ifdef HAVE_IEEEFP_H
55864 #include <ieeefp.h>
55865 #endif
55868 main ()
55870 fabsl(0);
55872 return 0;
55874 _ACEOF
55875 if ac_fn_cxx_try_compile "$LINENO"; then :
55876 glibcxx_cv_func_fabsl_use=yes
55877 else
55878 glibcxx_cv_func_fabsl_use=no
55880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55881 ac_ext=c
55882 ac_cpp='$CPP $CPPFLAGS'
55883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55892 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55894 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55895 for ac_func in fabsl
55896 do :
55897 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55898 if test "x$ac_cv_func_fabsl" = x""yes; then :
55899 cat >>confdefs.h <<_ACEOF
55900 #define HAVE_FABSL 1
55901 _ACEOF
55904 done
55906 else
55908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55909 $as_echo_n "checking for _fabsl declaration... " >&6; }
55910 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55911 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55912 $as_echo_n "(cached) " >&6
55913 else
55916 ac_ext=cpp
55917 ac_cpp='$CXXCPP $CPPFLAGS'
55918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55923 /* end confdefs.h. */
55924 #include <math.h>
55925 #ifdef HAVE_IEEEFP_H
55926 #include <ieeefp.h>
55927 #endif
55930 main ()
55932 _fabsl(0);
55934 return 0;
55936 _ACEOF
55937 if ac_fn_cxx_try_compile "$LINENO"; then :
55938 glibcxx_cv_func__fabsl_use=yes
55939 else
55940 glibcxx_cv_func__fabsl_use=no
55942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55943 ac_ext=c
55944 ac_cpp='$CPP $CPPFLAGS'
55945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55954 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55956 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55957 for ac_func in _fabsl
55958 do :
55959 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55960 if test "x$ac_cv_func__fabsl" = x""yes; then :
55961 cat >>confdefs.h <<_ACEOF
55962 #define HAVE__FABSL 1
55963 _ACEOF
55966 done
55975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55976 $as_echo_n "checking for fmodl declaration... " >&6; }
55977 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55978 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55979 $as_echo_n "(cached) " >&6
55980 else
55983 ac_ext=cpp
55984 ac_cpp='$CXXCPP $CPPFLAGS'
55985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55990 /* end confdefs.h. */
55991 #include <math.h>
55993 main ()
55995 fmodl(0, 0);
55997 return 0;
55999 _ACEOF
56000 if ac_fn_cxx_try_compile "$LINENO"; then :
56001 glibcxx_cv_func_fmodl_use=yes
56002 else
56003 glibcxx_cv_func_fmodl_use=no
56005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56006 ac_ext=c
56007 ac_cpp='$CPP $CPPFLAGS'
56008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56017 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56019 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56020 for ac_func in fmodl
56021 do :
56022 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56023 if test "x$ac_cv_func_fmodl" = x""yes; then :
56024 cat >>confdefs.h <<_ACEOF
56025 #define HAVE_FMODL 1
56026 _ACEOF
56029 done
56031 else
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56034 $as_echo_n "checking for _fmodl declaration... " >&6; }
56035 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56036 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56037 $as_echo_n "(cached) " >&6
56038 else
56041 ac_ext=cpp
56042 ac_cpp='$CXXCPP $CPPFLAGS'
56043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56048 /* end confdefs.h. */
56049 #include <math.h>
56051 main ()
56053 _fmodl(0, 0);
56055 return 0;
56057 _ACEOF
56058 if ac_fn_cxx_try_compile "$LINENO"; then :
56059 glibcxx_cv_func__fmodl_use=yes
56060 else
56061 glibcxx_cv_func__fmodl_use=no
56063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56064 ac_ext=c
56065 ac_cpp='$CPP $CPPFLAGS'
56066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56075 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56077 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56078 for ac_func in _fmodl
56079 do :
56080 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56081 if test "x$ac_cv_func__fmodl" = x""yes; then :
56082 cat >>confdefs.h <<_ACEOF
56083 #define HAVE__FMODL 1
56084 _ACEOF
56087 done
56096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56097 $as_echo_n "checking for frexpl declaration... " >&6; }
56098 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56099 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56100 $as_echo_n "(cached) " >&6
56101 else
56104 ac_ext=cpp
56105 ac_cpp='$CXXCPP $CPPFLAGS'
56106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56111 /* end confdefs.h. */
56112 #include <math.h>
56114 main ()
56116 frexpl(0, 0);
56118 return 0;
56120 _ACEOF
56121 if ac_fn_cxx_try_compile "$LINENO"; then :
56122 glibcxx_cv_func_frexpl_use=yes
56123 else
56124 glibcxx_cv_func_frexpl_use=no
56126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56127 ac_ext=c
56128 ac_cpp='$CPP $CPPFLAGS'
56129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56138 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56140 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56141 for ac_func in frexpl
56142 do :
56143 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56144 if test "x$ac_cv_func_frexpl" = x""yes; then :
56145 cat >>confdefs.h <<_ACEOF
56146 #define HAVE_FREXPL 1
56147 _ACEOF
56150 done
56152 else
56154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56155 $as_echo_n "checking for _frexpl declaration... " >&6; }
56156 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56157 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56158 $as_echo_n "(cached) " >&6
56159 else
56162 ac_ext=cpp
56163 ac_cpp='$CXXCPP $CPPFLAGS'
56164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56169 /* end confdefs.h. */
56170 #include <math.h>
56172 main ()
56174 _frexpl(0, 0);
56176 return 0;
56178 _ACEOF
56179 if ac_fn_cxx_try_compile "$LINENO"; then :
56180 glibcxx_cv_func__frexpl_use=yes
56181 else
56182 glibcxx_cv_func__frexpl_use=no
56184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56185 ac_ext=c
56186 ac_cpp='$CPP $CPPFLAGS'
56187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56196 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56198 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56199 for ac_func in _frexpl
56200 do :
56201 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56202 if test "x$ac_cv_func__frexpl" = x""yes; then :
56203 cat >>confdefs.h <<_ACEOF
56204 #define HAVE__FREXPL 1
56205 _ACEOF
56208 done
56217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56218 $as_echo_n "checking for hypotl declaration... " >&6; }
56219 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56220 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56221 $as_echo_n "(cached) " >&6
56222 else
56225 ac_ext=cpp
56226 ac_cpp='$CXXCPP $CPPFLAGS'
56227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56232 /* end confdefs.h. */
56233 #include <math.h>
56235 main ()
56237 hypotl(0, 0);
56239 return 0;
56241 _ACEOF
56242 if ac_fn_cxx_try_compile "$LINENO"; then :
56243 glibcxx_cv_func_hypotl_use=yes
56244 else
56245 glibcxx_cv_func_hypotl_use=no
56247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56248 ac_ext=c
56249 ac_cpp='$CPP $CPPFLAGS'
56250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56259 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56261 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56262 for ac_func in hypotl
56263 do :
56264 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56265 if test "x$ac_cv_func_hypotl" = x""yes; then :
56266 cat >>confdefs.h <<_ACEOF
56267 #define HAVE_HYPOTL 1
56268 _ACEOF
56271 done
56273 else
56275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56276 $as_echo_n "checking for _hypotl declaration... " >&6; }
56277 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56278 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56279 $as_echo_n "(cached) " >&6
56280 else
56283 ac_ext=cpp
56284 ac_cpp='$CXXCPP $CPPFLAGS'
56285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56290 /* end confdefs.h. */
56291 #include <math.h>
56293 main ()
56295 _hypotl(0, 0);
56297 return 0;
56299 _ACEOF
56300 if ac_fn_cxx_try_compile "$LINENO"; then :
56301 glibcxx_cv_func__hypotl_use=yes
56302 else
56303 glibcxx_cv_func__hypotl_use=no
56305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56306 ac_ext=c
56307 ac_cpp='$CPP $CPPFLAGS'
56308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56317 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56319 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56320 for ac_func in _hypotl
56321 do :
56322 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56323 if test "x$ac_cv_func__hypotl" = x""yes; then :
56324 cat >>confdefs.h <<_ACEOF
56325 #define HAVE__HYPOTL 1
56326 _ACEOF
56329 done
56338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56339 $as_echo_n "checking for ldexpl declaration... " >&6; }
56340 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56341 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56342 $as_echo_n "(cached) " >&6
56343 else
56346 ac_ext=cpp
56347 ac_cpp='$CXXCPP $CPPFLAGS'
56348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56353 /* end confdefs.h. */
56354 #include <math.h>
56356 main ()
56358 ldexpl(0, 0);
56360 return 0;
56362 _ACEOF
56363 if ac_fn_cxx_try_compile "$LINENO"; then :
56364 glibcxx_cv_func_ldexpl_use=yes
56365 else
56366 glibcxx_cv_func_ldexpl_use=no
56368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56369 ac_ext=c
56370 ac_cpp='$CPP $CPPFLAGS'
56371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56380 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56382 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56383 for ac_func in ldexpl
56384 do :
56385 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56386 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56387 cat >>confdefs.h <<_ACEOF
56388 #define HAVE_LDEXPL 1
56389 _ACEOF
56392 done
56394 else
56396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56397 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56398 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56399 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56400 $as_echo_n "(cached) " >&6
56401 else
56404 ac_ext=cpp
56405 ac_cpp='$CXXCPP $CPPFLAGS'
56406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56411 /* end confdefs.h. */
56412 #include <math.h>
56414 main ()
56416 _ldexpl(0, 0);
56418 return 0;
56420 _ACEOF
56421 if ac_fn_cxx_try_compile "$LINENO"; then :
56422 glibcxx_cv_func__ldexpl_use=yes
56423 else
56424 glibcxx_cv_func__ldexpl_use=no
56426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56427 ac_ext=c
56428 ac_cpp='$CPP $CPPFLAGS'
56429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56438 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56440 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56441 for ac_func in _ldexpl
56442 do :
56443 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56444 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56445 cat >>confdefs.h <<_ACEOF
56446 #define HAVE__LDEXPL 1
56447 _ACEOF
56450 done
56459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56460 $as_echo_n "checking for logl declaration... " >&6; }
56461 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56462 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56463 $as_echo_n "(cached) " >&6
56464 else
56467 ac_ext=cpp
56468 ac_cpp='$CXXCPP $CPPFLAGS'
56469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56474 /* end confdefs.h. */
56475 #include <math.h>
56476 #ifdef HAVE_IEEEFP_H
56477 #include <ieeefp.h>
56478 #endif
56481 main ()
56483 logl(0);
56485 return 0;
56487 _ACEOF
56488 if ac_fn_cxx_try_compile "$LINENO"; then :
56489 glibcxx_cv_func_logl_use=yes
56490 else
56491 glibcxx_cv_func_logl_use=no
56493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56494 ac_ext=c
56495 ac_cpp='$CPP $CPPFLAGS'
56496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56505 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56507 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56508 for ac_func in logl
56509 do :
56510 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56511 if test "x$ac_cv_func_logl" = x""yes; then :
56512 cat >>confdefs.h <<_ACEOF
56513 #define HAVE_LOGL 1
56514 _ACEOF
56517 done
56519 else
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56522 $as_echo_n "checking for _logl declaration... " >&6; }
56523 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56524 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56525 $as_echo_n "(cached) " >&6
56526 else
56529 ac_ext=cpp
56530 ac_cpp='$CXXCPP $CPPFLAGS'
56531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56536 /* end confdefs.h. */
56537 #include <math.h>
56538 #ifdef HAVE_IEEEFP_H
56539 #include <ieeefp.h>
56540 #endif
56543 main ()
56545 _logl(0);
56547 return 0;
56549 _ACEOF
56550 if ac_fn_cxx_try_compile "$LINENO"; then :
56551 glibcxx_cv_func__logl_use=yes
56552 else
56553 glibcxx_cv_func__logl_use=no
56555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56556 ac_ext=c
56557 ac_cpp='$CPP $CPPFLAGS'
56558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56567 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56569 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56570 for ac_func in _logl
56571 do :
56572 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56573 if test "x$ac_cv_func__logl" = x""yes; then :
56574 cat >>confdefs.h <<_ACEOF
56575 #define HAVE__LOGL 1
56576 _ACEOF
56579 done
56588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56589 $as_echo_n "checking for log10l declaration... " >&6; }
56590 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56591 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56592 $as_echo_n "(cached) " >&6
56593 else
56596 ac_ext=cpp
56597 ac_cpp='$CXXCPP $CPPFLAGS'
56598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56603 /* end confdefs.h. */
56604 #include <math.h>
56605 #ifdef HAVE_IEEEFP_H
56606 #include <ieeefp.h>
56607 #endif
56610 main ()
56612 log10l(0);
56614 return 0;
56616 _ACEOF
56617 if ac_fn_cxx_try_compile "$LINENO"; then :
56618 glibcxx_cv_func_log10l_use=yes
56619 else
56620 glibcxx_cv_func_log10l_use=no
56622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56623 ac_ext=c
56624 ac_cpp='$CPP $CPPFLAGS'
56625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56634 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56636 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56637 for ac_func in log10l
56638 do :
56639 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56640 if test "x$ac_cv_func_log10l" = x""yes; then :
56641 cat >>confdefs.h <<_ACEOF
56642 #define HAVE_LOG10L 1
56643 _ACEOF
56646 done
56648 else
56650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56651 $as_echo_n "checking for _log10l declaration... " >&6; }
56652 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56653 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56654 $as_echo_n "(cached) " >&6
56655 else
56658 ac_ext=cpp
56659 ac_cpp='$CXXCPP $CPPFLAGS'
56660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56665 /* end confdefs.h. */
56666 #include <math.h>
56667 #ifdef HAVE_IEEEFP_H
56668 #include <ieeefp.h>
56669 #endif
56672 main ()
56674 _log10l(0);
56676 return 0;
56678 _ACEOF
56679 if ac_fn_cxx_try_compile "$LINENO"; then :
56680 glibcxx_cv_func__log10l_use=yes
56681 else
56682 glibcxx_cv_func__log10l_use=no
56684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56685 ac_ext=c
56686 ac_cpp='$CPP $CPPFLAGS'
56687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56696 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56698 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56699 for ac_func in _log10l
56700 do :
56701 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56702 if test "x$ac_cv_func__log10l" = x""yes; then :
56703 cat >>confdefs.h <<_ACEOF
56704 #define HAVE__LOG10L 1
56705 _ACEOF
56708 done
56717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56718 $as_echo_n "checking for modfl declaration... " >&6; }
56719 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56720 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56721 $as_echo_n "(cached) " >&6
56722 else
56725 ac_ext=cpp
56726 ac_cpp='$CXXCPP $CPPFLAGS'
56727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56732 /* end confdefs.h. */
56733 #include <math.h>
56735 main ()
56737 modfl(0, 0);
56739 return 0;
56741 _ACEOF
56742 if ac_fn_cxx_try_compile "$LINENO"; then :
56743 glibcxx_cv_func_modfl_use=yes
56744 else
56745 glibcxx_cv_func_modfl_use=no
56747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56748 ac_ext=c
56749 ac_cpp='$CPP $CPPFLAGS'
56750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56759 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56761 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56762 for ac_func in modfl
56763 do :
56764 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56765 if test "x$ac_cv_func_modfl" = x""yes; then :
56766 cat >>confdefs.h <<_ACEOF
56767 #define HAVE_MODFL 1
56768 _ACEOF
56771 done
56773 else
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56776 $as_echo_n "checking for _modfl declaration... " >&6; }
56777 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56778 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56779 $as_echo_n "(cached) " >&6
56780 else
56783 ac_ext=cpp
56784 ac_cpp='$CXXCPP $CPPFLAGS'
56785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56790 /* end confdefs.h. */
56791 #include <math.h>
56793 main ()
56795 _modfl(0, 0);
56797 return 0;
56799 _ACEOF
56800 if ac_fn_cxx_try_compile "$LINENO"; then :
56801 glibcxx_cv_func__modfl_use=yes
56802 else
56803 glibcxx_cv_func__modfl_use=no
56805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56806 ac_ext=c
56807 ac_cpp='$CPP $CPPFLAGS'
56808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56817 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56819 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56820 for ac_func in _modfl
56821 do :
56822 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56823 if test "x$ac_cv_func__modfl" = x""yes; then :
56824 cat >>confdefs.h <<_ACEOF
56825 #define HAVE__MODFL 1
56826 _ACEOF
56829 done
56838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56839 $as_echo_n "checking for powl declaration... " >&6; }
56840 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56841 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56842 $as_echo_n "(cached) " >&6
56843 else
56846 ac_ext=cpp
56847 ac_cpp='$CXXCPP $CPPFLAGS'
56848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56853 /* end confdefs.h. */
56854 #include <math.h>
56856 main ()
56858 powl(0, 0);
56860 return 0;
56862 _ACEOF
56863 if ac_fn_cxx_try_compile "$LINENO"; then :
56864 glibcxx_cv_func_powl_use=yes
56865 else
56866 glibcxx_cv_func_powl_use=no
56868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56869 ac_ext=c
56870 ac_cpp='$CPP $CPPFLAGS'
56871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56880 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56882 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56883 for ac_func in powl
56884 do :
56885 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56886 if test "x$ac_cv_func_powl" = x""yes; then :
56887 cat >>confdefs.h <<_ACEOF
56888 #define HAVE_POWL 1
56889 _ACEOF
56892 done
56894 else
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56897 $as_echo_n "checking for _powl declaration... " >&6; }
56898 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56899 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56900 $as_echo_n "(cached) " >&6
56901 else
56904 ac_ext=cpp
56905 ac_cpp='$CXXCPP $CPPFLAGS'
56906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56911 /* end confdefs.h. */
56912 #include <math.h>
56914 main ()
56916 _powl(0, 0);
56918 return 0;
56920 _ACEOF
56921 if ac_fn_cxx_try_compile "$LINENO"; then :
56922 glibcxx_cv_func__powl_use=yes
56923 else
56924 glibcxx_cv_func__powl_use=no
56926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56927 ac_ext=c
56928 ac_cpp='$CPP $CPPFLAGS'
56929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56938 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56940 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56941 for ac_func in _powl
56942 do :
56943 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56944 if test "x$ac_cv_func__powl" = x""yes; then :
56945 cat >>confdefs.h <<_ACEOF
56946 #define HAVE__POWL 1
56947 _ACEOF
56950 done
56959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56960 $as_echo_n "checking for sqrtl declaration... " >&6; }
56961 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56962 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56963 $as_echo_n "(cached) " >&6
56964 else
56967 ac_ext=cpp
56968 ac_cpp='$CXXCPP $CPPFLAGS'
56969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56974 /* end confdefs.h. */
56975 #include <math.h>
56976 #ifdef HAVE_IEEEFP_H
56977 #include <ieeefp.h>
56978 #endif
56981 main ()
56983 sqrtl(0);
56985 return 0;
56987 _ACEOF
56988 if ac_fn_cxx_try_compile "$LINENO"; then :
56989 glibcxx_cv_func_sqrtl_use=yes
56990 else
56991 glibcxx_cv_func_sqrtl_use=no
56993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56994 ac_ext=c
56995 ac_cpp='$CPP $CPPFLAGS'
56996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57005 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57007 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57008 for ac_func in sqrtl
57009 do :
57010 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57011 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57012 cat >>confdefs.h <<_ACEOF
57013 #define HAVE_SQRTL 1
57014 _ACEOF
57017 done
57019 else
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57022 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57023 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57024 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57025 $as_echo_n "(cached) " >&6
57026 else
57029 ac_ext=cpp
57030 ac_cpp='$CXXCPP $CPPFLAGS'
57031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57036 /* end confdefs.h. */
57037 #include <math.h>
57038 #ifdef HAVE_IEEEFP_H
57039 #include <ieeefp.h>
57040 #endif
57043 main ()
57045 _sqrtl(0);
57047 return 0;
57049 _ACEOF
57050 if ac_fn_cxx_try_compile "$LINENO"; then :
57051 glibcxx_cv_func__sqrtl_use=yes
57052 else
57053 glibcxx_cv_func__sqrtl_use=no
57055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57056 ac_ext=c
57057 ac_cpp='$CPP $CPPFLAGS'
57058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57067 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57069 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57070 for ac_func in _sqrtl
57071 do :
57072 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57073 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57074 cat >>confdefs.h <<_ACEOF
57075 #define HAVE__SQRTL 1
57076 _ACEOF
57079 done
57088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57089 $as_echo_n "checking for sincosl declaration... " >&6; }
57090 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57091 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57092 $as_echo_n "(cached) " >&6
57093 else
57096 ac_ext=cpp
57097 ac_cpp='$CXXCPP $CPPFLAGS'
57098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57103 /* end confdefs.h. */
57104 #include <math.h>
57106 main ()
57108 sincosl(0, 0, 0);
57110 return 0;
57112 _ACEOF
57113 if ac_fn_cxx_try_compile "$LINENO"; then :
57114 glibcxx_cv_func_sincosl_use=yes
57115 else
57116 glibcxx_cv_func_sincosl_use=no
57118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57119 ac_ext=c
57120 ac_cpp='$CPP $CPPFLAGS'
57121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57130 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57132 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57133 for ac_func in sincosl
57134 do :
57135 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57136 if test "x$ac_cv_func_sincosl" = x""yes; then :
57137 cat >>confdefs.h <<_ACEOF
57138 #define HAVE_SINCOSL 1
57139 _ACEOF
57142 done
57144 else
57146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57147 $as_echo_n "checking for _sincosl declaration... " >&6; }
57148 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57149 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57150 $as_echo_n "(cached) " >&6
57151 else
57154 ac_ext=cpp
57155 ac_cpp='$CXXCPP $CPPFLAGS'
57156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57161 /* end confdefs.h. */
57162 #include <math.h>
57164 main ()
57166 _sincosl(0, 0, 0);
57168 return 0;
57170 _ACEOF
57171 if ac_fn_cxx_try_compile "$LINENO"; then :
57172 glibcxx_cv_func__sincosl_use=yes
57173 else
57174 glibcxx_cv_func__sincosl_use=no
57176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57177 ac_ext=c
57178 ac_cpp='$CPP $CPPFLAGS'
57179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57188 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57190 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57191 for ac_func in _sincosl
57192 do :
57193 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57194 if test "x$ac_cv_func__sincosl" = x""yes; then :
57195 cat >>confdefs.h <<_ACEOF
57196 #define HAVE__SINCOSL 1
57197 _ACEOF
57200 done
57209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57210 $as_echo_n "checking for finitel declaration... " >&6; }
57211 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57212 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57213 $as_echo_n "(cached) " >&6
57214 else
57217 ac_ext=cpp
57218 ac_cpp='$CXXCPP $CPPFLAGS'
57219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57224 /* end confdefs.h. */
57225 #include <math.h>
57226 #ifdef HAVE_IEEEFP_H
57227 #include <ieeefp.h>
57228 #endif
57231 main ()
57233 finitel(0);
57235 return 0;
57237 _ACEOF
57238 if ac_fn_cxx_try_compile "$LINENO"; then :
57239 glibcxx_cv_func_finitel_use=yes
57240 else
57241 glibcxx_cv_func_finitel_use=no
57243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57244 ac_ext=c
57245 ac_cpp='$CPP $CPPFLAGS'
57246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57255 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57257 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57258 for ac_func in finitel
57259 do :
57260 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57261 if test "x$ac_cv_func_finitel" = x""yes; then :
57262 cat >>confdefs.h <<_ACEOF
57263 #define HAVE_FINITEL 1
57264 _ACEOF
57267 done
57269 else
57271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57272 $as_echo_n "checking for _finitel declaration... " >&6; }
57273 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57274 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57275 $as_echo_n "(cached) " >&6
57276 else
57279 ac_ext=cpp
57280 ac_cpp='$CXXCPP $CPPFLAGS'
57281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57286 /* end confdefs.h. */
57287 #include <math.h>
57288 #ifdef HAVE_IEEEFP_H
57289 #include <ieeefp.h>
57290 #endif
57293 main ()
57295 _finitel(0);
57297 return 0;
57299 _ACEOF
57300 if ac_fn_cxx_try_compile "$LINENO"; then :
57301 glibcxx_cv_func__finitel_use=yes
57302 else
57303 glibcxx_cv_func__finitel_use=no
57305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57306 ac_ext=c
57307 ac_cpp='$CPP $CPPFLAGS'
57308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57317 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57319 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57320 for ac_func in _finitel
57321 do :
57322 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57323 if test "x$ac_cv_func__finitel" = x""yes; then :
57324 cat >>confdefs.h <<_ACEOF
57325 #define HAVE__FINITEL 1
57326 _ACEOF
57329 done
57337 LIBS="$ac_save_LIBS"
57338 CXXFLAGS="$ac_save_CXXFLAGS"
57341 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57342 ac_save_CXXFLAGS="$CXXFLAGS"
57343 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57347 $as_echo_n "checking for strtold declaration... " >&6; }
57348 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57349 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57350 $as_echo_n "(cached) " >&6
57351 else
57354 ac_ext=cpp
57355 ac_cpp='$CXXCPP $CPPFLAGS'
57356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57361 /* end confdefs.h. */
57362 #include <stdlib.h>
57364 main ()
57366 strtold(0, 0);
57368 return 0;
57370 _ACEOF
57371 if ac_fn_cxx_try_compile "$LINENO"; then :
57372 glibcxx_cv_func_strtold_use=yes
57373 else
57374 glibcxx_cv_func_strtold_use=no
57376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57377 ac_ext=c
57378 ac_cpp='$CPP $CPPFLAGS'
57379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57388 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57389 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57390 for ac_func in strtold
57391 do :
57392 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57393 if test "x$ac_cv_func_strtold" = x""yes; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define HAVE_STRTOLD 1
57396 _ACEOF
57399 done
57406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57407 $as_echo_n "checking for strtof declaration... " >&6; }
57408 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57409 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57410 $as_echo_n "(cached) " >&6
57411 else
57414 ac_ext=cpp
57415 ac_cpp='$CXXCPP $CPPFLAGS'
57416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57421 /* end confdefs.h. */
57422 #include <stdlib.h>
57424 main ()
57426 strtof(0, 0);
57428 return 0;
57430 _ACEOF
57431 if ac_fn_cxx_try_compile "$LINENO"; then :
57432 glibcxx_cv_func_strtof_use=yes
57433 else
57434 glibcxx_cv_func_strtof_use=no
57436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57437 ac_ext=c
57438 ac_cpp='$CPP $CPPFLAGS'
57439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57448 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57449 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57450 for ac_func in strtof
57451 do :
57452 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57453 if test "x$ac_cv_func_strtof" = x""yes; then :
57454 cat >>confdefs.h <<_ACEOF
57455 #define HAVE_STRTOF 1
57456 _ACEOF
57459 done
57466 CXXFLAGS="$ac_save_CXXFLAGS"
57469 *-netbsd*)
57470 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57473 # If we're not using GNU ld, then there's no point in even trying these
57474 # tests. Check for that first. We should have already tested for gld
57475 # by now (in libtool), but require it now just to be safe...
57476 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57477 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57481 # The name set by libtool depends on the version of libtool. Shame on us
57482 # for depending on an impl detail, but c'est la vie. Older versions used
57483 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57484 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57485 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57486 # set (hence we're using an older libtool), then set it.
57487 if test x${with_gnu_ld+set} != xset; then
57488 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57489 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57490 with_gnu_ld=no
57491 else
57492 with_gnu_ld=$ac_cv_prog_gnu_ld
57496 # Start by getting the version number. I think the libtool test already
57497 # does some of this, but throws away the result.
57498 glibcxx_ld_is_gold=no
57499 if test x"$with_gnu_ld" = x"yes"; then
57500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57501 $as_echo_n "checking for ld version... " >&6; }
57503 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57504 glibcxx_ld_is_gold=yes
57506 ldver=`$LD --version 2>/dev/null |
57507 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'`
57509 glibcxx_gnu_ld_version=`echo $ldver | \
57510 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57512 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57515 # Set --gc-sections.
57516 glibcxx_have_gc_sections=no
57517 if test "$glibcxx_ld_is_gold" = "yes"; then
57518 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57519 glibcxx_have_gc_sections=yes
57521 else
57522 glibcxx_gcsections_min_ld=21602
57523 if test x"$with_gnu_ld" = x"yes" &&
57524 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57525 glibcxx_have_gc_sections=yes
57528 if test "$glibcxx_have_gc_sections" = "yes"; then
57529 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57530 # NB: This flag only works reliably after 2.16.1. Configure tests
57531 # for this are difficult, so hard wire a value that should work.
57533 ac_test_CFLAGS="${CFLAGS+set}"
57534 ac_save_CFLAGS="$CFLAGS"
57535 CFLAGS='-Wl,--gc-sections'
57537 # Check for -Wl,--gc-sections
57538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57539 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57540 if test x$gcc_no_link = xyes; then
57541 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57544 /* end confdefs.h. */
57545 int one(void) { return 1; }
57546 int two(void) { return 2; }
57549 main ()
57551 two();
57553 return 0;
57555 _ACEOF
57556 if ac_fn_c_try_link "$LINENO"; then :
57557 ac_gcsections=yes
57558 else
57559 ac_gcsections=no
57561 rm -f core conftest.err conftest.$ac_objext \
57562 conftest$ac_exeext conftest.$ac_ext
57563 if test "$ac_gcsections" = "yes"; then
57564 rm -f conftest.c
57565 touch conftest.c
57566 if $CC -c conftest.c; then
57567 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57568 grep "Warning: gc-sections option ignored" > /dev/null; then
57569 ac_gcsections=no
57572 rm -f conftest.c conftest.o conftest
57574 if test "$ac_gcsections" = "yes"; then
57575 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57578 $as_echo "$ac_gcsections" >&6; }
57580 if test "$ac_test_CFLAGS" = set; then
57581 CFLAGS="$ac_save_CFLAGS"
57582 else
57583 # this is the suspicious part
57584 CFLAGS=''
57588 # Set -z,relro.
57589 # Note this is only for shared objects.
57590 ac_ld_relro=no
57591 if test x"$with_gnu_ld" = x"yes"; then
57592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57593 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57594 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57595 if test -n "$cxx_z_relo"; then
57596 OPT_LDFLAGS="-Wl,-z,relro"
57597 ac_ld_relro=yes
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57600 $as_echo "$ac_ld_relro" >&6; }
57603 # Set linker optimization flags.
57604 if test x"$with_gnu_ld" = x"yes"; then
57605 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57611 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57613 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57615 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57617 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57619 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57621 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57623 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57625 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57627 if test x"long_double_math_on_this_cpu" = x"yes"; then
57628 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57630 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57632 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57636 *-qnx6.1* | *-qnx6.2*)
57637 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57640 # If we're not using GNU ld, then there's no point in even trying these
57641 # tests. Check for that first. We should have already tested for gld
57642 # by now (in libtool), but require it now just to be safe...
57643 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57644 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57648 # The name set by libtool depends on the version of libtool. Shame on us
57649 # for depending on an impl detail, but c'est la vie. Older versions used
57650 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57651 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57652 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57653 # set (hence we're using an older libtool), then set it.
57654 if test x${with_gnu_ld+set} != xset; then
57655 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57656 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57657 with_gnu_ld=no
57658 else
57659 with_gnu_ld=$ac_cv_prog_gnu_ld
57663 # Start by getting the version number. I think the libtool test already
57664 # does some of this, but throws away the result.
57665 glibcxx_ld_is_gold=no
57666 if test x"$with_gnu_ld" = x"yes"; then
57667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57668 $as_echo_n "checking for ld version... " >&6; }
57670 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57671 glibcxx_ld_is_gold=yes
57673 ldver=`$LD --version 2>/dev/null |
57674 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'`
57676 glibcxx_gnu_ld_version=`echo $ldver | \
57677 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57679 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57682 # Set --gc-sections.
57683 glibcxx_have_gc_sections=no
57684 if test "$glibcxx_ld_is_gold" = "yes"; then
57685 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57686 glibcxx_have_gc_sections=yes
57688 else
57689 glibcxx_gcsections_min_ld=21602
57690 if test x"$with_gnu_ld" = x"yes" &&
57691 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57692 glibcxx_have_gc_sections=yes
57695 if test "$glibcxx_have_gc_sections" = "yes"; then
57696 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57697 # NB: This flag only works reliably after 2.16.1. Configure tests
57698 # for this are difficult, so hard wire a value that should work.
57700 ac_test_CFLAGS="${CFLAGS+set}"
57701 ac_save_CFLAGS="$CFLAGS"
57702 CFLAGS='-Wl,--gc-sections'
57704 # Check for -Wl,--gc-sections
57705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57706 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57707 if test x$gcc_no_link = xyes; then
57708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57711 /* end confdefs.h. */
57712 int one(void) { return 1; }
57713 int two(void) { return 2; }
57716 main ()
57718 two();
57720 return 0;
57722 _ACEOF
57723 if ac_fn_c_try_link "$LINENO"; then :
57724 ac_gcsections=yes
57725 else
57726 ac_gcsections=no
57728 rm -f core conftest.err conftest.$ac_objext \
57729 conftest$ac_exeext conftest.$ac_ext
57730 if test "$ac_gcsections" = "yes"; then
57731 rm -f conftest.c
57732 touch conftest.c
57733 if $CC -c conftest.c; then
57734 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57735 grep "Warning: gc-sections option ignored" > /dev/null; then
57736 ac_gcsections=no
57739 rm -f conftest.c conftest.o conftest
57741 if test "$ac_gcsections" = "yes"; then
57742 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57745 $as_echo "$ac_gcsections" >&6; }
57747 if test "$ac_test_CFLAGS" = set; then
57748 CFLAGS="$ac_save_CFLAGS"
57749 else
57750 # this is the suspicious part
57751 CFLAGS=''
57755 # Set -z,relro.
57756 # Note this is only for shared objects.
57757 ac_ld_relro=no
57758 if test x"$with_gnu_ld" = x"yes"; then
57759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57760 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57761 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57762 if test -n "$cxx_z_relo"; then
57763 OPT_LDFLAGS="-Wl,-z,relro"
57764 ac_ld_relro=yes
57766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57767 $as_echo "$ac_ld_relro" >&6; }
57770 # Set linker optimization flags.
57771 if test x"$with_gnu_ld" = x"yes"; then
57772 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57778 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57780 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57782 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57784 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57786 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57788 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57790 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57792 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57794 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57796 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57798 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57800 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57803 *-rtems*)
57805 # All these tests are for C++; save the language and the compiler flags.
57806 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57807 # found in GLIBCXX_CONFIGURE.
57809 ac_ext=cpp
57810 ac_cpp='$CXXCPP $CPPFLAGS'
57811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57815 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57816 ac_save_CXXFLAGS="$CXXFLAGS"
57818 # Check for maintainer-mode bits.
57819 if test x"$USE_MAINTAINER_MODE" = xno; then
57820 WERROR=''
57821 else
57822 WERROR='-Werror'
57825 # Check for -ffunction-sections -fdata-sections
57826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57827 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57828 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57830 /* end confdefs.h. */
57831 int foo; void bar() { };
57833 main ()
57837 return 0;
57839 _ACEOF
57840 if ac_fn_cxx_try_compile "$LINENO"; then :
57841 ac_fdsections=yes
57842 else
57843 ac_fdsections=no
57845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57846 if test "$ac_test_CXXFLAGS" = set; then
57847 CXXFLAGS="$ac_save_CXXFLAGS"
57848 else
57849 # this is the suspicious part
57850 CXXFLAGS=''
57852 if test x"$ac_fdsections" = x"yes"; then
57853 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57856 $as_echo "$ac_fdsections" >&6; }
57858 ac_ext=c
57859 ac_cpp='$CPP $CPPFLAGS'
57860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57868 # If we're not using GNU ld, then there's no point in even trying these
57869 # tests. Check for that first. We should have already tested for gld
57870 # by now (in libtool), but require it now just to be safe...
57871 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57872 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57876 # The name set by libtool depends on the version of libtool. Shame on us
57877 # for depending on an impl detail, but c'est la vie. Older versions used
57878 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57879 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57880 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57881 # set (hence we're using an older libtool), then set it.
57882 if test x${with_gnu_ld+set} != xset; then
57883 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57884 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57885 with_gnu_ld=no
57886 else
57887 with_gnu_ld=$ac_cv_prog_gnu_ld
57891 # Start by getting the version number. I think the libtool test already
57892 # does some of this, but throws away the result.
57893 glibcxx_ld_is_gold=no
57894 if test x"$with_gnu_ld" = x"yes"; then
57895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57896 $as_echo_n "checking for ld version... " >&6; }
57898 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57899 glibcxx_ld_is_gold=yes
57901 ldver=`$LD --version 2>/dev/null |
57902 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'`
57904 glibcxx_gnu_ld_version=`echo $ldver | \
57905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57907 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57910 # Set --gc-sections.
57911 glibcxx_have_gc_sections=no
57912 if test "$glibcxx_ld_is_gold" = "yes"; then
57913 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57914 glibcxx_have_gc_sections=yes
57916 else
57917 glibcxx_gcsections_min_ld=21602
57918 if test x"$with_gnu_ld" = x"yes" &&
57919 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57920 glibcxx_have_gc_sections=yes
57923 if test "$glibcxx_have_gc_sections" = "yes"; then
57924 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57925 # NB: This flag only works reliably after 2.16.1. Configure tests
57926 # for this are difficult, so hard wire a value that should work.
57928 ac_test_CFLAGS="${CFLAGS+set}"
57929 ac_save_CFLAGS="$CFLAGS"
57930 CFLAGS='-Wl,--gc-sections'
57932 # Check for -Wl,--gc-sections
57933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57934 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57935 if test x$gcc_no_link = xyes; then
57936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57939 /* end confdefs.h. */
57940 int one(void) { return 1; }
57941 int two(void) { return 2; }
57944 main ()
57946 two();
57948 return 0;
57950 _ACEOF
57951 if ac_fn_c_try_link "$LINENO"; then :
57952 ac_gcsections=yes
57953 else
57954 ac_gcsections=no
57956 rm -f core conftest.err conftest.$ac_objext \
57957 conftest$ac_exeext conftest.$ac_ext
57958 if test "$ac_gcsections" = "yes"; then
57959 rm -f conftest.c
57960 touch conftest.c
57961 if $CC -c conftest.c; then
57962 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57963 grep "Warning: gc-sections option ignored" > /dev/null; then
57964 ac_gcsections=no
57967 rm -f conftest.c conftest.o conftest
57969 if test "$ac_gcsections" = "yes"; then
57970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57973 $as_echo "$ac_gcsections" >&6; }
57975 if test "$ac_test_CFLAGS" = set; then
57976 CFLAGS="$ac_save_CFLAGS"
57977 else
57978 # this is the suspicious part
57979 CFLAGS=''
57983 # Set -z,relro.
57984 # Note this is only for shared objects.
57985 ac_ld_relro=no
57986 if test x"$with_gnu_ld" = x"yes"; then
57987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57988 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57989 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57990 if test -n "$cxx_z_relo"; then
57991 OPT_LDFLAGS="-Wl,-z,relro"
57992 ac_ld_relro=yes
57994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57995 $as_echo "$ac_ld_relro" >&6; }
57998 # Set linker optimization flags.
57999 if test x"$with_gnu_ld" = x"yes"; then
58000 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58007 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58008 ac_save_CXXFLAGS="$CXXFLAGS"
58009 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58012 $as_echo_n "checking for sin in -lm... " >&6; }
58013 if test "${ac_cv_lib_m_sin+set}" = set; then :
58014 $as_echo_n "(cached) " >&6
58015 else
58016 ac_check_lib_save_LIBS=$LIBS
58017 LIBS="-lm $LIBS"
58018 if test x$gcc_no_link = xyes; then
58019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58022 /* end confdefs.h. */
58024 /* Override any GCC internal prototype to avoid an error.
58025 Use char because int might match the return type of a GCC
58026 builtin and then its argument prototype would still apply. */
58027 #ifdef __cplusplus
58028 extern "C"
58029 #endif
58030 char sin ();
58032 main ()
58034 return sin ();
58036 return 0;
58038 _ACEOF
58039 if ac_fn_c_try_link "$LINENO"; then :
58040 ac_cv_lib_m_sin=yes
58041 else
58042 ac_cv_lib_m_sin=no
58044 rm -f core conftest.err conftest.$ac_objext \
58045 conftest$ac_exeext conftest.$ac_ext
58046 LIBS=$ac_check_lib_save_LIBS
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58049 $as_echo "$ac_cv_lib_m_sin" >&6; }
58050 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58051 libm="-lm"
58054 ac_save_LIBS="$LIBS"
58055 LIBS="$LIBS $libm"
58059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58060 $as_echo_n "checking for isinf declaration... " >&6; }
58061 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58062 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58063 $as_echo_n "(cached) " >&6
58064 else
58067 ac_ext=cpp
58068 ac_cpp='$CXXCPP $CPPFLAGS'
58069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58074 /* end confdefs.h. */
58075 #include <math.h>
58076 #ifdef HAVE_IEEEFP_H
58077 #include <ieeefp.h>
58078 #endif
58081 main ()
58083 isinf(0);
58085 return 0;
58087 _ACEOF
58088 if ac_fn_cxx_try_compile "$LINENO"; then :
58089 glibcxx_cv_func_isinf_use=yes
58090 else
58091 glibcxx_cv_func_isinf_use=no
58093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58094 ac_ext=c
58095 ac_cpp='$CPP $CPPFLAGS'
58096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58105 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58107 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58108 for ac_func in isinf
58109 do :
58110 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58111 if test "x$ac_cv_func_isinf" = x""yes; then :
58112 cat >>confdefs.h <<_ACEOF
58113 #define HAVE_ISINF 1
58114 _ACEOF
58117 done
58119 else
58121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58122 $as_echo_n "checking for _isinf declaration... " >&6; }
58123 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58124 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58125 $as_echo_n "(cached) " >&6
58126 else
58129 ac_ext=cpp
58130 ac_cpp='$CXXCPP $CPPFLAGS'
58131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58136 /* end confdefs.h. */
58137 #include <math.h>
58138 #ifdef HAVE_IEEEFP_H
58139 #include <ieeefp.h>
58140 #endif
58143 main ()
58145 _isinf(0);
58147 return 0;
58149 _ACEOF
58150 if ac_fn_cxx_try_compile "$LINENO"; then :
58151 glibcxx_cv_func__isinf_use=yes
58152 else
58153 glibcxx_cv_func__isinf_use=no
58155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58156 ac_ext=c
58157 ac_cpp='$CPP $CPPFLAGS'
58158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58167 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58169 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58170 for ac_func in _isinf
58171 do :
58172 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58173 if test "x$ac_cv_func__isinf" = x""yes; then :
58174 cat >>confdefs.h <<_ACEOF
58175 #define HAVE__ISINF 1
58176 _ACEOF
58179 done
58188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58189 $as_echo_n "checking for isnan declaration... " >&6; }
58190 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58191 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58192 $as_echo_n "(cached) " >&6
58193 else
58196 ac_ext=cpp
58197 ac_cpp='$CXXCPP $CPPFLAGS'
58198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58203 /* end confdefs.h. */
58204 #include <math.h>
58205 #ifdef HAVE_IEEEFP_H
58206 #include <ieeefp.h>
58207 #endif
58210 main ()
58212 isnan(0);
58214 return 0;
58216 _ACEOF
58217 if ac_fn_cxx_try_compile "$LINENO"; then :
58218 glibcxx_cv_func_isnan_use=yes
58219 else
58220 glibcxx_cv_func_isnan_use=no
58222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58223 ac_ext=c
58224 ac_cpp='$CPP $CPPFLAGS'
58225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58234 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58236 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58237 for ac_func in isnan
58238 do :
58239 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58240 if test "x$ac_cv_func_isnan" = x""yes; then :
58241 cat >>confdefs.h <<_ACEOF
58242 #define HAVE_ISNAN 1
58243 _ACEOF
58246 done
58248 else
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58251 $as_echo_n "checking for _isnan declaration... " >&6; }
58252 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58253 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58254 $as_echo_n "(cached) " >&6
58255 else
58258 ac_ext=cpp
58259 ac_cpp='$CXXCPP $CPPFLAGS'
58260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58265 /* end confdefs.h. */
58266 #include <math.h>
58267 #ifdef HAVE_IEEEFP_H
58268 #include <ieeefp.h>
58269 #endif
58272 main ()
58274 _isnan(0);
58276 return 0;
58278 _ACEOF
58279 if ac_fn_cxx_try_compile "$LINENO"; then :
58280 glibcxx_cv_func__isnan_use=yes
58281 else
58282 glibcxx_cv_func__isnan_use=no
58284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58285 ac_ext=c
58286 ac_cpp='$CPP $CPPFLAGS'
58287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58296 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58298 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58299 for ac_func in _isnan
58300 do :
58301 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58302 if test "x$ac_cv_func__isnan" = x""yes; then :
58303 cat >>confdefs.h <<_ACEOF
58304 #define HAVE__ISNAN 1
58305 _ACEOF
58308 done
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58318 $as_echo_n "checking for finite declaration... " >&6; }
58319 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58320 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58321 $as_echo_n "(cached) " >&6
58322 else
58325 ac_ext=cpp
58326 ac_cpp='$CXXCPP $CPPFLAGS'
58327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58332 /* end confdefs.h. */
58333 #include <math.h>
58334 #ifdef HAVE_IEEEFP_H
58335 #include <ieeefp.h>
58336 #endif
58339 main ()
58341 finite(0);
58343 return 0;
58345 _ACEOF
58346 if ac_fn_cxx_try_compile "$LINENO"; then :
58347 glibcxx_cv_func_finite_use=yes
58348 else
58349 glibcxx_cv_func_finite_use=no
58351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58352 ac_ext=c
58353 ac_cpp='$CPP $CPPFLAGS'
58354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58363 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58365 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58366 for ac_func in finite
58367 do :
58368 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58369 if test "x$ac_cv_func_finite" = x""yes; then :
58370 cat >>confdefs.h <<_ACEOF
58371 #define HAVE_FINITE 1
58372 _ACEOF
58375 done
58377 else
58379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58380 $as_echo_n "checking for _finite declaration... " >&6; }
58381 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58382 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58383 $as_echo_n "(cached) " >&6
58384 else
58387 ac_ext=cpp
58388 ac_cpp='$CXXCPP $CPPFLAGS'
58389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58394 /* end confdefs.h. */
58395 #include <math.h>
58396 #ifdef HAVE_IEEEFP_H
58397 #include <ieeefp.h>
58398 #endif
58401 main ()
58403 _finite(0);
58405 return 0;
58407 _ACEOF
58408 if ac_fn_cxx_try_compile "$LINENO"; then :
58409 glibcxx_cv_func__finite_use=yes
58410 else
58411 glibcxx_cv_func__finite_use=no
58413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58414 ac_ext=c
58415 ac_cpp='$CPP $CPPFLAGS'
58416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58425 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58427 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58428 for ac_func in _finite
58429 do :
58430 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58431 if test "x$ac_cv_func__finite" = x""yes; then :
58432 cat >>confdefs.h <<_ACEOF
58433 #define HAVE__FINITE 1
58434 _ACEOF
58437 done
58446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58447 $as_echo_n "checking for sincos declaration... " >&6; }
58448 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58449 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58450 $as_echo_n "(cached) " >&6
58451 else
58454 ac_ext=cpp
58455 ac_cpp='$CXXCPP $CPPFLAGS'
58456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58461 /* end confdefs.h. */
58462 #include <math.h>
58464 main ()
58466 sincos(0, 0, 0);
58468 return 0;
58470 _ACEOF
58471 if ac_fn_cxx_try_compile "$LINENO"; then :
58472 glibcxx_cv_func_sincos_use=yes
58473 else
58474 glibcxx_cv_func_sincos_use=no
58476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58477 ac_ext=c
58478 ac_cpp='$CPP $CPPFLAGS'
58479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58488 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58490 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58491 for ac_func in sincos
58492 do :
58493 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58494 if test "x$ac_cv_func_sincos" = x""yes; then :
58495 cat >>confdefs.h <<_ACEOF
58496 #define HAVE_SINCOS 1
58497 _ACEOF
58500 done
58502 else
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58505 $as_echo_n "checking for _sincos declaration... " >&6; }
58506 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58507 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58508 $as_echo_n "(cached) " >&6
58509 else
58512 ac_ext=cpp
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h. */
58520 #include <math.h>
58522 main ()
58524 _sincos(0, 0, 0);
58526 return 0;
58528 _ACEOF
58529 if ac_fn_cxx_try_compile "$LINENO"; then :
58530 glibcxx_cv_func__sincos_use=yes
58531 else
58532 glibcxx_cv_func__sincos_use=no
58534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58535 ac_ext=c
58536 ac_cpp='$CPP $CPPFLAGS'
58537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58546 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58548 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58549 for ac_func in _sincos
58550 do :
58551 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58552 if test "x$ac_cv_func__sincos" = x""yes; then :
58553 cat >>confdefs.h <<_ACEOF
58554 #define HAVE__SINCOS 1
58555 _ACEOF
58558 done
58567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58568 $as_echo_n "checking for fpclass declaration... " >&6; }
58569 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58570 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58571 $as_echo_n "(cached) " >&6
58572 else
58575 ac_ext=cpp
58576 ac_cpp='$CXXCPP $CPPFLAGS'
58577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58582 /* end confdefs.h. */
58583 #include <math.h>
58584 #ifdef HAVE_IEEEFP_H
58585 #include <ieeefp.h>
58586 #endif
58589 main ()
58591 fpclass(0);
58593 return 0;
58595 _ACEOF
58596 if ac_fn_cxx_try_compile "$LINENO"; then :
58597 glibcxx_cv_func_fpclass_use=yes
58598 else
58599 glibcxx_cv_func_fpclass_use=no
58601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58602 ac_ext=c
58603 ac_cpp='$CPP $CPPFLAGS'
58604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58613 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58615 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58616 for ac_func in fpclass
58617 do :
58618 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58619 if test "x$ac_cv_func_fpclass" = x""yes; then :
58620 cat >>confdefs.h <<_ACEOF
58621 #define HAVE_FPCLASS 1
58622 _ACEOF
58625 done
58627 else
58629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58630 $as_echo_n "checking for _fpclass declaration... " >&6; }
58631 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58632 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58633 $as_echo_n "(cached) " >&6
58634 else
58637 ac_ext=cpp
58638 ac_cpp='$CXXCPP $CPPFLAGS'
58639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58644 /* end confdefs.h. */
58645 #include <math.h>
58646 #ifdef HAVE_IEEEFP_H
58647 #include <ieeefp.h>
58648 #endif
58651 main ()
58653 _fpclass(0);
58655 return 0;
58657 _ACEOF
58658 if ac_fn_cxx_try_compile "$LINENO"; then :
58659 glibcxx_cv_func__fpclass_use=yes
58660 else
58661 glibcxx_cv_func__fpclass_use=no
58663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58664 ac_ext=c
58665 ac_cpp='$CPP $CPPFLAGS'
58666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58675 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58677 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58678 for ac_func in _fpclass
58679 do :
58680 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58681 if test "x$ac_cv_func__fpclass" = x""yes; then :
58682 cat >>confdefs.h <<_ACEOF
58683 #define HAVE__FPCLASS 1
58684 _ACEOF
58687 done
58696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58697 $as_echo_n "checking for qfpclass declaration... " >&6; }
58698 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58699 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58700 $as_echo_n "(cached) " >&6
58701 else
58704 ac_ext=cpp
58705 ac_cpp='$CXXCPP $CPPFLAGS'
58706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58711 /* end confdefs.h. */
58712 #include <math.h>
58713 #ifdef HAVE_IEEEFP_H
58714 #include <ieeefp.h>
58715 #endif
58718 main ()
58720 qfpclass(0);
58722 return 0;
58724 _ACEOF
58725 if ac_fn_cxx_try_compile "$LINENO"; then :
58726 glibcxx_cv_func_qfpclass_use=yes
58727 else
58728 glibcxx_cv_func_qfpclass_use=no
58730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58731 ac_ext=c
58732 ac_cpp='$CPP $CPPFLAGS'
58733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58742 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58744 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58745 for ac_func in qfpclass
58746 do :
58747 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58748 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58749 cat >>confdefs.h <<_ACEOF
58750 #define HAVE_QFPCLASS 1
58751 _ACEOF
58754 done
58756 else
58758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58759 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58760 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58761 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58762 $as_echo_n "(cached) " >&6
58763 else
58766 ac_ext=cpp
58767 ac_cpp='$CXXCPP $CPPFLAGS'
58768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58773 /* end confdefs.h. */
58774 #include <math.h>
58775 #ifdef HAVE_IEEEFP_H
58776 #include <ieeefp.h>
58777 #endif
58780 main ()
58782 _qfpclass(0);
58784 return 0;
58786 _ACEOF
58787 if ac_fn_cxx_try_compile "$LINENO"; then :
58788 glibcxx_cv_func__qfpclass_use=yes
58789 else
58790 glibcxx_cv_func__qfpclass_use=no
58792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58793 ac_ext=c
58794 ac_cpp='$CPP $CPPFLAGS'
58795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58804 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58806 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58807 for ac_func in _qfpclass
58808 do :
58809 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58810 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58811 cat >>confdefs.h <<_ACEOF
58812 #define HAVE__QFPCLASS 1
58813 _ACEOF
58816 done
58825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58826 $as_echo_n "checking for hypot declaration... " >&6; }
58827 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58828 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58829 $as_echo_n "(cached) " >&6
58830 else
58833 ac_ext=cpp
58834 ac_cpp='$CXXCPP $CPPFLAGS'
58835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58840 /* end confdefs.h. */
58841 #include <math.h>
58843 main ()
58845 hypot(0, 0);
58847 return 0;
58849 _ACEOF
58850 if ac_fn_cxx_try_compile "$LINENO"; then :
58851 glibcxx_cv_func_hypot_use=yes
58852 else
58853 glibcxx_cv_func_hypot_use=no
58855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58856 ac_ext=c
58857 ac_cpp='$CPP $CPPFLAGS'
58858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58867 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58869 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58870 for ac_func in hypot
58871 do :
58872 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58873 if test "x$ac_cv_func_hypot" = x""yes; then :
58874 cat >>confdefs.h <<_ACEOF
58875 #define HAVE_HYPOT 1
58876 _ACEOF
58879 done
58881 else
58883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58884 $as_echo_n "checking for _hypot declaration... " >&6; }
58885 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58886 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58887 $as_echo_n "(cached) " >&6
58888 else
58891 ac_ext=cpp
58892 ac_cpp='$CXXCPP $CPPFLAGS'
58893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58898 /* end confdefs.h. */
58899 #include <math.h>
58901 main ()
58903 _hypot(0, 0);
58905 return 0;
58907 _ACEOF
58908 if ac_fn_cxx_try_compile "$LINENO"; then :
58909 glibcxx_cv_func__hypot_use=yes
58910 else
58911 glibcxx_cv_func__hypot_use=no
58913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58914 ac_ext=c
58915 ac_cpp='$CPP $CPPFLAGS'
58916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58925 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58927 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58928 for ac_func in _hypot
58929 do :
58930 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58931 if test "x$ac_cv_func__hypot" = x""yes; then :
58932 cat >>confdefs.h <<_ACEOF
58933 #define HAVE__HYPOT 1
58934 _ACEOF
58937 done
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58947 $as_echo_n "checking for float trig functions... " >&6; }
58948 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58949 $as_echo_n "(cached) " >&6
58950 else
58953 ac_ext=cpp
58954 ac_cpp='$CXXCPP $CPPFLAGS'
58955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58960 /* end confdefs.h. */
58961 #include <math.h>
58963 main ()
58965 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58967 return 0;
58969 _ACEOF
58970 if ac_fn_cxx_try_compile "$LINENO"; then :
58971 glibcxx_cv_func_float_trig_use=yes
58972 else
58973 glibcxx_cv_func_float_trig_use=no
58975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58976 ac_ext=c
58977 ac_cpp='$CPP $CPPFLAGS'
58978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58985 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58986 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58987 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58988 do :
58989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58991 eval as_val=\$$as_ac_var
58992 if test "x$as_val" = x""yes; then :
58993 cat >>confdefs.h <<_ACEOF
58994 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58995 _ACEOF
58998 done
59000 else
59001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59002 $as_echo_n "checking for _float trig functions... " >&6; }
59003 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59004 $as_echo_n "(cached) " >&6
59005 else
59008 ac_ext=cpp
59009 ac_cpp='$CXXCPP $CPPFLAGS'
59010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59015 /* end confdefs.h. */
59016 #include <math.h>
59018 main ()
59020 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59022 return 0;
59024 _ACEOF
59025 if ac_fn_cxx_try_compile "$LINENO"; then :
59026 glibcxx_cv_func__float_trig_use=yes
59027 else
59028 glibcxx_cv_func__float_trig_use=no
59030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59031 ac_ext=c
59032 ac_cpp='$CPP $CPPFLAGS'
59033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59040 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59041 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59042 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59043 do :
59044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59046 eval as_val=\$$as_ac_var
59047 if test "x$as_val" = x""yes; then :
59048 cat >>confdefs.h <<_ACEOF
59049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59050 _ACEOF
59053 done
59062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59063 $as_echo_n "checking for float round functions... " >&6; }
59064 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59065 $as_echo_n "(cached) " >&6
59066 else
59069 ac_ext=cpp
59070 ac_cpp='$CXXCPP $CPPFLAGS'
59071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59076 /* end confdefs.h. */
59077 #include <math.h>
59079 main ()
59081 ceilf (0); floorf (0);
59083 return 0;
59085 _ACEOF
59086 if ac_fn_cxx_try_compile "$LINENO"; then :
59087 glibcxx_cv_func_float_round_use=yes
59088 else
59089 glibcxx_cv_func_float_round_use=no
59091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59092 ac_ext=c
59093 ac_cpp='$CPP $CPPFLAGS'
59094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59101 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59102 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59103 for ac_func in ceilf floorf
59104 do :
59105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59107 eval as_val=\$$as_ac_var
59108 if test "x$as_val" = x""yes; then :
59109 cat >>confdefs.h <<_ACEOF
59110 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59111 _ACEOF
59114 done
59116 else
59117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59118 $as_echo_n "checking for _float round functions... " >&6; }
59119 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59120 $as_echo_n "(cached) " >&6
59121 else
59124 ac_ext=cpp
59125 ac_cpp='$CXXCPP $CPPFLAGS'
59126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59131 /* end confdefs.h. */
59132 #include <math.h>
59134 main ()
59136 _ceilf (0); _floorf (0);
59138 return 0;
59140 _ACEOF
59141 if ac_fn_cxx_try_compile "$LINENO"; then :
59142 glibcxx_cv_func__float_round_use=yes
59143 else
59144 glibcxx_cv_func__float_round_use=no
59146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59147 ac_ext=c
59148 ac_cpp='$CPP $CPPFLAGS'
59149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59156 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59157 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59158 for ac_func in _ceilf _floorf
59159 do :
59160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59162 eval as_val=\$$as_ac_var
59163 if test "x$as_val" = x""yes; then :
59164 cat >>confdefs.h <<_ACEOF
59165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59166 _ACEOF
59169 done
59179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59180 $as_echo_n "checking for expf declaration... " >&6; }
59181 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59182 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59183 $as_echo_n "(cached) " >&6
59184 else
59187 ac_ext=cpp
59188 ac_cpp='$CXXCPP $CPPFLAGS'
59189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59194 /* end confdefs.h. */
59195 #include <math.h>
59196 #ifdef HAVE_IEEEFP_H
59197 #include <ieeefp.h>
59198 #endif
59201 main ()
59203 expf(0);
59205 return 0;
59207 _ACEOF
59208 if ac_fn_cxx_try_compile "$LINENO"; then :
59209 glibcxx_cv_func_expf_use=yes
59210 else
59211 glibcxx_cv_func_expf_use=no
59213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59214 ac_ext=c
59215 ac_cpp='$CPP $CPPFLAGS'
59216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59225 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59227 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59228 for ac_func in expf
59229 do :
59230 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59231 if test "x$ac_cv_func_expf" = x""yes; then :
59232 cat >>confdefs.h <<_ACEOF
59233 #define HAVE_EXPF 1
59234 _ACEOF
59237 done
59239 else
59241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59242 $as_echo_n "checking for _expf declaration... " >&6; }
59243 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59244 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59245 $as_echo_n "(cached) " >&6
59246 else
59249 ac_ext=cpp
59250 ac_cpp='$CXXCPP $CPPFLAGS'
59251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59256 /* end confdefs.h. */
59257 #include <math.h>
59258 #ifdef HAVE_IEEEFP_H
59259 #include <ieeefp.h>
59260 #endif
59263 main ()
59265 _expf(0);
59267 return 0;
59269 _ACEOF
59270 if ac_fn_cxx_try_compile "$LINENO"; then :
59271 glibcxx_cv_func__expf_use=yes
59272 else
59273 glibcxx_cv_func__expf_use=no
59275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59276 ac_ext=c
59277 ac_cpp='$CPP $CPPFLAGS'
59278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59287 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59289 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59290 for ac_func in _expf
59291 do :
59292 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59293 if test "x$ac_cv_func__expf" = x""yes; then :
59294 cat >>confdefs.h <<_ACEOF
59295 #define HAVE__EXPF 1
59296 _ACEOF
59299 done
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59309 $as_echo_n "checking for isnanf declaration... " >&6; }
59310 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59311 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59312 $as_echo_n "(cached) " >&6
59313 else
59316 ac_ext=cpp
59317 ac_cpp='$CXXCPP $CPPFLAGS'
59318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59323 /* end confdefs.h. */
59324 #include <math.h>
59325 #ifdef HAVE_IEEEFP_H
59326 #include <ieeefp.h>
59327 #endif
59330 main ()
59332 isnanf(0);
59334 return 0;
59336 _ACEOF
59337 if ac_fn_cxx_try_compile "$LINENO"; then :
59338 glibcxx_cv_func_isnanf_use=yes
59339 else
59340 glibcxx_cv_func_isnanf_use=no
59342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59343 ac_ext=c
59344 ac_cpp='$CPP $CPPFLAGS'
59345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59354 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59356 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59357 for ac_func in isnanf
59358 do :
59359 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59360 if test "x$ac_cv_func_isnanf" = x""yes; then :
59361 cat >>confdefs.h <<_ACEOF
59362 #define HAVE_ISNANF 1
59363 _ACEOF
59366 done
59368 else
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59371 $as_echo_n "checking for _isnanf declaration... " >&6; }
59372 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59373 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59374 $as_echo_n "(cached) " >&6
59375 else
59378 ac_ext=cpp
59379 ac_cpp='$CXXCPP $CPPFLAGS'
59380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59385 /* end confdefs.h. */
59386 #include <math.h>
59387 #ifdef HAVE_IEEEFP_H
59388 #include <ieeefp.h>
59389 #endif
59392 main ()
59394 _isnanf(0);
59396 return 0;
59398 _ACEOF
59399 if ac_fn_cxx_try_compile "$LINENO"; then :
59400 glibcxx_cv_func__isnanf_use=yes
59401 else
59402 glibcxx_cv_func__isnanf_use=no
59404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405 ac_ext=c
59406 ac_cpp='$CPP $CPPFLAGS'
59407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59416 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59418 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59419 for ac_func in _isnanf
59420 do :
59421 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59422 if test "x$ac_cv_func__isnanf" = x""yes; then :
59423 cat >>confdefs.h <<_ACEOF
59424 #define HAVE__ISNANF 1
59425 _ACEOF
59428 done
59437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59438 $as_echo_n "checking for isinff declaration... " >&6; }
59439 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59440 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59441 $as_echo_n "(cached) " >&6
59442 else
59445 ac_ext=cpp
59446 ac_cpp='$CXXCPP $CPPFLAGS'
59447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59452 /* end confdefs.h. */
59453 #include <math.h>
59454 #ifdef HAVE_IEEEFP_H
59455 #include <ieeefp.h>
59456 #endif
59459 main ()
59461 isinff(0);
59463 return 0;
59465 _ACEOF
59466 if ac_fn_cxx_try_compile "$LINENO"; then :
59467 glibcxx_cv_func_isinff_use=yes
59468 else
59469 glibcxx_cv_func_isinff_use=no
59471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59472 ac_ext=c
59473 ac_cpp='$CPP $CPPFLAGS'
59474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59483 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59485 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59486 for ac_func in isinff
59487 do :
59488 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59489 if test "x$ac_cv_func_isinff" = x""yes; then :
59490 cat >>confdefs.h <<_ACEOF
59491 #define HAVE_ISINFF 1
59492 _ACEOF
59495 done
59497 else
59499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59500 $as_echo_n "checking for _isinff declaration... " >&6; }
59501 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59502 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59503 $as_echo_n "(cached) " >&6
59504 else
59507 ac_ext=cpp
59508 ac_cpp='$CXXCPP $CPPFLAGS'
59509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59514 /* end confdefs.h. */
59515 #include <math.h>
59516 #ifdef HAVE_IEEEFP_H
59517 #include <ieeefp.h>
59518 #endif
59521 main ()
59523 _isinff(0);
59525 return 0;
59527 _ACEOF
59528 if ac_fn_cxx_try_compile "$LINENO"; then :
59529 glibcxx_cv_func__isinff_use=yes
59530 else
59531 glibcxx_cv_func__isinff_use=no
59533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59534 ac_ext=c
59535 ac_cpp='$CPP $CPPFLAGS'
59536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59545 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59547 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59548 for ac_func in _isinff
59549 do :
59550 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59551 if test "x$ac_cv_func__isinff" = x""yes; then :
59552 cat >>confdefs.h <<_ACEOF
59553 #define HAVE__ISINFF 1
59554 _ACEOF
59557 done
59566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59567 $as_echo_n "checking for atan2f declaration... " >&6; }
59568 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59569 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59570 $as_echo_n "(cached) " >&6
59571 else
59574 ac_ext=cpp
59575 ac_cpp='$CXXCPP $CPPFLAGS'
59576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59581 /* end confdefs.h. */
59582 #include <math.h>
59584 main ()
59586 atan2f(0, 0);
59588 return 0;
59590 _ACEOF
59591 if ac_fn_cxx_try_compile "$LINENO"; then :
59592 glibcxx_cv_func_atan2f_use=yes
59593 else
59594 glibcxx_cv_func_atan2f_use=no
59596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59597 ac_ext=c
59598 ac_cpp='$CPP $CPPFLAGS'
59599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59608 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59610 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59611 for ac_func in atan2f
59612 do :
59613 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59614 if test "x$ac_cv_func_atan2f" = x""yes; then :
59615 cat >>confdefs.h <<_ACEOF
59616 #define HAVE_ATAN2F 1
59617 _ACEOF
59620 done
59622 else
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59625 $as_echo_n "checking for _atan2f declaration... " >&6; }
59626 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59627 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59628 $as_echo_n "(cached) " >&6
59629 else
59632 ac_ext=cpp
59633 ac_cpp='$CXXCPP $CPPFLAGS'
59634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59639 /* end confdefs.h. */
59640 #include <math.h>
59642 main ()
59644 _atan2f(0, 0);
59646 return 0;
59648 _ACEOF
59649 if ac_fn_cxx_try_compile "$LINENO"; then :
59650 glibcxx_cv_func__atan2f_use=yes
59651 else
59652 glibcxx_cv_func__atan2f_use=no
59654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59655 ac_ext=c
59656 ac_cpp='$CPP $CPPFLAGS'
59657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59666 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59668 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59669 for ac_func in _atan2f
59670 do :
59671 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59672 if test "x$ac_cv_func__atan2f" = x""yes; then :
59673 cat >>confdefs.h <<_ACEOF
59674 #define HAVE__ATAN2F 1
59675 _ACEOF
59678 done
59687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59688 $as_echo_n "checking for fabsf declaration... " >&6; }
59689 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59690 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59691 $as_echo_n "(cached) " >&6
59692 else
59695 ac_ext=cpp
59696 ac_cpp='$CXXCPP $CPPFLAGS'
59697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59702 /* end confdefs.h. */
59703 #include <math.h>
59704 #ifdef HAVE_IEEEFP_H
59705 #include <ieeefp.h>
59706 #endif
59709 main ()
59711 fabsf(0);
59713 return 0;
59715 _ACEOF
59716 if ac_fn_cxx_try_compile "$LINENO"; then :
59717 glibcxx_cv_func_fabsf_use=yes
59718 else
59719 glibcxx_cv_func_fabsf_use=no
59721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59722 ac_ext=c
59723 ac_cpp='$CPP $CPPFLAGS'
59724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59733 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59735 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59736 for ac_func in fabsf
59737 do :
59738 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59739 if test "x$ac_cv_func_fabsf" = x""yes; then :
59740 cat >>confdefs.h <<_ACEOF
59741 #define HAVE_FABSF 1
59742 _ACEOF
59745 done
59747 else
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59750 $as_echo_n "checking for _fabsf declaration... " >&6; }
59751 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59752 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59753 $as_echo_n "(cached) " >&6
59754 else
59757 ac_ext=cpp
59758 ac_cpp='$CXXCPP $CPPFLAGS'
59759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59764 /* end confdefs.h. */
59765 #include <math.h>
59766 #ifdef HAVE_IEEEFP_H
59767 #include <ieeefp.h>
59768 #endif
59771 main ()
59773 _fabsf(0);
59775 return 0;
59777 _ACEOF
59778 if ac_fn_cxx_try_compile "$LINENO"; then :
59779 glibcxx_cv_func__fabsf_use=yes
59780 else
59781 glibcxx_cv_func__fabsf_use=no
59783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59784 ac_ext=c
59785 ac_cpp='$CPP $CPPFLAGS'
59786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59795 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59797 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59798 for ac_func in _fabsf
59799 do :
59800 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59801 if test "x$ac_cv_func__fabsf" = x""yes; then :
59802 cat >>confdefs.h <<_ACEOF
59803 #define HAVE__FABSF 1
59804 _ACEOF
59807 done
59816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59817 $as_echo_n "checking for fmodf declaration... " >&6; }
59818 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59819 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59820 $as_echo_n "(cached) " >&6
59821 else
59824 ac_ext=cpp
59825 ac_cpp='$CXXCPP $CPPFLAGS'
59826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59831 /* end confdefs.h. */
59832 #include <math.h>
59834 main ()
59836 fmodf(0, 0);
59838 return 0;
59840 _ACEOF
59841 if ac_fn_cxx_try_compile "$LINENO"; then :
59842 glibcxx_cv_func_fmodf_use=yes
59843 else
59844 glibcxx_cv_func_fmodf_use=no
59846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59847 ac_ext=c
59848 ac_cpp='$CPP $CPPFLAGS'
59849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59858 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59860 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59861 for ac_func in fmodf
59862 do :
59863 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59864 if test "x$ac_cv_func_fmodf" = x""yes; then :
59865 cat >>confdefs.h <<_ACEOF
59866 #define HAVE_FMODF 1
59867 _ACEOF
59870 done
59872 else
59874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59875 $as_echo_n "checking for _fmodf declaration... " >&6; }
59876 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59877 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59878 $as_echo_n "(cached) " >&6
59879 else
59882 ac_ext=cpp
59883 ac_cpp='$CXXCPP $CPPFLAGS'
59884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59889 /* end confdefs.h. */
59890 #include <math.h>
59892 main ()
59894 _fmodf(0, 0);
59896 return 0;
59898 _ACEOF
59899 if ac_fn_cxx_try_compile "$LINENO"; then :
59900 glibcxx_cv_func__fmodf_use=yes
59901 else
59902 glibcxx_cv_func__fmodf_use=no
59904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59905 ac_ext=c
59906 ac_cpp='$CPP $CPPFLAGS'
59907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59916 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59918 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59919 for ac_func in _fmodf
59920 do :
59921 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59922 if test "x$ac_cv_func__fmodf" = x""yes; then :
59923 cat >>confdefs.h <<_ACEOF
59924 #define HAVE__FMODF 1
59925 _ACEOF
59928 done
59937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59938 $as_echo_n "checking for frexpf declaration... " >&6; }
59939 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59940 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59941 $as_echo_n "(cached) " >&6
59942 else
59945 ac_ext=cpp
59946 ac_cpp='$CXXCPP $CPPFLAGS'
59947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59952 /* end confdefs.h. */
59953 #include <math.h>
59955 main ()
59957 frexpf(0, 0);
59959 return 0;
59961 _ACEOF
59962 if ac_fn_cxx_try_compile "$LINENO"; then :
59963 glibcxx_cv_func_frexpf_use=yes
59964 else
59965 glibcxx_cv_func_frexpf_use=no
59967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59968 ac_ext=c
59969 ac_cpp='$CPP $CPPFLAGS'
59970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59979 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59981 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59982 for ac_func in frexpf
59983 do :
59984 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59985 if test "x$ac_cv_func_frexpf" = x""yes; then :
59986 cat >>confdefs.h <<_ACEOF
59987 #define HAVE_FREXPF 1
59988 _ACEOF
59991 done
59993 else
59995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59996 $as_echo_n "checking for _frexpf declaration... " >&6; }
59997 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59998 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59999 $as_echo_n "(cached) " >&6
60000 else
60003 ac_ext=cpp
60004 ac_cpp='$CXXCPP $CPPFLAGS'
60005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60010 /* end confdefs.h. */
60011 #include <math.h>
60013 main ()
60015 _frexpf(0, 0);
60017 return 0;
60019 _ACEOF
60020 if ac_fn_cxx_try_compile "$LINENO"; then :
60021 glibcxx_cv_func__frexpf_use=yes
60022 else
60023 glibcxx_cv_func__frexpf_use=no
60025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60026 ac_ext=c
60027 ac_cpp='$CPP $CPPFLAGS'
60028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60037 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60039 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60040 for ac_func in _frexpf
60041 do :
60042 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60043 if test "x$ac_cv_func__frexpf" = x""yes; then :
60044 cat >>confdefs.h <<_ACEOF
60045 #define HAVE__FREXPF 1
60046 _ACEOF
60049 done
60058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60059 $as_echo_n "checking for hypotf declaration... " >&6; }
60060 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60061 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60062 $as_echo_n "(cached) " >&6
60063 else
60066 ac_ext=cpp
60067 ac_cpp='$CXXCPP $CPPFLAGS'
60068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60073 /* end confdefs.h. */
60074 #include <math.h>
60076 main ()
60078 hypotf(0, 0);
60080 return 0;
60082 _ACEOF
60083 if ac_fn_cxx_try_compile "$LINENO"; then :
60084 glibcxx_cv_func_hypotf_use=yes
60085 else
60086 glibcxx_cv_func_hypotf_use=no
60088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60089 ac_ext=c
60090 ac_cpp='$CPP $CPPFLAGS'
60091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60100 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60102 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60103 for ac_func in hypotf
60104 do :
60105 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60106 if test "x$ac_cv_func_hypotf" = x""yes; then :
60107 cat >>confdefs.h <<_ACEOF
60108 #define HAVE_HYPOTF 1
60109 _ACEOF
60112 done
60114 else
60116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60117 $as_echo_n "checking for _hypotf declaration... " >&6; }
60118 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60119 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60120 $as_echo_n "(cached) " >&6
60121 else
60124 ac_ext=cpp
60125 ac_cpp='$CXXCPP $CPPFLAGS'
60126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60131 /* end confdefs.h. */
60132 #include <math.h>
60134 main ()
60136 _hypotf(0, 0);
60138 return 0;
60140 _ACEOF
60141 if ac_fn_cxx_try_compile "$LINENO"; then :
60142 glibcxx_cv_func__hypotf_use=yes
60143 else
60144 glibcxx_cv_func__hypotf_use=no
60146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60147 ac_ext=c
60148 ac_cpp='$CPP $CPPFLAGS'
60149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60158 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60160 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60161 for ac_func in _hypotf
60162 do :
60163 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60164 if test "x$ac_cv_func__hypotf" = x""yes; then :
60165 cat >>confdefs.h <<_ACEOF
60166 #define HAVE__HYPOTF 1
60167 _ACEOF
60170 done
60179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60180 $as_echo_n "checking for ldexpf declaration... " >&6; }
60181 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60182 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60183 $as_echo_n "(cached) " >&6
60184 else
60187 ac_ext=cpp
60188 ac_cpp='$CXXCPP $CPPFLAGS'
60189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60194 /* end confdefs.h. */
60195 #include <math.h>
60197 main ()
60199 ldexpf(0, 0);
60201 return 0;
60203 _ACEOF
60204 if ac_fn_cxx_try_compile "$LINENO"; then :
60205 glibcxx_cv_func_ldexpf_use=yes
60206 else
60207 glibcxx_cv_func_ldexpf_use=no
60209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60210 ac_ext=c
60211 ac_cpp='$CPP $CPPFLAGS'
60212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60221 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60223 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60224 for ac_func in ldexpf
60225 do :
60226 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60227 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60228 cat >>confdefs.h <<_ACEOF
60229 #define HAVE_LDEXPF 1
60230 _ACEOF
60233 done
60235 else
60237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60238 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60239 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60240 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60241 $as_echo_n "(cached) " >&6
60242 else
60245 ac_ext=cpp
60246 ac_cpp='$CXXCPP $CPPFLAGS'
60247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60252 /* end confdefs.h. */
60253 #include <math.h>
60255 main ()
60257 _ldexpf(0, 0);
60259 return 0;
60261 _ACEOF
60262 if ac_fn_cxx_try_compile "$LINENO"; then :
60263 glibcxx_cv_func__ldexpf_use=yes
60264 else
60265 glibcxx_cv_func__ldexpf_use=no
60267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60268 ac_ext=c
60269 ac_cpp='$CPP $CPPFLAGS'
60270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60279 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60281 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60282 for ac_func in _ldexpf
60283 do :
60284 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60285 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60286 cat >>confdefs.h <<_ACEOF
60287 #define HAVE__LDEXPF 1
60288 _ACEOF
60291 done
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60301 $as_echo_n "checking for logf declaration... " >&6; }
60302 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60303 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60304 $as_echo_n "(cached) " >&6
60305 else
60308 ac_ext=cpp
60309 ac_cpp='$CXXCPP $CPPFLAGS'
60310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60315 /* end confdefs.h. */
60316 #include <math.h>
60317 #ifdef HAVE_IEEEFP_H
60318 #include <ieeefp.h>
60319 #endif
60322 main ()
60324 logf(0);
60326 return 0;
60328 _ACEOF
60329 if ac_fn_cxx_try_compile "$LINENO"; then :
60330 glibcxx_cv_func_logf_use=yes
60331 else
60332 glibcxx_cv_func_logf_use=no
60334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60335 ac_ext=c
60336 ac_cpp='$CPP $CPPFLAGS'
60337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60346 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60348 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60349 for ac_func in logf
60350 do :
60351 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60352 if test "x$ac_cv_func_logf" = x""yes; then :
60353 cat >>confdefs.h <<_ACEOF
60354 #define HAVE_LOGF 1
60355 _ACEOF
60358 done
60360 else
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60363 $as_echo_n "checking for _logf declaration... " >&6; }
60364 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60365 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60366 $as_echo_n "(cached) " >&6
60367 else
60370 ac_ext=cpp
60371 ac_cpp='$CXXCPP $CPPFLAGS'
60372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60377 /* end confdefs.h. */
60378 #include <math.h>
60379 #ifdef HAVE_IEEEFP_H
60380 #include <ieeefp.h>
60381 #endif
60384 main ()
60386 _logf(0);
60388 return 0;
60390 _ACEOF
60391 if ac_fn_cxx_try_compile "$LINENO"; then :
60392 glibcxx_cv_func__logf_use=yes
60393 else
60394 glibcxx_cv_func__logf_use=no
60396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60397 ac_ext=c
60398 ac_cpp='$CPP $CPPFLAGS'
60399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60408 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60410 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60411 for ac_func in _logf
60412 do :
60413 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60414 if test "x$ac_cv_func__logf" = x""yes; then :
60415 cat >>confdefs.h <<_ACEOF
60416 #define HAVE__LOGF 1
60417 _ACEOF
60420 done
60429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60430 $as_echo_n "checking for log10f declaration... " >&6; }
60431 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60432 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60433 $as_echo_n "(cached) " >&6
60434 else
60437 ac_ext=cpp
60438 ac_cpp='$CXXCPP $CPPFLAGS'
60439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60444 /* end confdefs.h. */
60445 #include <math.h>
60446 #ifdef HAVE_IEEEFP_H
60447 #include <ieeefp.h>
60448 #endif
60451 main ()
60453 log10f(0);
60455 return 0;
60457 _ACEOF
60458 if ac_fn_cxx_try_compile "$LINENO"; then :
60459 glibcxx_cv_func_log10f_use=yes
60460 else
60461 glibcxx_cv_func_log10f_use=no
60463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60464 ac_ext=c
60465 ac_cpp='$CPP $CPPFLAGS'
60466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60475 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60477 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60478 for ac_func in log10f
60479 do :
60480 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60481 if test "x$ac_cv_func_log10f" = x""yes; then :
60482 cat >>confdefs.h <<_ACEOF
60483 #define HAVE_LOG10F 1
60484 _ACEOF
60487 done
60489 else
60491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60492 $as_echo_n "checking for _log10f declaration... " >&6; }
60493 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60494 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60495 $as_echo_n "(cached) " >&6
60496 else
60499 ac_ext=cpp
60500 ac_cpp='$CXXCPP $CPPFLAGS'
60501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60506 /* end confdefs.h. */
60507 #include <math.h>
60508 #ifdef HAVE_IEEEFP_H
60509 #include <ieeefp.h>
60510 #endif
60513 main ()
60515 _log10f(0);
60517 return 0;
60519 _ACEOF
60520 if ac_fn_cxx_try_compile "$LINENO"; then :
60521 glibcxx_cv_func__log10f_use=yes
60522 else
60523 glibcxx_cv_func__log10f_use=no
60525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60526 ac_ext=c
60527 ac_cpp='$CPP $CPPFLAGS'
60528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60537 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60539 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60540 for ac_func in _log10f
60541 do :
60542 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60543 if test "x$ac_cv_func__log10f" = x""yes; then :
60544 cat >>confdefs.h <<_ACEOF
60545 #define HAVE__LOG10F 1
60546 _ACEOF
60549 done
60558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60559 $as_echo_n "checking for modff declaration... " >&6; }
60560 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60561 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60562 $as_echo_n "(cached) " >&6
60563 else
60566 ac_ext=cpp
60567 ac_cpp='$CXXCPP $CPPFLAGS'
60568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60573 /* end confdefs.h. */
60574 #include <math.h>
60576 main ()
60578 modff(0, 0);
60580 return 0;
60582 _ACEOF
60583 if ac_fn_cxx_try_compile "$LINENO"; then :
60584 glibcxx_cv_func_modff_use=yes
60585 else
60586 glibcxx_cv_func_modff_use=no
60588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60589 ac_ext=c
60590 ac_cpp='$CPP $CPPFLAGS'
60591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60600 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60602 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60603 for ac_func in modff
60604 do :
60605 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60606 if test "x$ac_cv_func_modff" = x""yes; then :
60607 cat >>confdefs.h <<_ACEOF
60608 #define HAVE_MODFF 1
60609 _ACEOF
60612 done
60614 else
60616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60617 $as_echo_n "checking for _modff declaration... " >&6; }
60618 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60619 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60620 $as_echo_n "(cached) " >&6
60621 else
60624 ac_ext=cpp
60625 ac_cpp='$CXXCPP $CPPFLAGS'
60626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60631 /* end confdefs.h. */
60632 #include <math.h>
60634 main ()
60636 _modff(0, 0);
60638 return 0;
60640 _ACEOF
60641 if ac_fn_cxx_try_compile "$LINENO"; then :
60642 glibcxx_cv_func__modff_use=yes
60643 else
60644 glibcxx_cv_func__modff_use=no
60646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60647 ac_ext=c
60648 ac_cpp='$CPP $CPPFLAGS'
60649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60658 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60660 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60661 for ac_func in _modff
60662 do :
60663 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60664 if test "x$ac_cv_func__modff" = x""yes; then :
60665 cat >>confdefs.h <<_ACEOF
60666 #define HAVE__MODFF 1
60667 _ACEOF
60670 done
60679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60680 $as_echo_n "checking for modf declaration... " >&6; }
60681 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60682 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60683 $as_echo_n "(cached) " >&6
60684 else
60687 ac_ext=cpp
60688 ac_cpp='$CXXCPP $CPPFLAGS'
60689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60694 /* end confdefs.h. */
60695 #include <math.h>
60697 main ()
60699 modf(0, 0);
60701 return 0;
60703 _ACEOF
60704 if ac_fn_cxx_try_compile "$LINENO"; then :
60705 glibcxx_cv_func_modf_use=yes
60706 else
60707 glibcxx_cv_func_modf_use=no
60709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60710 ac_ext=c
60711 ac_cpp='$CPP $CPPFLAGS'
60712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60721 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60723 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60724 for ac_func in modf
60725 do :
60726 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60727 if test "x$ac_cv_func_modf" = x""yes; then :
60728 cat >>confdefs.h <<_ACEOF
60729 #define HAVE_MODF 1
60730 _ACEOF
60733 done
60735 else
60737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60738 $as_echo_n "checking for _modf declaration... " >&6; }
60739 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60740 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60741 $as_echo_n "(cached) " >&6
60742 else
60745 ac_ext=cpp
60746 ac_cpp='$CXXCPP $CPPFLAGS'
60747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60752 /* end confdefs.h. */
60753 #include <math.h>
60755 main ()
60757 _modf(0, 0);
60759 return 0;
60761 _ACEOF
60762 if ac_fn_cxx_try_compile "$LINENO"; then :
60763 glibcxx_cv_func__modf_use=yes
60764 else
60765 glibcxx_cv_func__modf_use=no
60767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60768 ac_ext=c
60769 ac_cpp='$CPP $CPPFLAGS'
60770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60779 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60781 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60782 for ac_func in _modf
60783 do :
60784 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60785 if test "x$ac_cv_func__modf" = x""yes; then :
60786 cat >>confdefs.h <<_ACEOF
60787 #define HAVE__MODF 1
60788 _ACEOF
60791 done
60800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60801 $as_echo_n "checking for powf declaration... " >&6; }
60802 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60803 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60804 $as_echo_n "(cached) " >&6
60805 else
60808 ac_ext=cpp
60809 ac_cpp='$CXXCPP $CPPFLAGS'
60810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60815 /* end confdefs.h. */
60816 #include <math.h>
60818 main ()
60820 powf(0, 0);
60822 return 0;
60824 _ACEOF
60825 if ac_fn_cxx_try_compile "$LINENO"; then :
60826 glibcxx_cv_func_powf_use=yes
60827 else
60828 glibcxx_cv_func_powf_use=no
60830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60831 ac_ext=c
60832 ac_cpp='$CPP $CPPFLAGS'
60833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60842 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60844 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60845 for ac_func in powf
60846 do :
60847 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60848 if test "x$ac_cv_func_powf" = x""yes; then :
60849 cat >>confdefs.h <<_ACEOF
60850 #define HAVE_POWF 1
60851 _ACEOF
60854 done
60856 else
60858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60859 $as_echo_n "checking for _powf declaration... " >&6; }
60860 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60861 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60862 $as_echo_n "(cached) " >&6
60863 else
60866 ac_ext=cpp
60867 ac_cpp='$CXXCPP $CPPFLAGS'
60868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60873 /* end confdefs.h. */
60874 #include <math.h>
60876 main ()
60878 _powf(0, 0);
60880 return 0;
60882 _ACEOF
60883 if ac_fn_cxx_try_compile "$LINENO"; then :
60884 glibcxx_cv_func__powf_use=yes
60885 else
60886 glibcxx_cv_func__powf_use=no
60888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60889 ac_ext=c
60890 ac_cpp='$CPP $CPPFLAGS'
60891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60900 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60902 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60903 for ac_func in _powf
60904 do :
60905 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60906 if test "x$ac_cv_func__powf" = x""yes; then :
60907 cat >>confdefs.h <<_ACEOF
60908 #define HAVE__POWF 1
60909 _ACEOF
60912 done
60921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60922 $as_echo_n "checking for sqrtf declaration... " >&6; }
60923 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60924 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60925 $as_echo_n "(cached) " >&6
60926 else
60929 ac_ext=cpp
60930 ac_cpp='$CXXCPP $CPPFLAGS'
60931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60936 /* end confdefs.h. */
60937 #include <math.h>
60938 #ifdef HAVE_IEEEFP_H
60939 #include <ieeefp.h>
60940 #endif
60943 main ()
60945 sqrtf(0);
60947 return 0;
60949 _ACEOF
60950 if ac_fn_cxx_try_compile "$LINENO"; then :
60951 glibcxx_cv_func_sqrtf_use=yes
60952 else
60953 glibcxx_cv_func_sqrtf_use=no
60955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60956 ac_ext=c
60957 ac_cpp='$CPP $CPPFLAGS'
60958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60967 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60969 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60970 for ac_func in sqrtf
60971 do :
60972 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60973 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60974 cat >>confdefs.h <<_ACEOF
60975 #define HAVE_SQRTF 1
60976 _ACEOF
60979 done
60981 else
60983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60984 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60985 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60986 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60987 $as_echo_n "(cached) " >&6
60988 else
60991 ac_ext=cpp
60992 ac_cpp='$CXXCPP $CPPFLAGS'
60993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60998 /* end confdefs.h. */
60999 #include <math.h>
61000 #ifdef HAVE_IEEEFP_H
61001 #include <ieeefp.h>
61002 #endif
61005 main ()
61007 _sqrtf(0);
61009 return 0;
61011 _ACEOF
61012 if ac_fn_cxx_try_compile "$LINENO"; then :
61013 glibcxx_cv_func__sqrtf_use=yes
61014 else
61015 glibcxx_cv_func__sqrtf_use=no
61017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61018 ac_ext=c
61019 ac_cpp='$CPP $CPPFLAGS'
61020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61029 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61031 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61032 for ac_func in _sqrtf
61033 do :
61034 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61035 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61036 cat >>confdefs.h <<_ACEOF
61037 #define HAVE__SQRTF 1
61038 _ACEOF
61041 done
61050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61051 $as_echo_n "checking for sincosf declaration... " >&6; }
61052 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61053 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61054 $as_echo_n "(cached) " >&6
61055 else
61058 ac_ext=cpp
61059 ac_cpp='$CXXCPP $CPPFLAGS'
61060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61065 /* end confdefs.h. */
61066 #include <math.h>
61068 main ()
61070 sincosf(0, 0, 0);
61072 return 0;
61074 _ACEOF
61075 if ac_fn_cxx_try_compile "$LINENO"; then :
61076 glibcxx_cv_func_sincosf_use=yes
61077 else
61078 glibcxx_cv_func_sincosf_use=no
61080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61081 ac_ext=c
61082 ac_cpp='$CPP $CPPFLAGS'
61083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61092 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61094 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61095 for ac_func in sincosf
61096 do :
61097 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61098 if test "x$ac_cv_func_sincosf" = x""yes; then :
61099 cat >>confdefs.h <<_ACEOF
61100 #define HAVE_SINCOSF 1
61101 _ACEOF
61104 done
61106 else
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61109 $as_echo_n "checking for _sincosf declaration... " >&6; }
61110 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61111 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61112 $as_echo_n "(cached) " >&6
61113 else
61116 ac_ext=cpp
61117 ac_cpp='$CXXCPP $CPPFLAGS'
61118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61123 /* end confdefs.h. */
61124 #include <math.h>
61126 main ()
61128 _sincosf(0, 0, 0);
61130 return 0;
61132 _ACEOF
61133 if ac_fn_cxx_try_compile "$LINENO"; then :
61134 glibcxx_cv_func__sincosf_use=yes
61135 else
61136 glibcxx_cv_func__sincosf_use=no
61138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61139 ac_ext=c
61140 ac_cpp='$CPP $CPPFLAGS'
61141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61150 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61152 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61153 for ac_func in _sincosf
61154 do :
61155 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61156 if test "x$ac_cv_func__sincosf" = x""yes; then :
61157 cat >>confdefs.h <<_ACEOF
61158 #define HAVE__SINCOSF 1
61159 _ACEOF
61162 done
61171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61172 $as_echo_n "checking for finitef declaration... " >&6; }
61173 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61174 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61175 $as_echo_n "(cached) " >&6
61176 else
61179 ac_ext=cpp
61180 ac_cpp='$CXXCPP $CPPFLAGS'
61181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61186 /* end confdefs.h. */
61187 #include <math.h>
61188 #ifdef HAVE_IEEEFP_H
61189 #include <ieeefp.h>
61190 #endif
61193 main ()
61195 finitef(0);
61197 return 0;
61199 _ACEOF
61200 if ac_fn_cxx_try_compile "$LINENO"; then :
61201 glibcxx_cv_func_finitef_use=yes
61202 else
61203 glibcxx_cv_func_finitef_use=no
61205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61206 ac_ext=c
61207 ac_cpp='$CPP $CPPFLAGS'
61208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61217 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61219 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61220 for ac_func in finitef
61221 do :
61222 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61223 if test "x$ac_cv_func_finitef" = x""yes; then :
61224 cat >>confdefs.h <<_ACEOF
61225 #define HAVE_FINITEF 1
61226 _ACEOF
61229 done
61231 else
61233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61234 $as_echo_n "checking for _finitef declaration... " >&6; }
61235 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61236 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61237 $as_echo_n "(cached) " >&6
61238 else
61241 ac_ext=cpp
61242 ac_cpp='$CXXCPP $CPPFLAGS'
61243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61248 /* end confdefs.h. */
61249 #include <math.h>
61250 #ifdef HAVE_IEEEFP_H
61251 #include <ieeefp.h>
61252 #endif
61255 main ()
61257 _finitef(0);
61259 return 0;
61261 _ACEOF
61262 if ac_fn_cxx_try_compile "$LINENO"; then :
61263 glibcxx_cv_func__finitef_use=yes
61264 else
61265 glibcxx_cv_func__finitef_use=no
61267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61268 ac_ext=c
61269 ac_cpp='$CPP $CPPFLAGS'
61270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61279 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61281 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61282 for ac_func in _finitef
61283 do :
61284 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61285 if test "x$ac_cv_func__finitef" = x""yes; then :
61286 cat >>confdefs.h <<_ACEOF
61287 #define HAVE__FINITEF 1
61288 _ACEOF
61291 done
61300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61301 $as_echo_n "checking for long double trig functions... " >&6; }
61302 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61303 $as_echo_n "(cached) " >&6
61304 else
61307 ac_ext=cpp
61308 ac_cpp='$CXXCPP $CPPFLAGS'
61309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61314 /* end confdefs.h. */
61315 #include <math.h>
61317 main ()
61319 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61321 return 0;
61323 _ACEOF
61324 if ac_fn_cxx_try_compile "$LINENO"; then :
61325 glibcxx_cv_func_long_double_trig_use=yes
61326 else
61327 glibcxx_cv_func_long_double_trig_use=no
61329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61330 ac_ext=c
61331 ac_cpp='$CPP $CPPFLAGS'
61332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61339 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61340 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61341 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61342 do :
61343 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61344 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61345 eval as_val=\$$as_ac_var
61346 if test "x$as_val" = x""yes; then :
61347 cat >>confdefs.h <<_ACEOF
61348 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61349 _ACEOF
61352 done
61354 else
61355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61356 $as_echo_n "checking for _long double trig functions... " >&6; }
61357 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61358 $as_echo_n "(cached) " >&6
61359 else
61362 ac_ext=cpp
61363 ac_cpp='$CXXCPP $CPPFLAGS'
61364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61369 /* end confdefs.h. */
61370 #include <math.h>
61372 main ()
61374 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61376 return 0;
61378 _ACEOF
61379 if ac_fn_cxx_try_compile "$LINENO"; then :
61380 glibcxx_cv_func__long_double_trig_use=yes
61381 else
61382 glibcxx_cv_func__long_double_trig_use=no
61384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61385 ac_ext=c
61386 ac_cpp='$CPP $CPPFLAGS'
61387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61394 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61395 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61396 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61397 do :
61398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61400 eval as_val=\$$as_ac_var
61401 if test "x$as_val" = x""yes; then :
61402 cat >>confdefs.h <<_ACEOF
61403 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61404 _ACEOF
61407 done
61416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61417 $as_echo_n "checking for long double round functions... " >&6; }
61418 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61419 $as_echo_n "(cached) " >&6
61420 else
61423 ac_ext=cpp
61424 ac_cpp='$CXXCPP $CPPFLAGS'
61425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61430 /* end confdefs.h. */
61431 #include <math.h>
61433 main ()
61435 ceill (0); floorl (0);
61437 return 0;
61439 _ACEOF
61440 if ac_fn_cxx_try_compile "$LINENO"; then :
61441 glibcxx_cv_func_long_double_round_use=yes
61442 else
61443 glibcxx_cv_func_long_double_round_use=no
61445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61446 ac_ext=c
61447 ac_cpp='$CPP $CPPFLAGS'
61448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61455 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61456 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61457 for ac_func in ceill floorl
61458 do :
61459 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61460 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61461 eval as_val=\$$as_ac_var
61462 if test "x$as_val" = x""yes; then :
61463 cat >>confdefs.h <<_ACEOF
61464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61465 _ACEOF
61468 done
61470 else
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61472 $as_echo_n "checking for _long double round functions... " >&6; }
61473 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61474 $as_echo_n "(cached) " >&6
61475 else
61478 ac_ext=cpp
61479 ac_cpp='$CXXCPP $CPPFLAGS'
61480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61485 /* end confdefs.h. */
61486 #include <math.h>
61488 main ()
61490 _ceill (0); _floorl (0);
61492 return 0;
61494 _ACEOF
61495 if ac_fn_cxx_try_compile "$LINENO"; then :
61496 glibcxx_cv_func__long_double_round_use=yes
61497 else
61498 glibcxx_cv_func__long_double_round_use=no
61500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61501 ac_ext=c
61502 ac_cpp='$CPP $CPPFLAGS'
61503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61510 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61511 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61512 for ac_func in _ceill _floorl
61513 do :
61514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61516 eval as_val=\$$as_ac_var
61517 if test "x$as_val" = x""yes; then :
61518 cat >>confdefs.h <<_ACEOF
61519 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61520 _ACEOF
61523 done
61533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61534 $as_echo_n "checking for isnanl declaration... " >&6; }
61535 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61536 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61537 $as_echo_n "(cached) " >&6
61538 else
61541 ac_ext=cpp
61542 ac_cpp='$CXXCPP $CPPFLAGS'
61543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61548 /* end confdefs.h. */
61549 #include <math.h>
61550 #ifdef HAVE_IEEEFP_H
61551 #include <ieeefp.h>
61552 #endif
61555 main ()
61557 isnanl(0);
61559 return 0;
61561 _ACEOF
61562 if ac_fn_cxx_try_compile "$LINENO"; then :
61563 glibcxx_cv_func_isnanl_use=yes
61564 else
61565 glibcxx_cv_func_isnanl_use=no
61567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61568 ac_ext=c
61569 ac_cpp='$CPP $CPPFLAGS'
61570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61579 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61581 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61582 for ac_func in isnanl
61583 do :
61584 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61585 if test "x$ac_cv_func_isnanl" = x""yes; then :
61586 cat >>confdefs.h <<_ACEOF
61587 #define HAVE_ISNANL 1
61588 _ACEOF
61591 done
61593 else
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61596 $as_echo_n "checking for _isnanl declaration... " >&6; }
61597 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61598 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61599 $as_echo_n "(cached) " >&6
61600 else
61603 ac_ext=cpp
61604 ac_cpp='$CXXCPP $CPPFLAGS'
61605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61610 /* end confdefs.h. */
61611 #include <math.h>
61612 #ifdef HAVE_IEEEFP_H
61613 #include <ieeefp.h>
61614 #endif
61617 main ()
61619 _isnanl(0);
61621 return 0;
61623 _ACEOF
61624 if ac_fn_cxx_try_compile "$LINENO"; then :
61625 glibcxx_cv_func__isnanl_use=yes
61626 else
61627 glibcxx_cv_func__isnanl_use=no
61629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61630 ac_ext=c
61631 ac_cpp='$CPP $CPPFLAGS'
61632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61641 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61643 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61644 for ac_func in _isnanl
61645 do :
61646 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61647 if test "x$ac_cv_func__isnanl" = x""yes; then :
61648 cat >>confdefs.h <<_ACEOF
61649 #define HAVE__ISNANL 1
61650 _ACEOF
61653 done
61662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61663 $as_echo_n "checking for isinfl declaration... " >&6; }
61664 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61665 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61666 $as_echo_n "(cached) " >&6
61667 else
61670 ac_ext=cpp
61671 ac_cpp='$CXXCPP $CPPFLAGS'
61672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61677 /* end confdefs.h. */
61678 #include <math.h>
61679 #ifdef HAVE_IEEEFP_H
61680 #include <ieeefp.h>
61681 #endif
61684 main ()
61686 isinfl(0);
61688 return 0;
61690 _ACEOF
61691 if ac_fn_cxx_try_compile "$LINENO"; then :
61692 glibcxx_cv_func_isinfl_use=yes
61693 else
61694 glibcxx_cv_func_isinfl_use=no
61696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61697 ac_ext=c
61698 ac_cpp='$CPP $CPPFLAGS'
61699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61708 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61710 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61711 for ac_func in isinfl
61712 do :
61713 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61714 if test "x$ac_cv_func_isinfl" = x""yes; then :
61715 cat >>confdefs.h <<_ACEOF
61716 #define HAVE_ISINFL 1
61717 _ACEOF
61720 done
61722 else
61724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61725 $as_echo_n "checking for _isinfl declaration... " >&6; }
61726 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61727 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61728 $as_echo_n "(cached) " >&6
61729 else
61732 ac_ext=cpp
61733 ac_cpp='$CXXCPP $CPPFLAGS'
61734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61739 /* end confdefs.h. */
61740 #include <math.h>
61741 #ifdef HAVE_IEEEFP_H
61742 #include <ieeefp.h>
61743 #endif
61746 main ()
61748 _isinfl(0);
61750 return 0;
61752 _ACEOF
61753 if ac_fn_cxx_try_compile "$LINENO"; then :
61754 glibcxx_cv_func__isinfl_use=yes
61755 else
61756 glibcxx_cv_func__isinfl_use=no
61758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61759 ac_ext=c
61760 ac_cpp='$CPP $CPPFLAGS'
61761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61770 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61772 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61773 for ac_func in _isinfl
61774 do :
61775 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61776 if test "x$ac_cv_func__isinfl" = x""yes; then :
61777 cat >>confdefs.h <<_ACEOF
61778 #define HAVE__ISINFL 1
61779 _ACEOF
61782 done
61791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61792 $as_echo_n "checking for atan2l declaration... " >&6; }
61793 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61794 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61795 $as_echo_n "(cached) " >&6
61796 else
61799 ac_ext=cpp
61800 ac_cpp='$CXXCPP $CPPFLAGS'
61801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61806 /* end confdefs.h. */
61807 #include <math.h>
61809 main ()
61811 atan2l(0, 0);
61813 return 0;
61815 _ACEOF
61816 if ac_fn_cxx_try_compile "$LINENO"; then :
61817 glibcxx_cv_func_atan2l_use=yes
61818 else
61819 glibcxx_cv_func_atan2l_use=no
61821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61822 ac_ext=c
61823 ac_cpp='$CPP $CPPFLAGS'
61824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61833 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61835 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61836 for ac_func in atan2l
61837 do :
61838 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61839 if test "x$ac_cv_func_atan2l" = x""yes; then :
61840 cat >>confdefs.h <<_ACEOF
61841 #define HAVE_ATAN2L 1
61842 _ACEOF
61845 done
61847 else
61849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61850 $as_echo_n "checking for _atan2l declaration... " >&6; }
61851 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61852 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61853 $as_echo_n "(cached) " >&6
61854 else
61857 ac_ext=cpp
61858 ac_cpp='$CXXCPP $CPPFLAGS'
61859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61864 /* end confdefs.h. */
61865 #include <math.h>
61867 main ()
61869 _atan2l(0, 0);
61871 return 0;
61873 _ACEOF
61874 if ac_fn_cxx_try_compile "$LINENO"; then :
61875 glibcxx_cv_func__atan2l_use=yes
61876 else
61877 glibcxx_cv_func__atan2l_use=no
61879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61880 ac_ext=c
61881 ac_cpp='$CPP $CPPFLAGS'
61882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61891 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61893 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61894 for ac_func in _atan2l
61895 do :
61896 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61897 if test "x$ac_cv_func__atan2l" = x""yes; then :
61898 cat >>confdefs.h <<_ACEOF
61899 #define HAVE__ATAN2L 1
61900 _ACEOF
61903 done
61912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61913 $as_echo_n "checking for expl declaration... " >&6; }
61914 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61915 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61916 $as_echo_n "(cached) " >&6
61917 else
61920 ac_ext=cpp
61921 ac_cpp='$CXXCPP $CPPFLAGS'
61922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61927 /* end confdefs.h. */
61928 #include <math.h>
61929 #ifdef HAVE_IEEEFP_H
61930 #include <ieeefp.h>
61931 #endif
61934 main ()
61936 expl(0);
61938 return 0;
61940 _ACEOF
61941 if ac_fn_cxx_try_compile "$LINENO"; then :
61942 glibcxx_cv_func_expl_use=yes
61943 else
61944 glibcxx_cv_func_expl_use=no
61946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61947 ac_ext=c
61948 ac_cpp='$CPP $CPPFLAGS'
61949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61958 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61960 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61961 for ac_func in expl
61962 do :
61963 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61964 if test "x$ac_cv_func_expl" = x""yes; then :
61965 cat >>confdefs.h <<_ACEOF
61966 #define HAVE_EXPL 1
61967 _ACEOF
61970 done
61972 else
61974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61975 $as_echo_n "checking for _expl declaration... " >&6; }
61976 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61977 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61978 $as_echo_n "(cached) " >&6
61979 else
61982 ac_ext=cpp
61983 ac_cpp='$CXXCPP $CPPFLAGS'
61984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61989 /* end confdefs.h. */
61990 #include <math.h>
61991 #ifdef HAVE_IEEEFP_H
61992 #include <ieeefp.h>
61993 #endif
61996 main ()
61998 _expl(0);
62000 return 0;
62002 _ACEOF
62003 if ac_fn_cxx_try_compile "$LINENO"; then :
62004 glibcxx_cv_func__expl_use=yes
62005 else
62006 glibcxx_cv_func__expl_use=no
62008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62009 ac_ext=c
62010 ac_cpp='$CPP $CPPFLAGS'
62011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62020 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62022 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62023 for ac_func in _expl
62024 do :
62025 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62026 if test "x$ac_cv_func__expl" = x""yes; then :
62027 cat >>confdefs.h <<_ACEOF
62028 #define HAVE__EXPL 1
62029 _ACEOF
62032 done
62041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62042 $as_echo_n "checking for fabsl declaration... " >&6; }
62043 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62044 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62045 $as_echo_n "(cached) " >&6
62046 else
62049 ac_ext=cpp
62050 ac_cpp='$CXXCPP $CPPFLAGS'
62051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62056 /* end confdefs.h. */
62057 #include <math.h>
62058 #ifdef HAVE_IEEEFP_H
62059 #include <ieeefp.h>
62060 #endif
62063 main ()
62065 fabsl(0);
62067 return 0;
62069 _ACEOF
62070 if ac_fn_cxx_try_compile "$LINENO"; then :
62071 glibcxx_cv_func_fabsl_use=yes
62072 else
62073 glibcxx_cv_func_fabsl_use=no
62075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62076 ac_ext=c
62077 ac_cpp='$CPP $CPPFLAGS'
62078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62087 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62089 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62090 for ac_func in fabsl
62091 do :
62092 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62093 if test "x$ac_cv_func_fabsl" = x""yes; then :
62094 cat >>confdefs.h <<_ACEOF
62095 #define HAVE_FABSL 1
62096 _ACEOF
62099 done
62101 else
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62104 $as_echo_n "checking for _fabsl declaration... " >&6; }
62105 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62106 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62107 $as_echo_n "(cached) " >&6
62108 else
62111 ac_ext=cpp
62112 ac_cpp='$CXXCPP $CPPFLAGS'
62113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62118 /* end confdefs.h. */
62119 #include <math.h>
62120 #ifdef HAVE_IEEEFP_H
62121 #include <ieeefp.h>
62122 #endif
62125 main ()
62127 _fabsl(0);
62129 return 0;
62131 _ACEOF
62132 if ac_fn_cxx_try_compile "$LINENO"; then :
62133 glibcxx_cv_func__fabsl_use=yes
62134 else
62135 glibcxx_cv_func__fabsl_use=no
62137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62138 ac_ext=c
62139 ac_cpp='$CPP $CPPFLAGS'
62140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62149 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62151 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62152 for ac_func in _fabsl
62153 do :
62154 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62155 if test "x$ac_cv_func__fabsl" = x""yes; then :
62156 cat >>confdefs.h <<_ACEOF
62157 #define HAVE__FABSL 1
62158 _ACEOF
62161 done
62170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62171 $as_echo_n "checking for fmodl declaration... " >&6; }
62172 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62173 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62174 $as_echo_n "(cached) " >&6
62175 else
62178 ac_ext=cpp
62179 ac_cpp='$CXXCPP $CPPFLAGS'
62180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62185 /* end confdefs.h. */
62186 #include <math.h>
62188 main ()
62190 fmodl(0, 0);
62192 return 0;
62194 _ACEOF
62195 if ac_fn_cxx_try_compile "$LINENO"; then :
62196 glibcxx_cv_func_fmodl_use=yes
62197 else
62198 glibcxx_cv_func_fmodl_use=no
62200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62201 ac_ext=c
62202 ac_cpp='$CPP $CPPFLAGS'
62203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62212 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62214 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62215 for ac_func in fmodl
62216 do :
62217 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62218 if test "x$ac_cv_func_fmodl" = x""yes; then :
62219 cat >>confdefs.h <<_ACEOF
62220 #define HAVE_FMODL 1
62221 _ACEOF
62224 done
62226 else
62228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62229 $as_echo_n "checking for _fmodl declaration... " >&6; }
62230 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62231 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62232 $as_echo_n "(cached) " >&6
62233 else
62236 ac_ext=cpp
62237 ac_cpp='$CXXCPP $CPPFLAGS'
62238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62243 /* end confdefs.h. */
62244 #include <math.h>
62246 main ()
62248 _fmodl(0, 0);
62250 return 0;
62252 _ACEOF
62253 if ac_fn_cxx_try_compile "$LINENO"; then :
62254 glibcxx_cv_func__fmodl_use=yes
62255 else
62256 glibcxx_cv_func__fmodl_use=no
62258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62259 ac_ext=c
62260 ac_cpp='$CPP $CPPFLAGS'
62261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62270 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62272 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62273 for ac_func in _fmodl
62274 do :
62275 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62276 if test "x$ac_cv_func__fmodl" = x""yes; then :
62277 cat >>confdefs.h <<_ACEOF
62278 #define HAVE__FMODL 1
62279 _ACEOF
62282 done
62291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62292 $as_echo_n "checking for frexpl declaration... " >&6; }
62293 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62294 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62295 $as_echo_n "(cached) " >&6
62296 else
62299 ac_ext=cpp
62300 ac_cpp='$CXXCPP $CPPFLAGS'
62301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62306 /* end confdefs.h. */
62307 #include <math.h>
62309 main ()
62311 frexpl(0, 0);
62313 return 0;
62315 _ACEOF
62316 if ac_fn_cxx_try_compile "$LINENO"; then :
62317 glibcxx_cv_func_frexpl_use=yes
62318 else
62319 glibcxx_cv_func_frexpl_use=no
62321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62322 ac_ext=c
62323 ac_cpp='$CPP $CPPFLAGS'
62324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62333 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62335 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62336 for ac_func in frexpl
62337 do :
62338 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62339 if test "x$ac_cv_func_frexpl" = x""yes; then :
62340 cat >>confdefs.h <<_ACEOF
62341 #define HAVE_FREXPL 1
62342 _ACEOF
62345 done
62347 else
62349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62350 $as_echo_n "checking for _frexpl declaration... " >&6; }
62351 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62352 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62353 $as_echo_n "(cached) " >&6
62354 else
62357 ac_ext=cpp
62358 ac_cpp='$CXXCPP $CPPFLAGS'
62359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62364 /* end confdefs.h. */
62365 #include <math.h>
62367 main ()
62369 _frexpl(0, 0);
62371 return 0;
62373 _ACEOF
62374 if ac_fn_cxx_try_compile "$LINENO"; then :
62375 glibcxx_cv_func__frexpl_use=yes
62376 else
62377 glibcxx_cv_func__frexpl_use=no
62379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62380 ac_ext=c
62381 ac_cpp='$CPP $CPPFLAGS'
62382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62391 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62393 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62394 for ac_func in _frexpl
62395 do :
62396 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62397 if test "x$ac_cv_func__frexpl" = x""yes; then :
62398 cat >>confdefs.h <<_ACEOF
62399 #define HAVE__FREXPL 1
62400 _ACEOF
62403 done
62412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62413 $as_echo_n "checking for hypotl declaration... " >&6; }
62414 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62415 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62416 $as_echo_n "(cached) " >&6
62417 else
62420 ac_ext=cpp
62421 ac_cpp='$CXXCPP $CPPFLAGS'
62422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62427 /* end confdefs.h. */
62428 #include <math.h>
62430 main ()
62432 hypotl(0, 0);
62434 return 0;
62436 _ACEOF
62437 if ac_fn_cxx_try_compile "$LINENO"; then :
62438 glibcxx_cv_func_hypotl_use=yes
62439 else
62440 glibcxx_cv_func_hypotl_use=no
62442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62443 ac_ext=c
62444 ac_cpp='$CPP $CPPFLAGS'
62445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62454 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62456 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62457 for ac_func in hypotl
62458 do :
62459 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62460 if test "x$ac_cv_func_hypotl" = x""yes; then :
62461 cat >>confdefs.h <<_ACEOF
62462 #define HAVE_HYPOTL 1
62463 _ACEOF
62466 done
62468 else
62470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62471 $as_echo_n "checking for _hypotl declaration... " >&6; }
62472 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62473 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62474 $as_echo_n "(cached) " >&6
62475 else
62478 ac_ext=cpp
62479 ac_cpp='$CXXCPP $CPPFLAGS'
62480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62485 /* end confdefs.h. */
62486 #include <math.h>
62488 main ()
62490 _hypotl(0, 0);
62492 return 0;
62494 _ACEOF
62495 if ac_fn_cxx_try_compile "$LINENO"; then :
62496 glibcxx_cv_func__hypotl_use=yes
62497 else
62498 glibcxx_cv_func__hypotl_use=no
62500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62501 ac_ext=c
62502 ac_cpp='$CPP $CPPFLAGS'
62503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62512 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62514 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62515 for ac_func in _hypotl
62516 do :
62517 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62518 if test "x$ac_cv_func__hypotl" = x""yes; then :
62519 cat >>confdefs.h <<_ACEOF
62520 #define HAVE__HYPOTL 1
62521 _ACEOF
62524 done
62533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62534 $as_echo_n "checking for ldexpl declaration... " >&6; }
62535 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62536 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62537 $as_echo_n "(cached) " >&6
62538 else
62541 ac_ext=cpp
62542 ac_cpp='$CXXCPP $CPPFLAGS'
62543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62548 /* end confdefs.h. */
62549 #include <math.h>
62551 main ()
62553 ldexpl(0, 0);
62555 return 0;
62557 _ACEOF
62558 if ac_fn_cxx_try_compile "$LINENO"; then :
62559 glibcxx_cv_func_ldexpl_use=yes
62560 else
62561 glibcxx_cv_func_ldexpl_use=no
62563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62564 ac_ext=c
62565 ac_cpp='$CPP $CPPFLAGS'
62566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62575 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62577 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62578 for ac_func in ldexpl
62579 do :
62580 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62581 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62582 cat >>confdefs.h <<_ACEOF
62583 #define HAVE_LDEXPL 1
62584 _ACEOF
62587 done
62589 else
62591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62592 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62593 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62594 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62595 $as_echo_n "(cached) " >&6
62596 else
62599 ac_ext=cpp
62600 ac_cpp='$CXXCPP $CPPFLAGS'
62601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62606 /* end confdefs.h. */
62607 #include <math.h>
62609 main ()
62611 _ldexpl(0, 0);
62613 return 0;
62615 _ACEOF
62616 if ac_fn_cxx_try_compile "$LINENO"; then :
62617 glibcxx_cv_func__ldexpl_use=yes
62618 else
62619 glibcxx_cv_func__ldexpl_use=no
62621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62622 ac_ext=c
62623 ac_cpp='$CPP $CPPFLAGS'
62624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62633 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62635 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62636 for ac_func in _ldexpl
62637 do :
62638 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62639 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62640 cat >>confdefs.h <<_ACEOF
62641 #define HAVE__LDEXPL 1
62642 _ACEOF
62645 done
62654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62655 $as_echo_n "checking for logl declaration... " >&6; }
62656 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62657 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62658 $as_echo_n "(cached) " >&6
62659 else
62662 ac_ext=cpp
62663 ac_cpp='$CXXCPP $CPPFLAGS'
62664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62669 /* end confdefs.h. */
62670 #include <math.h>
62671 #ifdef HAVE_IEEEFP_H
62672 #include <ieeefp.h>
62673 #endif
62676 main ()
62678 logl(0);
62680 return 0;
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func_logl_use=yes
62685 else
62686 glibcxx_cv_func_logl_use=no
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62700 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62702 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62703 for ac_func in logl
62704 do :
62705 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62706 if test "x$ac_cv_func_logl" = x""yes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE_LOGL 1
62709 _ACEOF
62712 done
62714 else
62716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62717 $as_echo_n "checking for _logl declaration... " >&6; }
62718 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62719 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62720 $as_echo_n "(cached) " >&6
62721 else
62724 ac_ext=cpp
62725 ac_cpp='$CXXCPP $CPPFLAGS'
62726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62731 /* end confdefs.h. */
62732 #include <math.h>
62733 #ifdef HAVE_IEEEFP_H
62734 #include <ieeefp.h>
62735 #endif
62738 main ()
62740 _logl(0);
62742 return 0;
62744 _ACEOF
62745 if ac_fn_cxx_try_compile "$LINENO"; then :
62746 glibcxx_cv_func__logl_use=yes
62747 else
62748 glibcxx_cv_func__logl_use=no
62750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62751 ac_ext=c
62752 ac_cpp='$CPP $CPPFLAGS'
62753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62762 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62764 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62765 for ac_func in _logl
62766 do :
62767 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62768 if test "x$ac_cv_func__logl" = x""yes; then :
62769 cat >>confdefs.h <<_ACEOF
62770 #define HAVE__LOGL 1
62771 _ACEOF
62774 done
62783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62784 $as_echo_n "checking for log10l declaration... " >&6; }
62785 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62786 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62787 $as_echo_n "(cached) " >&6
62788 else
62791 ac_ext=cpp
62792 ac_cpp='$CXXCPP $CPPFLAGS'
62793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62798 /* end confdefs.h. */
62799 #include <math.h>
62800 #ifdef HAVE_IEEEFP_H
62801 #include <ieeefp.h>
62802 #endif
62805 main ()
62807 log10l(0);
62809 return 0;
62811 _ACEOF
62812 if ac_fn_cxx_try_compile "$LINENO"; then :
62813 glibcxx_cv_func_log10l_use=yes
62814 else
62815 glibcxx_cv_func_log10l_use=no
62817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62818 ac_ext=c
62819 ac_cpp='$CPP $CPPFLAGS'
62820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62829 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62831 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62832 for ac_func in log10l
62833 do :
62834 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62835 if test "x$ac_cv_func_log10l" = x""yes; then :
62836 cat >>confdefs.h <<_ACEOF
62837 #define HAVE_LOG10L 1
62838 _ACEOF
62841 done
62843 else
62845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62846 $as_echo_n "checking for _log10l declaration... " >&6; }
62847 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62848 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62849 $as_echo_n "(cached) " >&6
62850 else
62853 ac_ext=cpp
62854 ac_cpp='$CXXCPP $CPPFLAGS'
62855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62860 /* end confdefs.h. */
62861 #include <math.h>
62862 #ifdef HAVE_IEEEFP_H
62863 #include <ieeefp.h>
62864 #endif
62867 main ()
62869 _log10l(0);
62871 return 0;
62873 _ACEOF
62874 if ac_fn_cxx_try_compile "$LINENO"; then :
62875 glibcxx_cv_func__log10l_use=yes
62876 else
62877 glibcxx_cv_func__log10l_use=no
62879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62880 ac_ext=c
62881 ac_cpp='$CPP $CPPFLAGS'
62882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62891 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62893 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62894 for ac_func in _log10l
62895 do :
62896 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62897 if test "x$ac_cv_func__log10l" = x""yes; then :
62898 cat >>confdefs.h <<_ACEOF
62899 #define HAVE__LOG10L 1
62900 _ACEOF
62903 done
62912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62913 $as_echo_n "checking for modfl declaration... " >&6; }
62914 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62915 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62916 $as_echo_n "(cached) " >&6
62917 else
62920 ac_ext=cpp
62921 ac_cpp='$CXXCPP $CPPFLAGS'
62922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62927 /* end confdefs.h. */
62928 #include <math.h>
62930 main ()
62932 modfl(0, 0);
62934 return 0;
62936 _ACEOF
62937 if ac_fn_cxx_try_compile "$LINENO"; then :
62938 glibcxx_cv_func_modfl_use=yes
62939 else
62940 glibcxx_cv_func_modfl_use=no
62942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62943 ac_ext=c
62944 ac_cpp='$CPP $CPPFLAGS'
62945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62954 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62956 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62957 for ac_func in modfl
62958 do :
62959 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62960 if test "x$ac_cv_func_modfl" = x""yes; then :
62961 cat >>confdefs.h <<_ACEOF
62962 #define HAVE_MODFL 1
62963 _ACEOF
62966 done
62968 else
62970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62971 $as_echo_n "checking for _modfl declaration... " >&6; }
62972 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62973 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62974 $as_echo_n "(cached) " >&6
62975 else
62978 ac_ext=cpp
62979 ac_cpp='$CXXCPP $CPPFLAGS'
62980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62985 /* end confdefs.h. */
62986 #include <math.h>
62988 main ()
62990 _modfl(0, 0);
62992 return 0;
62994 _ACEOF
62995 if ac_fn_cxx_try_compile "$LINENO"; then :
62996 glibcxx_cv_func__modfl_use=yes
62997 else
62998 glibcxx_cv_func__modfl_use=no
63000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63001 ac_ext=c
63002 ac_cpp='$CPP $CPPFLAGS'
63003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63012 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63014 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63015 for ac_func in _modfl
63016 do :
63017 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63018 if test "x$ac_cv_func__modfl" = x""yes; then :
63019 cat >>confdefs.h <<_ACEOF
63020 #define HAVE__MODFL 1
63021 _ACEOF
63024 done
63033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63034 $as_echo_n "checking for powl declaration... " >&6; }
63035 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63036 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63037 $as_echo_n "(cached) " >&6
63038 else
63041 ac_ext=cpp
63042 ac_cpp='$CXXCPP $CPPFLAGS'
63043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63048 /* end confdefs.h. */
63049 #include <math.h>
63051 main ()
63053 powl(0, 0);
63055 return 0;
63057 _ACEOF
63058 if ac_fn_cxx_try_compile "$LINENO"; then :
63059 glibcxx_cv_func_powl_use=yes
63060 else
63061 glibcxx_cv_func_powl_use=no
63063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63064 ac_ext=c
63065 ac_cpp='$CPP $CPPFLAGS'
63066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63075 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63077 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63078 for ac_func in powl
63079 do :
63080 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63081 if test "x$ac_cv_func_powl" = x""yes; then :
63082 cat >>confdefs.h <<_ACEOF
63083 #define HAVE_POWL 1
63084 _ACEOF
63087 done
63089 else
63091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63092 $as_echo_n "checking for _powl declaration... " >&6; }
63093 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63094 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63095 $as_echo_n "(cached) " >&6
63096 else
63099 ac_ext=cpp
63100 ac_cpp='$CXXCPP $CPPFLAGS'
63101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63106 /* end confdefs.h. */
63107 #include <math.h>
63109 main ()
63111 _powl(0, 0);
63113 return 0;
63115 _ACEOF
63116 if ac_fn_cxx_try_compile "$LINENO"; then :
63117 glibcxx_cv_func__powl_use=yes
63118 else
63119 glibcxx_cv_func__powl_use=no
63121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63122 ac_ext=c
63123 ac_cpp='$CPP $CPPFLAGS'
63124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63133 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63135 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63136 for ac_func in _powl
63137 do :
63138 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63139 if test "x$ac_cv_func__powl" = x""yes; then :
63140 cat >>confdefs.h <<_ACEOF
63141 #define HAVE__POWL 1
63142 _ACEOF
63145 done
63154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63155 $as_echo_n "checking for sqrtl declaration... " >&6; }
63156 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63157 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63158 $as_echo_n "(cached) " >&6
63159 else
63162 ac_ext=cpp
63163 ac_cpp='$CXXCPP $CPPFLAGS'
63164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63169 /* end confdefs.h. */
63170 #include <math.h>
63171 #ifdef HAVE_IEEEFP_H
63172 #include <ieeefp.h>
63173 #endif
63176 main ()
63178 sqrtl(0);
63180 return 0;
63182 _ACEOF
63183 if ac_fn_cxx_try_compile "$LINENO"; then :
63184 glibcxx_cv_func_sqrtl_use=yes
63185 else
63186 glibcxx_cv_func_sqrtl_use=no
63188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63189 ac_ext=c
63190 ac_cpp='$CPP $CPPFLAGS'
63191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63200 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63202 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63203 for ac_func in sqrtl
63204 do :
63205 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63206 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63207 cat >>confdefs.h <<_ACEOF
63208 #define HAVE_SQRTL 1
63209 _ACEOF
63212 done
63214 else
63216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63217 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63218 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63219 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63220 $as_echo_n "(cached) " >&6
63221 else
63224 ac_ext=cpp
63225 ac_cpp='$CXXCPP $CPPFLAGS'
63226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63231 /* end confdefs.h. */
63232 #include <math.h>
63233 #ifdef HAVE_IEEEFP_H
63234 #include <ieeefp.h>
63235 #endif
63238 main ()
63240 _sqrtl(0);
63242 return 0;
63244 _ACEOF
63245 if ac_fn_cxx_try_compile "$LINENO"; then :
63246 glibcxx_cv_func__sqrtl_use=yes
63247 else
63248 glibcxx_cv_func__sqrtl_use=no
63250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63251 ac_ext=c
63252 ac_cpp='$CPP $CPPFLAGS'
63253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63262 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63264 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63265 for ac_func in _sqrtl
63266 do :
63267 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63268 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63269 cat >>confdefs.h <<_ACEOF
63270 #define HAVE__SQRTL 1
63271 _ACEOF
63274 done
63283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63284 $as_echo_n "checking for sincosl declaration... " >&6; }
63285 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63286 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63287 $as_echo_n "(cached) " >&6
63288 else
63291 ac_ext=cpp
63292 ac_cpp='$CXXCPP $CPPFLAGS'
63293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63298 /* end confdefs.h. */
63299 #include <math.h>
63301 main ()
63303 sincosl(0, 0, 0);
63305 return 0;
63307 _ACEOF
63308 if ac_fn_cxx_try_compile "$LINENO"; then :
63309 glibcxx_cv_func_sincosl_use=yes
63310 else
63311 glibcxx_cv_func_sincosl_use=no
63313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63314 ac_ext=c
63315 ac_cpp='$CPP $CPPFLAGS'
63316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63325 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63327 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63328 for ac_func in sincosl
63329 do :
63330 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63331 if test "x$ac_cv_func_sincosl" = x""yes; then :
63332 cat >>confdefs.h <<_ACEOF
63333 #define HAVE_SINCOSL 1
63334 _ACEOF
63337 done
63339 else
63341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63342 $as_echo_n "checking for _sincosl declaration... " >&6; }
63343 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63344 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63345 $as_echo_n "(cached) " >&6
63346 else
63349 ac_ext=cpp
63350 ac_cpp='$CXXCPP $CPPFLAGS'
63351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63356 /* end confdefs.h. */
63357 #include <math.h>
63359 main ()
63361 _sincosl(0, 0, 0);
63363 return 0;
63365 _ACEOF
63366 if ac_fn_cxx_try_compile "$LINENO"; then :
63367 glibcxx_cv_func__sincosl_use=yes
63368 else
63369 glibcxx_cv_func__sincosl_use=no
63371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63372 ac_ext=c
63373 ac_cpp='$CPP $CPPFLAGS'
63374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63383 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63385 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63386 for ac_func in _sincosl
63387 do :
63388 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63389 if test "x$ac_cv_func__sincosl" = x""yes; then :
63390 cat >>confdefs.h <<_ACEOF
63391 #define HAVE__SINCOSL 1
63392 _ACEOF
63395 done
63404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63405 $as_echo_n "checking for finitel declaration... " >&6; }
63406 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63407 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63408 $as_echo_n "(cached) " >&6
63409 else
63412 ac_ext=cpp
63413 ac_cpp='$CXXCPP $CPPFLAGS'
63414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63419 /* end confdefs.h. */
63420 #include <math.h>
63421 #ifdef HAVE_IEEEFP_H
63422 #include <ieeefp.h>
63423 #endif
63426 main ()
63428 finitel(0);
63430 return 0;
63432 _ACEOF
63433 if ac_fn_cxx_try_compile "$LINENO"; then :
63434 glibcxx_cv_func_finitel_use=yes
63435 else
63436 glibcxx_cv_func_finitel_use=no
63438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63439 ac_ext=c
63440 ac_cpp='$CPP $CPPFLAGS'
63441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63450 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63452 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63453 for ac_func in finitel
63454 do :
63455 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63456 if test "x$ac_cv_func_finitel" = x""yes; then :
63457 cat >>confdefs.h <<_ACEOF
63458 #define HAVE_FINITEL 1
63459 _ACEOF
63462 done
63464 else
63466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63467 $as_echo_n "checking for _finitel declaration... " >&6; }
63468 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63469 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63470 $as_echo_n "(cached) " >&6
63471 else
63474 ac_ext=cpp
63475 ac_cpp='$CXXCPP $CPPFLAGS'
63476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63481 /* end confdefs.h. */
63482 #include <math.h>
63483 #ifdef HAVE_IEEEFP_H
63484 #include <ieeefp.h>
63485 #endif
63488 main ()
63490 _finitel(0);
63492 return 0;
63494 _ACEOF
63495 if ac_fn_cxx_try_compile "$LINENO"; then :
63496 glibcxx_cv_func__finitel_use=yes
63497 else
63498 glibcxx_cv_func__finitel_use=no
63500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63501 ac_ext=c
63502 ac_cpp='$CPP $CPPFLAGS'
63503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63512 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63514 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63515 for ac_func in _finitel
63516 do :
63517 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63518 if test "x$ac_cv_func__finitel" = x""yes; then :
63519 cat >>confdefs.h <<_ACEOF
63520 #define HAVE__FINITEL 1
63521 _ACEOF
63524 done
63532 LIBS="$ac_save_LIBS"
63533 CXXFLAGS="$ac_save_CXXFLAGS"
63536 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63537 ac_save_CXXFLAGS="$CXXFLAGS"
63538 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63542 $as_echo_n "checking for strtold declaration... " >&6; }
63543 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63544 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63545 $as_echo_n "(cached) " >&6
63546 else
63549 ac_ext=cpp
63550 ac_cpp='$CXXCPP $CPPFLAGS'
63551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63556 /* end confdefs.h. */
63557 #include <stdlib.h>
63559 main ()
63561 strtold(0, 0);
63563 return 0;
63565 _ACEOF
63566 if ac_fn_cxx_try_compile "$LINENO"; then :
63567 glibcxx_cv_func_strtold_use=yes
63568 else
63569 glibcxx_cv_func_strtold_use=no
63571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63572 ac_ext=c
63573 ac_cpp='$CPP $CPPFLAGS'
63574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63583 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63584 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63585 for ac_func in strtold
63586 do :
63587 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63588 if test "x$ac_cv_func_strtold" = x""yes; then :
63589 cat >>confdefs.h <<_ACEOF
63590 #define HAVE_STRTOLD 1
63591 _ACEOF
63594 done
63601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63602 $as_echo_n "checking for strtof declaration... " >&6; }
63603 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63604 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63605 $as_echo_n "(cached) " >&6
63606 else
63609 ac_ext=cpp
63610 ac_cpp='$CXXCPP $CPPFLAGS'
63611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63616 /* end confdefs.h. */
63617 #include <stdlib.h>
63619 main ()
63621 strtof(0, 0);
63623 return 0;
63625 _ACEOF
63626 if ac_fn_cxx_try_compile "$LINENO"; then :
63627 glibcxx_cv_func_strtof_use=yes
63628 else
63629 glibcxx_cv_func_strtof_use=no
63631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63632 ac_ext=c
63633 ac_cpp='$CPP $CPPFLAGS'
63634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63643 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63644 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63645 for ac_func in strtof
63646 do :
63647 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63648 if test "x$ac_cv_func_strtof" = x""yes; then :
63649 cat >>confdefs.h <<_ACEOF
63650 #define HAVE_STRTOF 1
63651 _ACEOF
63654 done
63661 CXXFLAGS="$ac_save_CXXFLAGS"
63664 *-solaris*)
63665 case "$target" in
63666 *-solaris2.9 | *-solaris2.10)
63668 # If we're not using GNU ld, then there's no point in even trying these
63669 # tests. Check for that first. We should have already tested for gld
63670 # by now (in libtool), but require it now just to be safe...
63671 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63672 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63676 # The name set by libtool depends on the version of libtool. Shame on us
63677 # for depending on an impl detail, but c'est la vie. Older versions used
63678 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63679 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63680 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63681 # set (hence we're using an older libtool), then set it.
63682 if test x${with_gnu_ld+set} != xset; then
63683 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63684 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63685 with_gnu_ld=no
63686 else
63687 with_gnu_ld=$ac_cv_prog_gnu_ld
63691 # Start by getting the version number. I think the libtool test already
63692 # does some of this, but throws away the result.
63693 glibcxx_ld_is_gold=no
63694 if test x"$with_gnu_ld" = x"yes"; then
63695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63696 $as_echo_n "checking for ld version... " >&6; }
63698 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63699 glibcxx_ld_is_gold=yes
63701 ldver=`$LD --version 2>/dev/null |
63702 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'`
63704 glibcxx_gnu_ld_version=`echo $ldver | \
63705 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63707 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63710 # Set --gc-sections.
63711 glibcxx_have_gc_sections=no
63712 if test "$glibcxx_ld_is_gold" = "yes"; then
63713 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63714 glibcxx_have_gc_sections=yes
63716 else
63717 glibcxx_gcsections_min_ld=21602
63718 if test x"$with_gnu_ld" = x"yes" &&
63719 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63720 glibcxx_have_gc_sections=yes
63723 if test "$glibcxx_have_gc_sections" = "yes"; then
63724 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63725 # NB: This flag only works reliably after 2.16.1. Configure tests
63726 # for this are difficult, so hard wire a value that should work.
63728 ac_test_CFLAGS="${CFLAGS+set}"
63729 ac_save_CFLAGS="$CFLAGS"
63730 CFLAGS='-Wl,--gc-sections'
63732 # Check for -Wl,--gc-sections
63733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63734 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63735 if test x$gcc_no_link = xyes; then
63736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63739 /* end confdefs.h. */
63740 int one(void) { return 1; }
63741 int two(void) { return 2; }
63744 main ()
63746 two();
63748 return 0;
63750 _ACEOF
63751 if ac_fn_c_try_link "$LINENO"; then :
63752 ac_gcsections=yes
63753 else
63754 ac_gcsections=no
63756 rm -f core conftest.err conftest.$ac_objext \
63757 conftest$ac_exeext conftest.$ac_ext
63758 if test "$ac_gcsections" = "yes"; then
63759 rm -f conftest.c
63760 touch conftest.c
63761 if $CC -c conftest.c; then
63762 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63763 grep "Warning: gc-sections option ignored" > /dev/null; then
63764 ac_gcsections=no
63767 rm -f conftest.c conftest.o conftest
63769 if test "$ac_gcsections" = "yes"; then
63770 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63773 $as_echo "$ac_gcsections" >&6; }
63775 if test "$ac_test_CFLAGS" = set; then
63776 CFLAGS="$ac_save_CFLAGS"
63777 else
63778 # this is the suspicious part
63779 CFLAGS=''
63783 # Set -z,relro.
63784 # Note this is only for shared objects.
63785 ac_ld_relro=no
63786 if test x"$with_gnu_ld" = x"yes"; then
63787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63788 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63789 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63790 if test -n "$cxx_z_relo"; then
63791 OPT_LDFLAGS="-Wl,-z,relro"
63792 ac_ld_relro=yes
63794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63795 $as_echo "$ac_ld_relro" >&6; }
63798 # Set linker optimization flags.
63799 if test x"$with_gnu_ld" = x"yes"; then
63800 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63806 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63808 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63810 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63812 # All of the dependencies for wide character support are here, so
63813 # turn it on.
63814 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63817 esac
63818 case "$target" in
63819 *-*-solaris2.10)
63820 # These two C99 functions are present only in Solaris >= 10
63821 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63823 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63826 esac
63827 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63829 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63831 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63833 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63836 *-tpf)
63837 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63838 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63840 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63842 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63844 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63846 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63848 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63850 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63852 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63854 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63856 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63858 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63860 if test x"long_double_math_on_this_cpu" = x"yes"; then
63861 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63863 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63865 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63867 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63871 *-*vms*)
63872 # Check for available headers.
63873 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63875 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63876 ac_save_CXXFLAGS="$CXXFLAGS"
63877 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63880 $as_echo_n "checking for sin in -lm... " >&6; }
63881 if test "${ac_cv_lib_m_sin+set}" = set; then :
63882 $as_echo_n "(cached) " >&6
63883 else
63884 ac_check_lib_save_LIBS=$LIBS
63885 LIBS="-lm $LIBS"
63886 if test x$gcc_no_link = xyes; then
63887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63890 /* end confdefs.h. */
63892 /* Override any GCC internal prototype to avoid an error.
63893 Use char because int might match the return type of a GCC
63894 builtin and then its argument prototype would still apply. */
63895 #ifdef __cplusplus
63896 extern "C"
63897 #endif
63898 char sin ();
63900 main ()
63902 return sin ();
63904 return 0;
63906 _ACEOF
63907 if ac_fn_c_try_link "$LINENO"; then :
63908 ac_cv_lib_m_sin=yes
63909 else
63910 ac_cv_lib_m_sin=no
63912 rm -f core conftest.err conftest.$ac_objext \
63913 conftest$ac_exeext conftest.$ac_ext
63914 LIBS=$ac_check_lib_save_LIBS
63916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63917 $as_echo "$ac_cv_lib_m_sin" >&6; }
63918 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63919 libm="-lm"
63922 ac_save_LIBS="$LIBS"
63923 LIBS="$LIBS $libm"
63927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63928 $as_echo_n "checking for isinf declaration... " >&6; }
63929 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63930 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63931 $as_echo_n "(cached) " >&6
63932 else
63935 ac_ext=cpp
63936 ac_cpp='$CXXCPP $CPPFLAGS'
63937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63942 /* end confdefs.h. */
63943 #include <math.h>
63944 #ifdef HAVE_IEEEFP_H
63945 #include <ieeefp.h>
63946 #endif
63949 main ()
63951 isinf(0);
63953 return 0;
63955 _ACEOF
63956 if ac_fn_cxx_try_compile "$LINENO"; then :
63957 glibcxx_cv_func_isinf_use=yes
63958 else
63959 glibcxx_cv_func_isinf_use=no
63961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63962 ac_ext=c
63963 ac_cpp='$CPP $CPPFLAGS'
63964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63973 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63975 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63976 for ac_func in isinf
63977 do :
63978 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63979 if test "x$ac_cv_func_isinf" = x""yes; then :
63980 cat >>confdefs.h <<_ACEOF
63981 #define HAVE_ISINF 1
63982 _ACEOF
63985 done
63987 else
63989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63990 $as_echo_n "checking for _isinf declaration... " >&6; }
63991 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63992 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63993 $as_echo_n "(cached) " >&6
63994 else
63997 ac_ext=cpp
63998 ac_cpp='$CXXCPP $CPPFLAGS'
63999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64004 /* end confdefs.h. */
64005 #include <math.h>
64006 #ifdef HAVE_IEEEFP_H
64007 #include <ieeefp.h>
64008 #endif
64011 main ()
64013 _isinf(0);
64015 return 0;
64017 _ACEOF
64018 if ac_fn_cxx_try_compile "$LINENO"; then :
64019 glibcxx_cv_func__isinf_use=yes
64020 else
64021 glibcxx_cv_func__isinf_use=no
64023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64024 ac_ext=c
64025 ac_cpp='$CPP $CPPFLAGS'
64026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64035 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64037 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64038 for ac_func in _isinf
64039 do :
64040 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64041 if test "x$ac_cv_func__isinf" = x""yes; then :
64042 cat >>confdefs.h <<_ACEOF
64043 #define HAVE__ISINF 1
64044 _ACEOF
64047 done
64056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64057 $as_echo_n "checking for isnan declaration... " >&6; }
64058 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64059 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64060 $as_echo_n "(cached) " >&6
64061 else
64064 ac_ext=cpp
64065 ac_cpp='$CXXCPP $CPPFLAGS'
64066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64071 /* end confdefs.h. */
64072 #include <math.h>
64073 #ifdef HAVE_IEEEFP_H
64074 #include <ieeefp.h>
64075 #endif
64078 main ()
64080 isnan(0);
64082 return 0;
64084 _ACEOF
64085 if ac_fn_cxx_try_compile "$LINENO"; then :
64086 glibcxx_cv_func_isnan_use=yes
64087 else
64088 glibcxx_cv_func_isnan_use=no
64090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64091 ac_ext=c
64092 ac_cpp='$CPP $CPPFLAGS'
64093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64102 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64104 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64105 for ac_func in isnan
64106 do :
64107 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64108 if test "x$ac_cv_func_isnan" = x""yes; then :
64109 cat >>confdefs.h <<_ACEOF
64110 #define HAVE_ISNAN 1
64111 _ACEOF
64114 done
64116 else
64118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64119 $as_echo_n "checking for _isnan declaration... " >&6; }
64120 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64121 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64122 $as_echo_n "(cached) " >&6
64123 else
64126 ac_ext=cpp
64127 ac_cpp='$CXXCPP $CPPFLAGS'
64128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64133 /* end confdefs.h. */
64134 #include <math.h>
64135 #ifdef HAVE_IEEEFP_H
64136 #include <ieeefp.h>
64137 #endif
64140 main ()
64142 _isnan(0);
64144 return 0;
64146 _ACEOF
64147 if ac_fn_cxx_try_compile "$LINENO"; then :
64148 glibcxx_cv_func__isnan_use=yes
64149 else
64150 glibcxx_cv_func__isnan_use=no
64152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64153 ac_ext=c
64154 ac_cpp='$CPP $CPPFLAGS'
64155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64164 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64166 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64167 for ac_func in _isnan
64168 do :
64169 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64170 if test "x$ac_cv_func__isnan" = x""yes; then :
64171 cat >>confdefs.h <<_ACEOF
64172 #define HAVE__ISNAN 1
64173 _ACEOF
64176 done
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64186 $as_echo_n "checking for finite declaration... " >&6; }
64187 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64188 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64189 $as_echo_n "(cached) " >&6
64190 else
64193 ac_ext=cpp
64194 ac_cpp='$CXXCPP $CPPFLAGS'
64195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64200 /* end confdefs.h. */
64201 #include <math.h>
64202 #ifdef HAVE_IEEEFP_H
64203 #include <ieeefp.h>
64204 #endif
64207 main ()
64209 finite(0);
64211 return 0;
64213 _ACEOF
64214 if ac_fn_cxx_try_compile "$LINENO"; then :
64215 glibcxx_cv_func_finite_use=yes
64216 else
64217 glibcxx_cv_func_finite_use=no
64219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64220 ac_ext=c
64221 ac_cpp='$CPP $CPPFLAGS'
64222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64231 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64233 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64234 for ac_func in finite
64235 do :
64236 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64237 if test "x$ac_cv_func_finite" = x""yes; then :
64238 cat >>confdefs.h <<_ACEOF
64239 #define HAVE_FINITE 1
64240 _ACEOF
64243 done
64245 else
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64248 $as_echo_n "checking for _finite declaration... " >&6; }
64249 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64250 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64251 $as_echo_n "(cached) " >&6
64252 else
64255 ac_ext=cpp
64256 ac_cpp='$CXXCPP $CPPFLAGS'
64257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64262 /* end confdefs.h. */
64263 #include <math.h>
64264 #ifdef HAVE_IEEEFP_H
64265 #include <ieeefp.h>
64266 #endif
64269 main ()
64271 _finite(0);
64273 return 0;
64275 _ACEOF
64276 if ac_fn_cxx_try_compile "$LINENO"; then :
64277 glibcxx_cv_func__finite_use=yes
64278 else
64279 glibcxx_cv_func__finite_use=no
64281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64282 ac_ext=c
64283 ac_cpp='$CPP $CPPFLAGS'
64284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64293 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64295 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64296 for ac_func in _finite
64297 do :
64298 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64299 if test "x$ac_cv_func__finite" = x""yes; then :
64300 cat >>confdefs.h <<_ACEOF
64301 #define HAVE__FINITE 1
64302 _ACEOF
64305 done
64314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64315 $as_echo_n "checking for sincos declaration... " >&6; }
64316 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64317 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64318 $as_echo_n "(cached) " >&6
64319 else
64322 ac_ext=cpp
64323 ac_cpp='$CXXCPP $CPPFLAGS'
64324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64329 /* end confdefs.h. */
64330 #include <math.h>
64332 main ()
64334 sincos(0, 0, 0);
64336 return 0;
64338 _ACEOF
64339 if ac_fn_cxx_try_compile "$LINENO"; then :
64340 glibcxx_cv_func_sincos_use=yes
64341 else
64342 glibcxx_cv_func_sincos_use=no
64344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64345 ac_ext=c
64346 ac_cpp='$CPP $CPPFLAGS'
64347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64356 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64358 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64359 for ac_func in sincos
64360 do :
64361 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64362 if test "x$ac_cv_func_sincos" = x""yes; then :
64363 cat >>confdefs.h <<_ACEOF
64364 #define HAVE_SINCOS 1
64365 _ACEOF
64368 done
64370 else
64372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64373 $as_echo_n "checking for _sincos declaration... " >&6; }
64374 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64375 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64376 $as_echo_n "(cached) " >&6
64377 else
64380 ac_ext=cpp
64381 ac_cpp='$CXXCPP $CPPFLAGS'
64382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64387 /* end confdefs.h. */
64388 #include <math.h>
64390 main ()
64392 _sincos(0, 0, 0);
64394 return 0;
64396 _ACEOF
64397 if ac_fn_cxx_try_compile "$LINENO"; then :
64398 glibcxx_cv_func__sincos_use=yes
64399 else
64400 glibcxx_cv_func__sincos_use=no
64402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64403 ac_ext=c
64404 ac_cpp='$CPP $CPPFLAGS'
64405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64414 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64416 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64417 for ac_func in _sincos
64418 do :
64419 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64420 if test "x$ac_cv_func__sincos" = x""yes; then :
64421 cat >>confdefs.h <<_ACEOF
64422 #define HAVE__SINCOS 1
64423 _ACEOF
64426 done
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64436 $as_echo_n "checking for fpclass declaration... " >&6; }
64437 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64438 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64439 $as_echo_n "(cached) " >&6
64440 else
64443 ac_ext=cpp
64444 ac_cpp='$CXXCPP $CPPFLAGS'
64445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64450 /* end confdefs.h. */
64451 #include <math.h>
64452 #ifdef HAVE_IEEEFP_H
64453 #include <ieeefp.h>
64454 #endif
64457 main ()
64459 fpclass(0);
64461 return 0;
64463 _ACEOF
64464 if ac_fn_cxx_try_compile "$LINENO"; then :
64465 glibcxx_cv_func_fpclass_use=yes
64466 else
64467 glibcxx_cv_func_fpclass_use=no
64469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64470 ac_ext=c
64471 ac_cpp='$CPP $CPPFLAGS'
64472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64481 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64483 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64484 for ac_func in fpclass
64485 do :
64486 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64487 if test "x$ac_cv_func_fpclass" = x""yes; then :
64488 cat >>confdefs.h <<_ACEOF
64489 #define HAVE_FPCLASS 1
64490 _ACEOF
64493 done
64495 else
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64498 $as_echo_n "checking for _fpclass declaration... " >&6; }
64499 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64500 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64501 $as_echo_n "(cached) " >&6
64502 else
64505 ac_ext=cpp
64506 ac_cpp='$CXXCPP $CPPFLAGS'
64507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64512 /* end confdefs.h. */
64513 #include <math.h>
64514 #ifdef HAVE_IEEEFP_H
64515 #include <ieeefp.h>
64516 #endif
64519 main ()
64521 _fpclass(0);
64523 return 0;
64525 _ACEOF
64526 if ac_fn_cxx_try_compile "$LINENO"; then :
64527 glibcxx_cv_func__fpclass_use=yes
64528 else
64529 glibcxx_cv_func__fpclass_use=no
64531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64532 ac_ext=c
64533 ac_cpp='$CPP $CPPFLAGS'
64534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64543 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64545 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64546 for ac_func in _fpclass
64547 do :
64548 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64549 if test "x$ac_cv_func__fpclass" = x""yes; then :
64550 cat >>confdefs.h <<_ACEOF
64551 #define HAVE__FPCLASS 1
64552 _ACEOF
64555 done
64564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64565 $as_echo_n "checking for qfpclass declaration... " >&6; }
64566 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64567 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64568 $as_echo_n "(cached) " >&6
64569 else
64572 ac_ext=cpp
64573 ac_cpp='$CXXCPP $CPPFLAGS'
64574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64579 /* end confdefs.h. */
64580 #include <math.h>
64581 #ifdef HAVE_IEEEFP_H
64582 #include <ieeefp.h>
64583 #endif
64586 main ()
64588 qfpclass(0);
64590 return 0;
64592 _ACEOF
64593 if ac_fn_cxx_try_compile "$LINENO"; then :
64594 glibcxx_cv_func_qfpclass_use=yes
64595 else
64596 glibcxx_cv_func_qfpclass_use=no
64598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64599 ac_ext=c
64600 ac_cpp='$CPP $CPPFLAGS'
64601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64610 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64612 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64613 for ac_func in qfpclass
64614 do :
64615 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64616 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64617 cat >>confdefs.h <<_ACEOF
64618 #define HAVE_QFPCLASS 1
64619 _ACEOF
64622 done
64624 else
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64627 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64628 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64629 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64630 $as_echo_n "(cached) " >&6
64631 else
64634 ac_ext=cpp
64635 ac_cpp='$CXXCPP $CPPFLAGS'
64636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64641 /* end confdefs.h. */
64642 #include <math.h>
64643 #ifdef HAVE_IEEEFP_H
64644 #include <ieeefp.h>
64645 #endif
64648 main ()
64650 _qfpclass(0);
64652 return 0;
64654 _ACEOF
64655 if ac_fn_cxx_try_compile "$LINENO"; then :
64656 glibcxx_cv_func__qfpclass_use=yes
64657 else
64658 glibcxx_cv_func__qfpclass_use=no
64660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64661 ac_ext=c
64662 ac_cpp='$CPP $CPPFLAGS'
64663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64672 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64674 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64675 for ac_func in _qfpclass
64676 do :
64677 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64678 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64679 cat >>confdefs.h <<_ACEOF
64680 #define HAVE__QFPCLASS 1
64681 _ACEOF
64684 done
64693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64694 $as_echo_n "checking for hypot declaration... " >&6; }
64695 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64696 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64697 $as_echo_n "(cached) " >&6
64698 else
64701 ac_ext=cpp
64702 ac_cpp='$CXXCPP $CPPFLAGS'
64703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64708 /* end confdefs.h. */
64709 #include <math.h>
64711 main ()
64713 hypot(0, 0);
64715 return 0;
64717 _ACEOF
64718 if ac_fn_cxx_try_compile "$LINENO"; then :
64719 glibcxx_cv_func_hypot_use=yes
64720 else
64721 glibcxx_cv_func_hypot_use=no
64723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64724 ac_ext=c
64725 ac_cpp='$CPP $CPPFLAGS'
64726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64735 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64737 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64738 for ac_func in hypot
64739 do :
64740 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64741 if test "x$ac_cv_func_hypot" = x""yes; then :
64742 cat >>confdefs.h <<_ACEOF
64743 #define HAVE_HYPOT 1
64744 _ACEOF
64747 done
64749 else
64751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64752 $as_echo_n "checking for _hypot declaration... " >&6; }
64753 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64754 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64755 $as_echo_n "(cached) " >&6
64756 else
64759 ac_ext=cpp
64760 ac_cpp='$CXXCPP $CPPFLAGS'
64761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64766 /* end confdefs.h. */
64767 #include <math.h>
64769 main ()
64771 _hypot(0, 0);
64773 return 0;
64775 _ACEOF
64776 if ac_fn_cxx_try_compile "$LINENO"; then :
64777 glibcxx_cv_func__hypot_use=yes
64778 else
64779 glibcxx_cv_func__hypot_use=no
64781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64782 ac_ext=c
64783 ac_cpp='$CPP $CPPFLAGS'
64784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64793 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64795 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64796 for ac_func in _hypot
64797 do :
64798 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64799 if test "x$ac_cv_func__hypot" = x""yes; then :
64800 cat >>confdefs.h <<_ACEOF
64801 #define HAVE__HYPOT 1
64802 _ACEOF
64805 done
64814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64815 $as_echo_n "checking for float trig functions... " >&6; }
64816 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64817 $as_echo_n "(cached) " >&6
64818 else
64821 ac_ext=cpp
64822 ac_cpp='$CXXCPP $CPPFLAGS'
64823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64828 /* end confdefs.h. */
64829 #include <math.h>
64831 main ()
64833 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64835 return 0;
64837 _ACEOF
64838 if ac_fn_cxx_try_compile "$LINENO"; then :
64839 glibcxx_cv_func_float_trig_use=yes
64840 else
64841 glibcxx_cv_func_float_trig_use=no
64843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64844 ac_ext=c
64845 ac_cpp='$CPP $CPPFLAGS'
64846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64853 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64854 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64855 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64856 do :
64857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64859 eval as_val=\$$as_ac_var
64860 if test "x$as_val" = x""yes; then :
64861 cat >>confdefs.h <<_ACEOF
64862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64863 _ACEOF
64866 done
64868 else
64869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64870 $as_echo_n "checking for _float trig functions... " >&6; }
64871 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64872 $as_echo_n "(cached) " >&6
64873 else
64876 ac_ext=cpp
64877 ac_cpp='$CXXCPP $CPPFLAGS'
64878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64883 /* end confdefs.h. */
64884 #include <math.h>
64886 main ()
64888 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64890 return 0;
64892 _ACEOF
64893 if ac_fn_cxx_try_compile "$LINENO"; then :
64894 glibcxx_cv_func__float_trig_use=yes
64895 else
64896 glibcxx_cv_func__float_trig_use=no
64898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64899 ac_ext=c
64900 ac_cpp='$CPP $CPPFLAGS'
64901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64908 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64909 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64910 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64911 do :
64912 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64913 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64914 eval as_val=\$$as_ac_var
64915 if test "x$as_val" = x""yes; then :
64916 cat >>confdefs.h <<_ACEOF
64917 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64918 _ACEOF
64921 done
64930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64931 $as_echo_n "checking for float round functions... " >&6; }
64932 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64933 $as_echo_n "(cached) " >&6
64934 else
64937 ac_ext=cpp
64938 ac_cpp='$CXXCPP $CPPFLAGS'
64939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64944 /* end confdefs.h. */
64945 #include <math.h>
64947 main ()
64949 ceilf (0); floorf (0);
64951 return 0;
64953 _ACEOF
64954 if ac_fn_cxx_try_compile "$LINENO"; then :
64955 glibcxx_cv_func_float_round_use=yes
64956 else
64957 glibcxx_cv_func_float_round_use=no
64959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64960 ac_ext=c
64961 ac_cpp='$CPP $CPPFLAGS'
64962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64969 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64970 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64971 for ac_func in ceilf floorf
64972 do :
64973 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64974 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64975 eval as_val=\$$as_ac_var
64976 if test "x$as_val" = x""yes; then :
64977 cat >>confdefs.h <<_ACEOF
64978 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64979 _ACEOF
64982 done
64984 else
64985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64986 $as_echo_n "checking for _float round functions... " >&6; }
64987 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64988 $as_echo_n "(cached) " >&6
64989 else
64992 ac_ext=cpp
64993 ac_cpp='$CXXCPP $CPPFLAGS'
64994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64999 /* end confdefs.h. */
65000 #include <math.h>
65002 main ()
65004 _ceilf (0); _floorf (0);
65006 return 0;
65008 _ACEOF
65009 if ac_fn_cxx_try_compile "$LINENO"; then :
65010 glibcxx_cv_func__float_round_use=yes
65011 else
65012 glibcxx_cv_func__float_round_use=no
65014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65015 ac_ext=c
65016 ac_cpp='$CPP $CPPFLAGS'
65017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65024 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65025 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65026 for ac_func in _ceilf _floorf
65027 do :
65028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65030 eval as_val=\$$as_ac_var
65031 if test "x$as_val" = x""yes; then :
65032 cat >>confdefs.h <<_ACEOF
65033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65034 _ACEOF
65037 done
65047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65048 $as_echo_n "checking for expf declaration... " >&6; }
65049 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65050 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65051 $as_echo_n "(cached) " >&6
65052 else
65055 ac_ext=cpp
65056 ac_cpp='$CXXCPP $CPPFLAGS'
65057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65062 /* end confdefs.h. */
65063 #include <math.h>
65064 #ifdef HAVE_IEEEFP_H
65065 #include <ieeefp.h>
65066 #endif
65069 main ()
65071 expf(0);
65073 return 0;
65075 _ACEOF
65076 if ac_fn_cxx_try_compile "$LINENO"; then :
65077 glibcxx_cv_func_expf_use=yes
65078 else
65079 glibcxx_cv_func_expf_use=no
65081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65082 ac_ext=c
65083 ac_cpp='$CPP $CPPFLAGS'
65084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65093 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65095 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65096 for ac_func in expf
65097 do :
65098 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65099 if test "x$ac_cv_func_expf" = x""yes; then :
65100 cat >>confdefs.h <<_ACEOF
65101 #define HAVE_EXPF 1
65102 _ACEOF
65105 done
65107 else
65109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65110 $as_echo_n "checking for _expf declaration... " >&6; }
65111 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65112 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65113 $as_echo_n "(cached) " >&6
65114 else
65117 ac_ext=cpp
65118 ac_cpp='$CXXCPP $CPPFLAGS'
65119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65124 /* end confdefs.h. */
65125 #include <math.h>
65126 #ifdef HAVE_IEEEFP_H
65127 #include <ieeefp.h>
65128 #endif
65131 main ()
65133 _expf(0);
65135 return 0;
65137 _ACEOF
65138 if ac_fn_cxx_try_compile "$LINENO"; then :
65139 glibcxx_cv_func__expf_use=yes
65140 else
65141 glibcxx_cv_func__expf_use=no
65143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65144 ac_ext=c
65145 ac_cpp='$CPP $CPPFLAGS'
65146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65155 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65157 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65158 for ac_func in _expf
65159 do :
65160 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65161 if test "x$ac_cv_func__expf" = x""yes; then :
65162 cat >>confdefs.h <<_ACEOF
65163 #define HAVE__EXPF 1
65164 _ACEOF
65167 done
65176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65177 $as_echo_n "checking for isnanf declaration... " >&6; }
65178 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65179 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65180 $as_echo_n "(cached) " >&6
65181 else
65184 ac_ext=cpp
65185 ac_cpp='$CXXCPP $CPPFLAGS'
65186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65191 /* end confdefs.h. */
65192 #include <math.h>
65193 #ifdef HAVE_IEEEFP_H
65194 #include <ieeefp.h>
65195 #endif
65198 main ()
65200 isnanf(0);
65202 return 0;
65204 _ACEOF
65205 if ac_fn_cxx_try_compile "$LINENO"; then :
65206 glibcxx_cv_func_isnanf_use=yes
65207 else
65208 glibcxx_cv_func_isnanf_use=no
65210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65211 ac_ext=c
65212 ac_cpp='$CPP $CPPFLAGS'
65213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65222 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65224 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65225 for ac_func in isnanf
65226 do :
65227 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65228 if test "x$ac_cv_func_isnanf" = x""yes; then :
65229 cat >>confdefs.h <<_ACEOF
65230 #define HAVE_ISNANF 1
65231 _ACEOF
65234 done
65236 else
65238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65239 $as_echo_n "checking for _isnanf declaration... " >&6; }
65240 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65241 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65242 $as_echo_n "(cached) " >&6
65243 else
65246 ac_ext=cpp
65247 ac_cpp='$CXXCPP $CPPFLAGS'
65248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65253 /* end confdefs.h. */
65254 #include <math.h>
65255 #ifdef HAVE_IEEEFP_H
65256 #include <ieeefp.h>
65257 #endif
65260 main ()
65262 _isnanf(0);
65264 return 0;
65266 _ACEOF
65267 if ac_fn_cxx_try_compile "$LINENO"; then :
65268 glibcxx_cv_func__isnanf_use=yes
65269 else
65270 glibcxx_cv_func__isnanf_use=no
65272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65273 ac_ext=c
65274 ac_cpp='$CPP $CPPFLAGS'
65275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65284 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65286 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65287 for ac_func in _isnanf
65288 do :
65289 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65290 if test "x$ac_cv_func__isnanf" = x""yes; then :
65291 cat >>confdefs.h <<_ACEOF
65292 #define HAVE__ISNANF 1
65293 _ACEOF
65296 done
65305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65306 $as_echo_n "checking for isinff declaration... " >&6; }
65307 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65308 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65309 $as_echo_n "(cached) " >&6
65310 else
65313 ac_ext=cpp
65314 ac_cpp='$CXXCPP $CPPFLAGS'
65315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65320 /* end confdefs.h. */
65321 #include <math.h>
65322 #ifdef HAVE_IEEEFP_H
65323 #include <ieeefp.h>
65324 #endif
65327 main ()
65329 isinff(0);
65331 return 0;
65333 _ACEOF
65334 if ac_fn_cxx_try_compile "$LINENO"; then :
65335 glibcxx_cv_func_isinff_use=yes
65336 else
65337 glibcxx_cv_func_isinff_use=no
65339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65340 ac_ext=c
65341 ac_cpp='$CPP $CPPFLAGS'
65342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65351 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65353 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65354 for ac_func in isinff
65355 do :
65356 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65357 if test "x$ac_cv_func_isinff" = x""yes; then :
65358 cat >>confdefs.h <<_ACEOF
65359 #define HAVE_ISINFF 1
65360 _ACEOF
65363 done
65365 else
65367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65368 $as_echo_n "checking for _isinff declaration... " >&6; }
65369 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65370 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65371 $as_echo_n "(cached) " >&6
65372 else
65375 ac_ext=cpp
65376 ac_cpp='$CXXCPP $CPPFLAGS'
65377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65382 /* end confdefs.h. */
65383 #include <math.h>
65384 #ifdef HAVE_IEEEFP_H
65385 #include <ieeefp.h>
65386 #endif
65389 main ()
65391 _isinff(0);
65393 return 0;
65395 _ACEOF
65396 if ac_fn_cxx_try_compile "$LINENO"; then :
65397 glibcxx_cv_func__isinff_use=yes
65398 else
65399 glibcxx_cv_func__isinff_use=no
65401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65402 ac_ext=c
65403 ac_cpp='$CPP $CPPFLAGS'
65404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65413 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65415 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65416 for ac_func in _isinff
65417 do :
65418 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65419 if test "x$ac_cv_func__isinff" = x""yes; then :
65420 cat >>confdefs.h <<_ACEOF
65421 #define HAVE__ISINFF 1
65422 _ACEOF
65425 done
65434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65435 $as_echo_n "checking for atan2f declaration... " >&6; }
65436 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65437 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65438 $as_echo_n "(cached) " >&6
65439 else
65442 ac_ext=cpp
65443 ac_cpp='$CXXCPP $CPPFLAGS'
65444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65449 /* end confdefs.h. */
65450 #include <math.h>
65452 main ()
65454 atan2f(0, 0);
65456 return 0;
65458 _ACEOF
65459 if ac_fn_cxx_try_compile "$LINENO"; then :
65460 glibcxx_cv_func_atan2f_use=yes
65461 else
65462 glibcxx_cv_func_atan2f_use=no
65464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65465 ac_ext=c
65466 ac_cpp='$CPP $CPPFLAGS'
65467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65476 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65478 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65479 for ac_func in atan2f
65480 do :
65481 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65482 if test "x$ac_cv_func_atan2f" = x""yes; then :
65483 cat >>confdefs.h <<_ACEOF
65484 #define HAVE_ATAN2F 1
65485 _ACEOF
65488 done
65490 else
65492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65493 $as_echo_n "checking for _atan2f declaration... " >&6; }
65494 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65495 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65496 $as_echo_n "(cached) " >&6
65497 else
65500 ac_ext=cpp
65501 ac_cpp='$CXXCPP $CPPFLAGS'
65502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65507 /* end confdefs.h. */
65508 #include <math.h>
65510 main ()
65512 _atan2f(0, 0);
65514 return 0;
65516 _ACEOF
65517 if ac_fn_cxx_try_compile "$LINENO"; then :
65518 glibcxx_cv_func__atan2f_use=yes
65519 else
65520 glibcxx_cv_func__atan2f_use=no
65522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65523 ac_ext=c
65524 ac_cpp='$CPP $CPPFLAGS'
65525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65534 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65536 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65537 for ac_func in _atan2f
65538 do :
65539 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65540 if test "x$ac_cv_func__atan2f" = x""yes; then :
65541 cat >>confdefs.h <<_ACEOF
65542 #define HAVE__ATAN2F 1
65543 _ACEOF
65546 done
65555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65556 $as_echo_n "checking for fabsf declaration... " >&6; }
65557 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65558 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65559 $as_echo_n "(cached) " >&6
65560 else
65563 ac_ext=cpp
65564 ac_cpp='$CXXCPP $CPPFLAGS'
65565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65570 /* end confdefs.h. */
65571 #include <math.h>
65572 #ifdef HAVE_IEEEFP_H
65573 #include <ieeefp.h>
65574 #endif
65577 main ()
65579 fabsf(0);
65581 return 0;
65583 _ACEOF
65584 if ac_fn_cxx_try_compile "$LINENO"; then :
65585 glibcxx_cv_func_fabsf_use=yes
65586 else
65587 glibcxx_cv_func_fabsf_use=no
65589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65590 ac_ext=c
65591 ac_cpp='$CPP $CPPFLAGS'
65592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65601 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65603 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65604 for ac_func in fabsf
65605 do :
65606 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65607 if test "x$ac_cv_func_fabsf" = x""yes; then :
65608 cat >>confdefs.h <<_ACEOF
65609 #define HAVE_FABSF 1
65610 _ACEOF
65613 done
65615 else
65617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65618 $as_echo_n "checking for _fabsf declaration... " >&6; }
65619 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65620 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65621 $as_echo_n "(cached) " >&6
65622 else
65625 ac_ext=cpp
65626 ac_cpp='$CXXCPP $CPPFLAGS'
65627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65632 /* end confdefs.h. */
65633 #include <math.h>
65634 #ifdef HAVE_IEEEFP_H
65635 #include <ieeefp.h>
65636 #endif
65639 main ()
65641 _fabsf(0);
65643 return 0;
65645 _ACEOF
65646 if ac_fn_cxx_try_compile "$LINENO"; then :
65647 glibcxx_cv_func__fabsf_use=yes
65648 else
65649 glibcxx_cv_func__fabsf_use=no
65651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65652 ac_ext=c
65653 ac_cpp='$CPP $CPPFLAGS'
65654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65663 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65665 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65666 for ac_func in _fabsf
65667 do :
65668 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65669 if test "x$ac_cv_func__fabsf" = x""yes; then :
65670 cat >>confdefs.h <<_ACEOF
65671 #define HAVE__FABSF 1
65672 _ACEOF
65675 done
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65685 $as_echo_n "checking for fmodf declaration... " >&6; }
65686 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65687 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65688 $as_echo_n "(cached) " >&6
65689 else
65692 ac_ext=cpp
65693 ac_cpp='$CXXCPP $CPPFLAGS'
65694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65699 /* end confdefs.h. */
65700 #include <math.h>
65702 main ()
65704 fmodf(0, 0);
65706 return 0;
65708 _ACEOF
65709 if ac_fn_cxx_try_compile "$LINENO"; then :
65710 glibcxx_cv_func_fmodf_use=yes
65711 else
65712 glibcxx_cv_func_fmodf_use=no
65714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65715 ac_ext=c
65716 ac_cpp='$CPP $CPPFLAGS'
65717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65726 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65728 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65729 for ac_func in fmodf
65730 do :
65731 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65732 if test "x$ac_cv_func_fmodf" = x""yes; then :
65733 cat >>confdefs.h <<_ACEOF
65734 #define HAVE_FMODF 1
65735 _ACEOF
65738 done
65740 else
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65743 $as_echo_n "checking for _fmodf declaration... " >&6; }
65744 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65745 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65746 $as_echo_n "(cached) " >&6
65747 else
65750 ac_ext=cpp
65751 ac_cpp='$CXXCPP $CPPFLAGS'
65752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65757 /* end confdefs.h. */
65758 #include <math.h>
65760 main ()
65762 _fmodf(0, 0);
65764 return 0;
65766 _ACEOF
65767 if ac_fn_cxx_try_compile "$LINENO"; then :
65768 glibcxx_cv_func__fmodf_use=yes
65769 else
65770 glibcxx_cv_func__fmodf_use=no
65772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65773 ac_ext=c
65774 ac_cpp='$CPP $CPPFLAGS'
65775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65784 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65786 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65787 for ac_func in _fmodf
65788 do :
65789 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65790 if test "x$ac_cv_func__fmodf" = x""yes; then :
65791 cat >>confdefs.h <<_ACEOF
65792 #define HAVE__FMODF 1
65793 _ACEOF
65796 done
65805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65806 $as_echo_n "checking for frexpf declaration... " >&6; }
65807 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65808 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65809 $as_echo_n "(cached) " >&6
65810 else
65813 ac_ext=cpp
65814 ac_cpp='$CXXCPP $CPPFLAGS'
65815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65820 /* end confdefs.h. */
65821 #include <math.h>
65823 main ()
65825 frexpf(0, 0);
65827 return 0;
65829 _ACEOF
65830 if ac_fn_cxx_try_compile "$LINENO"; then :
65831 glibcxx_cv_func_frexpf_use=yes
65832 else
65833 glibcxx_cv_func_frexpf_use=no
65835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65836 ac_ext=c
65837 ac_cpp='$CPP $CPPFLAGS'
65838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65847 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65849 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65850 for ac_func in frexpf
65851 do :
65852 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65853 if test "x$ac_cv_func_frexpf" = x""yes; then :
65854 cat >>confdefs.h <<_ACEOF
65855 #define HAVE_FREXPF 1
65856 _ACEOF
65859 done
65861 else
65863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65864 $as_echo_n "checking for _frexpf declaration... " >&6; }
65865 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65866 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65867 $as_echo_n "(cached) " >&6
65868 else
65871 ac_ext=cpp
65872 ac_cpp='$CXXCPP $CPPFLAGS'
65873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65878 /* end confdefs.h. */
65879 #include <math.h>
65881 main ()
65883 _frexpf(0, 0);
65885 return 0;
65887 _ACEOF
65888 if ac_fn_cxx_try_compile "$LINENO"; then :
65889 glibcxx_cv_func__frexpf_use=yes
65890 else
65891 glibcxx_cv_func__frexpf_use=no
65893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65894 ac_ext=c
65895 ac_cpp='$CPP $CPPFLAGS'
65896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65905 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65907 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65908 for ac_func in _frexpf
65909 do :
65910 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65911 if test "x$ac_cv_func__frexpf" = x""yes; then :
65912 cat >>confdefs.h <<_ACEOF
65913 #define HAVE__FREXPF 1
65914 _ACEOF
65917 done
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65927 $as_echo_n "checking for hypotf declaration... " >&6; }
65928 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65929 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65930 $as_echo_n "(cached) " >&6
65931 else
65934 ac_ext=cpp
65935 ac_cpp='$CXXCPP $CPPFLAGS'
65936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65941 /* end confdefs.h. */
65942 #include <math.h>
65944 main ()
65946 hypotf(0, 0);
65948 return 0;
65950 _ACEOF
65951 if ac_fn_cxx_try_compile "$LINENO"; then :
65952 glibcxx_cv_func_hypotf_use=yes
65953 else
65954 glibcxx_cv_func_hypotf_use=no
65956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65957 ac_ext=c
65958 ac_cpp='$CPP $CPPFLAGS'
65959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65968 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65970 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65971 for ac_func in hypotf
65972 do :
65973 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65974 if test "x$ac_cv_func_hypotf" = x""yes; then :
65975 cat >>confdefs.h <<_ACEOF
65976 #define HAVE_HYPOTF 1
65977 _ACEOF
65980 done
65982 else
65984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65985 $as_echo_n "checking for _hypotf declaration... " >&6; }
65986 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65987 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65988 $as_echo_n "(cached) " >&6
65989 else
65992 ac_ext=cpp
65993 ac_cpp='$CXXCPP $CPPFLAGS'
65994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65999 /* end confdefs.h. */
66000 #include <math.h>
66002 main ()
66004 _hypotf(0, 0);
66006 return 0;
66008 _ACEOF
66009 if ac_fn_cxx_try_compile "$LINENO"; then :
66010 glibcxx_cv_func__hypotf_use=yes
66011 else
66012 glibcxx_cv_func__hypotf_use=no
66014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66015 ac_ext=c
66016 ac_cpp='$CPP $CPPFLAGS'
66017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66026 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66028 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66029 for ac_func in _hypotf
66030 do :
66031 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66032 if test "x$ac_cv_func__hypotf" = x""yes; then :
66033 cat >>confdefs.h <<_ACEOF
66034 #define HAVE__HYPOTF 1
66035 _ACEOF
66038 done
66047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66048 $as_echo_n "checking for ldexpf declaration... " >&6; }
66049 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66050 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66051 $as_echo_n "(cached) " >&6
66052 else
66055 ac_ext=cpp
66056 ac_cpp='$CXXCPP $CPPFLAGS'
66057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66062 /* end confdefs.h. */
66063 #include <math.h>
66065 main ()
66067 ldexpf(0, 0);
66069 return 0;
66071 _ACEOF
66072 if ac_fn_cxx_try_compile "$LINENO"; then :
66073 glibcxx_cv_func_ldexpf_use=yes
66074 else
66075 glibcxx_cv_func_ldexpf_use=no
66077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66078 ac_ext=c
66079 ac_cpp='$CPP $CPPFLAGS'
66080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66089 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66091 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66092 for ac_func in ldexpf
66093 do :
66094 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66095 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66096 cat >>confdefs.h <<_ACEOF
66097 #define HAVE_LDEXPF 1
66098 _ACEOF
66101 done
66103 else
66105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66106 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66107 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66108 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66109 $as_echo_n "(cached) " >&6
66110 else
66113 ac_ext=cpp
66114 ac_cpp='$CXXCPP $CPPFLAGS'
66115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66120 /* end confdefs.h. */
66121 #include <math.h>
66123 main ()
66125 _ldexpf(0, 0);
66127 return 0;
66129 _ACEOF
66130 if ac_fn_cxx_try_compile "$LINENO"; then :
66131 glibcxx_cv_func__ldexpf_use=yes
66132 else
66133 glibcxx_cv_func__ldexpf_use=no
66135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66136 ac_ext=c
66137 ac_cpp='$CPP $CPPFLAGS'
66138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66147 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66149 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66150 for ac_func in _ldexpf
66151 do :
66152 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66153 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66154 cat >>confdefs.h <<_ACEOF
66155 #define HAVE__LDEXPF 1
66156 _ACEOF
66159 done
66168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66169 $as_echo_n "checking for logf declaration... " >&6; }
66170 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66171 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66172 $as_echo_n "(cached) " >&6
66173 else
66176 ac_ext=cpp
66177 ac_cpp='$CXXCPP $CPPFLAGS'
66178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66183 /* end confdefs.h. */
66184 #include <math.h>
66185 #ifdef HAVE_IEEEFP_H
66186 #include <ieeefp.h>
66187 #endif
66190 main ()
66192 logf(0);
66194 return 0;
66196 _ACEOF
66197 if ac_fn_cxx_try_compile "$LINENO"; then :
66198 glibcxx_cv_func_logf_use=yes
66199 else
66200 glibcxx_cv_func_logf_use=no
66202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66203 ac_ext=c
66204 ac_cpp='$CPP $CPPFLAGS'
66205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66214 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66216 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66217 for ac_func in logf
66218 do :
66219 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66220 if test "x$ac_cv_func_logf" = x""yes; then :
66221 cat >>confdefs.h <<_ACEOF
66222 #define HAVE_LOGF 1
66223 _ACEOF
66226 done
66228 else
66230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66231 $as_echo_n "checking for _logf declaration... " >&6; }
66232 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66233 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66234 $as_echo_n "(cached) " >&6
66235 else
66238 ac_ext=cpp
66239 ac_cpp='$CXXCPP $CPPFLAGS'
66240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66245 /* end confdefs.h. */
66246 #include <math.h>
66247 #ifdef HAVE_IEEEFP_H
66248 #include <ieeefp.h>
66249 #endif
66252 main ()
66254 _logf(0);
66256 return 0;
66258 _ACEOF
66259 if ac_fn_cxx_try_compile "$LINENO"; then :
66260 glibcxx_cv_func__logf_use=yes
66261 else
66262 glibcxx_cv_func__logf_use=no
66264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66265 ac_ext=c
66266 ac_cpp='$CPP $CPPFLAGS'
66267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66276 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66278 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66279 for ac_func in _logf
66280 do :
66281 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66282 if test "x$ac_cv_func__logf" = x""yes; then :
66283 cat >>confdefs.h <<_ACEOF
66284 #define HAVE__LOGF 1
66285 _ACEOF
66288 done
66297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66298 $as_echo_n "checking for log10f declaration... " >&6; }
66299 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66300 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66301 $as_echo_n "(cached) " >&6
66302 else
66305 ac_ext=cpp
66306 ac_cpp='$CXXCPP $CPPFLAGS'
66307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66312 /* end confdefs.h. */
66313 #include <math.h>
66314 #ifdef HAVE_IEEEFP_H
66315 #include <ieeefp.h>
66316 #endif
66319 main ()
66321 log10f(0);
66323 return 0;
66325 _ACEOF
66326 if ac_fn_cxx_try_compile "$LINENO"; then :
66327 glibcxx_cv_func_log10f_use=yes
66328 else
66329 glibcxx_cv_func_log10f_use=no
66331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66332 ac_ext=c
66333 ac_cpp='$CPP $CPPFLAGS'
66334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66343 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66345 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66346 for ac_func in log10f
66347 do :
66348 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66349 if test "x$ac_cv_func_log10f" = x""yes; then :
66350 cat >>confdefs.h <<_ACEOF
66351 #define HAVE_LOG10F 1
66352 _ACEOF
66355 done
66357 else
66359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66360 $as_echo_n "checking for _log10f declaration... " >&6; }
66361 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66362 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66363 $as_echo_n "(cached) " >&6
66364 else
66367 ac_ext=cpp
66368 ac_cpp='$CXXCPP $CPPFLAGS'
66369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66374 /* end confdefs.h. */
66375 #include <math.h>
66376 #ifdef HAVE_IEEEFP_H
66377 #include <ieeefp.h>
66378 #endif
66381 main ()
66383 _log10f(0);
66385 return 0;
66387 _ACEOF
66388 if ac_fn_cxx_try_compile "$LINENO"; then :
66389 glibcxx_cv_func__log10f_use=yes
66390 else
66391 glibcxx_cv_func__log10f_use=no
66393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66394 ac_ext=c
66395 ac_cpp='$CPP $CPPFLAGS'
66396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66405 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66407 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66408 for ac_func in _log10f
66409 do :
66410 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66411 if test "x$ac_cv_func__log10f" = x""yes; then :
66412 cat >>confdefs.h <<_ACEOF
66413 #define HAVE__LOG10F 1
66414 _ACEOF
66417 done
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66427 $as_echo_n "checking for modff declaration... " >&6; }
66428 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66429 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66430 $as_echo_n "(cached) " >&6
66431 else
66434 ac_ext=cpp
66435 ac_cpp='$CXXCPP $CPPFLAGS'
66436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66441 /* end confdefs.h. */
66442 #include <math.h>
66444 main ()
66446 modff(0, 0);
66448 return 0;
66450 _ACEOF
66451 if ac_fn_cxx_try_compile "$LINENO"; then :
66452 glibcxx_cv_func_modff_use=yes
66453 else
66454 glibcxx_cv_func_modff_use=no
66456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66457 ac_ext=c
66458 ac_cpp='$CPP $CPPFLAGS'
66459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66468 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66470 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66471 for ac_func in modff
66472 do :
66473 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66474 if test "x$ac_cv_func_modff" = x""yes; then :
66475 cat >>confdefs.h <<_ACEOF
66476 #define HAVE_MODFF 1
66477 _ACEOF
66480 done
66482 else
66484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66485 $as_echo_n "checking for _modff declaration... " >&6; }
66486 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66487 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66488 $as_echo_n "(cached) " >&6
66489 else
66492 ac_ext=cpp
66493 ac_cpp='$CXXCPP $CPPFLAGS'
66494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66499 /* end confdefs.h. */
66500 #include <math.h>
66502 main ()
66504 _modff(0, 0);
66506 return 0;
66508 _ACEOF
66509 if ac_fn_cxx_try_compile "$LINENO"; then :
66510 glibcxx_cv_func__modff_use=yes
66511 else
66512 glibcxx_cv_func__modff_use=no
66514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66515 ac_ext=c
66516 ac_cpp='$CPP $CPPFLAGS'
66517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66526 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66528 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66529 for ac_func in _modff
66530 do :
66531 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66532 if test "x$ac_cv_func__modff" = x""yes; then :
66533 cat >>confdefs.h <<_ACEOF
66534 #define HAVE__MODFF 1
66535 _ACEOF
66538 done
66547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66548 $as_echo_n "checking for modf declaration... " >&6; }
66549 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66550 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66551 $as_echo_n "(cached) " >&6
66552 else
66555 ac_ext=cpp
66556 ac_cpp='$CXXCPP $CPPFLAGS'
66557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66562 /* end confdefs.h. */
66563 #include <math.h>
66565 main ()
66567 modf(0, 0);
66569 return 0;
66571 _ACEOF
66572 if ac_fn_cxx_try_compile "$LINENO"; then :
66573 glibcxx_cv_func_modf_use=yes
66574 else
66575 glibcxx_cv_func_modf_use=no
66577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66578 ac_ext=c
66579 ac_cpp='$CPP $CPPFLAGS'
66580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66589 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66591 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66592 for ac_func in modf
66593 do :
66594 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66595 if test "x$ac_cv_func_modf" = x""yes; then :
66596 cat >>confdefs.h <<_ACEOF
66597 #define HAVE_MODF 1
66598 _ACEOF
66601 done
66603 else
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66606 $as_echo_n "checking for _modf declaration... " >&6; }
66607 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66608 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66609 $as_echo_n "(cached) " >&6
66610 else
66613 ac_ext=cpp
66614 ac_cpp='$CXXCPP $CPPFLAGS'
66615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66620 /* end confdefs.h. */
66621 #include <math.h>
66623 main ()
66625 _modf(0, 0);
66627 return 0;
66629 _ACEOF
66630 if ac_fn_cxx_try_compile "$LINENO"; then :
66631 glibcxx_cv_func__modf_use=yes
66632 else
66633 glibcxx_cv_func__modf_use=no
66635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66636 ac_ext=c
66637 ac_cpp='$CPP $CPPFLAGS'
66638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66647 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66649 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66650 for ac_func in _modf
66651 do :
66652 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66653 if test "x$ac_cv_func__modf" = x""yes; then :
66654 cat >>confdefs.h <<_ACEOF
66655 #define HAVE__MODF 1
66656 _ACEOF
66659 done
66668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66669 $as_echo_n "checking for powf declaration... " >&6; }
66670 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66671 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66672 $as_echo_n "(cached) " >&6
66673 else
66676 ac_ext=cpp
66677 ac_cpp='$CXXCPP $CPPFLAGS'
66678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66683 /* end confdefs.h. */
66684 #include <math.h>
66686 main ()
66688 powf(0, 0);
66690 return 0;
66692 _ACEOF
66693 if ac_fn_cxx_try_compile "$LINENO"; then :
66694 glibcxx_cv_func_powf_use=yes
66695 else
66696 glibcxx_cv_func_powf_use=no
66698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66699 ac_ext=c
66700 ac_cpp='$CPP $CPPFLAGS'
66701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66710 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66712 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66713 for ac_func in powf
66714 do :
66715 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66716 if test "x$ac_cv_func_powf" = x""yes; then :
66717 cat >>confdefs.h <<_ACEOF
66718 #define HAVE_POWF 1
66719 _ACEOF
66722 done
66724 else
66726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66727 $as_echo_n "checking for _powf declaration... " >&6; }
66728 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66729 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66730 $as_echo_n "(cached) " >&6
66731 else
66734 ac_ext=cpp
66735 ac_cpp='$CXXCPP $CPPFLAGS'
66736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66741 /* end confdefs.h. */
66742 #include <math.h>
66744 main ()
66746 _powf(0, 0);
66748 return 0;
66750 _ACEOF
66751 if ac_fn_cxx_try_compile "$LINENO"; then :
66752 glibcxx_cv_func__powf_use=yes
66753 else
66754 glibcxx_cv_func__powf_use=no
66756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66757 ac_ext=c
66758 ac_cpp='$CPP $CPPFLAGS'
66759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66768 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66770 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66771 for ac_func in _powf
66772 do :
66773 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66774 if test "x$ac_cv_func__powf" = x""yes; then :
66775 cat >>confdefs.h <<_ACEOF
66776 #define HAVE__POWF 1
66777 _ACEOF
66780 done
66789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66790 $as_echo_n "checking for sqrtf declaration... " >&6; }
66791 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66792 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66793 $as_echo_n "(cached) " >&6
66794 else
66797 ac_ext=cpp
66798 ac_cpp='$CXXCPP $CPPFLAGS'
66799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66804 /* end confdefs.h. */
66805 #include <math.h>
66806 #ifdef HAVE_IEEEFP_H
66807 #include <ieeefp.h>
66808 #endif
66811 main ()
66813 sqrtf(0);
66815 return 0;
66817 _ACEOF
66818 if ac_fn_cxx_try_compile "$LINENO"; then :
66819 glibcxx_cv_func_sqrtf_use=yes
66820 else
66821 glibcxx_cv_func_sqrtf_use=no
66823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66824 ac_ext=c
66825 ac_cpp='$CPP $CPPFLAGS'
66826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66835 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66837 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66838 for ac_func in sqrtf
66839 do :
66840 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66841 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66842 cat >>confdefs.h <<_ACEOF
66843 #define HAVE_SQRTF 1
66844 _ACEOF
66847 done
66849 else
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66852 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66853 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66854 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66855 $as_echo_n "(cached) " >&6
66856 else
66859 ac_ext=cpp
66860 ac_cpp='$CXXCPP $CPPFLAGS'
66861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66866 /* end confdefs.h. */
66867 #include <math.h>
66868 #ifdef HAVE_IEEEFP_H
66869 #include <ieeefp.h>
66870 #endif
66873 main ()
66875 _sqrtf(0);
66877 return 0;
66879 _ACEOF
66880 if ac_fn_cxx_try_compile "$LINENO"; then :
66881 glibcxx_cv_func__sqrtf_use=yes
66882 else
66883 glibcxx_cv_func__sqrtf_use=no
66885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66886 ac_ext=c
66887 ac_cpp='$CPP $CPPFLAGS'
66888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66897 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66899 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66900 for ac_func in _sqrtf
66901 do :
66902 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66903 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66904 cat >>confdefs.h <<_ACEOF
66905 #define HAVE__SQRTF 1
66906 _ACEOF
66909 done
66918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66919 $as_echo_n "checking for sincosf declaration... " >&6; }
66920 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66921 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66922 $as_echo_n "(cached) " >&6
66923 else
66926 ac_ext=cpp
66927 ac_cpp='$CXXCPP $CPPFLAGS'
66928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66933 /* end confdefs.h. */
66934 #include <math.h>
66936 main ()
66938 sincosf(0, 0, 0);
66940 return 0;
66942 _ACEOF
66943 if ac_fn_cxx_try_compile "$LINENO"; then :
66944 glibcxx_cv_func_sincosf_use=yes
66945 else
66946 glibcxx_cv_func_sincosf_use=no
66948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66949 ac_ext=c
66950 ac_cpp='$CPP $CPPFLAGS'
66951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66960 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66962 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66963 for ac_func in sincosf
66964 do :
66965 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66966 if test "x$ac_cv_func_sincosf" = x""yes; then :
66967 cat >>confdefs.h <<_ACEOF
66968 #define HAVE_SINCOSF 1
66969 _ACEOF
66972 done
66974 else
66976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66977 $as_echo_n "checking for _sincosf declaration... " >&6; }
66978 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66979 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66980 $as_echo_n "(cached) " >&6
66981 else
66984 ac_ext=cpp
66985 ac_cpp='$CXXCPP $CPPFLAGS'
66986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66991 /* end confdefs.h. */
66992 #include <math.h>
66994 main ()
66996 _sincosf(0, 0, 0);
66998 return 0;
67000 _ACEOF
67001 if ac_fn_cxx_try_compile "$LINENO"; then :
67002 glibcxx_cv_func__sincosf_use=yes
67003 else
67004 glibcxx_cv_func__sincosf_use=no
67006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67007 ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67018 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67020 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67021 for ac_func in _sincosf
67022 do :
67023 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67024 if test "x$ac_cv_func__sincosf" = x""yes; then :
67025 cat >>confdefs.h <<_ACEOF
67026 #define HAVE__SINCOSF 1
67027 _ACEOF
67030 done
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67040 $as_echo_n "checking for finitef declaration... " >&6; }
67041 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67042 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67043 $as_echo_n "(cached) " >&6
67044 else
67047 ac_ext=cpp
67048 ac_cpp='$CXXCPP $CPPFLAGS'
67049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67054 /* end confdefs.h. */
67055 #include <math.h>
67056 #ifdef HAVE_IEEEFP_H
67057 #include <ieeefp.h>
67058 #endif
67061 main ()
67063 finitef(0);
67065 return 0;
67067 _ACEOF
67068 if ac_fn_cxx_try_compile "$LINENO"; then :
67069 glibcxx_cv_func_finitef_use=yes
67070 else
67071 glibcxx_cv_func_finitef_use=no
67073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67074 ac_ext=c
67075 ac_cpp='$CPP $CPPFLAGS'
67076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67085 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67087 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67088 for ac_func in finitef
67089 do :
67090 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67091 if test "x$ac_cv_func_finitef" = x""yes; then :
67092 cat >>confdefs.h <<_ACEOF
67093 #define HAVE_FINITEF 1
67094 _ACEOF
67097 done
67099 else
67101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67102 $as_echo_n "checking for _finitef declaration... " >&6; }
67103 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67104 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67105 $as_echo_n "(cached) " >&6
67106 else
67109 ac_ext=cpp
67110 ac_cpp='$CXXCPP $CPPFLAGS'
67111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67116 /* end confdefs.h. */
67117 #include <math.h>
67118 #ifdef HAVE_IEEEFP_H
67119 #include <ieeefp.h>
67120 #endif
67123 main ()
67125 _finitef(0);
67127 return 0;
67129 _ACEOF
67130 if ac_fn_cxx_try_compile "$LINENO"; then :
67131 glibcxx_cv_func__finitef_use=yes
67132 else
67133 glibcxx_cv_func__finitef_use=no
67135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67136 ac_ext=c
67137 ac_cpp='$CPP $CPPFLAGS'
67138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67147 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67149 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67150 for ac_func in _finitef
67151 do :
67152 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67153 if test "x$ac_cv_func__finitef" = x""yes; then :
67154 cat >>confdefs.h <<_ACEOF
67155 #define HAVE__FINITEF 1
67156 _ACEOF
67159 done
67168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67169 $as_echo_n "checking for long double trig functions... " >&6; }
67170 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67171 $as_echo_n "(cached) " >&6
67172 else
67175 ac_ext=cpp
67176 ac_cpp='$CXXCPP $CPPFLAGS'
67177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67182 /* end confdefs.h. */
67183 #include <math.h>
67185 main ()
67187 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67189 return 0;
67191 _ACEOF
67192 if ac_fn_cxx_try_compile "$LINENO"; then :
67193 glibcxx_cv_func_long_double_trig_use=yes
67194 else
67195 glibcxx_cv_func_long_double_trig_use=no
67197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67198 ac_ext=c
67199 ac_cpp='$CPP $CPPFLAGS'
67200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67207 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67208 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67209 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67210 do :
67211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67213 eval as_val=\$$as_ac_var
67214 if test "x$as_val" = x""yes; then :
67215 cat >>confdefs.h <<_ACEOF
67216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67217 _ACEOF
67220 done
67222 else
67223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67224 $as_echo_n "checking for _long double trig functions... " >&6; }
67225 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67226 $as_echo_n "(cached) " >&6
67227 else
67230 ac_ext=cpp
67231 ac_cpp='$CXXCPP $CPPFLAGS'
67232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67237 /* end confdefs.h. */
67238 #include <math.h>
67240 main ()
67242 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67244 return 0;
67246 _ACEOF
67247 if ac_fn_cxx_try_compile "$LINENO"; then :
67248 glibcxx_cv_func__long_double_trig_use=yes
67249 else
67250 glibcxx_cv_func__long_double_trig_use=no
67252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67253 ac_ext=c
67254 ac_cpp='$CPP $CPPFLAGS'
67255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67262 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67263 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67264 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67265 do :
67266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67268 eval as_val=\$$as_ac_var
67269 if test "x$as_val" = x""yes; then :
67270 cat >>confdefs.h <<_ACEOF
67271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67272 _ACEOF
67275 done
67284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67285 $as_echo_n "checking for long double round functions... " >&6; }
67286 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67287 $as_echo_n "(cached) " >&6
67288 else
67291 ac_ext=cpp
67292 ac_cpp='$CXXCPP $CPPFLAGS'
67293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67298 /* end confdefs.h. */
67299 #include <math.h>
67301 main ()
67303 ceill (0); floorl (0);
67305 return 0;
67307 _ACEOF
67308 if ac_fn_cxx_try_compile "$LINENO"; then :
67309 glibcxx_cv_func_long_double_round_use=yes
67310 else
67311 glibcxx_cv_func_long_double_round_use=no
67313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67314 ac_ext=c
67315 ac_cpp='$CPP $CPPFLAGS'
67316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67323 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67324 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67325 for ac_func in ceill floorl
67326 do :
67327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67329 eval as_val=\$$as_ac_var
67330 if test "x$as_val" = x""yes; then :
67331 cat >>confdefs.h <<_ACEOF
67332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67333 _ACEOF
67336 done
67338 else
67339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67340 $as_echo_n "checking for _long double round functions... " >&6; }
67341 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67342 $as_echo_n "(cached) " >&6
67343 else
67346 ac_ext=cpp
67347 ac_cpp='$CXXCPP $CPPFLAGS'
67348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67353 /* end confdefs.h. */
67354 #include <math.h>
67356 main ()
67358 _ceill (0); _floorl (0);
67360 return 0;
67362 _ACEOF
67363 if ac_fn_cxx_try_compile "$LINENO"; then :
67364 glibcxx_cv_func__long_double_round_use=yes
67365 else
67366 glibcxx_cv_func__long_double_round_use=no
67368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67369 ac_ext=c
67370 ac_cpp='$CPP $CPPFLAGS'
67371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67378 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67379 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67380 for ac_func in _ceill _floorl
67381 do :
67382 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67383 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67384 eval as_val=\$$as_ac_var
67385 if test "x$as_val" = x""yes; then :
67386 cat >>confdefs.h <<_ACEOF
67387 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67388 _ACEOF
67391 done
67401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67402 $as_echo_n "checking for isnanl declaration... " >&6; }
67403 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67404 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67405 $as_echo_n "(cached) " >&6
67406 else
67409 ac_ext=cpp
67410 ac_cpp='$CXXCPP $CPPFLAGS'
67411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67416 /* end confdefs.h. */
67417 #include <math.h>
67418 #ifdef HAVE_IEEEFP_H
67419 #include <ieeefp.h>
67420 #endif
67423 main ()
67425 isnanl(0);
67427 return 0;
67429 _ACEOF
67430 if ac_fn_cxx_try_compile "$LINENO"; then :
67431 glibcxx_cv_func_isnanl_use=yes
67432 else
67433 glibcxx_cv_func_isnanl_use=no
67435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67436 ac_ext=c
67437 ac_cpp='$CPP $CPPFLAGS'
67438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67447 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67449 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67450 for ac_func in isnanl
67451 do :
67452 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67453 if test "x$ac_cv_func_isnanl" = x""yes; then :
67454 cat >>confdefs.h <<_ACEOF
67455 #define HAVE_ISNANL 1
67456 _ACEOF
67459 done
67461 else
67463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67464 $as_echo_n "checking for _isnanl declaration... " >&6; }
67465 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67466 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67467 $as_echo_n "(cached) " >&6
67468 else
67471 ac_ext=cpp
67472 ac_cpp='$CXXCPP $CPPFLAGS'
67473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67478 /* end confdefs.h. */
67479 #include <math.h>
67480 #ifdef HAVE_IEEEFP_H
67481 #include <ieeefp.h>
67482 #endif
67485 main ()
67487 _isnanl(0);
67489 return 0;
67491 _ACEOF
67492 if ac_fn_cxx_try_compile "$LINENO"; then :
67493 glibcxx_cv_func__isnanl_use=yes
67494 else
67495 glibcxx_cv_func__isnanl_use=no
67497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67498 ac_ext=c
67499 ac_cpp='$CPP $CPPFLAGS'
67500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67509 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67511 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67512 for ac_func in _isnanl
67513 do :
67514 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67515 if test "x$ac_cv_func__isnanl" = x""yes; then :
67516 cat >>confdefs.h <<_ACEOF
67517 #define HAVE__ISNANL 1
67518 _ACEOF
67521 done
67530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67531 $as_echo_n "checking for isinfl declaration... " >&6; }
67532 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67533 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67534 $as_echo_n "(cached) " >&6
67535 else
67538 ac_ext=cpp
67539 ac_cpp='$CXXCPP $CPPFLAGS'
67540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67545 /* end confdefs.h. */
67546 #include <math.h>
67547 #ifdef HAVE_IEEEFP_H
67548 #include <ieeefp.h>
67549 #endif
67552 main ()
67554 isinfl(0);
67556 return 0;
67558 _ACEOF
67559 if ac_fn_cxx_try_compile "$LINENO"; then :
67560 glibcxx_cv_func_isinfl_use=yes
67561 else
67562 glibcxx_cv_func_isinfl_use=no
67564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67565 ac_ext=c
67566 ac_cpp='$CPP $CPPFLAGS'
67567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67576 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67578 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67579 for ac_func in isinfl
67580 do :
67581 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67582 if test "x$ac_cv_func_isinfl" = x""yes; then :
67583 cat >>confdefs.h <<_ACEOF
67584 #define HAVE_ISINFL 1
67585 _ACEOF
67588 done
67590 else
67592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67593 $as_echo_n "checking for _isinfl declaration... " >&6; }
67594 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67595 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67596 $as_echo_n "(cached) " >&6
67597 else
67600 ac_ext=cpp
67601 ac_cpp='$CXXCPP $CPPFLAGS'
67602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67607 /* end confdefs.h. */
67608 #include <math.h>
67609 #ifdef HAVE_IEEEFP_H
67610 #include <ieeefp.h>
67611 #endif
67614 main ()
67616 _isinfl(0);
67618 return 0;
67620 _ACEOF
67621 if ac_fn_cxx_try_compile "$LINENO"; then :
67622 glibcxx_cv_func__isinfl_use=yes
67623 else
67624 glibcxx_cv_func__isinfl_use=no
67626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67627 ac_ext=c
67628 ac_cpp='$CPP $CPPFLAGS'
67629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67638 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67640 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67641 for ac_func in _isinfl
67642 do :
67643 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67644 if test "x$ac_cv_func__isinfl" = x""yes; then :
67645 cat >>confdefs.h <<_ACEOF
67646 #define HAVE__ISINFL 1
67647 _ACEOF
67650 done
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67660 $as_echo_n "checking for atan2l declaration... " >&6; }
67661 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67662 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67663 $as_echo_n "(cached) " >&6
67664 else
67667 ac_ext=cpp
67668 ac_cpp='$CXXCPP $CPPFLAGS'
67669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67674 /* end confdefs.h. */
67675 #include <math.h>
67677 main ()
67679 atan2l(0, 0);
67681 return 0;
67683 _ACEOF
67684 if ac_fn_cxx_try_compile "$LINENO"; then :
67685 glibcxx_cv_func_atan2l_use=yes
67686 else
67687 glibcxx_cv_func_atan2l_use=no
67689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67690 ac_ext=c
67691 ac_cpp='$CPP $CPPFLAGS'
67692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67701 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67703 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67704 for ac_func in atan2l
67705 do :
67706 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67707 if test "x$ac_cv_func_atan2l" = x""yes; then :
67708 cat >>confdefs.h <<_ACEOF
67709 #define HAVE_ATAN2L 1
67710 _ACEOF
67713 done
67715 else
67717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67718 $as_echo_n "checking for _atan2l declaration... " >&6; }
67719 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67720 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67721 $as_echo_n "(cached) " >&6
67722 else
67725 ac_ext=cpp
67726 ac_cpp='$CXXCPP $CPPFLAGS'
67727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67732 /* end confdefs.h. */
67733 #include <math.h>
67735 main ()
67737 _atan2l(0, 0);
67739 return 0;
67741 _ACEOF
67742 if ac_fn_cxx_try_compile "$LINENO"; then :
67743 glibcxx_cv_func__atan2l_use=yes
67744 else
67745 glibcxx_cv_func__atan2l_use=no
67747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67748 ac_ext=c
67749 ac_cpp='$CPP $CPPFLAGS'
67750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67759 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67761 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67762 for ac_func in _atan2l
67763 do :
67764 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67765 if test "x$ac_cv_func__atan2l" = x""yes; then :
67766 cat >>confdefs.h <<_ACEOF
67767 #define HAVE__ATAN2L 1
67768 _ACEOF
67771 done
67780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67781 $as_echo_n "checking for expl declaration... " >&6; }
67782 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67783 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67784 $as_echo_n "(cached) " >&6
67785 else
67788 ac_ext=cpp
67789 ac_cpp='$CXXCPP $CPPFLAGS'
67790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67795 /* end confdefs.h. */
67796 #include <math.h>
67797 #ifdef HAVE_IEEEFP_H
67798 #include <ieeefp.h>
67799 #endif
67802 main ()
67804 expl(0);
67806 return 0;
67808 _ACEOF
67809 if ac_fn_cxx_try_compile "$LINENO"; then :
67810 glibcxx_cv_func_expl_use=yes
67811 else
67812 glibcxx_cv_func_expl_use=no
67814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67815 ac_ext=c
67816 ac_cpp='$CPP $CPPFLAGS'
67817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67826 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67828 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67829 for ac_func in expl
67830 do :
67831 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67832 if test "x$ac_cv_func_expl" = x""yes; then :
67833 cat >>confdefs.h <<_ACEOF
67834 #define HAVE_EXPL 1
67835 _ACEOF
67838 done
67840 else
67842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67843 $as_echo_n "checking for _expl declaration... " >&6; }
67844 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67845 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67846 $as_echo_n "(cached) " >&6
67847 else
67850 ac_ext=cpp
67851 ac_cpp='$CXXCPP $CPPFLAGS'
67852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67857 /* end confdefs.h. */
67858 #include <math.h>
67859 #ifdef HAVE_IEEEFP_H
67860 #include <ieeefp.h>
67861 #endif
67864 main ()
67866 _expl(0);
67868 return 0;
67870 _ACEOF
67871 if ac_fn_cxx_try_compile "$LINENO"; then :
67872 glibcxx_cv_func__expl_use=yes
67873 else
67874 glibcxx_cv_func__expl_use=no
67876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67877 ac_ext=c
67878 ac_cpp='$CPP $CPPFLAGS'
67879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67888 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67890 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67891 for ac_func in _expl
67892 do :
67893 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67894 if test "x$ac_cv_func__expl" = x""yes; then :
67895 cat >>confdefs.h <<_ACEOF
67896 #define HAVE__EXPL 1
67897 _ACEOF
67900 done
67909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67910 $as_echo_n "checking for fabsl declaration... " >&6; }
67911 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67912 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67913 $as_echo_n "(cached) " >&6
67914 else
67917 ac_ext=cpp
67918 ac_cpp='$CXXCPP $CPPFLAGS'
67919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67924 /* end confdefs.h. */
67925 #include <math.h>
67926 #ifdef HAVE_IEEEFP_H
67927 #include <ieeefp.h>
67928 #endif
67931 main ()
67933 fabsl(0);
67935 return 0;
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func_fabsl_use=yes
67940 else
67941 glibcxx_cv_func_fabsl_use=no
67943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67944 ac_ext=c
67945 ac_cpp='$CPP $CPPFLAGS'
67946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67955 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67957 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67958 for ac_func in fabsl
67959 do :
67960 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67961 if test "x$ac_cv_func_fabsl" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE_FABSL 1
67964 _ACEOF
67967 done
67969 else
67971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67972 $as_echo_n "checking for _fabsl declaration... " >&6; }
67973 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67974 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67975 $as_echo_n "(cached) " >&6
67976 else
67979 ac_ext=cpp
67980 ac_cpp='$CXXCPP $CPPFLAGS'
67981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67986 /* end confdefs.h. */
67987 #include <math.h>
67988 #ifdef HAVE_IEEEFP_H
67989 #include <ieeefp.h>
67990 #endif
67993 main ()
67995 _fabsl(0);
67997 return 0;
67999 _ACEOF
68000 if ac_fn_cxx_try_compile "$LINENO"; then :
68001 glibcxx_cv_func__fabsl_use=yes
68002 else
68003 glibcxx_cv_func__fabsl_use=no
68005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68006 ac_ext=c
68007 ac_cpp='$CPP $CPPFLAGS'
68008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68017 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68019 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68020 for ac_func in _fabsl
68021 do :
68022 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68023 if test "x$ac_cv_func__fabsl" = x""yes; then :
68024 cat >>confdefs.h <<_ACEOF
68025 #define HAVE__FABSL 1
68026 _ACEOF
68029 done
68038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68039 $as_echo_n "checking for fmodl declaration... " >&6; }
68040 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68041 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68042 $as_echo_n "(cached) " >&6
68043 else
68046 ac_ext=cpp
68047 ac_cpp='$CXXCPP $CPPFLAGS'
68048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68053 /* end confdefs.h. */
68054 #include <math.h>
68056 main ()
68058 fmodl(0, 0);
68060 return 0;
68062 _ACEOF
68063 if ac_fn_cxx_try_compile "$LINENO"; then :
68064 glibcxx_cv_func_fmodl_use=yes
68065 else
68066 glibcxx_cv_func_fmodl_use=no
68068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68069 ac_ext=c
68070 ac_cpp='$CPP $CPPFLAGS'
68071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68080 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68082 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68083 for ac_func in fmodl
68084 do :
68085 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68086 if test "x$ac_cv_func_fmodl" = x""yes; then :
68087 cat >>confdefs.h <<_ACEOF
68088 #define HAVE_FMODL 1
68089 _ACEOF
68092 done
68094 else
68096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68097 $as_echo_n "checking for _fmodl declaration... " >&6; }
68098 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68099 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68100 $as_echo_n "(cached) " >&6
68101 else
68104 ac_ext=cpp
68105 ac_cpp='$CXXCPP $CPPFLAGS'
68106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68111 /* end confdefs.h. */
68112 #include <math.h>
68114 main ()
68116 _fmodl(0, 0);
68118 return 0;
68120 _ACEOF
68121 if ac_fn_cxx_try_compile "$LINENO"; then :
68122 glibcxx_cv_func__fmodl_use=yes
68123 else
68124 glibcxx_cv_func__fmodl_use=no
68126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68127 ac_ext=c
68128 ac_cpp='$CPP $CPPFLAGS'
68129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68138 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68140 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68141 for ac_func in _fmodl
68142 do :
68143 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68144 if test "x$ac_cv_func__fmodl" = x""yes; then :
68145 cat >>confdefs.h <<_ACEOF
68146 #define HAVE__FMODL 1
68147 _ACEOF
68150 done
68159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68160 $as_echo_n "checking for frexpl declaration... " >&6; }
68161 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68162 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68163 $as_echo_n "(cached) " >&6
68164 else
68167 ac_ext=cpp
68168 ac_cpp='$CXXCPP $CPPFLAGS'
68169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68174 /* end confdefs.h. */
68175 #include <math.h>
68177 main ()
68179 frexpl(0, 0);
68181 return 0;
68183 _ACEOF
68184 if ac_fn_cxx_try_compile "$LINENO"; then :
68185 glibcxx_cv_func_frexpl_use=yes
68186 else
68187 glibcxx_cv_func_frexpl_use=no
68189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68190 ac_ext=c
68191 ac_cpp='$CPP $CPPFLAGS'
68192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68201 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68203 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68204 for ac_func in frexpl
68205 do :
68206 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68207 if test "x$ac_cv_func_frexpl" = x""yes; then :
68208 cat >>confdefs.h <<_ACEOF
68209 #define HAVE_FREXPL 1
68210 _ACEOF
68213 done
68215 else
68217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68218 $as_echo_n "checking for _frexpl declaration... " >&6; }
68219 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68220 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68221 $as_echo_n "(cached) " >&6
68222 else
68225 ac_ext=cpp
68226 ac_cpp='$CXXCPP $CPPFLAGS'
68227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68232 /* end confdefs.h. */
68233 #include <math.h>
68235 main ()
68237 _frexpl(0, 0);
68239 return 0;
68241 _ACEOF
68242 if ac_fn_cxx_try_compile "$LINENO"; then :
68243 glibcxx_cv_func__frexpl_use=yes
68244 else
68245 glibcxx_cv_func__frexpl_use=no
68247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68248 ac_ext=c
68249 ac_cpp='$CPP $CPPFLAGS'
68250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68259 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68261 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68262 for ac_func in _frexpl
68263 do :
68264 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68265 if test "x$ac_cv_func__frexpl" = x""yes; then :
68266 cat >>confdefs.h <<_ACEOF
68267 #define HAVE__FREXPL 1
68268 _ACEOF
68271 done
68280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68281 $as_echo_n "checking for hypotl declaration... " >&6; }
68282 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68283 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68284 $as_echo_n "(cached) " >&6
68285 else
68288 ac_ext=cpp
68289 ac_cpp='$CXXCPP $CPPFLAGS'
68290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68295 /* end confdefs.h. */
68296 #include <math.h>
68298 main ()
68300 hypotl(0, 0);
68302 return 0;
68304 _ACEOF
68305 if ac_fn_cxx_try_compile "$LINENO"; then :
68306 glibcxx_cv_func_hypotl_use=yes
68307 else
68308 glibcxx_cv_func_hypotl_use=no
68310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68311 ac_ext=c
68312 ac_cpp='$CPP $CPPFLAGS'
68313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68322 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68324 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68325 for ac_func in hypotl
68326 do :
68327 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68328 if test "x$ac_cv_func_hypotl" = x""yes; then :
68329 cat >>confdefs.h <<_ACEOF
68330 #define HAVE_HYPOTL 1
68331 _ACEOF
68334 done
68336 else
68338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68339 $as_echo_n "checking for _hypotl declaration... " >&6; }
68340 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68341 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68342 $as_echo_n "(cached) " >&6
68343 else
68346 ac_ext=cpp
68347 ac_cpp='$CXXCPP $CPPFLAGS'
68348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68353 /* end confdefs.h. */
68354 #include <math.h>
68356 main ()
68358 _hypotl(0, 0);
68360 return 0;
68362 _ACEOF
68363 if ac_fn_cxx_try_compile "$LINENO"; then :
68364 glibcxx_cv_func__hypotl_use=yes
68365 else
68366 glibcxx_cv_func__hypotl_use=no
68368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68369 ac_ext=c
68370 ac_cpp='$CPP $CPPFLAGS'
68371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68380 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68382 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68383 for ac_func in _hypotl
68384 do :
68385 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68386 if test "x$ac_cv_func__hypotl" = x""yes; then :
68387 cat >>confdefs.h <<_ACEOF
68388 #define HAVE__HYPOTL 1
68389 _ACEOF
68392 done
68401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68402 $as_echo_n "checking for ldexpl declaration... " >&6; }
68403 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68404 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68405 $as_echo_n "(cached) " >&6
68406 else
68409 ac_ext=cpp
68410 ac_cpp='$CXXCPP $CPPFLAGS'
68411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68416 /* end confdefs.h. */
68417 #include <math.h>
68419 main ()
68421 ldexpl(0, 0);
68423 return 0;
68425 _ACEOF
68426 if ac_fn_cxx_try_compile "$LINENO"; then :
68427 glibcxx_cv_func_ldexpl_use=yes
68428 else
68429 glibcxx_cv_func_ldexpl_use=no
68431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68432 ac_ext=c
68433 ac_cpp='$CPP $CPPFLAGS'
68434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68443 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68445 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68446 for ac_func in ldexpl
68447 do :
68448 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68449 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68450 cat >>confdefs.h <<_ACEOF
68451 #define HAVE_LDEXPL 1
68452 _ACEOF
68455 done
68457 else
68459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68460 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68461 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68462 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68463 $as_echo_n "(cached) " >&6
68464 else
68467 ac_ext=cpp
68468 ac_cpp='$CXXCPP $CPPFLAGS'
68469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68474 /* end confdefs.h. */
68475 #include <math.h>
68477 main ()
68479 _ldexpl(0, 0);
68481 return 0;
68483 _ACEOF
68484 if ac_fn_cxx_try_compile "$LINENO"; then :
68485 glibcxx_cv_func__ldexpl_use=yes
68486 else
68487 glibcxx_cv_func__ldexpl_use=no
68489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68490 ac_ext=c
68491 ac_cpp='$CPP $CPPFLAGS'
68492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68501 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68503 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68504 for ac_func in _ldexpl
68505 do :
68506 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68507 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68508 cat >>confdefs.h <<_ACEOF
68509 #define HAVE__LDEXPL 1
68510 _ACEOF
68513 done
68522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68523 $as_echo_n "checking for logl declaration... " >&6; }
68524 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68525 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68526 $as_echo_n "(cached) " >&6
68527 else
68530 ac_ext=cpp
68531 ac_cpp='$CXXCPP $CPPFLAGS'
68532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68537 /* end confdefs.h. */
68538 #include <math.h>
68539 #ifdef HAVE_IEEEFP_H
68540 #include <ieeefp.h>
68541 #endif
68544 main ()
68546 logl(0);
68548 return 0;
68550 _ACEOF
68551 if ac_fn_cxx_try_compile "$LINENO"; then :
68552 glibcxx_cv_func_logl_use=yes
68553 else
68554 glibcxx_cv_func_logl_use=no
68556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68557 ac_ext=c
68558 ac_cpp='$CPP $CPPFLAGS'
68559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68568 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68570 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68571 for ac_func in logl
68572 do :
68573 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68574 if test "x$ac_cv_func_logl" = x""yes; then :
68575 cat >>confdefs.h <<_ACEOF
68576 #define HAVE_LOGL 1
68577 _ACEOF
68580 done
68582 else
68584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68585 $as_echo_n "checking for _logl declaration... " >&6; }
68586 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68587 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68588 $as_echo_n "(cached) " >&6
68589 else
68592 ac_ext=cpp
68593 ac_cpp='$CXXCPP $CPPFLAGS'
68594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68599 /* end confdefs.h. */
68600 #include <math.h>
68601 #ifdef HAVE_IEEEFP_H
68602 #include <ieeefp.h>
68603 #endif
68606 main ()
68608 _logl(0);
68610 return 0;
68612 _ACEOF
68613 if ac_fn_cxx_try_compile "$LINENO"; then :
68614 glibcxx_cv_func__logl_use=yes
68615 else
68616 glibcxx_cv_func__logl_use=no
68618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68619 ac_ext=c
68620 ac_cpp='$CPP $CPPFLAGS'
68621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68630 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68632 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68633 for ac_func in _logl
68634 do :
68635 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68636 if test "x$ac_cv_func__logl" = x""yes; then :
68637 cat >>confdefs.h <<_ACEOF
68638 #define HAVE__LOGL 1
68639 _ACEOF
68642 done
68651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68652 $as_echo_n "checking for log10l declaration... " >&6; }
68653 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68654 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68655 $as_echo_n "(cached) " >&6
68656 else
68659 ac_ext=cpp
68660 ac_cpp='$CXXCPP $CPPFLAGS'
68661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68666 /* end confdefs.h. */
68667 #include <math.h>
68668 #ifdef HAVE_IEEEFP_H
68669 #include <ieeefp.h>
68670 #endif
68673 main ()
68675 log10l(0);
68677 return 0;
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func_log10l_use=yes
68682 else
68683 glibcxx_cv_func_log10l_use=no
68685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68686 ac_ext=c
68687 ac_cpp='$CPP $CPPFLAGS'
68688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68697 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68699 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68700 for ac_func in log10l
68701 do :
68702 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68703 if test "x$ac_cv_func_log10l" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE_LOG10L 1
68706 _ACEOF
68709 done
68711 else
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68714 $as_echo_n "checking for _log10l declaration... " >&6; }
68715 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68716 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68717 $as_echo_n "(cached) " >&6
68718 else
68721 ac_ext=cpp
68722 ac_cpp='$CXXCPP $CPPFLAGS'
68723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68728 /* end confdefs.h. */
68729 #include <math.h>
68730 #ifdef HAVE_IEEEFP_H
68731 #include <ieeefp.h>
68732 #endif
68735 main ()
68737 _log10l(0);
68739 return 0;
68741 _ACEOF
68742 if ac_fn_cxx_try_compile "$LINENO"; then :
68743 glibcxx_cv_func__log10l_use=yes
68744 else
68745 glibcxx_cv_func__log10l_use=no
68747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68748 ac_ext=c
68749 ac_cpp='$CPP $CPPFLAGS'
68750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68759 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68761 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68762 for ac_func in _log10l
68763 do :
68764 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68765 if test "x$ac_cv_func__log10l" = x""yes; then :
68766 cat >>confdefs.h <<_ACEOF
68767 #define HAVE__LOG10L 1
68768 _ACEOF
68771 done
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68781 $as_echo_n "checking for modfl declaration... " >&6; }
68782 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68783 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68784 $as_echo_n "(cached) " >&6
68785 else
68788 ac_ext=cpp
68789 ac_cpp='$CXXCPP $CPPFLAGS'
68790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68795 /* end confdefs.h. */
68796 #include <math.h>
68798 main ()
68800 modfl(0, 0);
68802 return 0;
68804 _ACEOF
68805 if ac_fn_cxx_try_compile "$LINENO"; then :
68806 glibcxx_cv_func_modfl_use=yes
68807 else
68808 glibcxx_cv_func_modfl_use=no
68810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68811 ac_ext=c
68812 ac_cpp='$CPP $CPPFLAGS'
68813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68822 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68824 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68825 for ac_func in modfl
68826 do :
68827 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68828 if test "x$ac_cv_func_modfl" = x""yes; then :
68829 cat >>confdefs.h <<_ACEOF
68830 #define HAVE_MODFL 1
68831 _ACEOF
68834 done
68836 else
68838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68839 $as_echo_n "checking for _modfl declaration... " >&6; }
68840 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68841 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68842 $as_echo_n "(cached) " >&6
68843 else
68846 ac_ext=cpp
68847 ac_cpp='$CXXCPP $CPPFLAGS'
68848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68853 /* end confdefs.h. */
68854 #include <math.h>
68856 main ()
68858 _modfl(0, 0);
68860 return 0;
68862 _ACEOF
68863 if ac_fn_cxx_try_compile "$LINENO"; then :
68864 glibcxx_cv_func__modfl_use=yes
68865 else
68866 glibcxx_cv_func__modfl_use=no
68868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68869 ac_ext=c
68870 ac_cpp='$CPP $CPPFLAGS'
68871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68880 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68882 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68883 for ac_func in _modfl
68884 do :
68885 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68886 if test "x$ac_cv_func__modfl" = x""yes; then :
68887 cat >>confdefs.h <<_ACEOF
68888 #define HAVE__MODFL 1
68889 _ACEOF
68892 done
68901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68902 $as_echo_n "checking for powl declaration... " >&6; }
68903 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68904 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68905 $as_echo_n "(cached) " >&6
68906 else
68909 ac_ext=cpp
68910 ac_cpp='$CXXCPP $CPPFLAGS'
68911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68916 /* end confdefs.h. */
68917 #include <math.h>
68919 main ()
68921 powl(0, 0);
68923 return 0;
68925 _ACEOF
68926 if ac_fn_cxx_try_compile "$LINENO"; then :
68927 glibcxx_cv_func_powl_use=yes
68928 else
68929 glibcxx_cv_func_powl_use=no
68931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68932 ac_ext=c
68933 ac_cpp='$CPP $CPPFLAGS'
68934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68943 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68945 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68946 for ac_func in powl
68947 do :
68948 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68949 if test "x$ac_cv_func_powl" = x""yes; then :
68950 cat >>confdefs.h <<_ACEOF
68951 #define HAVE_POWL 1
68952 _ACEOF
68955 done
68957 else
68959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68960 $as_echo_n "checking for _powl declaration... " >&6; }
68961 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68962 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68963 $as_echo_n "(cached) " >&6
68964 else
68967 ac_ext=cpp
68968 ac_cpp='$CXXCPP $CPPFLAGS'
68969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68974 /* end confdefs.h. */
68975 #include <math.h>
68977 main ()
68979 _powl(0, 0);
68981 return 0;
68983 _ACEOF
68984 if ac_fn_cxx_try_compile "$LINENO"; then :
68985 glibcxx_cv_func__powl_use=yes
68986 else
68987 glibcxx_cv_func__powl_use=no
68989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68990 ac_ext=c
68991 ac_cpp='$CPP $CPPFLAGS'
68992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69001 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69003 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69004 for ac_func in _powl
69005 do :
69006 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69007 if test "x$ac_cv_func__powl" = x""yes; then :
69008 cat >>confdefs.h <<_ACEOF
69009 #define HAVE__POWL 1
69010 _ACEOF
69013 done
69022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69023 $as_echo_n "checking for sqrtl declaration... " >&6; }
69024 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69025 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69026 $as_echo_n "(cached) " >&6
69027 else
69030 ac_ext=cpp
69031 ac_cpp='$CXXCPP $CPPFLAGS'
69032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69037 /* end confdefs.h. */
69038 #include <math.h>
69039 #ifdef HAVE_IEEEFP_H
69040 #include <ieeefp.h>
69041 #endif
69044 main ()
69046 sqrtl(0);
69048 return 0;
69050 _ACEOF
69051 if ac_fn_cxx_try_compile "$LINENO"; then :
69052 glibcxx_cv_func_sqrtl_use=yes
69053 else
69054 glibcxx_cv_func_sqrtl_use=no
69056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69057 ac_ext=c
69058 ac_cpp='$CPP $CPPFLAGS'
69059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69068 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69070 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69071 for ac_func in sqrtl
69072 do :
69073 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69074 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69075 cat >>confdefs.h <<_ACEOF
69076 #define HAVE_SQRTL 1
69077 _ACEOF
69080 done
69082 else
69084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69085 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69086 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69087 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69088 $as_echo_n "(cached) " >&6
69089 else
69092 ac_ext=cpp
69093 ac_cpp='$CXXCPP $CPPFLAGS'
69094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69099 /* end confdefs.h. */
69100 #include <math.h>
69101 #ifdef HAVE_IEEEFP_H
69102 #include <ieeefp.h>
69103 #endif
69106 main ()
69108 _sqrtl(0);
69110 return 0;
69112 _ACEOF
69113 if ac_fn_cxx_try_compile "$LINENO"; then :
69114 glibcxx_cv_func__sqrtl_use=yes
69115 else
69116 glibcxx_cv_func__sqrtl_use=no
69118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69119 ac_ext=c
69120 ac_cpp='$CPP $CPPFLAGS'
69121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69130 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69132 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69133 for ac_func in _sqrtl
69134 do :
69135 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69136 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69137 cat >>confdefs.h <<_ACEOF
69138 #define HAVE__SQRTL 1
69139 _ACEOF
69142 done
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69152 $as_echo_n "checking for sincosl declaration... " >&6; }
69153 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69154 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69155 $as_echo_n "(cached) " >&6
69156 else
69159 ac_ext=cpp
69160 ac_cpp='$CXXCPP $CPPFLAGS'
69161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69166 /* end confdefs.h. */
69167 #include <math.h>
69169 main ()
69171 sincosl(0, 0, 0);
69173 return 0;
69175 _ACEOF
69176 if ac_fn_cxx_try_compile "$LINENO"; then :
69177 glibcxx_cv_func_sincosl_use=yes
69178 else
69179 glibcxx_cv_func_sincosl_use=no
69181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69182 ac_ext=c
69183 ac_cpp='$CPP $CPPFLAGS'
69184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69193 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69195 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69196 for ac_func in sincosl
69197 do :
69198 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69199 if test "x$ac_cv_func_sincosl" = x""yes; then :
69200 cat >>confdefs.h <<_ACEOF
69201 #define HAVE_SINCOSL 1
69202 _ACEOF
69205 done
69207 else
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69210 $as_echo_n "checking for _sincosl declaration... " >&6; }
69211 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69212 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69213 $as_echo_n "(cached) " >&6
69214 else
69217 ac_ext=cpp
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69224 /* end confdefs.h. */
69225 #include <math.h>
69227 main ()
69229 _sincosl(0, 0, 0);
69231 return 0;
69233 _ACEOF
69234 if ac_fn_cxx_try_compile "$LINENO"; then :
69235 glibcxx_cv_func__sincosl_use=yes
69236 else
69237 glibcxx_cv_func__sincosl_use=no
69239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69240 ac_ext=c
69241 ac_cpp='$CPP $CPPFLAGS'
69242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69251 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69253 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69254 for ac_func in _sincosl
69255 do :
69256 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69257 if test "x$ac_cv_func__sincosl" = x""yes; then :
69258 cat >>confdefs.h <<_ACEOF
69259 #define HAVE__SINCOSL 1
69260 _ACEOF
69263 done
69272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69273 $as_echo_n "checking for finitel declaration... " >&6; }
69274 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69275 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69276 $as_echo_n "(cached) " >&6
69277 else
69280 ac_ext=cpp
69281 ac_cpp='$CXXCPP $CPPFLAGS'
69282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69287 /* end confdefs.h. */
69288 #include <math.h>
69289 #ifdef HAVE_IEEEFP_H
69290 #include <ieeefp.h>
69291 #endif
69294 main ()
69296 finitel(0);
69298 return 0;
69300 _ACEOF
69301 if ac_fn_cxx_try_compile "$LINENO"; then :
69302 glibcxx_cv_func_finitel_use=yes
69303 else
69304 glibcxx_cv_func_finitel_use=no
69306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69307 ac_ext=c
69308 ac_cpp='$CPP $CPPFLAGS'
69309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69318 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69320 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69321 for ac_func in finitel
69322 do :
69323 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69324 if test "x$ac_cv_func_finitel" = x""yes; then :
69325 cat >>confdefs.h <<_ACEOF
69326 #define HAVE_FINITEL 1
69327 _ACEOF
69330 done
69332 else
69334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69335 $as_echo_n "checking for _finitel declaration... " >&6; }
69336 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69337 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69338 $as_echo_n "(cached) " >&6
69339 else
69342 ac_ext=cpp
69343 ac_cpp='$CXXCPP $CPPFLAGS'
69344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69349 /* end confdefs.h. */
69350 #include <math.h>
69351 #ifdef HAVE_IEEEFP_H
69352 #include <ieeefp.h>
69353 #endif
69356 main ()
69358 _finitel(0);
69360 return 0;
69362 _ACEOF
69363 if ac_fn_cxx_try_compile "$LINENO"; then :
69364 glibcxx_cv_func__finitel_use=yes
69365 else
69366 glibcxx_cv_func__finitel_use=no
69368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69369 ac_ext=c
69370 ac_cpp='$CPP $CPPFLAGS'
69371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69380 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69382 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69383 for ac_func in _finitel
69384 do :
69385 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69386 if test "x$ac_cv_func__finitel" = x""yes; then :
69387 cat >>confdefs.h <<_ACEOF
69388 #define HAVE__FINITEL 1
69389 _ACEOF
69392 done
69400 LIBS="$ac_save_LIBS"
69401 CXXFLAGS="$ac_save_CXXFLAGS"
69404 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69405 ac_save_CXXFLAGS="$CXXFLAGS"
69406 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69410 $as_echo_n "checking for strtold declaration... " >&6; }
69411 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69412 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69413 $as_echo_n "(cached) " >&6
69414 else
69417 ac_ext=cpp
69418 ac_cpp='$CXXCPP $CPPFLAGS'
69419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69424 /* end confdefs.h. */
69425 #include <stdlib.h>
69427 main ()
69429 strtold(0, 0);
69431 return 0;
69433 _ACEOF
69434 if ac_fn_cxx_try_compile "$LINENO"; then :
69435 glibcxx_cv_func_strtold_use=yes
69436 else
69437 glibcxx_cv_func_strtold_use=no
69439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69440 ac_ext=c
69441 ac_cpp='$CPP $CPPFLAGS'
69442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69451 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69452 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69453 for ac_func in strtold
69454 do :
69455 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69456 if test "x$ac_cv_func_strtold" = x""yes; then :
69457 cat >>confdefs.h <<_ACEOF
69458 #define HAVE_STRTOLD 1
69459 _ACEOF
69462 done
69469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69470 $as_echo_n "checking for strtof declaration... " >&6; }
69471 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69472 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69473 $as_echo_n "(cached) " >&6
69474 else
69477 ac_ext=cpp
69478 ac_cpp='$CXXCPP $CPPFLAGS'
69479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69484 /* end confdefs.h. */
69485 #include <stdlib.h>
69487 main ()
69489 strtof(0, 0);
69491 return 0;
69493 _ACEOF
69494 if ac_fn_cxx_try_compile "$LINENO"; then :
69495 glibcxx_cv_func_strtof_use=yes
69496 else
69497 glibcxx_cv_func_strtof_use=no
69499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69500 ac_ext=c
69501 ac_cpp='$CPP $CPPFLAGS'
69502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69511 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69512 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69513 for ac_func in strtof
69514 do :
69515 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69516 if test "x$ac_cv_func_strtof" = x""yes; then :
69517 cat >>confdefs.h <<_ACEOF
69518 #define HAVE_STRTOF 1
69519 _ACEOF
69522 done
69529 CXXFLAGS="$ac_save_CXXFLAGS"
69532 *-vxworks)
69533 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69535 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69537 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69539 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69541 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69543 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69545 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69547 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69549 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69551 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69553 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69555 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69557 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69559 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69561 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69563 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69565 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69567 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69569 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69571 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69575 as_fn_error "No support for this host/target combination." "$LINENO" 5
69577 esac
69581 # At some point, we should differentiate between architectures
69582 # like x86, which have long double versions, and alpha/powerpc/etc.,
69583 # which don't. For the time being, punt.
69584 if test x"long_double_math_on_this_cpu" = x"yes"; then
69585 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69587 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69589 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69591 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69593 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69595 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69597 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69599 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69601 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69603 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69605 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69607 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69609 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69611 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69613 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69615 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69617 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69619 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69621 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69623 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69625 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69627 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69629 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69634 # Check for _Unwind_GetIPInfo.
69637 # Check whether --with-system-libunwind was given.
69638 if test "${with_system_libunwind+set}" = set; then :
69639 withval=$with_system_libunwind;
69642 # If system-libunwind was not specifically set, pick a default setting.
69643 if test x$with_system_libunwind = x; then
69644 case ${target} in
69645 ia64-*-hpux*) with_system_libunwind=yes ;;
69646 *) with_system_libunwind=no ;;
69647 esac
69649 # Based on system-libunwind and target, do we have ipinfo?
69650 if test x$with_system_libunwind = xyes; then
69651 case ${target} in
69652 ia64-*-*) have_unwind_getipinfo=no ;;
69653 *) have_unwind_getipinfo=yes ;;
69654 esac
69655 else
69656 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69658 case ${target} in
69659 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69660 *) have_unwind_getipinfo=yes ;;
69661 esac
69665 if test x$have_unwind_getipinfo = xyes; then
69667 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69672 # Check whether --enable-linux-futex was given.
69673 if test "${enable_linux_futex+set}" = set; then :
69674 enableval=$enable_linux_futex;
69675 case "$enableval" in
69676 yes|no|default) ;;
69677 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69678 esac
69680 else
69681 enable_linux_futex=default
69685 case "$target" in
69686 *-linux*)
69687 case "$enable_linux_futex" in
69688 default)
69689 # If headers don't have gettid/futex syscalls definition, then
69690 # default to no, otherwise there will be compile time failures.
69691 # Otherwise, default to yes. If we don't detect we are
69692 # compiled/linked against NPTL and not cross-compiling, check
69693 # if programs are run by default against NPTL and if not, issue
69694 # a warning.
69695 enable_linux_futex=no
69696 if test x$gcc_no_link = xyes; then
69697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69700 /* end confdefs.h. */
69701 #include <sys/syscall.h>
69702 int lk;
69704 main ()
69706 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69708 return 0;
69710 _ACEOF
69711 if ac_fn_c_try_link "$LINENO"; then :
69712 save_LIBS="$LIBS"
69713 LIBS="-lpthread $LIBS"
69714 if test x$gcc_no_link = xyes; then
69715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69718 /* end confdefs.h. */
69719 #ifndef _GNU_SOURCE
69720 #define _GNU_SOURCE 1
69721 #endif
69722 #include <pthread.h>
69723 pthread_t th; void *status;
69725 main ()
69727 pthread_tryjoin_np (th, &status);
69729 return 0;
69731 _ACEOF
69732 if ac_fn_c_try_link "$LINENO"; then :
69733 enable_linux_futex=yes
69734 else
69735 if test x$cross_compiling = xno; then
69736 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69737 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69739 If so, please configure with --disable-linux-futex" >&5
69740 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69741 If so, please configure with --disable-linux-futex" >&2;}
69744 enable_linux_futex=yes
69746 rm -f core conftest.err conftest.$ac_objext \
69747 conftest$ac_exeext conftest.$ac_ext
69748 LIBS="$save_LIBS"
69750 rm -f core conftest.err conftest.$ac_objext \
69751 conftest$ac_exeext conftest.$ac_ext
69753 yes)
69754 if test x$gcc_no_link = xyes; then
69755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69758 /* end confdefs.h. */
69759 #include <sys/syscall.h>
69760 int lk;
69762 main ()
69764 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69766 return 0;
69768 _ACEOF
69769 if ac_fn_c_try_link "$LINENO"; then :
69771 else
69772 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69774 rm -f core conftest.err conftest.$ac_objext \
69775 conftest$ac_exeext conftest.$ac_ext
69777 esac
69780 enable_linux_futex=no
69782 esac
69783 if test x$enable_linux_futex = xyes; then
69785 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69792 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69794 acx_cv_header_stdint=stddef.h
69795 acx_cv_header_stdint_kind="(already complete)"
69796 for i in stdint.h $inttype_headers; do
69797 unset ac_cv_type_uintptr_t
69798 unset ac_cv_type_uintmax_t
69799 unset ac_cv_type_int_least32_t
69800 unset ac_cv_type_int_fast32_t
69801 unset ac_cv_type_uint64_t
69802 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69803 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69804 #include <$i>
69806 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69807 acx_cv_header_stdint=$i
69808 else
69809 continue
69812 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69813 #include <$i>
69815 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69817 else
69818 acx_cv_header_stdint_kind="(mostly complete)"
69821 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69822 #include <$i>
69824 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69826 else
69827 acx_cv_header_stdint_kind="(mostly complete)"
69830 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69831 #include <$i>
69833 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69835 else
69836 acx_cv_header_stdint_kind="(mostly complete)"
69839 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69840 #include <$i>
69842 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69844 else
69845 acx_cv_header_stdint_kind="(lacks uint64_t)"
69848 break
69849 done
69850 if test "$acx_cv_header_stdint" = stddef.h; then
69851 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69852 for i in stdint.h $inttype_headers; do
69853 unset ac_cv_type_uintptr_t
69854 unset ac_cv_type_uint32_t
69855 unset ac_cv_type_uint64_t
69856 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69857 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69858 #include <$i>
69860 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69861 acx_cv_header_stdint=$i
69862 else
69863 continue
69866 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69867 #include <$i>
69869 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69873 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69874 #include <$i>
69876 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69880 break
69881 done
69883 if test "$acx_cv_header_stdint" = stddef.h; then
69884 acx_cv_header_stdint_kind="(u_intXX_t style)"
69885 for i in sys/types.h $inttype_headers; do
69886 unset ac_cv_type_u_int32_t
69887 unset ac_cv_type_u_int64_t
69888 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69889 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69890 #include <$i>
69892 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69893 acx_cv_header_stdint=$i
69894 else
69895 continue
69898 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69899 #include <$i>
69901 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69905 break
69906 done
69908 if test "$acx_cv_header_stdint" = stddef.h; then
69909 acx_cv_header_stdint_kind="(using manual detection)"
69912 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69913 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69914 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69915 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69916 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69918 # ----------------- Summarize what we found so far
69920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69921 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69923 case `$as_basename -- include/gstdint.h ||
69924 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69925 Xinclude/gstdint.h : 'X\(//\)$' \| \
69926 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69927 $as_echo X/include/gstdint.h |
69928 sed '/^.*\/\([^/][^/]*\)\/*$/{
69929 s//\1/
69932 /^X\/\(\/\/\)$/{
69933 s//\1/
69936 /^X\/\(\/\).*/{
69937 s//\1/
69940 s/.*/./; q'` in
69941 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69942 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69943 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69944 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69945 *) ;;
69946 esac
69948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69949 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69951 # ----------------- done included file, check C basic types --------
69953 # Lacking an uintptr_t? Test size of void *
69954 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69955 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69956 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69957 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69958 # This bug is HP SR number 8606223364.
69959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69960 $as_echo_n "checking size of void *... " >&6; }
69961 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69962 $as_echo_n "(cached) " >&6
69963 else
69964 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69966 else
69967 if test "$ac_cv_type_void_p" = yes; then
69968 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69969 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69970 { as_fn_set_status 77
69971 as_fn_error "cannot compute sizeof (void *)
69972 See \`config.log' for more details." "$LINENO" 5; }; }
69973 else
69974 ac_cv_sizeof_void_p=0
69979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69980 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69984 cat >>confdefs.h <<_ACEOF
69985 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69986 _ACEOF
69989 esac
69991 # Lacking an uint64_t? Test size of long
69992 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69993 stddef.h:*:* | *:no:no) # 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 long" >&5
69998 $as_echo_n "checking size of long... " >&6; }
69999 if test "${ac_cv_sizeof_long+set}" = set; then :
70000 $as_echo_n "(cached) " >&6
70001 else
70002 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70004 else
70005 if test "$ac_cv_type_long" = 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 (long)
70010 See \`config.log' for more details." "$LINENO" 5; }; }
70011 else
70012 ac_cv_sizeof_long=0
70017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70018 $as_echo "$ac_cv_sizeof_long" >&6; }
70022 cat >>confdefs.h <<_ACEOF
70023 #define SIZEOF_LONG $ac_cv_sizeof_long
70024 _ACEOF
70027 esac
70029 if test $acx_cv_header_stdint = stddef.h; then
70030 # Lacking a good header? Test size of everything and deduce all types.
70031 # The cast to long int works around a bug in the HP C Compiler
70032 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70033 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70034 # This bug is HP SR number 8606223364.
70035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70036 $as_echo_n "checking size of int... " >&6; }
70037 if test "${ac_cv_sizeof_int+set}" = set; then :
70038 $as_echo_n "(cached) " >&6
70039 else
70040 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70042 else
70043 if test "$ac_cv_type_int" = yes; then
70044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70046 { as_fn_set_status 77
70047 as_fn_error "cannot compute sizeof (int)
70048 See \`config.log' for more details." "$LINENO" 5; }; }
70049 else
70050 ac_cv_sizeof_int=0
70055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70056 $as_echo "$ac_cv_sizeof_int" >&6; }
70060 cat >>confdefs.h <<_ACEOF
70061 #define SIZEOF_INT $ac_cv_sizeof_int
70062 _ACEOF
70065 # The cast to long int works around a bug in the HP C Compiler
70066 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70067 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70068 # This bug is HP SR number 8606223364.
70069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70070 $as_echo_n "checking size of short... " >&6; }
70071 if test "${ac_cv_sizeof_short+set}" = set; then :
70072 $as_echo_n "(cached) " >&6
70073 else
70074 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70076 else
70077 if test "$ac_cv_type_short" = yes; then
70078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70080 { as_fn_set_status 77
70081 as_fn_error "cannot compute sizeof (short)
70082 See \`config.log' for more details." "$LINENO" 5; }; }
70083 else
70084 ac_cv_sizeof_short=0
70089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70090 $as_echo "$ac_cv_sizeof_short" >&6; }
70094 cat >>confdefs.h <<_ACEOF
70095 #define SIZEOF_SHORT $ac_cv_sizeof_short
70096 _ACEOF
70099 # The cast to long int works around a bug in the HP C Compiler
70100 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70101 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70102 # This bug is HP SR number 8606223364.
70103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70104 $as_echo_n "checking size of char... " >&6; }
70105 if test "${ac_cv_sizeof_char+set}" = set; then :
70106 $as_echo_n "(cached) " >&6
70107 else
70108 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70110 else
70111 if test "$ac_cv_type_char" = yes; then
70112 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70113 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70114 { as_fn_set_status 77
70115 as_fn_error "cannot compute sizeof (char)
70116 See \`config.log' for more details." "$LINENO" 5; }; }
70117 else
70118 ac_cv_sizeof_char=0
70123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70124 $as_echo "$ac_cv_sizeof_char" >&6; }
70128 cat >>confdefs.h <<_ACEOF
70129 #define SIZEOF_CHAR $ac_cv_sizeof_char
70130 _ACEOF
70134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70135 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70136 case "$ac_cv_sizeof_char" in
70137 1) acx_cv_type_int8_t=char ;;
70138 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70139 esac
70140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70141 $as_echo "$acx_cv_type_int8_t" >&6; }
70143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70144 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70145 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70146 2:*) acx_cv_type_int16_t=int ;;
70147 *:2) acx_cv_type_int16_t=short ;;
70148 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70149 esac
70150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70151 $as_echo "$acx_cv_type_int16_t" >&6; }
70153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70154 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70155 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70156 4:*) acx_cv_type_int32_t=int ;;
70157 *:4) acx_cv_type_int32_t=long ;;
70158 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70159 esac
70160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70161 $as_echo "$acx_cv_type_int32_t" >&6; }
70164 # These tests are here to make the output prettier
70166 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70167 case "$ac_cv_sizeof_long" in
70168 8) acx_cv_type_int64_t=long ;;
70169 esac
70170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70171 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70173 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70176 # Now we can use the above types
70178 if test "$ac_cv_type_uintptr_t" != yes; then
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70180 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70181 case $ac_cv_sizeof_void_p in
70182 2) acx_cv_type_intptr_t=int16_t ;;
70183 4) acx_cv_type_intptr_t=int32_t ;;
70184 8) acx_cv_type_intptr_t=int64_t ;;
70185 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70186 esac
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70188 $as_echo "$acx_cv_type_intptr_t" >&6; }
70191 # ----------------- done all checks, emit header -------------
70192 ac_config_commands="$ac_config_commands include/gstdint.h"
70198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70199 $as_echo_n "checking for GNU c++filt... " >&6; }
70200 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70201 $as_echo_n "(cached) " >&6
70202 else
70203 if test -z "$CXXFILT"; then
70204 ac_path_CXXFILT_found=false
70205 # Loop through the user's path and test for each of PROGNAME-LIST
70206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70207 for as_dir in $PATH
70209 IFS=$as_save_IFS
70210 test -z "$as_dir" && as_dir=.
70211 for ac_prog in c++filt gc++filt; do
70212 for ac_exec_ext in '' $ac_executable_extensions; do
70213 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70214 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70215 # Check for GNU $ac_path_CXXFILT
70216 case `"$ac_path_CXXFILT" --version 2>&1` in
70217 *GNU*)
70218 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70219 esac
70221 $ac_path_CXXFILT_found && break 3
70222 done
70223 done
70224 done
70225 IFS=$as_save_IFS
70226 if test -z "$ac_cv_path_CXXFILT"; then
70229 else
70230 ac_cv_path_CXXFILT=$CXXFILT
70234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70235 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70236 CXXFILT=$ac_cv_path_CXXFILT
70240 # Check whether --enable-symvers was given.
70241 if test "${enable_symvers+set}" = set; then :
70242 enableval=$enable_symvers;
70243 case "$enableval" in
70244 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70245 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70246 esac
70248 else
70249 enable_symvers=yes
70254 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70255 # don't know enough about $LD to do tricks...
70257 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70258 # with extern "C++" in version scripts.
70261 # Turn a 'yes' into a suitable default.
70262 if test x$enable_symvers = xyes ; then
70263 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70264 enable_symvers=no
70265 else
70266 if test $with_gnu_ld = yes ; then
70267 case ${target_os} in
70268 hpux*)
70269 enable_symvers=no ;;
70271 enable_symvers=gnu ;;
70272 esac
70273 else
70274 case ${target_os} in
70275 darwin*)
70276 enable_symvers=darwin ;;
70277 # Sun symbol versioning exists since Solaris 2.5.
70278 solaris2.[5-9]* | solaris2.1[0-9]*)
70279 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70280 # version scripts, so disable symbol versioning if none can be
70281 # found.
70282 if test -z "$ac_cv_path_CXXFILT"; then
70283 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70284 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70286 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70288 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70289 enable_symvers=no
70290 else
70291 enable_symvers=sun
70295 enable_symvers=no ;;
70296 esac
70301 # Check to see if 'darwin' or 'darwin-export' can win.
70302 if test x$enable_symvers = xdarwin-export ; then
70303 enable_symvers=darwin
70306 # Check if 'sun' was requested on non-Solaris 2 platforms.
70307 if test x$enable_symvers = xsun ; then
70308 case ${target_os} in
70309 solaris2*)
70310 # All fine.
70313 # Unlikely to work.
70314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70315 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70317 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70319 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70320 enable_symvers=no
70322 esac
70325 # Check to see if 'gnu' can win.
70326 if test $enable_symvers = gnu ||
70327 test $enable_symvers = gnu-versioned-namespace ||
70328 test $enable_symvers = sun; then
70329 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70331 $as_echo_n "checking for shared libgcc... " >&6; }
70332 ac_save_CFLAGS="$CFLAGS"
70333 CFLAGS=' -lgcc_s'
70334 if test x$gcc_no_link = xyes; then
70335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70338 /* end confdefs.h. */
70341 main ()
70343 return 0;
70345 return 0;
70347 _ACEOF
70348 if ac_fn_c_try_link "$LINENO"; then :
70349 glibcxx_shared_libgcc=yes
70350 else
70351 glibcxx_shared_libgcc=no
70353 rm -f core conftest.err conftest.$ac_objext \
70354 conftest$ac_exeext conftest.$ac_ext
70355 CFLAGS="$ac_save_CFLAGS"
70356 if test $glibcxx_shared_libgcc = no; then
70357 cat > conftest.c <<EOF
70358 int main (void) { return 0; }
70360 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70361 -shared -shared-libgcc -o conftest.so \
70362 conftest.c -v 2>&1 >/dev/null \
70363 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70364 rm -f conftest.c conftest.so
70365 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70366 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70367 if test x$gcc_no_link = xyes; then
70368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70371 /* end confdefs.h. */
70374 main ()
70376 return 0;
70378 return 0;
70380 _ACEOF
70381 if ac_fn_c_try_link "$LINENO"; then :
70382 glibcxx_shared_libgcc=yes
70384 rm -f core conftest.err conftest.$ac_objext \
70385 conftest$ac_exeext conftest.$ac_ext
70386 CFLAGS="$ac_save_CFLAGS"
70389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70390 $as_echo "$glibcxx_shared_libgcc" >&6; }
70392 # For GNU ld, we need at least this version. The format is described in
70393 # GLIBCXX_CHECK_LINKER_FEATURES above.
70394 glibcxx_min_gnu_ld_version=21400
70396 # If no shared libgcc, can't win.
70397 if test $glibcxx_shared_libgcc != yes; then
70398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70399 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70401 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70402 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70403 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70404 enable_symvers=no
70405 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70406 : All interesting versions of Sun ld support sun style symbol versioning.
70407 elif test $with_gnu_ld != yes ; then
70408 # just fail for now
70409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70410 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70412 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70414 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70415 enable_symvers=no
70416 elif test $glibcxx_ld_is_gold = yes ; then
70417 : All versions of gold support symbol versioning.
70418 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70419 # The right tools, the right setup, but too old. Fallbacks?
70420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70421 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70423 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70425 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70426 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70427 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70428 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70429 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70430 enable_symvers=no
70434 # For libtool versioning info, format is CURRENT:REVISION:AGE
70435 libtool_VERSION=6:17:0
70437 # Everything parsed; figure out what files and settings to use.
70438 case $enable_symvers in
70440 SYMVER_FILE=config/abi/pre/none.ver
70442 gnu)
70443 SYMVER_FILE=config/abi/pre/gnu.ver
70445 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70448 gnu-versioned-namespace)
70449 libtool_VERSION=7:0:0
70450 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70452 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70455 darwin)
70456 SYMVER_FILE=config/abi/pre/gnu.ver
70458 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70461 sun)
70462 SYMVER_FILE=config/abi/pre/gnu.ver
70464 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70467 esac
70469 if test x$enable_symvers != xno ; then
70471 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70476 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70477 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70478 $as_echo_n "(cached) " >&6
70479 else
70481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70482 /* end confdefs.h. */
70483 void foo (void); __asm (".symver foo, bar@SYMVER");
70485 main ()
70489 return 0;
70491 _ACEOF
70492 if ac_fn_c_try_compile "$LINENO"; then :
70493 glibcxx_cv_have_as_symver_directive=yes
70494 else
70495 glibcxx_cv_have_as_symver_directive=no
70497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70500 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70501 if test $glibcxx_cv_have_as_symver_directive = yes; then
70503 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70514 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70515 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70517 if test $enable_symvers != no ; then
70518 case ${target_os} in
70519 # The Solaris 2 runtime linker doesn't support the GNU extension of
70520 # binding the same symbol to different versions
70521 solaris2*)
70523 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70526 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70529 esac
70532 # Now, set up compatibility support, if any.
70533 # In addition, need this to deal with std::size_t mangling in
70534 # src/compatibility.cc. In a perfect world, could use
70535 # typeid(std::size_t).name()[0] to do direct substitution.
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70537 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70538 ac_save_CFLAGS="$CFLAGS"
70539 CFLAGS="-Werror"
70540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70541 /* end confdefs.h. */
70544 main ()
70546 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70548 return 0;
70550 _ACEOF
70551 if ac_fn_c_try_compile "$LINENO"; then :
70552 glibcxx_size_t_is_i=yes
70553 else
70554 glibcxx_size_t_is_i=no
70556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70557 CFLAGS=$ac_save_CFLAGS
70558 if test "$glibcxx_size_t_is_i" = yes; then
70560 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70564 $as_echo "$glibcxx_size_t_is_i" >&6; }
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70567 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70568 ac_save_CFLAGS="$CFLAGS"
70569 CFLAGS="-Werror"
70570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70571 /* end confdefs.h. */
70574 main ()
70576 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70578 return 0;
70580 _ACEOF
70581 if ac_fn_c_try_compile "$LINENO"; then :
70582 glibcxx_ptrdiff_t_is_i=yes
70583 else
70584 glibcxx_ptrdiff_t_is_i=no
70586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70587 CFLAGS=$ac_save_CFLAGS
70588 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70590 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70594 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70599 # Check whether --enable-libstdcxx-visibility was given.
70600 if test "${enable_libstdcxx_visibility+set}" = set; then :
70601 enableval=$enable_libstdcxx_visibility;
70602 case "$enableval" in
70603 yes|no) ;;
70604 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70605 esac
70607 else
70608 enable_libstdcxx_visibility=yes
70613 if test x$enable_libstdcxx_visibility = xyes ; then
70614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70615 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70616 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70617 $as_echo_n "(cached) " >&6
70618 else
70620 save_CFLAGS="$CFLAGS"
70621 CFLAGS="$CFLAGS -Werror"
70622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70623 /* end confdefs.h. */
70624 void __attribute__((visibility("hidden"))) foo(void) { }
70626 main ()
70630 return 0;
70632 _ACEOF
70633 if ac_fn_c_try_compile "$LINENO"; then :
70634 glibcxx_cv_have_attribute_visibility=yes
70635 else
70636 glibcxx_cv_have_attribute_visibility=no
70638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70639 CFLAGS="$save_CFLAGS"
70641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70642 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70643 if test $glibcxx_cv_have_attribute_visibility = no; then
70644 enable_libstdcxx_visibility=no
70649 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70650 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70653 ac_ldbl_compat=no
70654 case "$target" in
70655 powerpc*-*-linux* | \
70656 sparc*-*-linux* | \
70657 s390*-*-linux* | \
70658 alpha*-*-linux*)
70659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70660 /* end confdefs.h. */
70663 main ()
70666 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70667 #error no need for long double compatibility
70668 #endif
70671 return 0;
70673 _ACEOF
70674 if ac_fn_c_try_compile "$LINENO"; then :
70675 ac_ldbl_compat=yes
70676 else
70677 ac_ldbl_compat=no
70679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70680 if test "$ac_ldbl_compat" = yes; then
70682 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70684 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70686 esac
70689 # Check if assembler supports disabling hardware capability support.
70691 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70693 ac_save_CFLAGS="$CFLAGS"
70694 CFLAGS="$CFLAGS -Wa,-nH"
70696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70697 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70699 /* end confdefs.h. */
70702 main ()
70704 return 0;
70706 return 0;
70708 _ACEOF
70709 if ac_fn_c_try_compile "$LINENO"; then :
70710 ac_hwcap_flags=yes
70711 else
70712 ac_hwcap_flags=no
70714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70715 if test "$ac_hwcap_flags" = "yes"; then
70716 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70719 $as_echo "$ac_hwcap_flags" >&6; }
70721 CFLAGS="$ac_save_CFLAGS"
70726 # Check if assembler supports rdrand opcode.
70728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70729 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70730 if test "${ac_cv_x86_rdrand+set}" = set; then :
70731 $as_echo_n "(cached) " >&6
70732 else
70734 ac_cv_x86_rdrand=no
70735 case "$target" in
70736 i?86-*-* | \
70737 x86_64-*-*)
70738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70739 /* end confdefs.h. */
70742 main ()
70744 asm("rdrand %eax");
70746 return 0;
70748 _ACEOF
70749 if ac_fn_c_try_compile "$LINENO"; then :
70750 ac_cv_x86_rdrand=yes
70751 else
70752 ac_cv_x86_rdrand=no
70754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70755 esac
70759 if test $ac_cv_x86_rdrand = yes; then
70761 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70765 $as_echo "$ac_cv_x86_rdrand" >&6; }
70768 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70770 if $GLIBCXX_IS_NATIVE ; then
70771 # Do checks for resource limit functions.
70773 setrlimit_have_headers=yes
70774 for ac_header in unistd.h sys/time.h sys/resource.h
70775 do :
70776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70778 eval as_val=\$$as_ac_Header
70779 if test "x$as_val" = x""yes; then :
70780 cat >>confdefs.h <<_ACEOF
70781 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70782 _ACEOF
70784 else
70785 setrlimit_have_headers=no
70788 done
70790 # If don't have the headers, then we can't run the tests now, and we
70791 # won't be seeing any of these during testsuite compilation.
70792 if test $setrlimit_have_headers = yes; then
70793 # Can't do these in a loop, else the resulting syntax is wrong.
70795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70796 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70798 /* end confdefs.h. */
70799 #include <unistd.h>
70800 #include <sys/time.h>
70801 #include <sys/resource.h>
70804 main ()
70806 int f = RLIMIT_DATA ;
70808 return 0;
70810 _ACEOF
70811 if ac_fn_c_try_compile "$LINENO"; then :
70812 glibcxx_mresult=1
70813 else
70814 glibcxx_mresult=0
70816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70818 cat >>confdefs.h <<_ACEOF
70819 #define HAVE_LIMIT_DATA $glibcxx_mresult
70820 _ACEOF
70822 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70824 $as_echo "$res" >&6; }
70827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70828 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70830 /* end confdefs.h. */
70831 #include <unistd.h>
70832 #include <sys/time.h>
70833 #include <sys/resource.h>
70836 main ()
70838 int f = RLIMIT_RSS ;
70840 return 0;
70842 _ACEOF
70843 if ac_fn_c_try_compile "$LINENO"; then :
70844 glibcxx_mresult=1
70845 else
70846 glibcxx_mresult=0
70848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70850 cat >>confdefs.h <<_ACEOF
70851 #define HAVE_LIMIT_RSS $glibcxx_mresult
70852 _ACEOF
70854 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70856 $as_echo "$res" >&6; }
70859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70860 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70862 /* end confdefs.h. */
70863 #include <unistd.h>
70864 #include <sys/time.h>
70865 #include <sys/resource.h>
70868 main ()
70870 int f = RLIMIT_VMEM ;
70872 return 0;
70874 _ACEOF
70875 if ac_fn_c_try_compile "$LINENO"; then :
70876 glibcxx_mresult=1
70877 else
70878 glibcxx_mresult=0
70880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70882 cat >>confdefs.h <<_ACEOF
70883 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70884 _ACEOF
70886 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70888 $as_echo "$res" >&6; }
70891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70892 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70894 /* end confdefs.h. */
70895 #include <unistd.h>
70896 #include <sys/time.h>
70897 #include <sys/resource.h>
70900 main ()
70902 int f = RLIMIT_AS ;
70904 return 0;
70906 _ACEOF
70907 if ac_fn_c_try_compile "$LINENO"; then :
70908 glibcxx_mresult=1
70909 else
70910 glibcxx_mresult=0
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70914 cat >>confdefs.h <<_ACEOF
70915 #define HAVE_LIMIT_AS $glibcxx_mresult
70916 _ACEOF
70918 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70920 $as_echo "$res" >&6; }
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70924 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70926 /* end confdefs.h. */
70927 #include <unistd.h>
70928 #include <sys/time.h>
70929 #include <sys/resource.h>
70932 main ()
70934 int f = RLIMIT_FSIZE ;
70936 return 0;
70938 _ACEOF
70939 if ac_fn_c_try_compile "$LINENO"; then :
70940 glibcxx_mresult=1
70941 else
70942 glibcxx_mresult=0
70944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70946 cat >>confdefs.h <<_ACEOF
70947 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70948 _ACEOF
70950 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70952 $as_echo "$res" >&6; }
70955 # Check for rlimit, setrlimit.
70956 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70957 $as_echo_n "(cached) " >&6
70958 else
70960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70961 /* end confdefs.h. */
70962 #include <unistd.h>
70963 #include <sys/time.h>
70964 #include <sys/resource.h>
70967 main ()
70969 struct rlimit r;
70970 setrlimit(0, &r);
70972 return 0;
70974 _ACEOF
70975 if ac_fn_c_try_compile "$LINENO"; then :
70976 glibcxx_cv_setrlimit=yes
70977 else
70978 glibcxx_cv_setrlimit=no
70980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70987 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70988 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70989 ac_res_limits=yes
70991 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70993 else
70994 ac_res_limits=no
70996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70997 $as_echo "$ac_res_limits" >&6; }
71000 # Look for setenv, so that extended locale tests can be performed.
71002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71003 $as_echo_n "checking for setenv declaration... " >&6; }
71004 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71005 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71006 $as_echo_n "(cached) " >&6
71007 else
71010 ac_ext=cpp
71011 ac_cpp='$CXXCPP $CPPFLAGS'
71012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include <stdlib.h>
71020 main ()
71022 setenv(0, 0, 0);
71024 return 0;
71026 _ACEOF
71027 if ac_fn_cxx_try_compile "$LINENO"; then :
71028 glibcxx_cv_func_setenv_use=yes
71029 else
71030 glibcxx_cv_func_setenv_use=no
71032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71033 ac_ext=c
71034 ac_cpp='$CPP $CPPFLAGS'
71035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71044 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71045 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71046 for ac_func in setenv
71047 do :
71048 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71049 if test "x$ac_cv_func_setenv" = x""yes; then :
71050 cat >>confdefs.h <<_ACEOF
71051 #define HAVE_SETENV 1
71052 _ACEOF
71055 done
71061 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71062 test $enable_symvers != no; then
71063 case "$host" in
71064 *-*-cygwin*)
71065 enable_abi_check=no ;;
71067 enable_abi_check=yes ;;
71068 esac
71069 else
71070 # Only build this as native, since automake does not understand
71071 # CXX_FOR_BUILD.
71072 enable_abi_check=no
71075 # Export file names for ABI checking.
71076 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71078 baseline_subdir_switch="$abi_baseline_subdir_switch"
71082 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71084 # Check whether --enable-libstdcxx-threads was given.
71085 if test "${enable_libstdcxx_threads+set}" = set; then :
71086 enableval=$enable_libstdcxx_threads;
71087 case "$enableval" in
71088 yes|no) ;;
71089 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71090 esac
71092 else
71093 enable_libstdcxx_threads=auto
71098 if test x$enable_libstdcxx_threads = xauto ||
71099 test x$enable_libstdcxx_threads = xyes; then
71102 ac_ext=cpp
71103 ac_cpp='$CXXCPP $CPPFLAGS'
71104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71109 ac_save_CXXFLAGS="$CXXFLAGS"
71110 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71111 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71113 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71114 case $target_thread_file in
71115 posix)
71116 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71117 esac
71119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71120 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71123 /* end confdefs.h. */
71124 #include <unistd.h>
71126 main ()
71129 // In case of POSIX threads check _POSIX_TIMEOUTS.
71130 #if (defined(_PTHREADS) \
71131 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71132 #error
71133 #endif
71136 return 0;
71138 _ACEOF
71139 if ac_fn_cxx_try_compile "$LINENO"; then :
71140 ac_gthread_use_mutex_timedlock=1
71141 else
71142 ac_gthread_use_mutex_timedlock=0
71144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71147 cat >>confdefs.h <<_ACEOF
71148 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71149 _ACEOF
71152 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71153 else res_mutex_timedlock=no ; fi
71154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71155 $as_echo "$res_mutex_timedlock" >&6; }
71157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71158 $as_echo_n "checking for gthreads library... " >&6; }
71160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71161 /* end confdefs.h. */
71162 #include "gthr.h"
71164 main ()
71167 #ifndef __GTHREADS_CXX0X
71168 #error
71169 #endif
71172 return 0;
71174 _ACEOF
71175 if ac_fn_cxx_try_compile "$LINENO"; then :
71176 case $target_os in
71177 # gthreads support breaks symbol versioning on Solaris 9 (PR
71178 # libstdc++/52189).
71179 solaris2.9*)
71180 if test x$enable_symvers = xno; then
71181 ac_has_gthreads=yes
71182 elif test x$enable_libstdcxx_threads = xyes; then
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71184 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71186 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71187 ac_has_gthreads=yes
71188 else
71189 ac_has_gthreads=no
71193 ac_has_gthreads=yes
71195 esac
71196 else
71197 ac_has_gthreads=no
71199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71200 else
71201 ac_has_gthreads=no
71204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71205 $as_echo "$ac_has_gthreads" >&6; }
71207 if test x"$ac_has_gthreads" = x"yes"; then
71209 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71213 CXXFLAGS="$ac_save_CXXFLAGS"
71214 ac_ext=c
71215 ac_cpp='$CPP $CPPFLAGS'
71216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71222 # Define documentation rules conditionally.
71224 # See if makeinfo has been installed and is modern enough
71225 # that we can use it.
71227 # Extract the first word of "makeinfo", so it can be a program name with args.
71228 set dummy makeinfo; 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_MAKEINFO+set}" = set; then :
71232 $as_echo_n "(cached) " >&6
71233 else
71234 if test -n "$MAKEINFO"; then
71235 ac_cv_prog_MAKEINFO="$MAKEINFO" # 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_MAKEINFO="makeinfo"
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
71254 MAKEINFO=$ac_cv_prog_MAKEINFO
71255 if test -n "$MAKEINFO"; then
71256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71257 $as_echo "$MAKEINFO" >&6; }
71258 else
71259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71260 $as_echo "no" >&6; }
71264 if test -n "$MAKEINFO"; then
71265 # Found it, now check the version.
71266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71267 $as_echo_n "checking for modern makeinfo... " >&6; }
71268 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71269 $as_echo_n "(cached) " >&6
71270 else
71271 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71272 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71274 case $ac_prog_version in
71275 '') gcc_cv_prog_makeinfo_modern=no;;
71276 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71277 *) gcc_cv_prog_makeinfo_modern=no;;
71278 esac
71281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71282 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71283 else
71284 gcc_cv_prog_makeinfo_modern=no
71286 if test $gcc_cv_prog_makeinfo_modern = no; then
71287 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71290 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71291 BUILD_INFO_TRUE=
71292 BUILD_INFO_FALSE='#'
71293 else
71294 BUILD_INFO_TRUE='#'
71295 BUILD_INFO_FALSE=
71299 # Check for doxygen
71300 # Extract the first word of "doxygen", so it can be a program name with args.
71301 set dummy doxygen; ac_word=$2
71302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71303 $as_echo_n "checking for $ac_word... " >&6; }
71304 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71305 $as_echo_n "(cached) " >&6
71306 else
71307 if test -n "$DOXYGEN"; then
71308 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71309 else
71310 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71311 for as_dir in $PATH
71313 IFS=$as_save_IFS
71314 test -z "$as_dir" && as_dir=.
71315 for ac_exec_ext in '' $ac_executable_extensions; do
71316 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71317 ac_cv_prog_DOXYGEN="yes"
71318 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71319 break 2
71321 done
71322 done
71323 IFS=$as_save_IFS
71325 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71328 DOXYGEN=$ac_cv_prog_DOXYGEN
71329 if test -n "$DOXYGEN"; then
71330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71331 $as_echo "$DOXYGEN" >&6; }
71332 else
71333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71334 $as_echo "no" >&6; }
71338 # Extract the first word of "dot", so it can be a program name with args.
71339 set dummy dot; ac_word=$2
71340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71341 $as_echo_n "checking for $ac_word... " >&6; }
71342 if test "${ac_cv_prog_DOT+set}" = set; then :
71343 $as_echo_n "(cached) " >&6
71344 else
71345 if test -n "$DOT"; then
71346 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71347 else
71348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71349 for as_dir in $PATH
71351 IFS=$as_save_IFS
71352 test -z "$as_dir" && as_dir=.
71353 for ac_exec_ext in '' $ac_executable_extensions; do
71354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71355 ac_cv_prog_DOT="yes"
71356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71357 break 2
71359 done
71360 done
71361 IFS=$as_save_IFS
71363 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71366 DOT=$ac_cv_prog_DOT
71367 if test -n "$DOT"; then
71368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71369 $as_echo "$DOT" >&6; }
71370 else
71371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71372 $as_echo "no" >&6; }
71377 # Check for docbook
71378 # Extract the first word of "xsltproc", so it can be a program name with args.
71379 set dummy xsltproc; ac_word=$2
71380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71381 $as_echo_n "checking for $ac_word... " >&6; }
71382 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71383 $as_echo_n "(cached) " >&6
71384 else
71385 if test -n "$XSLTPROC"; then
71386 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71387 else
71388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71389 for as_dir in $PATH
71391 IFS=$as_save_IFS
71392 test -z "$as_dir" && as_dir=.
71393 for ac_exec_ext in '' $ac_executable_extensions; do
71394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71395 ac_cv_prog_XSLTPROC="yes"
71396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71397 break 2
71399 done
71400 done
71401 IFS=$as_save_IFS
71403 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71406 XSLTPROC=$ac_cv_prog_XSLTPROC
71407 if test -n "$XSLTPROC"; then
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71409 $as_echo "$XSLTPROC" >&6; }
71410 else
71411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71412 $as_echo "no" >&6; }
71416 # Extract the first word of "xmllint", so it can be a program name with args.
71417 set dummy xmllint; ac_word=$2
71418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71419 $as_echo_n "checking for $ac_word... " >&6; }
71420 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71421 $as_echo_n "(cached) " >&6
71422 else
71423 if test -n "$XMLLINT"; then
71424 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71425 else
71426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71427 for as_dir in $PATH
71429 IFS=$as_save_IFS
71430 test -z "$as_dir" && as_dir=.
71431 for ac_exec_ext in '' $ac_executable_extensions; do
71432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71433 ac_cv_prog_XMLLINT="yes"
71434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71435 break 2
71437 done
71438 done
71439 IFS=$as_save_IFS
71441 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71444 XMLLINT=$ac_cv_prog_XMLLINT
71445 if test -n "$XMLLINT"; then
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71447 $as_echo "$XMLLINT" >&6; }
71448 else
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71450 $as_echo "no" >&6; }
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71457 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71458 glibcxx_stylesheets=no
71459 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
71460 glibcxx_stylesheets=yes
71462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71463 $as_echo "$glibcxx_stylesheets" >&6; }
71465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71466 $as_echo_n "checking for local stylesheet directory... " >&6; }
71467 glibcxx_local_stylesheets=no
71468 if test x"$glibcxx_stylesheets" = x"yes"; then
71469 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71470 glibcxx_local_stylesheets=yes
71471 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71473 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71474 glibcxx_local_stylesheets=yes
71475 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71479 $as_echo "$glibcxx_local_stylesheets" >&6; }
71481 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71483 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71484 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71485 else
71486 glibcxx_stylesheets=no
71489 # Check for epub3 dependencies.
71490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71491 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71492 glibcxx_epub_stylesheets=no
71493 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71494 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71495 glibcxx_epub_stylesheets=yes
71498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71499 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71500 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71501 BUILD_EPUB_TRUE=
71502 BUILD_EPUB_FALSE='#'
71503 else
71504 BUILD_EPUB_TRUE='#'
71505 BUILD_EPUB_FALSE=
71511 # Check for xml/html dependencies.
71512 if test $ac_cv_prog_DOXYGEN = "yes" &&
71513 test $ac_cv_prog_DOT = "yes" &&
71514 test $ac_cv_prog_XSLTPROC = "yes" &&
71515 test $ac_cv_prog_XMLLINT = "yes" &&
71516 test $glibcxx_stylesheets = "yes"; then
71517 BUILD_XML_TRUE=
71518 BUILD_XML_FALSE='#'
71519 else
71520 BUILD_XML_TRUE='#'
71521 BUILD_XML_FALSE=
71525 if test $ac_cv_prog_DOXYGEN = "yes" &&
71526 test $ac_cv_prog_DOT = "yes" &&
71527 test $ac_cv_prog_XSLTPROC = "yes" &&
71528 test $ac_cv_prog_XMLLINT = "yes" &&
71529 test $glibcxx_stylesheets = "yes"; then
71530 BUILD_HTML_TRUE=
71531 BUILD_HTML_FALSE='#'
71532 else
71533 BUILD_HTML_TRUE='#'
71534 BUILD_HTML_FALSE=
71538 # Check for man dependencies.
71539 if test $ac_cv_prog_DOXYGEN = "yes" &&
71540 test $ac_cv_prog_DOT = "yes"; then
71541 BUILD_MAN_TRUE=
71542 BUILD_MAN_FALSE='#'
71543 else
71544 BUILD_MAN_TRUE='#'
71545 BUILD_MAN_FALSE=
71549 # Check for pdf dependencies.
71550 # Extract the first word of "dblatex", so it can be a program name with args.
71551 set dummy dblatex; ac_word=$2
71552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71553 $as_echo_n "checking for $ac_word... " >&6; }
71554 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71555 $as_echo_n "(cached) " >&6
71556 else
71557 if test -n "$DBLATEX"; then
71558 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71559 else
71560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71561 for as_dir in $PATH
71563 IFS=$as_save_IFS
71564 test -z "$as_dir" && as_dir=.
71565 for ac_exec_ext in '' $ac_executable_extensions; do
71566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71567 ac_cv_prog_DBLATEX="yes"
71568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71569 break 2
71571 done
71572 done
71573 IFS=$as_save_IFS
71575 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71578 DBLATEX=$ac_cv_prog_DBLATEX
71579 if test -n "$DBLATEX"; then
71580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71581 $as_echo "$DBLATEX" >&6; }
71582 else
71583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71584 $as_echo "no" >&6; }
71588 # Extract the first word of "pdflatex", so it can be a program name with args.
71589 set dummy pdflatex; ac_word=$2
71590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71591 $as_echo_n "checking for $ac_word... " >&6; }
71592 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71593 $as_echo_n "(cached) " >&6
71594 else
71595 if test -n "$PDFLATEX"; then
71596 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71597 else
71598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71599 for as_dir in $PATH
71601 IFS=$as_save_IFS
71602 test -z "$as_dir" && as_dir=.
71603 for ac_exec_ext in '' $ac_executable_extensions; do
71604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71605 ac_cv_prog_PDFLATEX="yes"
71606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71607 break 2
71609 done
71610 done
71611 IFS=$as_save_IFS
71613 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71616 PDFLATEX=$ac_cv_prog_PDFLATEX
71617 if test -n "$PDFLATEX"; then
71618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71619 $as_echo "$PDFLATEX" >&6; }
71620 else
71621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71622 $as_echo "no" >&6; }
71626 if test $ac_cv_prog_DBLATEX = "yes" &&
71627 test $ac_cv_prog_PDFLATEX = "yes"; then
71628 BUILD_PDF_TRUE=
71629 BUILD_PDF_FALSE='#'
71630 else
71631 BUILD_PDF_TRUE='#'
71632 BUILD_PDF_FALSE=
71637 # Propagate the target-specific source directories through the build chain.
71638 ATOMICITY_SRCDIR=config/${atomicity_dir}
71639 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71640 ATOMIC_FLAGS=${atomic_flags}
71641 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71642 OS_INC_SRCDIR=config/${os_include_dir}
71643 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71644 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71645 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71656 # Determine cross-compile flags and AM_CONDITIONALs.
71657 #AC_SUBST(GLIBCXX_IS_NATIVE)
71658 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71659 if test $is_hosted = yes; then
71660 GLIBCXX_HOSTED_TRUE=
71661 GLIBCXX_HOSTED_FALSE='#'
71662 else
71663 GLIBCXX_HOSTED_TRUE='#'
71664 GLIBCXX_HOSTED_FALSE=
71668 if test $enable_libstdcxx_pch = yes; then
71669 GLIBCXX_BUILD_PCH_TRUE=
71670 GLIBCXX_BUILD_PCH_FALSE='#'
71671 else
71672 GLIBCXX_BUILD_PCH_TRUE='#'
71673 GLIBCXX_BUILD_PCH_FALSE=
71677 if test $enable_cheaders = c; then
71678 GLIBCXX_C_HEADERS_C_TRUE=
71679 GLIBCXX_C_HEADERS_C_FALSE='#'
71680 else
71681 GLIBCXX_C_HEADERS_C_TRUE='#'
71682 GLIBCXX_C_HEADERS_C_FALSE=
71686 if test $enable_cheaders = c_std; then
71687 GLIBCXX_C_HEADERS_C_STD_TRUE=
71688 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71689 else
71690 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71691 GLIBCXX_C_HEADERS_C_STD_FALSE=
71695 if test $enable_cheaders = c_global; then
71696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71697 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71698 else
71699 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71700 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71704 if test $c_compatibility = yes; then
71705 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71706 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71707 else
71708 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71709 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71713 if test $enable_libstdcxx_debug = yes; then
71714 GLIBCXX_BUILD_DEBUG_TRUE=
71715 GLIBCXX_BUILD_DEBUG_FALSE='#'
71716 else
71717 GLIBCXX_BUILD_DEBUG_TRUE='#'
71718 GLIBCXX_BUILD_DEBUG_FALSE=
71722 if test $enable_parallel = yes; then
71723 ENABLE_PARALLEL_TRUE=
71724 ENABLE_PARALLEL_FALSE='#'
71725 else
71726 ENABLE_PARALLEL_TRUE='#'
71727 ENABLE_PARALLEL_FALSE=
71731 if test $enable_extern_template = yes; then
71732 ENABLE_EXTERN_TEMPLATE_TRUE=
71733 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71734 else
71735 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71736 ENABLE_EXTERN_TEMPLATE_FALSE=
71740 if test $python_mod_dir != no; then
71741 ENABLE_PYTHONDIR_TRUE=
71742 ENABLE_PYTHONDIR_FALSE='#'
71743 else
71744 ENABLE_PYTHONDIR_TRUE='#'
71745 ENABLE_PYTHONDIR_FALSE=
71749 if test $enable_werror = yes; then
71750 ENABLE_WERROR_TRUE=
71751 ENABLE_WERROR_FALSE='#'
71752 else
71753 ENABLE_WERROR_TRUE='#'
71754 ENABLE_WERROR_FALSE=
71758 if test $enable_symvers != no; then
71759 ENABLE_SYMVERS_TRUE=
71760 ENABLE_SYMVERS_FALSE='#'
71761 else
71762 ENABLE_SYMVERS_TRUE='#'
71763 ENABLE_SYMVERS_FALSE=
71767 if test $enable_symvers = gnu; then
71768 ENABLE_SYMVERS_GNU_TRUE=
71769 ENABLE_SYMVERS_GNU_FALSE='#'
71770 else
71771 ENABLE_SYMVERS_GNU_TRUE='#'
71772 ENABLE_SYMVERS_GNU_FALSE=
71776 if test $enable_symvers = gnu-versioned-namespace; then
71777 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71778 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71779 else
71780 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71781 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71785 if test $enable_symvers = darwin; then
71786 ENABLE_SYMVERS_DARWIN_TRUE=
71787 ENABLE_SYMVERS_DARWIN_FALSE='#'
71788 else
71789 ENABLE_SYMVERS_DARWIN_TRUE='#'
71790 ENABLE_SYMVERS_DARWIN_FALSE=
71794 if test $enable_symvers = sun; then
71795 ENABLE_SYMVERS_SUN_TRUE=
71796 ENABLE_SYMVERS_SUN_FALSE='#'
71797 else
71798 ENABLE_SYMVERS_SUN_TRUE='#'
71799 ENABLE_SYMVERS_SUN_FALSE=
71803 if test $enable_libstdcxx_visibility = yes; then
71804 ENABLE_VISIBILITY_TRUE=
71805 ENABLE_VISIBILITY_FALSE='#'
71806 else
71807 ENABLE_VISIBILITY_TRUE='#'
71808 ENABLE_VISIBILITY_FALSE=
71812 if test $ac_ldbl_compat = yes; then
71813 GLIBCXX_LDBL_COMPAT_TRUE=
71814 GLIBCXX_LDBL_COMPAT_FALSE='#'
71815 else
71816 GLIBCXX_LDBL_COMPAT_TRUE='#'
71817 GLIBCXX_LDBL_COMPAT_FALSE=
71823 cat >confcache <<\_ACEOF
71824 # This file is a shell script that caches the results of configure
71825 # tests run on this system so they can be shared between configure
71826 # scripts and configure runs, see configure's option --config-cache.
71827 # It is not useful on other systems. If it contains results you don't
71828 # want to keep, you may remove or edit it.
71830 # config.status only pays attention to the cache file if you give it
71831 # the --recheck option to rerun configure.
71833 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71834 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71835 # following values.
71837 _ACEOF
71839 # The following way of writing the cache mishandles newlines in values,
71840 # but we know of no workaround that is simple, portable, and efficient.
71841 # So, we kill variables containing newlines.
71842 # Ultrix sh set writes to stderr and can't be redirected directly,
71843 # and sets the high bit in the cache file unless we assign to the vars.
71845 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71846 eval ac_val=\$$ac_var
71847 case $ac_val in #(
71848 *${as_nl}*)
71849 case $ac_var in #(
71850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71852 esac
71853 case $ac_var in #(
71854 _ | IFS | as_nl) ;; #(
71855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71856 *) { eval $ac_var=; unset $ac_var;} ;;
71857 esac ;;
71858 esac
71859 done
71861 (set) 2>&1 |
71862 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71863 *${as_nl}ac_space=\ *)
71864 # `set' does not quote correctly, so add quotes: double-quote
71865 # substitution turns \\\\ into \\, and sed turns \\ into \.
71866 sed -n \
71867 "s/'/'\\\\''/g;
71868 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71869 ;; #(
71871 # `set' quotes correctly as required by POSIX, so do not add quotes.
71872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71874 esac |
71875 sort
71877 sed '
71878 /^ac_cv_env_/b end
71879 t clear
71880 :clear
71881 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71882 t end
71883 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71884 :end' >>confcache
71885 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71886 if test -w "$cache_file"; then
71887 test "x$cache_file" != "x/dev/null" &&
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71889 $as_echo "$as_me: updating cache $cache_file" >&6;}
71890 cat confcache >$cache_file
71891 else
71892 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71893 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71896 rm -f confcache
71898 if test ${multilib} = yes; then
71899 multilib_arg="--enable-multilib"
71900 else
71901 multilib_arg=
71904 # Export all the install information.
71906 glibcxx_toolexecdir=no
71907 glibcxx_toolexeclibdir=no
71908 glibcxx_prefixdir=$prefix
71910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71911 $as_echo_n "checking for gxx-include-dir... " >&6; }
71913 # Check whether --with-gxx-include-dir was given.
71914 if test "${with_gxx_include_dir+set}" = set; then :
71915 withval=$with_gxx_include_dir; case "$withval" in
71916 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71917 no) gxx_include_dir=no ;;
71918 *) gxx_include_dir=$withval ;;
71919 esac
71920 else
71921 gxx_include_dir=no
71924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71925 $as_echo "$gxx_include_dir" >&6; }
71927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71928 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71929 # Check whether --enable-version-specific-runtime-libs was given.
71930 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71931 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71932 yes) version_specific_libs=yes ;;
71933 no) version_specific_libs=no ;;
71934 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71935 esac
71936 else
71937 version_specific_libs=no
71940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71941 $as_echo "$version_specific_libs" >&6; }
71943 # Default case for install directory for include files.
71944 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71945 gxx_include_dir='include/c++/${gcc_version}'
71946 if test -n "$with_cross_host" &&
71947 test x"$with_cross_host" != x"no"; then
71948 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71949 else
71950 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71954 # Version-specific runtime libs processing.
71955 if test $version_specific_libs = yes; then
71956 # Need the gcc compiler version to know where to install libraries
71957 # and header files if --enable-version-specific-runtime-libs option
71958 # is selected. FIXME: these variables are misnamed, there are
71959 # no executables installed in _toolexecdir or _toolexeclibdir.
71960 if test x"$gxx_include_dir" = x"no"; then
71961 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71963 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71964 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71967 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71968 # Install a library built with a cross compiler in tooldir, not libdir.
71969 if test x"$glibcxx_toolexecdir" = x"no"; then
71970 if test -n "$with_cross_host" &&
71971 test x"$with_cross_host" != x"no"; then
71972 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71973 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71974 else
71975 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71976 glibcxx_toolexeclibdir='${libdir}'
71978 multi_os_directory=`$CXX -print-multi-os-directory`
71979 case $multi_os_directory in
71980 .) ;; # Avoid trailing /.
71981 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71982 esac
71985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71986 $as_echo_n "checking for install location... " >&6; }
71987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71988 $as_echo "$gxx_include_dir" >&6; }
71996 # Export all the include and flag information to Makefiles.
71998 # Used for every C++ compile we perform.
71999 GLIBCXX_INCLUDES="\
72000 -I$glibcxx_builddir/include/$host_alias \
72001 -I$glibcxx_builddir/include \
72002 -I$glibcxx_srcdir/libsupc++"
72004 # For Canadian crosses, pick this up too.
72005 if test $CANADIAN = yes; then
72006 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72009 # Stuff in the actual top level. Currently only used by libsupc++ to
72010 # get unwind* headers from the libgcc dir.
72011 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72012 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72014 # Now, export this to all the little Makefiles....
72019 # Optimization flags that are probably a good idea for thrill-seekers. Just
72020 # uncomment the lines below and make, everything else is ready to go...
72021 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72022 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72025 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72029 ac_config_files="$ac_config_files Makefile"
72031 ac_config_files="$ac_config_files scripts/testsuite_flags"
72033 ac_config_files="$ac_config_files scripts/extract_symvers"
72035 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72038 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72039 # that multilib installs will end up installed in the correct place.
72040 # The testsuite needs it for multilib-aware ABI baseline files.
72041 # To work around this not being passed down from config-ml.in ->
72042 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72043 # append it here. Only modify Makefiles that have just been created.
72045 # Also, get rid of this simulated-VPATH thing that automake does.
72046 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"
72049 ac_config_commands="$ac_config_commands generate-headers"
72052 cat >confcache <<\_ACEOF
72053 # This file is a shell script that caches the results of configure
72054 # tests run on this system so they can be shared between configure
72055 # scripts and configure runs, see configure's option --config-cache.
72056 # It is not useful on other systems. If it contains results you don't
72057 # want to keep, you may remove or edit it.
72059 # config.status only pays attention to the cache file if you give it
72060 # the --recheck option to rerun configure.
72062 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72063 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72064 # following values.
72066 _ACEOF
72068 # The following way of writing the cache mishandles newlines in values,
72069 # but we know of no workaround that is simple, portable, and efficient.
72070 # So, we kill variables containing newlines.
72071 # Ultrix sh set writes to stderr and can't be redirected directly,
72072 # and sets the high bit in the cache file unless we assign to the vars.
72074 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72075 eval ac_val=\$$ac_var
72076 case $ac_val in #(
72077 *${as_nl}*)
72078 case $ac_var in #(
72079 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72080 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72081 esac
72082 case $ac_var in #(
72083 _ | IFS | as_nl) ;; #(
72084 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72085 *) { eval $ac_var=; unset $ac_var;} ;;
72086 esac ;;
72087 esac
72088 done
72090 (set) 2>&1 |
72091 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72092 *${as_nl}ac_space=\ *)
72093 # `set' does not quote correctly, so add quotes: double-quote
72094 # substitution turns \\\\ into \\, and sed turns \\ into \.
72095 sed -n \
72096 "s/'/'\\\\''/g;
72097 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72098 ;; #(
72100 # `set' quotes correctly as required by POSIX, so do not add quotes.
72101 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72103 esac |
72104 sort
72106 sed '
72107 /^ac_cv_env_/b end
72108 t clear
72109 :clear
72110 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72111 t end
72112 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72113 :end' >>confcache
72114 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72115 if test -w "$cache_file"; then
72116 test "x$cache_file" != "x/dev/null" &&
72117 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72118 $as_echo "$as_me: updating cache $cache_file" >&6;}
72119 cat confcache >$cache_file
72120 else
72121 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72122 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72125 rm -f confcache
72127 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72128 # Let make expand exec_prefix.
72129 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72131 DEFS=-DHAVE_CONFIG_H
72133 ac_libobjs=
72134 ac_ltlibobjs=
72135 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72136 # 1. Remove the extension, and $U if already installed.
72137 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72138 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72139 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72140 # will be set to the directory where LIBOBJS objects are built.
72141 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72142 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72143 done
72144 LIBOBJS=$ac_libobjs
72146 LTLIBOBJS=$ac_ltlibobjs
72149 if test -n "$EXEEXT"; then
72150 am__EXEEXT_TRUE=
72151 am__EXEEXT_FALSE='#'
72152 else
72153 am__EXEEXT_TRUE='#'
72154 am__EXEEXT_FALSE=
72157 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72158 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72159 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72161 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72162 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72163 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72165 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72166 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72167 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72169 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72170 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72171 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72173 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72174 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72175 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72177 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72178 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72179 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72181 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72182 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72183 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72185 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72186 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72187 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72189 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72190 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72191 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72193 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72194 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72195 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72197 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72198 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72199 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72201 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72202 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72203 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72205 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72206 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72207 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72209 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72210 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72211 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72213 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72214 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72215 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72217 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72218 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72219 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72221 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72222 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72223 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72225 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72226 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72227 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72229 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72230 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72231 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72233 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72234 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72235 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72237 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72238 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72239 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72241 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72242 as_fn_error "conditional \"BUILD_XML\" was never defined.
72243 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72245 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72246 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72247 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72249 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72250 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72251 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72253 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72254 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72258 : ${CONFIG_STATUS=./config.status}
72259 ac_write_fail=0
72260 ac_clean_files_save=$ac_clean_files
72261 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72262 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72263 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72264 as_write_fail=0
72265 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72266 #! $SHELL
72267 # Generated by $as_me.
72268 # Run this file to recreate the current configuration.
72269 # Compiler output produced by configure, useful for debugging
72270 # configure, is in config.log if it exists.
72272 debug=false
72273 ac_cs_recheck=false
72274 ac_cs_silent=false
72276 SHELL=\${CONFIG_SHELL-$SHELL}
72277 export SHELL
72278 _ASEOF
72279 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72280 ## -------------------- ##
72281 ## M4sh Initialization. ##
72282 ## -------------------- ##
72284 # Be more Bourne compatible
72285 DUALCASE=1; export DUALCASE # for MKS sh
72286 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72287 emulate sh
72288 NULLCMD=:
72289 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72290 # is contrary to our usage. Disable this feature.
72291 alias -g '${1+"$@"}'='"$@"'
72292 setopt NO_GLOB_SUBST
72293 else
72294 case `(set -o) 2>/dev/null` in #(
72295 *posix*) :
72296 set -o posix ;; #(
72297 *) :
72299 esac
72303 as_nl='
72305 export as_nl
72306 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72307 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72308 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72309 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72310 # Prefer a ksh shell builtin over an external printf program on Solaris,
72311 # but without wasting forks for bash or zsh.
72312 if test -z "$BASH_VERSION$ZSH_VERSION" \
72313 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72314 as_echo='print -r --'
72315 as_echo_n='print -rn --'
72316 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72317 as_echo='printf %s\n'
72318 as_echo_n='printf %s'
72319 else
72320 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72321 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72322 as_echo_n='/usr/ucb/echo -n'
72323 else
72324 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72325 as_echo_n_body='eval
72326 arg=$1;
72327 case $arg in #(
72328 *"$as_nl"*)
72329 expr "X$arg" : "X\\(.*\\)$as_nl";
72330 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72331 esac;
72332 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72334 export as_echo_n_body
72335 as_echo_n='sh -c $as_echo_n_body as_echo'
72337 export as_echo_body
72338 as_echo='sh -c $as_echo_body as_echo'
72341 # The user is always right.
72342 if test "${PATH_SEPARATOR+set}" != set; then
72343 PATH_SEPARATOR=:
72344 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72345 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72346 PATH_SEPARATOR=';'
72351 # IFS
72352 # We need space, tab and new line, in precisely that order. Quoting is
72353 # there to prevent editors from complaining about space-tab.
72354 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72355 # splitting by setting IFS to empty value.)
72356 IFS=" "" $as_nl"
72358 # Find who we are. Look in the path if we contain no directory separator.
72359 case $0 in #((
72360 *[\\/]* ) as_myself=$0 ;;
72361 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72362 for as_dir in $PATH
72364 IFS=$as_save_IFS
72365 test -z "$as_dir" && as_dir=.
72366 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72367 done
72368 IFS=$as_save_IFS
72371 esac
72372 # We did not find ourselves, most probably we were run as `sh COMMAND'
72373 # in which case we are not to be found in the path.
72374 if test "x$as_myself" = x; then
72375 as_myself=$0
72377 if test ! -f "$as_myself"; then
72378 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72379 exit 1
72382 # Unset variables that we do not need and which cause bugs (e.g. in
72383 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72384 # suppresses any "Segmentation fault" message there. '((' could
72385 # trigger a bug in pdksh 5.2.14.
72386 for as_var in BASH_ENV ENV MAIL MAILPATH
72387 do eval test x\${$as_var+set} = xset \
72388 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72389 done
72390 PS1='$ '
72391 PS2='> '
72392 PS4='+ '
72394 # NLS nuisances.
72395 LC_ALL=C
72396 export LC_ALL
72397 LANGUAGE=C
72398 export LANGUAGE
72400 # CDPATH.
72401 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72404 # as_fn_error ERROR [LINENO LOG_FD]
72405 # ---------------------------------
72406 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72407 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72408 # script with status $?, using 1 if that was 0.
72409 as_fn_error ()
72411 as_status=$?; test $as_status -eq 0 && as_status=1
72412 if test "$3"; then
72413 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72414 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72416 $as_echo "$as_me: error: $1" >&2
72417 as_fn_exit $as_status
72418 } # as_fn_error
72421 # as_fn_set_status STATUS
72422 # -----------------------
72423 # Set $? to STATUS, without forking.
72424 as_fn_set_status ()
72426 return $1
72427 } # as_fn_set_status
72429 # as_fn_exit STATUS
72430 # -----------------
72431 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72432 as_fn_exit ()
72434 set +e
72435 as_fn_set_status $1
72436 exit $1
72437 } # as_fn_exit
72439 # as_fn_unset VAR
72440 # ---------------
72441 # Portably unset VAR.
72442 as_fn_unset ()
72444 { eval $1=; unset $1;}
72446 as_unset=as_fn_unset
72447 # as_fn_append VAR VALUE
72448 # ----------------------
72449 # Append the text in VALUE to the end of the definition contained in VAR. Take
72450 # advantage of any shell optimizations that allow amortized linear growth over
72451 # repeated appends, instead of the typical quadratic growth present in naive
72452 # implementations.
72453 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72454 eval 'as_fn_append ()
72456 eval $1+=\$2
72458 else
72459 as_fn_append ()
72461 eval $1=\$$1\$2
72463 fi # as_fn_append
72465 # as_fn_arith ARG...
72466 # ------------------
72467 # Perform arithmetic evaluation on the ARGs, and store the result in the
72468 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72469 # must be portable across $(()) and expr.
72470 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72471 eval 'as_fn_arith ()
72473 as_val=$(( $* ))
72475 else
72476 as_fn_arith ()
72478 as_val=`expr "$@" || test $? -eq 1`
72480 fi # as_fn_arith
72483 if expr a : '\(a\)' >/dev/null 2>&1 &&
72484 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72485 as_expr=expr
72486 else
72487 as_expr=false
72490 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72491 as_basename=basename
72492 else
72493 as_basename=false
72496 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72497 as_dirname=dirname
72498 else
72499 as_dirname=false
72502 as_me=`$as_basename -- "$0" ||
72503 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72504 X"$0" : 'X\(//\)$' \| \
72505 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72506 $as_echo X/"$0" |
72507 sed '/^.*\/\([^/][^/]*\)\/*$/{
72508 s//\1/
72511 /^X\/\(\/\/\)$/{
72512 s//\1/
72515 /^X\/\(\/\).*/{
72516 s//\1/
72519 s/.*/./; q'`
72521 # Avoid depending upon Character Ranges.
72522 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72523 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72524 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72525 as_cr_digits='0123456789'
72526 as_cr_alnum=$as_cr_Letters$as_cr_digits
72528 ECHO_C= ECHO_N= ECHO_T=
72529 case `echo -n x` in #(((((
72530 -n*)
72531 case `echo 'xy\c'` in
72532 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72533 xy) ECHO_C='\c';;
72534 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72535 ECHO_T=' ';;
72536 esac;;
72538 ECHO_N='-n';;
72539 esac
72541 rm -f conf$$ conf$$.exe conf$$.file
72542 if test -d conf$$.dir; then
72543 rm -f conf$$.dir/conf$$.file
72544 else
72545 rm -f conf$$.dir
72546 mkdir conf$$.dir 2>/dev/null
72548 if (echo >conf$$.file) 2>/dev/null; then
72549 if ln -s conf$$.file conf$$ 2>/dev/null; then
72550 as_ln_s='ln -s'
72551 # ... but there are two gotchas:
72552 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72553 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72554 # In both cases, we have to default to `cp -p'.
72555 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72556 as_ln_s='cp -p'
72557 elif ln conf$$.file conf$$ 2>/dev/null; then
72558 as_ln_s=ln
72559 else
72560 as_ln_s='cp -p'
72562 else
72563 as_ln_s='cp -p'
72565 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72566 rmdir conf$$.dir 2>/dev/null
72569 # as_fn_mkdir_p
72570 # -------------
72571 # Create "$as_dir" as a directory, including parents if necessary.
72572 as_fn_mkdir_p ()
72575 case $as_dir in #(
72576 -*) as_dir=./$as_dir;;
72577 esac
72578 test -d "$as_dir" || eval $as_mkdir_p || {
72579 as_dirs=
72580 while :; do
72581 case $as_dir in #(
72582 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72583 *) as_qdir=$as_dir;;
72584 esac
72585 as_dirs="'$as_qdir' $as_dirs"
72586 as_dir=`$as_dirname -- "$as_dir" ||
72587 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72588 X"$as_dir" : 'X\(//\)[^/]' \| \
72589 X"$as_dir" : 'X\(//\)$' \| \
72590 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72591 $as_echo X"$as_dir" |
72592 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72593 s//\1/
72596 /^X\(\/\/\)[^/].*/{
72597 s//\1/
72600 /^X\(\/\/\)$/{
72601 s//\1/
72604 /^X\(\/\).*/{
72605 s//\1/
72608 s/.*/./; q'`
72609 test -d "$as_dir" && break
72610 done
72611 test -z "$as_dirs" || eval "mkdir $as_dirs"
72612 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72615 } # as_fn_mkdir_p
72616 if mkdir -p . 2>/dev/null; then
72617 as_mkdir_p='mkdir -p "$as_dir"'
72618 else
72619 test -d ./-p && rmdir ./-p
72620 as_mkdir_p=false
72623 if test -x / >/dev/null 2>&1; then
72624 as_test_x='test -x'
72625 else
72626 if ls -dL / >/dev/null 2>&1; then
72627 as_ls_L_option=L
72628 else
72629 as_ls_L_option=
72631 as_test_x='
72632 eval sh -c '\''
72633 if test -d "$1"; then
72634 test -d "$1/.";
72635 else
72636 case $1 in #(
72637 -*)set "./$1";;
72638 esac;
72639 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72640 ???[sx]*):;;*)false;;esac;fi
72641 '\'' sh
72644 as_executable_p=$as_test_x
72646 # Sed expression to map a string onto a valid CPP name.
72647 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72649 # Sed expression to map a string onto a valid variable name.
72650 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72653 exec 6>&1
72654 ## ----------------------------------- ##
72655 ## Main body of $CONFIG_STATUS script. ##
72656 ## ----------------------------------- ##
72657 _ASEOF
72658 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72660 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72661 # Save the log message, to keep $0 and so on meaningful, and to
72662 # report actual input values of CONFIG_FILES etc. instead of their
72663 # values after options handling.
72664 ac_log="
72665 This file was extended by package-unused $as_me version-unused, which was
72666 generated by GNU Autoconf 2.64. Invocation command line was
72668 CONFIG_FILES = $CONFIG_FILES
72669 CONFIG_HEADERS = $CONFIG_HEADERS
72670 CONFIG_LINKS = $CONFIG_LINKS
72671 CONFIG_COMMANDS = $CONFIG_COMMANDS
72672 $ $0 $@
72674 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72677 _ACEOF
72679 case $ac_config_files in *"
72680 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72681 esac
72683 case $ac_config_headers in *"
72684 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72685 esac
72688 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72689 # Files that config.status was made for.
72690 config_files="$ac_config_files"
72691 config_headers="$ac_config_headers"
72692 config_commands="$ac_config_commands"
72694 _ACEOF
72696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72697 ac_cs_usage="\
72698 \`$as_me' instantiates files and other configuration actions
72699 from templates according to the current configuration. Unless the files
72700 and actions are specified as TAGs, all are instantiated by default.
72702 Usage: $0 [OPTION]... [TAG]...
72704 -h, --help print this help, then exit
72705 -V, --version print version number and configuration settings, then exit
72706 -q, --quiet, --silent
72707 do not print progress messages
72708 -d, --debug don't remove temporary files
72709 --recheck update $as_me by reconfiguring in the same conditions
72710 --file=FILE[:TEMPLATE]
72711 instantiate the configuration file FILE
72712 --header=FILE[:TEMPLATE]
72713 instantiate the configuration header FILE
72715 Configuration files:
72716 $config_files
72718 Configuration headers:
72719 $config_headers
72721 Configuration commands:
72722 $config_commands
72724 Report bugs to the package provider."
72726 _ACEOF
72727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72728 ac_cs_version="\\
72729 package-unused config.status version-unused
72730 configured by $0, generated by GNU Autoconf 2.64,
72731 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72733 Copyright (C) 2009 Free Software Foundation, Inc.
72734 This config.status script is free software; the Free Software Foundation
72735 gives unlimited permission to copy, distribute and modify it."
72737 ac_pwd='$ac_pwd'
72738 srcdir='$srcdir'
72739 INSTALL='$INSTALL'
72740 MKDIR_P='$MKDIR_P'
72741 AWK='$AWK'
72742 test -n "\$AWK" || AWK=awk
72743 _ACEOF
72745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72746 # The default lists apply if the user does not specify any file.
72747 ac_need_defaults=:
72748 while test $# != 0
72750 case $1 in
72751 --*=*)
72752 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72753 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72754 ac_shift=:
72757 ac_option=$1
72758 ac_optarg=$2
72759 ac_shift=shift
72761 esac
72763 case $ac_option in
72764 # Handling of the options.
72765 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72766 ac_cs_recheck=: ;;
72767 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72768 $as_echo "$ac_cs_version"; exit ;;
72769 --debug | --debu | --deb | --de | --d | -d )
72770 debug=: ;;
72771 --file | --fil | --fi | --f )
72772 $ac_shift
72773 case $ac_optarg in
72774 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72775 esac
72776 as_fn_append CONFIG_FILES " '$ac_optarg'"
72777 ac_need_defaults=false;;
72778 --header | --heade | --head | --hea )
72779 $ac_shift
72780 case $ac_optarg in
72781 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72782 esac
72783 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72784 ac_need_defaults=false;;
72785 --he | --h)
72786 # Conflict between --help and --header
72787 as_fn_error "ambiguous option: \`$1'
72788 Try \`$0 --help' for more information.";;
72789 --help | --hel | -h )
72790 $as_echo "$ac_cs_usage"; exit ;;
72791 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72792 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72793 ac_cs_silent=: ;;
72795 # This is an error.
72796 -*) as_fn_error "unrecognized option: \`$1'
72797 Try \`$0 --help' for more information." ;;
72799 *) as_fn_append ac_config_targets " $1"
72800 ac_need_defaults=false ;;
72802 esac
72803 shift
72804 done
72806 ac_configure_extra_args=
72808 if $ac_cs_silent; then
72809 exec 6>/dev/null
72810 ac_configure_extra_args="$ac_configure_extra_args --silent"
72813 _ACEOF
72814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72815 if \$ac_cs_recheck; then
72816 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72817 shift
72818 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72819 CONFIG_SHELL='$SHELL'
72820 export CONFIG_SHELL
72821 exec "\$@"
72824 _ACEOF
72825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72826 exec 5>>config.log
72828 echo
72829 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72830 ## Running $as_me. ##
72831 _ASBOX
72832 $as_echo "$ac_log"
72833 } >&5
72835 _ACEOF
72836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72838 # INIT-COMMANDS
72841 srcdir="$srcdir"
72842 host="$host"
72843 target="$target"
72844 with_multisubdir="$with_multisubdir"
72845 with_multisrctop="$with_multisrctop"
72846 with_target_subdir="$with_target_subdir"
72847 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72848 multi_basedir="$multi_basedir"
72849 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72850 CC="$CC"
72851 CXX="$CXX"
72852 GFORTRAN="$GFORTRAN"
72853 GCJ="$GCJ"
72856 # The HP-UX ksh and POSIX shell print the target directory to stdout
72857 # if CDPATH is set.
72858 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72860 sed_quote_subst='$sed_quote_subst'
72861 double_quote_subst='$double_quote_subst'
72862 delay_variable_subst='$delay_variable_subst'
72863 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72864 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72865 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72866 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72867 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72868 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72869 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72870 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72871 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72872 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72873 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72874 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72875 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72876 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72877 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72878 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72879 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72880 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72881 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72882 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72883 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72884 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72885 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72886 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72887 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72888 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72889 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72890 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72891 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72892 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72893 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72894 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72895 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72896 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72897 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72898 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72899 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72900 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72901 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72902 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72903 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72904 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72905 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72906 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72907 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72908 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72909 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72910 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72911 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"`'
72912 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72913 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72914 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72915 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72916 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72917 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72918 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72919 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72920 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72921 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72922 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72923 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72924 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72925 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72926 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72927 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72928 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72929 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72930 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72931 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72932 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72933 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72934 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72935 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72936 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72937 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72938 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72939 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72940 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72941 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72942 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72943 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72944 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72945 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72946 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72947 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72948 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72949 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72950 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72951 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72952 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72953 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72954 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72955 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72956 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72957 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72958 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72959 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72960 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72961 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72962 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72963 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72964 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72965 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72966 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72967 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72968 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72969 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72970 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72971 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72972 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72973 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72974 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72975 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72976 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72977 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72978 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72979 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72980 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72981 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72982 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72983 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72984 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72985 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72986 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72987 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72988 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72989 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72990 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72991 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72992 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72993 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72994 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72995 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72996 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72997 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72998 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72999 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73000 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73001 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73002 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73003 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73004 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73005 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73006 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73007 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73008 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73009 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73010 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73011 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73012 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73013 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73014 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73015 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73016 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73017 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73018 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73019 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73020 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73021 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73022 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73023 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73024 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73025 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73026 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73027 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73028 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73029 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73030 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73031 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73032 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73033 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73034 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73035 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73036 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73037 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73039 LTCC='$LTCC'
73040 LTCFLAGS='$LTCFLAGS'
73041 compiler='$compiler_DEFAULT'
73043 # A function that is used when there is no print builtin or printf.
73044 func_fallback_echo ()
73046 eval 'cat <<_LTECHO_EOF
73048 _LTECHO_EOF'
73051 # Quote evaled strings.
73052 for var in SHELL \
73053 ECHO \
73054 SED \
73055 GREP \
73056 EGREP \
73057 FGREP \
73058 LD \
73059 NM \
73060 LN_S \
73061 lt_SP2NL \
73062 lt_NL2SP \
73063 reload_flag \
73064 OBJDUMP \
73065 deplibs_check_method \
73066 file_magic_cmd \
73067 AR \
73068 AR_FLAGS \
73069 STRIP \
73070 RANLIB \
73071 CC \
73072 CFLAGS \
73073 compiler \
73074 lt_cv_sys_global_symbol_pipe \
73075 lt_cv_sys_global_symbol_to_cdecl \
73076 lt_cv_sys_global_symbol_to_c_name_address \
73077 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73078 lt_prog_compiler_no_builtin_flag \
73079 lt_prog_compiler_wl \
73080 lt_prog_compiler_pic \
73081 lt_prog_compiler_static \
73082 lt_cv_prog_compiler_c_o \
73083 need_locks \
73084 DSYMUTIL \
73085 NMEDIT \
73086 LIPO \
73087 OTOOL \
73088 OTOOL64 \
73089 shrext_cmds \
73090 export_dynamic_flag_spec \
73091 whole_archive_flag_spec \
73092 compiler_needs_object \
73093 with_gnu_ld \
73094 allow_undefined_flag \
73095 no_undefined_flag \
73096 hardcode_libdir_flag_spec \
73097 hardcode_libdir_flag_spec_ld \
73098 hardcode_libdir_separator \
73099 fix_srcfile_path \
73100 exclude_expsyms \
73101 include_expsyms \
73102 file_list_spec \
73103 variables_saved_for_relink \
73104 libname_spec \
73105 library_names_spec \
73106 soname_spec \
73107 install_override_mode \
73108 finish_eval \
73109 old_striplib \
73110 striplib \
73111 compiler_lib_search_dirs \
73112 predep_objects \
73113 postdep_objects \
73114 predeps \
73115 postdeps \
73116 compiler_lib_search_path \
73117 LD_CXX \
73118 reload_flag_CXX \
73119 compiler_CXX \
73120 lt_prog_compiler_no_builtin_flag_CXX \
73121 lt_prog_compiler_wl_CXX \
73122 lt_prog_compiler_pic_CXX \
73123 lt_prog_compiler_static_CXX \
73124 lt_cv_prog_compiler_c_o_CXX \
73125 export_dynamic_flag_spec_CXX \
73126 whole_archive_flag_spec_CXX \
73127 compiler_needs_object_CXX \
73128 with_gnu_ld_CXX \
73129 allow_undefined_flag_CXX \
73130 no_undefined_flag_CXX \
73131 hardcode_libdir_flag_spec_CXX \
73132 hardcode_libdir_flag_spec_ld_CXX \
73133 hardcode_libdir_separator_CXX \
73134 fix_srcfile_path_CXX \
73135 exclude_expsyms_CXX \
73136 include_expsyms_CXX \
73137 file_list_spec_CXX \
73138 compiler_lib_search_dirs_CXX \
73139 predep_objects_CXX \
73140 postdep_objects_CXX \
73141 predeps_CXX \
73142 postdeps_CXX \
73143 compiler_lib_search_path_CXX; do
73144 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73145 *[\\\\\\\`\\"\\\$]*)
73146 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73149 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73151 esac
73152 done
73154 # Double-quote double-evaled strings.
73155 for var in reload_cmds \
73156 old_postinstall_cmds \
73157 old_postuninstall_cmds \
73158 old_archive_cmds \
73159 extract_expsyms_cmds \
73160 old_archive_from_new_cmds \
73161 old_archive_from_expsyms_cmds \
73162 archive_cmds \
73163 archive_expsym_cmds \
73164 module_cmds \
73165 module_expsym_cmds \
73166 export_symbols_cmds \
73167 prelink_cmds \
73168 postinstall_cmds \
73169 postuninstall_cmds \
73170 finish_cmds \
73171 sys_lib_search_path_spec \
73172 sys_lib_dlsearch_path_spec \
73173 reload_cmds_CXX \
73174 old_archive_cmds_CXX \
73175 old_archive_from_new_cmds_CXX \
73176 old_archive_from_expsyms_cmds_CXX \
73177 archive_cmds_CXX \
73178 archive_expsym_cmds_CXX \
73179 module_cmds_CXX \
73180 module_expsym_cmds_CXX \
73181 export_symbols_cmds_CXX \
73182 prelink_cmds_CXX; do
73183 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73184 *[\\\\\\\`\\"\\\$]*)
73185 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73188 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73190 esac
73191 done
73193 ac_aux_dir='$ac_aux_dir'
73194 xsi_shell='$xsi_shell'
73195 lt_shell_append='$lt_shell_append'
73197 # See if we are running on zsh, and set the options which allow our
73198 # commands through without removal of \ escapes INIT.
73199 if test -n "\${ZSH_VERSION+set}" ; then
73200 setopt NO_GLOB_SUBST
73204 PACKAGE='$PACKAGE'
73205 VERSION='$VERSION'
73206 TIMESTAMP='$TIMESTAMP'
73207 RM='$RM'
73208 ofile='$ofile'
73215 GCC="$GCC"
73216 CC="$CC"
73217 acx_cv_header_stdint="$acx_cv_header_stdint"
73218 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73219 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73220 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73221 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73222 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73223 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73224 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73225 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73226 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73227 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73228 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73229 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73230 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73233 _ACEOF
73235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73237 # Handling of arguments.
73238 for ac_config_target in $ac_config_targets
73240 case $ac_config_target in
73241 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73242 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73243 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73244 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73245 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73246 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73247 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73248 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73249 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73250 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73251 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73252 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73253 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73254 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73255 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73256 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73257 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73258 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73260 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73261 esac
73262 done
73265 # If the user did not use the arguments to specify the items to instantiate,
73266 # then the envvar interface is used. Set only those that are not.
73267 # We use the long form for the default assignment because of an extremely
73268 # bizarre bug on SunOS 4.1.3.
73269 if $ac_need_defaults; then
73270 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73271 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73272 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73275 # Have a temporary directory for convenience. Make it in the build tree
73276 # simply because there is no reason against having it here, and in addition,
73277 # creating and moving files from /tmp can sometimes cause problems.
73278 # Hook for its removal unless debugging.
73279 # Note that there is a small window in which the directory will not be cleaned:
73280 # after its creation but before its name has been assigned to `$tmp'.
73281 $debug ||
73283 tmp=
73284 trap 'exit_status=$?
73285 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73287 trap 'as_fn_exit 1' 1 2 13 15
73289 # Create a (secure) tmp directory for tmp files.
73292 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73293 test -n "$tmp" && test -d "$tmp"
73294 } ||
73296 tmp=./conf$$-$RANDOM
73297 (umask 077 && mkdir "$tmp")
73298 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73300 # Set up the scripts for CONFIG_FILES section.
73301 # No need to generate them if there are no CONFIG_FILES.
73302 # This happens for instance with `./config.status config.h'.
73303 if test -n "$CONFIG_FILES"; then
73306 ac_cr=`echo X | tr X '\015'`
73307 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73308 # But we know of no other shell where ac_cr would be empty at this
73309 # point, so we can use a bashism as a fallback.
73310 if test "x$ac_cr" = x; then
73311 eval ac_cr=\$\'\\r\'
73313 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73314 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73315 ac_cs_awk_cr='\r'
73316 else
73317 ac_cs_awk_cr=$ac_cr
73320 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73321 _ACEOF
73325 echo "cat >conf$$subs.awk <<_ACEOF" &&
73326 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73327 echo "_ACEOF"
73328 } >conf$$subs.sh ||
73329 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73330 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73331 ac_delim='%!_!# '
73332 for ac_last_try in false false false false false :; do
73333 . ./conf$$subs.sh ||
73334 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73336 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73337 if test $ac_delim_n = $ac_delim_num; then
73338 break
73339 elif $ac_last_try; then
73340 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73341 else
73342 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73344 done
73345 rm -f conf$$subs.sh
73347 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73348 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73349 _ACEOF
73350 sed -n '
73352 s/^/S["/; s/!.*/"]=/
73355 s/^[^!]*!//
73356 :repl
73357 t repl
73358 s/'"$ac_delim"'$//
73359 t delim
73362 s/\(.\{148\}\).*/\1/
73363 t more1
73364 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73367 b repl
73368 :more1
73369 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73372 s/.\{148\}//
73373 t nl
73374 :delim
73376 s/\(.\{148\}\).*/\1/
73377 t more2
73378 s/["\\]/\\&/g; s/^/"/; s/$/"/
73381 :more2
73382 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73385 s/.\{148\}//
73386 t delim
73387 ' <conf$$subs.awk | sed '
73388 /^[^""]/{
73390 s/\n//
73392 ' >>$CONFIG_STATUS || ac_write_fail=1
73393 rm -f conf$$subs.awk
73394 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73395 _ACAWK
73396 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73397 for (key in S) S_is_set[key] = 1
73398 FS = "\a"
73402 line = $ 0
73403 nfields = split(line, field, "@")
73404 substed = 0
73405 len = length(field[1])
73406 for (i = 2; i < nfields; i++) {
73407 key = field[i]
73408 keylen = length(key)
73409 if (S_is_set[key]) {
73410 value = S[key]
73411 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73412 len += length(value) + length(field[++i])
73413 substed = 1
73414 } else
73415 len += 1 + keylen
73418 print line
73421 _ACAWK
73422 _ACEOF
73423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73424 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73425 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73426 else
73428 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73429 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73430 _ACEOF
73432 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73433 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73434 # trailing colons and then remove the whole line if VPATH becomes empty
73435 # (actually we leave an empty line to preserve line numbers).
73436 if test "x$srcdir" = x.; then
73437 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73438 s/:*\$(srcdir):*/:/
73439 s/:*\${srcdir}:*/:/
73440 s/:*@srcdir@:*/:/
73441 s/^\([^=]*=[ ]*\):*/\1/
73442 s/:*$//
73443 s/^[^=]*=[ ]*$//
73447 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73448 fi # test -n "$CONFIG_FILES"
73450 # Set up the scripts for CONFIG_HEADERS section.
73451 # No need to generate them if there are no CONFIG_HEADERS.
73452 # This happens for instance with `./config.status Makefile'.
73453 if test -n "$CONFIG_HEADERS"; then
73454 cat >"$tmp/defines.awk" <<\_ACAWK ||
73455 BEGIN {
73456 _ACEOF
73458 # Transform confdefs.h into an awk script `defines.awk', embedded as
73459 # here-document in config.status, that substitutes the proper values into
73460 # config.h.in to produce config.h.
73462 # Create a delimiter string that does not exist in confdefs.h, to ease
73463 # handling of long lines.
73464 ac_delim='%!_!# '
73465 for ac_last_try in false false :; do
73466 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73467 if test -z "$ac_t"; then
73468 break
73469 elif $ac_last_try; then
73470 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73471 else
73472 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73474 done
73476 # For the awk script, D is an array of macro values keyed by name,
73477 # likewise P contains macro parameters if any. Preserve backslash
73478 # newline sequences.
73480 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73481 sed -n '
73482 s/.\{148\}/&'"$ac_delim"'/g
73483 t rset
73484 :rset
73485 s/^[ ]*#[ ]*define[ ][ ]*/ /
73486 t def
73488 :def
73489 s/\\$//
73490 t bsnl
73491 s/["\\]/\\&/g
73492 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73493 D["\1"]=" \3"/p
73494 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73496 :bsnl
73497 s/["\\]/\\&/g
73498 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73499 D["\1"]=" \3\\\\\\n"\\/p
73500 t cont
73501 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73502 t cont
73504 :cont
73506 s/.\{148\}/&'"$ac_delim"'/g
73507 t clear
73508 :clear
73509 s/\\$//
73510 t bsnlc
73511 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73513 :bsnlc
73514 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73515 b cont
73516 ' <confdefs.h | sed '
73517 s/'"$ac_delim"'/"\\\
73518 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73521 for (key in D) D_is_set[key] = 1
73522 FS = "\a"
73524 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73525 line = \$ 0
73526 split(line, arg, " ")
73527 if (arg[1] == "#") {
73528 defundef = arg[2]
73529 mac1 = arg[3]
73530 } else {
73531 defundef = substr(arg[1], 2)
73532 mac1 = arg[2]
73534 split(mac1, mac2, "(") #)
73535 macro = mac2[1]
73536 prefix = substr(line, 1, index(line, defundef) - 1)
73537 if (D_is_set[macro]) {
73538 # Preserve the white space surrounding the "#".
73539 print prefix "define", macro P[macro] D[macro]
73540 next
73541 } else {
73542 # Replace #undef with comments. This is necessary, for example,
73543 # in the case of _POSIX_SOURCE, which is predefined and required
73544 # on some systems where configure will not decide to define it.
73545 if (defundef == "undef") {
73546 print "/*", prefix defundef, macro, "*/"
73547 next
73551 { print }
73552 _ACAWK
73553 _ACEOF
73554 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73555 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73556 fi # test -n "$CONFIG_HEADERS"
73559 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73560 shift
73561 for ac_tag
73563 case $ac_tag in
73564 :[FHLC]) ac_mode=$ac_tag; continue;;
73565 esac
73566 case $ac_mode$ac_tag in
73567 :[FHL]*:*);;
73568 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73569 :[FH]-) ac_tag=-:-;;
73570 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73571 esac
73572 ac_save_IFS=$IFS
73573 IFS=:
73574 set x $ac_tag
73575 IFS=$ac_save_IFS
73576 shift
73577 ac_file=$1
73578 shift
73580 case $ac_mode in
73581 :L) ac_source=$1;;
73582 :[FH])
73583 ac_file_inputs=
73584 for ac_f
73586 case $ac_f in
73587 -) ac_f="$tmp/stdin";;
73588 *) # Look for the file first in the build tree, then in the source tree
73589 # (if the path is not absolute). The absolute path cannot be DOS-style,
73590 # because $ac_f cannot contain `:'.
73591 test -f "$ac_f" ||
73592 case $ac_f in
73593 [\\/$]*) false;;
73594 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73595 esac ||
73596 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73597 esac
73598 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73599 as_fn_append ac_file_inputs " '$ac_f'"
73600 done
73602 # Let's still pretend it is `configure' which instantiates (i.e., don't
73603 # use $as_me), people would be surprised to read:
73604 # /* config.h. Generated by config.status. */
73605 configure_input='Generated from '`
73606 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73607 `' by configure.'
73608 if test x"$ac_file" != x-; then
73609 configure_input="$ac_file. $configure_input"
73610 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73611 $as_echo "$as_me: creating $ac_file" >&6;}
73613 # Neutralize special characters interpreted by sed in replacement strings.
73614 case $configure_input in #(
73615 *\&* | *\|* | *\\* )
73616 ac_sed_conf_input=`$as_echo "$configure_input" |
73617 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73618 *) ac_sed_conf_input=$configure_input;;
73619 esac
73621 case $ac_tag in
73622 *:-:* | *:-) cat >"$tmp/stdin" \
73623 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73624 esac
73626 esac
73628 ac_dir=`$as_dirname -- "$ac_file" ||
73629 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73630 X"$ac_file" : 'X\(//\)[^/]' \| \
73631 X"$ac_file" : 'X\(//\)$' \| \
73632 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73633 $as_echo X"$ac_file" |
73634 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73635 s//\1/
73638 /^X\(\/\/\)[^/].*/{
73639 s//\1/
73642 /^X\(\/\/\)$/{
73643 s//\1/
73646 /^X\(\/\).*/{
73647 s//\1/
73650 s/.*/./; q'`
73651 as_dir="$ac_dir"; as_fn_mkdir_p
73652 ac_builddir=.
73654 case "$ac_dir" in
73655 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73657 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73658 # A ".." for each directory in $ac_dir_suffix.
73659 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73660 case $ac_top_builddir_sub in
73661 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73662 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73663 esac ;;
73664 esac
73665 ac_abs_top_builddir=$ac_pwd
73666 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73667 # for backward compatibility:
73668 ac_top_builddir=$ac_top_build_prefix
73670 case $srcdir in
73671 .) # We are building in place.
73672 ac_srcdir=.
73673 ac_top_srcdir=$ac_top_builddir_sub
73674 ac_abs_top_srcdir=$ac_pwd ;;
73675 [\\/]* | ?:[\\/]* ) # Absolute name.
73676 ac_srcdir=$srcdir$ac_dir_suffix;
73677 ac_top_srcdir=$srcdir
73678 ac_abs_top_srcdir=$srcdir ;;
73679 *) # Relative name.
73680 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73681 ac_top_srcdir=$ac_top_build_prefix$srcdir
73682 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73683 esac
73684 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73687 case $ac_mode in
73690 # CONFIG_FILE
73693 case $INSTALL in
73694 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73695 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73696 esac
73697 ac_MKDIR_P=$MKDIR_P
73698 case $MKDIR_P in
73699 [\\/$]* | ?:[\\/]* ) ;;
73700 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73701 esac
73702 _ACEOF
73704 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73705 # If the template does not know about datarootdir, expand it.
73706 # FIXME: This hack should be removed a few years after 2.60.
73707 ac_datarootdir_hack=; ac_datarootdir_seen=
73708 ac_sed_dataroot='
73709 /datarootdir/ {
73713 /@datadir@/p
73714 /@docdir@/p
73715 /@infodir@/p
73716 /@localedir@/p
73717 /@mandir@/p'
73718 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73719 *datarootdir*) ac_datarootdir_seen=yes;;
73720 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73722 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73723 _ACEOF
73724 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73725 ac_datarootdir_hack='
73726 s&@datadir@&$datadir&g
73727 s&@docdir@&$docdir&g
73728 s&@infodir@&$infodir&g
73729 s&@localedir@&$localedir&g
73730 s&@mandir@&$mandir&g
73731 s&\\\${datarootdir}&$datarootdir&g' ;;
73732 esac
73733 _ACEOF
73735 # Neutralize VPATH when `$srcdir' = `.'.
73736 # Shell code in configure.ac might set extrasub.
73737 # FIXME: do we really want to maintain this feature?
73738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73739 ac_sed_extra="$ac_vpsub
73740 $extrasub
73741 _ACEOF
73742 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73745 s|@configure_input@|$ac_sed_conf_input|;t t
73746 s&@top_builddir@&$ac_top_builddir_sub&;t t
73747 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73748 s&@srcdir@&$ac_srcdir&;t t
73749 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73750 s&@top_srcdir@&$ac_top_srcdir&;t t
73751 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73752 s&@builddir@&$ac_builddir&;t t
73753 s&@abs_builddir@&$ac_abs_builddir&;t t
73754 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73755 s&@INSTALL@&$ac_INSTALL&;t t
73756 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73757 $ac_datarootdir_hack
73759 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73760 || as_fn_error "could not create $ac_file" "$LINENO" 5
73762 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73763 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73764 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73765 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73766 which seems to be undefined. Please make sure it is defined." >&5
73767 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73768 which seems to be undefined. Please make sure it is defined." >&2;}
73770 rm -f "$tmp/stdin"
73771 case $ac_file in
73772 -) cat "$tmp/out" && rm -f "$tmp/out";;
73773 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73774 esac \
73775 || as_fn_error "could not create $ac_file" "$LINENO" 5
73779 # CONFIG_HEADER
73781 if test x"$ac_file" != x-; then
73783 $as_echo "/* $configure_input */" \
73784 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73785 } >"$tmp/config.h" \
73786 || as_fn_error "could not create $ac_file" "$LINENO" 5
73787 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73788 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73789 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73790 else
73791 rm -f "$ac_file"
73792 mv "$tmp/config.h" "$ac_file" \
73793 || as_fn_error "could not create $ac_file" "$LINENO" 5
73795 else
73796 $as_echo "/* $configure_input */" \
73797 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73798 || as_fn_error "could not create -" "$LINENO" 5
73800 # Compute "$ac_file"'s index in $config_headers.
73801 _am_arg="$ac_file"
73802 _am_stamp_count=1
73803 for _am_header in $config_headers :; do
73804 case $_am_header in
73805 $_am_arg | $_am_arg:* )
73806 break ;;
73808 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73809 esac
73810 done
73811 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73812 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73813 X"$_am_arg" : 'X\(//\)[^/]' \| \
73814 X"$_am_arg" : 'X\(//\)$' \| \
73815 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73816 $as_echo X"$_am_arg" |
73817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73818 s//\1/
73821 /^X\(\/\/\)[^/].*/{
73822 s//\1/
73825 /^X\(\/\/\)$/{
73826 s//\1/
73829 /^X\(\/\).*/{
73830 s//\1/
73833 s/.*/./; q'`/stamp-h$_am_stamp_count
73836 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73837 $as_echo "$as_me: executing $ac_file commands" >&6;}
73839 esac
73842 case $ac_file$ac_mode in
73843 "default-1":C)
73844 # Only add multilib support code if we just rebuilt the top-level
73845 # Makefile.
73846 case " $CONFIG_FILES " in
73847 *" Makefile "*)
73848 ac_file=Makefile . ${multi_basedir}/config-ml.in
73850 esac ;;
73851 "libtool":C)
73853 # See if we are running on zsh, and set the options which allow our
73854 # commands through without removal of \ escapes.
73855 if test -n "${ZSH_VERSION+set}" ; then
73856 setopt NO_GLOB_SUBST
73859 cfgfile="${ofile}T"
73860 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73861 $RM "$cfgfile"
73863 cat <<_LT_EOF >> "$cfgfile"
73864 #! $SHELL
73866 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73867 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73868 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73869 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73871 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73872 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73873 # Written by Gordon Matzigkeit, 1996
73875 # This file is part of GNU Libtool.
73877 # GNU Libtool is free software; you can redistribute it and/or
73878 # modify it under the terms of the GNU General Public License as
73879 # published by the Free Software Foundation; either version 2 of
73880 # the License, or (at your option) any later version.
73882 # As a special exception to the GNU General Public License,
73883 # if you distribute this file as part of a program or library that
73884 # is built using GNU Libtool, you may include this file under the
73885 # same distribution terms that you use for the rest of that program.
73887 # GNU Libtool is distributed in the hope that it will be useful,
73888 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73889 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73890 # GNU General Public License for more details.
73892 # You should have received a copy of the GNU General Public License
73893 # along with GNU Libtool; see the file COPYING. If not, a copy
73894 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73895 # obtained by writing to the Free Software Foundation, Inc.,
73896 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73899 # The names of the tagged configurations supported by this script.
73900 available_tags="CXX "
73902 # ### BEGIN LIBTOOL CONFIG
73904 # Which release of libtool.m4 was used?
73905 macro_version=$macro_version
73906 macro_revision=$macro_revision
73908 # Whether or not to build shared libraries.
73909 build_libtool_libs=$enable_shared
73911 # Whether or not to build static libraries.
73912 build_old_libs=$enable_static
73914 # What type of objects to build.
73915 pic_mode=$pic_mode
73917 # Whether or not to optimize for fast installation.
73918 fast_install=$enable_fast_install
73920 # Shell to use when invoking shell scripts.
73921 SHELL=$lt_SHELL
73923 # An echo program that protects backslashes.
73924 ECHO=$lt_ECHO
73926 # The host system.
73927 host_alias=$host_alias
73928 host=$host
73929 host_os=$host_os
73931 # The build system.
73932 build_alias=$build_alias
73933 build=$build
73934 build_os=$build_os
73936 # A sed program that does not truncate output.
73937 SED=$lt_SED
73939 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73940 Xsed="\$SED -e 1s/^X//"
73942 # A grep program that handles long lines.
73943 GREP=$lt_GREP
73945 # An ERE matcher.
73946 EGREP=$lt_EGREP
73948 # A literal string matcher.
73949 FGREP=$lt_FGREP
73951 # A BSD- or MS-compatible name lister.
73952 NM=$lt_NM
73954 # Whether we need soft or hard links.
73955 LN_S=$lt_LN_S
73957 # What is the maximum length of a command?
73958 max_cmd_len=$max_cmd_len
73960 # Object file suffix (normally "o").
73961 objext=$ac_objext
73963 # Executable file suffix (normally "").
73964 exeext=$exeext
73966 # whether the shell understands "unset".
73967 lt_unset=$lt_unset
73969 # turn spaces into newlines.
73970 SP2NL=$lt_lt_SP2NL
73972 # turn newlines into spaces.
73973 NL2SP=$lt_lt_NL2SP
73975 # An object symbol dumper.
73976 OBJDUMP=$lt_OBJDUMP
73978 # Method to check whether dependent libraries are shared objects.
73979 deplibs_check_method=$lt_deplibs_check_method
73981 # Command to use when deplibs_check_method == "file_magic".
73982 file_magic_cmd=$lt_file_magic_cmd
73984 # The archiver.
73985 AR=$lt_AR
73986 AR_FLAGS=$lt_AR_FLAGS
73988 # A symbol stripping program.
73989 STRIP=$lt_STRIP
73991 # Commands used to install an old-style archive.
73992 RANLIB=$lt_RANLIB
73993 old_postinstall_cmds=$lt_old_postinstall_cmds
73994 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73996 # Whether to use a lock for old archive extraction.
73997 lock_old_archive_extraction=$lock_old_archive_extraction
73999 # A C compiler.
74000 LTCC=$lt_CC
74002 # LTCC compiler flags.
74003 LTCFLAGS=$lt_CFLAGS
74005 # Take the output of nm and produce a listing of raw symbols and C names.
74006 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74008 # Transform the output of nm in a proper C declaration.
74009 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74011 # Transform the output of nm in a C name address pair.
74012 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74014 # Transform the output of nm in a C name address pair when lib prefix is needed.
74015 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74017 # The name of the directory that contains temporary libtool files.
74018 objdir=$objdir
74020 # Used to examine libraries when file_magic_cmd begins with "file".
74021 MAGIC_CMD=$MAGIC_CMD
74023 # Must we lock files when doing compilation?
74024 need_locks=$lt_need_locks
74026 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74027 DSYMUTIL=$lt_DSYMUTIL
74029 # Tool to change global to local symbols on Mac OS X.
74030 NMEDIT=$lt_NMEDIT
74032 # Tool to manipulate fat objects and archives on Mac OS X.
74033 LIPO=$lt_LIPO
74035 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74036 OTOOL=$lt_OTOOL
74038 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74039 OTOOL64=$lt_OTOOL64
74041 # Old archive suffix (normally "a").
74042 libext=$libext
74044 # Shared library suffix (normally ".so").
74045 shrext_cmds=$lt_shrext_cmds
74047 # The commands to extract the exported symbol list from a shared archive.
74048 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74050 # Variables whose values should be saved in libtool wrapper scripts and
74051 # restored at link time.
74052 variables_saved_for_relink=$lt_variables_saved_for_relink
74054 # Do we need the "lib" prefix for modules?
74055 need_lib_prefix=$need_lib_prefix
74057 # Do we need a version for libraries?
74058 need_version=$need_version
74060 # Library versioning type.
74061 version_type=$version_type
74063 # Shared library runtime path variable.
74064 runpath_var=$runpath_var
74066 # Shared library path variable.
74067 shlibpath_var=$shlibpath_var
74069 # Is shlibpath searched before the hard-coded library search path?
74070 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74072 # Format of library name prefix.
74073 libname_spec=$lt_libname_spec
74075 # List of archive names. First name is the real one, the rest are links.
74076 # The last name is the one that the linker finds with -lNAME
74077 library_names_spec=$lt_library_names_spec
74079 # The coded name of the library, if different from the real name.
74080 soname_spec=$lt_soname_spec
74082 # Permission mode override for installation of shared libraries.
74083 install_override_mode=$lt_install_override_mode
74085 # Command to use after installation of a shared archive.
74086 postinstall_cmds=$lt_postinstall_cmds
74088 # Command to use after uninstallation of a shared archive.
74089 postuninstall_cmds=$lt_postuninstall_cmds
74091 # Commands used to finish a libtool library installation in a directory.
74092 finish_cmds=$lt_finish_cmds
74094 # As "finish_cmds", except a single script fragment to be evaled but
74095 # not shown.
74096 finish_eval=$lt_finish_eval
74098 # Whether we should hardcode library paths into libraries.
74099 hardcode_into_libs=$hardcode_into_libs
74101 # Compile-time system search path for libraries.
74102 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74104 # Run-time system search path for libraries.
74105 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74107 # Whether dlopen is supported.
74108 dlopen_support=$enable_dlopen
74110 # Whether dlopen of programs is supported.
74111 dlopen_self=$enable_dlopen_self
74113 # Whether dlopen of statically linked programs is supported.
74114 dlopen_self_static=$enable_dlopen_self_static
74116 # Commands to strip libraries.
74117 old_striplib=$lt_old_striplib
74118 striplib=$lt_striplib
74121 # The linker used to build libraries.
74122 LD=$lt_LD
74124 # How to create reloadable object files.
74125 reload_flag=$lt_reload_flag
74126 reload_cmds=$lt_reload_cmds
74128 # Commands used to build an old-style archive.
74129 old_archive_cmds=$lt_old_archive_cmds
74131 # A language specific compiler.
74132 CC=$lt_compiler
74134 # Is the compiler the GNU compiler?
74135 with_gcc=$GCC
74137 # Compiler flag to turn off builtin functions.
74138 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74140 # How to pass a linker flag through the compiler.
74141 wl=$lt_lt_prog_compiler_wl
74143 # Additional compiler flags for building library objects.
74144 pic_flag=$lt_lt_prog_compiler_pic
74146 # Compiler flag to prevent dynamic linking.
74147 link_static_flag=$lt_lt_prog_compiler_static
74149 # Does compiler simultaneously support -c and -o options?
74150 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74152 # Whether or not to add -lc for building shared libraries.
74153 build_libtool_need_lc=$archive_cmds_need_lc
74155 # Whether or not to disallow shared libs when runtime libs are static.
74156 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74158 # Compiler flag to allow reflexive dlopens.
74159 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74161 # Compiler flag to generate shared objects directly from archives.
74162 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74164 # Whether the compiler copes with passing no objects directly.
74165 compiler_needs_object=$lt_compiler_needs_object
74167 # Create an old-style archive from a shared archive.
74168 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74170 # Create a temporary old-style archive to link instead of a shared archive.
74171 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74173 # Commands used to build a shared archive.
74174 archive_cmds=$lt_archive_cmds
74175 archive_expsym_cmds=$lt_archive_expsym_cmds
74177 # Commands used to build a loadable module if different from building
74178 # a shared archive.
74179 module_cmds=$lt_module_cmds
74180 module_expsym_cmds=$lt_module_expsym_cmds
74182 # Whether we are building with GNU ld or not.
74183 with_gnu_ld=$lt_with_gnu_ld
74185 # Flag that allows shared libraries with undefined symbols to be built.
74186 allow_undefined_flag=$lt_allow_undefined_flag
74188 # Flag that enforces no undefined symbols.
74189 no_undefined_flag=$lt_no_undefined_flag
74191 # Flag to hardcode \$libdir into a binary during linking.
74192 # This must work even if \$libdir does not exist
74193 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74195 # If ld is used when linking, flag to hardcode \$libdir into a binary
74196 # during linking. This must work even if \$libdir does not exist.
74197 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74199 # Whether we need a single "-rpath" flag with a separated argument.
74200 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74202 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74203 # DIR into the resulting binary.
74204 hardcode_direct=$hardcode_direct
74206 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74207 # DIR into the resulting binary and the resulting library dependency is
74208 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74209 # library is relocated.
74210 hardcode_direct_absolute=$hardcode_direct_absolute
74212 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74213 # into the resulting binary.
74214 hardcode_minus_L=$hardcode_minus_L
74216 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74217 # into the resulting binary.
74218 hardcode_shlibpath_var=$hardcode_shlibpath_var
74220 # Set to "yes" if building a shared library automatically hardcodes DIR
74221 # into the library and all subsequent libraries and executables linked
74222 # against it.
74223 hardcode_automatic=$hardcode_automatic
74225 # Set to yes if linker adds runtime paths of dependent libraries
74226 # to runtime path list.
74227 inherit_rpath=$inherit_rpath
74229 # Whether libtool must link a program against all its dependency libraries.
74230 link_all_deplibs=$link_all_deplibs
74232 # Fix the shell variable \$srcfile for the compiler.
74233 fix_srcfile_path=$lt_fix_srcfile_path
74235 # Set to "yes" if exported symbols are required.
74236 always_export_symbols=$always_export_symbols
74238 # The commands to list exported symbols.
74239 export_symbols_cmds=$lt_export_symbols_cmds
74241 # Symbols that should not be listed in the preloaded symbols.
74242 exclude_expsyms=$lt_exclude_expsyms
74244 # Symbols that must always be exported.
74245 include_expsyms=$lt_include_expsyms
74247 # Commands necessary for linking programs (against libraries) with templates.
74248 prelink_cmds=$lt_prelink_cmds
74250 # Specify filename containing input files.
74251 file_list_spec=$lt_file_list_spec
74253 # How to hardcode a shared library path into an executable.
74254 hardcode_action=$hardcode_action
74256 # The directories searched by this compiler when creating a shared library.
74257 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74259 # Dependencies to place before and after the objects being linked to
74260 # create a shared library.
74261 predep_objects=$lt_predep_objects
74262 postdep_objects=$lt_postdep_objects
74263 predeps=$lt_predeps
74264 postdeps=$lt_postdeps
74266 # The library search path used internally by the compiler when linking
74267 # a shared library.
74268 compiler_lib_search_path=$lt_compiler_lib_search_path
74270 # ### END LIBTOOL CONFIG
74272 _LT_EOF
74274 case $host_os in
74275 aix3*)
74276 cat <<\_LT_EOF >> "$cfgfile"
74277 # AIX sometimes has problems with the GCC collect2 program. For some
74278 # reason, if we set the COLLECT_NAMES environment variable, the problems
74279 # vanish in a puff of smoke.
74280 if test "X${COLLECT_NAMES+set}" != Xset; then
74281 COLLECT_NAMES=
74282 export COLLECT_NAMES
74284 _LT_EOF
74286 esac
74289 ltmain="$ac_aux_dir/ltmain.sh"
74292 # We use sed instead of cat because bash on DJGPP gets confused if
74293 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74294 # text mode, it properly converts lines to CR/LF. This bash problem
74295 # is reportedly fixed, but why not run on old versions too?
74296 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74297 || (rm -f "$cfgfile"; exit 1)
74299 case $xsi_shell in
74300 yes)
74301 cat << \_LT_EOF >> "$cfgfile"
74303 # func_dirname file append nondir_replacement
74304 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74305 # otherwise set result to NONDIR_REPLACEMENT.
74306 func_dirname ()
74308 case ${1} in
74309 */*) func_dirname_result="${1%/*}${2}" ;;
74310 * ) func_dirname_result="${3}" ;;
74311 esac
74314 # func_basename file
74315 func_basename ()
74317 func_basename_result="${1##*/}"
74320 # func_dirname_and_basename file append nondir_replacement
74321 # perform func_basename and func_dirname in a single function
74322 # call:
74323 # dirname: Compute the dirname of FILE. If nonempty,
74324 # add APPEND to the result, otherwise set result
74325 # to NONDIR_REPLACEMENT.
74326 # value returned in "$func_dirname_result"
74327 # basename: Compute filename of FILE.
74328 # value retuned in "$func_basename_result"
74329 # Implementation must be kept synchronized with func_dirname
74330 # and func_basename. For efficiency, we do not delegate to
74331 # those functions but instead duplicate the functionality here.
74332 func_dirname_and_basename ()
74334 case ${1} in
74335 */*) func_dirname_result="${1%/*}${2}" ;;
74336 * ) func_dirname_result="${3}" ;;
74337 esac
74338 func_basename_result="${1##*/}"
74341 # func_stripname prefix suffix name
74342 # strip PREFIX and SUFFIX off of NAME.
74343 # PREFIX and SUFFIX must not contain globbing or regex special
74344 # characters, hashes, percent signs, but SUFFIX may contain a leading
74345 # dot (in which case that matches only a dot).
74346 func_stripname ()
74348 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74349 # positional parameters, so assign one to ordinary parameter first.
74350 func_stripname_result=${3}
74351 func_stripname_result=${func_stripname_result#"${1}"}
74352 func_stripname_result=${func_stripname_result%"${2}"}
74355 # func_opt_split
74356 func_opt_split ()
74358 func_opt_split_opt=${1%%=*}
74359 func_opt_split_arg=${1#*=}
74362 # func_lo2o object
74363 func_lo2o ()
74365 case ${1} in
74366 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74367 *) func_lo2o_result=${1} ;;
74368 esac
74371 # func_xform libobj-or-source
74372 func_xform ()
74374 func_xform_result=${1%.*}.lo
74377 # func_arith arithmetic-term...
74378 func_arith ()
74380 func_arith_result=$(( $* ))
74383 # func_len string
74384 # STRING may not start with a hyphen.
74385 func_len ()
74387 func_len_result=${#1}
74390 _LT_EOF
74392 *) # Bourne compatible functions.
74393 cat << \_LT_EOF >> "$cfgfile"
74395 # func_dirname file append nondir_replacement
74396 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74397 # otherwise set result to NONDIR_REPLACEMENT.
74398 func_dirname ()
74400 # Extract subdirectory from the argument.
74401 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74402 if test "X$func_dirname_result" = "X${1}"; then
74403 func_dirname_result="${3}"
74404 else
74405 func_dirname_result="$func_dirname_result${2}"
74409 # func_basename file
74410 func_basename ()
74412 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74416 # func_stripname prefix suffix name
74417 # strip PREFIX and SUFFIX off of NAME.
74418 # PREFIX and SUFFIX must not contain globbing or regex special
74419 # characters, hashes, percent signs, but SUFFIX may contain a leading
74420 # dot (in which case that matches only a dot).
74421 # func_strip_suffix prefix name
74422 func_stripname ()
74424 case ${2} in
74425 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74426 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74427 esac
74430 # sed scripts:
74431 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74432 my_sed_long_arg='1s/^-[^=]*=//'
74434 # func_opt_split
74435 func_opt_split ()
74437 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74438 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74441 # func_lo2o object
74442 func_lo2o ()
74444 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74447 # func_xform libobj-or-source
74448 func_xform ()
74450 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74453 # func_arith arithmetic-term...
74454 func_arith ()
74456 func_arith_result=`expr "$@"`
74459 # func_len string
74460 # STRING may not start with a hyphen.
74461 func_len ()
74463 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74466 _LT_EOF
74467 esac
74469 case $lt_shell_append in
74470 yes)
74471 cat << \_LT_EOF >> "$cfgfile"
74473 # func_append var value
74474 # Append VALUE to the end of shell variable VAR.
74475 func_append ()
74477 eval "$1+=\$2"
74479 _LT_EOF
74482 cat << \_LT_EOF >> "$cfgfile"
74484 # func_append var value
74485 # Append VALUE to the end of shell variable VAR.
74486 func_append ()
74488 eval "$1=\$$1\$2"
74491 _LT_EOF
74493 esac
74496 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74497 || (rm -f "$cfgfile"; exit 1)
74499 mv -f "$cfgfile" "$ofile" ||
74500 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74501 chmod +x "$ofile"
74504 cat <<_LT_EOF >> "$ofile"
74506 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74508 # The linker used to build libraries.
74509 LD=$lt_LD_CXX
74511 # How to create reloadable object files.
74512 reload_flag=$lt_reload_flag_CXX
74513 reload_cmds=$lt_reload_cmds_CXX
74515 # Commands used to build an old-style archive.
74516 old_archive_cmds=$lt_old_archive_cmds_CXX
74518 # A language specific compiler.
74519 CC=$lt_compiler_CXX
74521 # Is the compiler the GNU compiler?
74522 with_gcc=$GCC_CXX
74524 # Compiler flag to turn off builtin functions.
74525 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74527 # How to pass a linker flag through the compiler.
74528 wl=$lt_lt_prog_compiler_wl_CXX
74530 # Additional compiler flags for building library objects.
74531 pic_flag=$lt_lt_prog_compiler_pic_CXX
74533 # Compiler flag to prevent dynamic linking.
74534 link_static_flag=$lt_lt_prog_compiler_static_CXX
74536 # Does compiler simultaneously support -c and -o options?
74537 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74539 # Whether or not to add -lc for building shared libraries.
74540 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74542 # Whether or not to disallow shared libs when runtime libs are static.
74543 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74545 # Compiler flag to allow reflexive dlopens.
74546 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74548 # Compiler flag to generate shared objects directly from archives.
74549 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74551 # Whether the compiler copes with passing no objects directly.
74552 compiler_needs_object=$lt_compiler_needs_object_CXX
74554 # Create an old-style archive from a shared archive.
74555 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74557 # Create a temporary old-style archive to link instead of a shared archive.
74558 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74560 # Commands used to build a shared archive.
74561 archive_cmds=$lt_archive_cmds_CXX
74562 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74564 # Commands used to build a loadable module if different from building
74565 # a shared archive.
74566 module_cmds=$lt_module_cmds_CXX
74567 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74569 # Whether we are building with GNU ld or not.
74570 with_gnu_ld=$lt_with_gnu_ld_CXX
74572 # Flag that allows shared libraries with undefined symbols to be built.
74573 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74575 # Flag that enforces no undefined symbols.
74576 no_undefined_flag=$lt_no_undefined_flag_CXX
74578 # Flag to hardcode \$libdir into a binary during linking.
74579 # This must work even if \$libdir does not exist
74580 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74582 # If ld is used when linking, flag to hardcode \$libdir into a binary
74583 # during linking. This must work even if \$libdir does not exist.
74584 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74586 # Whether we need a single "-rpath" flag with a separated argument.
74587 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74589 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74590 # DIR into the resulting binary.
74591 hardcode_direct=$hardcode_direct_CXX
74593 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74594 # DIR into the resulting binary and the resulting library dependency is
74595 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74596 # library is relocated.
74597 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74599 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74600 # into the resulting binary.
74601 hardcode_minus_L=$hardcode_minus_L_CXX
74603 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74604 # into the resulting binary.
74605 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74607 # Set to "yes" if building a shared library automatically hardcodes DIR
74608 # into the library and all subsequent libraries and executables linked
74609 # against it.
74610 hardcode_automatic=$hardcode_automatic_CXX
74612 # Set to yes if linker adds runtime paths of dependent libraries
74613 # to runtime path list.
74614 inherit_rpath=$inherit_rpath_CXX
74616 # Whether libtool must link a program against all its dependency libraries.
74617 link_all_deplibs=$link_all_deplibs_CXX
74619 # Fix the shell variable \$srcfile for the compiler.
74620 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74622 # Set to "yes" if exported symbols are required.
74623 always_export_symbols=$always_export_symbols_CXX
74625 # The commands to list exported symbols.
74626 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74628 # Symbols that should not be listed in the preloaded symbols.
74629 exclude_expsyms=$lt_exclude_expsyms_CXX
74631 # Symbols that must always be exported.
74632 include_expsyms=$lt_include_expsyms_CXX
74634 # Commands necessary for linking programs (against libraries) with templates.
74635 prelink_cmds=$lt_prelink_cmds_CXX
74637 # Specify filename containing input files.
74638 file_list_spec=$lt_file_list_spec_CXX
74640 # How to hardcode a shared library path into an executable.
74641 hardcode_action=$hardcode_action_CXX
74643 # The directories searched by this compiler when creating a shared library.
74644 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74646 # Dependencies to place before and after the objects being linked to
74647 # create a shared library.
74648 predep_objects=$lt_predep_objects_CXX
74649 postdep_objects=$lt_postdep_objects_CXX
74650 predeps=$lt_predeps_CXX
74651 postdeps=$lt_postdeps_CXX
74653 # The library search path used internally by the compiler when linking
74654 # a shared library.
74655 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74657 # ### END LIBTOOL TAG CONFIG: CXX
74658 _LT_EOF
74661 "include/gstdint.h":C)
74662 if test "$GCC" = yes; then
74663 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74664 else
74665 echo "/* generated for $CC */" > tmp-stdint.h
74668 sed 's/^ *//' >> tmp-stdint.h <<EOF
74670 #ifndef GCC_GENERATED_STDINT_H
74671 #define GCC_GENERATED_STDINT_H 1
74673 #include <sys/types.h>
74676 if test "$acx_cv_header_stdint" != stdint.h; then
74677 echo "#include <stddef.h>" >> tmp-stdint.h
74679 if test "$acx_cv_header_stdint" != stddef.h; then
74680 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74683 sed 's/^ *//' >> tmp-stdint.h <<EOF
74684 /* glibc uses these symbols as guards to prevent redefinitions. */
74685 #ifdef __int8_t_defined
74686 #define _INT8_T
74687 #define _INT16_T
74688 #define _INT32_T
74689 #endif
74690 #ifdef __uint32_t_defined
74691 #define _UINT32_T
74692 #endif
74696 # ----------------- done header, emit basic int types -------------
74697 if test "$acx_cv_header_stdint" = stddef.h; then
74698 sed 's/^ *//' >> tmp-stdint.h <<EOF
74700 #ifndef _UINT8_T
74701 #define _UINT8_T
74702 #ifndef __uint8_t_defined
74703 #define __uint8_t_defined
74704 #ifndef uint8_t
74705 typedef unsigned $acx_cv_type_int8_t uint8_t;
74706 #endif
74707 #endif
74708 #endif
74710 #ifndef _UINT16_T
74711 #define _UINT16_T
74712 #ifndef __uint16_t_defined
74713 #define __uint16_t_defined
74714 #ifndef uint16_t
74715 typedef unsigned $acx_cv_type_int16_t uint16_t;
74716 #endif
74717 #endif
74718 #endif
74720 #ifndef _UINT32_T
74721 #define _UINT32_T
74722 #ifndef __uint32_t_defined
74723 #define __uint32_t_defined
74724 #ifndef uint32_t
74725 typedef unsigned $acx_cv_type_int32_t uint32_t;
74726 #endif
74727 #endif
74728 #endif
74730 #ifndef _INT8_T
74731 #define _INT8_T
74732 #ifndef __int8_t_defined
74733 #define __int8_t_defined
74734 #ifndef int8_t
74735 typedef $acx_cv_type_int8_t int8_t;
74736 #endif
74737 #endif
74738 #endif
74740 #ifndef _INT16_T
74741 #define _INT16_T
74742 #ifndef __int16_t_defined
74743 #define __int16_t_defined
74744 #ifndef int16_t
74745 typedef $acx_cv_type_int16_t int16_t;
74746 #endif
74747 #endif
74748 #endif
74750 #ifndef _INT32_T
74751 #define _INT32_T
74752 #ifndef __int32_t_defined
74753 #define __int32_t_defined
74754 #ifndef int32_t
74755 typedef $acx_cv_type_int32_t int32_t;
74756 #endif
74757 #endif
74758 #endif
74760 elif test "$ac_cv_type_u_int32_t" = yes; then
74761 sed 's/^ *//' >> tmp-stdint.h <<EOF
74763 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74764 #ifndef _INT8_T
74765 #define _INT8_T
74766 #endif
74767 #ifndef _INT16_T
74768 #define _INT16_T
74769 #endif
74770 #ifndef _INT32_T
74771 #define _INT32_T
74772 #endif
74774 #ifndef _UINT8_T
74775 #define _UINT8_T
74776 #ifndef __uint8_t_defined
74777 #define __uint8_t_defined
74778 #ifndef uint8_t
74779 typedef u_int8_t uint8_t;
74780 #endif
74781 #endif
74782 #endif
74784 #ifndef _UINT16_T
74785 #define _UINT16_T
74786 #ifndef __uint16_t_defined
74787 #define __uint16_t_defined
74788 #ifndef uint16_t
74789 typedef u_int16_t uint16_t;
74790 #endif
74791 #endif
74792 #endif
74794 #ifndef _UINT32_T
74795 #define _UINT32_T
74796 #ifndef __uint32_t_defined
74797 #define __uint32_t_defined
74798 #ifndef uint32_t
74799 typedef u_int32_t uint32_t;
74800 #endif
74801 #endif
74802 #endif
74804 else
74805 sed 's/^ *//' >> tmp-stdint.h <<EOF
74807 /* Some systems have guard macros to prevent redefinitions, define them. */
74808 #ifndef _INT8_T
74809 #define _INT8_T
74810 #endif
74811 #ifndef _INT16_T
74812 #define _INT16_T
74813 #endif
74814 #ifndef _INT32_T
74815 #define _INT32_T
74816 #endif
74817 #ifndef _UINT8_T
74818 #define _UINT8_T
74819 #endif
74820 #ifndef _UINT16_T
74821 #define _UINT16_T
74822 #endif
74823 #ifndef _UINT32_T
74824 #define _UINT32_T
74825 #endif
74829 # ------------- done basic int types, emit int64_t types ------------
74830 if test "$ac_cv_type_uint64_t" = yes; then
74831 sed 's/^ *//' >> tmp-stdint.h <<EOF
74833 /* system headers have good uint64_t and int64_t */
74834 #ifndef _INT64_T
74835 #define _INT64_T
74836 #endif
74837 #ifndef _UINT64_T
74838 #define _UINT64_T
74839 #endif
74841 elif test "$ac_cv_type_u_int64_t" = yes; then
74842 sed 's/^ *//' >> tmp-stdint.h <<EOF
74844 /* system headers have an u_int64_t (and int64_t) */
74845 #ifndef _INT64_T
74846 #define _INT64_T
74847 #endif
74848 #ifndef _UINT64_T
74849 #define _UINT64_T
74850 #ifndef __uint64_t_defined
74851 #define __uint64_t_defined
74852 #ifndef uint64_t
74853 typedef u_int64_t uint64_t;
74854 #endif
74855 #endif
74856 #endif
74858 elif test -n "$acx_cv_type_int64_t"; then
74859 sed 's/^ *//' >> tmp-stdint.h <<EOF
74861 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74862 #ifndef _INT64_T
74863 #define _INT64_T
74864 #ifndef int64_t
74865 typedef $acx_cv_type_int64_t int64_t;
74866 #endif
74867 #endif
74868 #ifndef _UINT64_T
74869 #define _UINT64_T
74870 #ifndef __uint64_t_defined
74871 #define __uint64_t_defined
74872 #ifndef uint64_t
74873 typedef unsigned $acx_cv_type_int64_t uint64_t;
74874 #endif
74875 #endif
74876 #endif
74878 else
74879 sed 's/^ *//' >> tmp-stdint.h <<EOF
74881 /* some common heuristics for int64_t, using compiler-specific tests */
74882 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74883 #ifndef _INT64_T
74884 #define _INT64_T
74885 #ifndef __int64_t_defined
74886 #ifndef int64_t
74887 typedef long long int64_t;
74888 #endif
74889 #endif
74890 #endif
74891 #ifndef _UINT64_T
74892 #define _UINT64_T
74893 #ifndef uint64_t
74894 typedef unsigned long long uint64_t;
74895 #endif
74896 #endif
74898 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74899 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74900 does not implement __extension__. But that compiler doesn't define
74901 __GNUC_MINOR__. */
74902 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74903 # define __extension__
74904 # endif
74906 # ifndef _INT64_T
74907 # define _INT64_T
74908 # ifndef int64_t
74909 __extension__ typedef long long int64_t;
74910 # endif
74911 # endif
74912 # ifndef _UINT64_T
74913 # define _UINT64_T
74914 # ifndef uint64_t
74915 __extension__ typedef unsigned long long uint64_t;
74916 # endif
74917 # endif
74919 #elif !defined __STRICT_ANSI__
74920 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74922 # ifndef _INT64_T
74923 # define _INT64_T
74924 # ifndef int64_t
74925 typedef __int64 int64_t;
74926 # endif
74927 # endif
74928 # ifndef _UINT64_T
74929 # define _UINT64_T
74930 # ifndef uint64_t
74931 typedef unsigned __int64 uint64_t;
74932 # endif
74933 # endif
74934 # endif /* compiler */
74936 #endif /* ANSI version */
74940 # ------------- done int64_t types, emit intptr types ------------
74941 if test "$ac_cv_type_uintptr_t" != yes; then
74942 sed 's/^ *//' >> tmp-stdint.h <<EOF
74944 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74945 #ifndef __uintptr_t_defined
74946 #ifndef uintptr_t
74947 typedef u$acx_cv_type_intptr_t uintptr_t;
74948 #endif
74949 #endif
74950 #ifndef __intptr_t_defined
74951 #ifndef intptr_t
74952 typedef $acx_cv_type_intptr_t intptr_t;
74953 #endif
74954 #endif
74958 # ------------- done intptr types, emit int_least types ------------
74959 if test "$ac_cv_type_int_least32_t" != yes; then
74960 sed 's/^ *//' >> tmp-stdint.h <<EOF
74962 /* Define int_least types */
74963 typedef int8_t int_least8_t;
74964 typedef int16_t int_least16_t;
74965 typedef int32_t int_least32_t;
74966 #ifdef _INT64_T
74967 typedef int64_t int_least64_t;
74968 #endif
74970 typedef uint8_t uint_least8_t;
74971 typedef uint16_t uint_least16_t;
74972 typedef uint32_t uint_least32_t;
74973 #ifdef _UINT64_T
74974 typedef uint64_t uint_least64_t;
74975 #endif
74979 # ------------- done intptr types, emit int_fast types ------------
74980 if test "$ac_cv_type_int_fast32_t" != yes; then
74981 sed 's/^ *//' >> tmp-stdint.h <<EOF
74983 /* Define int_fast types. short is often slow */
74984 typedef int8_t int_fast8_t;
74985 typedef int int_fast16_t;
74986 typedef int32_t int_fast32_t;
74987 #ifdef _INT64_T
74988 typedef int64_t int_fast64_t;
74989 #endif
74991 typedef uint8_t uint_fast8_t;
74992 typedef unsigned int uint_fast16_t;
74993 typedef uint32_t uint_fast32_t;
74994 #ifdef _UINT64_T
74995 typedef uint64_t uint_fast64_t;
74996 #endif
75000 if test "$ac_cv_type_uintmax_t" != yes; then
75001 sed 's/^ *//' >> tmp-stdint.h <<EOF
75003 /* Define intmax based on what we found */
75004 #ifndef intmax_t
75005 #ifdef _INT64_T
75006 typedef int64_t intmax_t;
75007 #else
75008 typedef long intmax_t;
75009 #endif
75010 #endif
75011 #ifndef uintmax_t
75012 #ifdef _UINT64_T
75013 typedef uint64_t uintmax_t;
75014 #else
75015 typedef unsigned long uintmax_t;
75016 #endif
75017 #endif
75021 sed 's/^ *//' >> tmp-stdint.h <<EOF
75023 #endif /* GCC_GENERATED_STDINT_H */
75026 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75027 rm -f tmp-stdint.h
75028 else
75029 mv -f tmp-stdint.h include/gstdint.h
75033 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75034 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75035 "include/Makefile":F) cat > vpsed$$ << \_EOF
75036 s!`test -f '$<' || echo '$(srcdir)/'`!!
75037 _EOF
75038 sed -f vpsed$$ $ac_file > tmp$$
75039 mv tmp$$ $ac_file
75040 rm vpsed$$
75041 echo 'MULTISUBDIR =' >> $ac_file
75042 ml_norecursion=yes
75043 . ${multi_basedir}/config-ml.in
75044 { ml_norecursion=; unset ml_norecursion;}
75046 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75047 s!`test -f '$<' || echo '$(srcdir)/'`!!
75048 _EOF
75049 sed -f vpsed$$ $ac_file > tmp$$
75050 mv tmp$$ $ac_file
75051 rm vpsed$$
75052 echo 'MULTISUBDIR =' >> $ac_file
75053 ml_norecursion=yes
75054 . ${multi_basedir}/config-ml.in
75055 { ml_norecursion=; unset ml_norecursion;}
75057 "python/Makefile":F) cat > vpsed$$ << \_EOF
75058 s!`test -f '$<' || echo '$(srcdir)/'`!!
75059 _EOF
75060 sed -f vpsed$$ $ac_file > tmp$$
75061 mv tmp$$ $ac_file
75062 rm vpsed$$
75063 echo 'MULTISUBDIR =' >> $ac_file
75064 ml_norecursion=yes
75065 . ${multi_basedir}/config-ml.in
75066 { ml_norecursion=; unset ml_norecursion;}
75068 "src/Makefile":F) cat > vpsed$$ << \_EOF
75069 s!`test -f '$<' || echo '$(srcdir)/'`!!
75070 _EOF
75071 sed -f vpsed$$ $ac_file > tmp$$
75072 mv tmp$$ $ac_file
75073 rm vpsed$$
75074 echo 'MULTISUBDIR =' >> $ac_file
75075 ml_norecursion=yes
75076 . ${multi_basedir}/config-ml.in
75077 { ml_norecursion=; unset ml_norecursion;}
75079 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75080 s!`test -f '$<' || echo '$(srcdir)/'`!!
75081 _EOF
75082 sed -f vpsed$$ $ac_file > tmp$$
75083 mv tmp$$ $ac_file
75084 rm vpsed$$
75085 echo 'MULTISUBDIR =' >> $ac_file
75086 ml_norecursion=yes
75087 . ${multi_basedir}/config-ml.in
75088 { ml_norecursion=; unset ml_norecursion;}
75090 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75091 s!`test -f '$<' || echo '$(srcdir)/'`!!
75092 _EOF
75093 sed -f vpsed$$ $ac_file > tmp$$
75094 mv tmp$$ $ac_file
75095 rm vpsed$$
75096 echo 'MULTISUBDIR =' >> $ac_file
75097 ml_norecursion=yes
75098 . ${multi_basedir}/config-ml.in
75099 { ml_norecursion=; unset ml_norecursion;}
75101 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75102 s!`test -f '$<' || echo '$(srcdir)/'`!!
75103 _EOF
75104 sed -f vpsed$$ $ac_file > tmp$$
75105 mv tmp$$ $ac_file
75106 rm vpsed$$
75107 echo 'MULTISUBDIR =' >> $ac_file
75108 ml_norecursion=yes
75109 . ${multi_basedir}/config-ml.in
75110 { ml_norecursion=; unset ml_norecursion;}
75112 "po/Makefile":F) cat > vpsed$$ << \_EOF
75113 s!`test -f '$<' || echo '$(srcdir)/'`!!
75114 _EOF
75115 sed -f vpsed$$ $ac_file > tmp$$
75116 mv tmp$$ $ac_file
75117 rm vpsed$$
75118 echo 'MULTISUBDIR =' >> $ac_file
75119 ml_norecursion=yes
75120 . ${multi_basedir}/config-ml.in
75121 { ml_norecursion=; unset ml_norecursion;}
75123 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75124 s!`test -f '$<' || echo '$(srcdir)/'`!!
75125 _EOF
75126 sed -f vpsed$$ $ac_file > tmp$$
75127 mv tmp$$ $ac_file
75128 rm vpsed$$
75129 echo 'MULTISUBDIR =' >> $ac_file
75130 ml_norecursion=yes
75131 . ${multi_basedir}/config-ml.in
75132 { ml_norecursion=; unset ml_norecursion;}
75134 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75136 esac
75137 done # for ac_tag
75140 as_fn_exit 0
75141 _ACEOF
75142 ac_clean_files=$ac_clean_files_save
75144 test $ac_write_fail = 0 ||
75145 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75148 # configure is writing to config.log, and then calls config.status.
75149 # config.status does its own redirection, appending to config.log.
75150 # Unfortunately, on DOS this fails, as config.log is still kept open
75151 # by configure, so config.status won't be able to write to it; its
75152 # output is simply discarded. So we exec the FD to /dev/null,
75153 # effectively closing config.log, so it can be properly (re)opened and
75154 # appended to by config.status. When coming back to configure, we
75155 # need to make the FD available again.
75156 if test "$no_create" != yes; then
75157 ac_cs_success=:
75158 ac_config_status_args=
75159 test "$silent" = yes &&
75160 ac_config_status_args="$ac_config_status_args --quiet"
75161 exec 5>/dev/null
75162 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75163 exec 5>>config.log
75164 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75165 # would make configure fail if this is the last instruction.
75166 $ac_cs_success || as_fn_exit $?
75168 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75170 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}