Implement std::launder for C++17
[official-gcc.git] / libstdc++-v3 / configure
blob8481a48fbd8a8a7950a03d4bb8762c10033da49f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 LONG_DOUBLE_COMPAT_FLAGS
649 ENABLE_CXX11_ABI_FALSE
650 ENABLE_CXX11_ABI_TRUE
651 glibcxx_cxx98_abi
652 ENABLE_DUAL_ABI_FALSE
653 ENABLE_DUAL_ABI_TRUE
654 ENABLE_VISIBILITY_FALSE
655 ENABLE_VISIBILITY_TRUE
656 libtool_VERSION
657 ENABLE_SYMVERS_SUN_FALSE
658 ENABLE_SYMVERS_SUN_TRUE
659 ENABLE_SYMVERS_DARWIN_FALSE
660 ENABLE_SYMVERS_DARWIN_TRUE
661 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
662 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
663 ENABLE_SYMVERS_GNU_FALSE
664 ENABLE_SYMVERS_GNU_TRUE
665 ENABLE_SYMVERS_FALSE
666 ENABLE_SYMVERS_TRUE
667 port_specific_symbol_files
668 SYMVER_FILE
669 CXXFILT
670 LTLIBICONV
671 LIBICONV
672 OPT_LDFLAGS
673 SECTION_LDFLAGS
674 GLIBCXX_LIBS
675 ENABLE_VTABLE_VERIFY_FALSE
676 ENABLE_VTABLE_VERIFY_TRUE
677 VTV_CYGMIN_FALSE
678 VTV_CYGMIN_TRUE
679 VTV_CXXLINKFLAGS
680 VTV_PCH_CXXFLAGS
681 VTV_CXXFLAGS
682 ENABLE_WERROR_FALSE
683 ENABLE_WERROR_TRUE
684 ENABLE_PYTHONDIR_FALSE
685 ENABLE_PYTHONDIR_TRUE
686 python_mod_dir
687 ENABLE_EXTERN_TEMPLATE_FALSE
688 ENABLE_EXTERN_TEMPLATE_TRUE
689 EXTRA_CXX_FLAGS
690 GLIBCXX_BUILD_DEBUG_FALSE
691 GLIBCXX_BUILD_DEBUG_TRUE
692 DEBUG_FLAGS
693 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
694 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
695 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
696 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
697 GLIBCXX_C_HEADERS_C_STD_FALSE
698 GLIBCXX_C_HEADERS_C_STD_TRUE
699 GLIBCXX_C_HEADERS_C_FALSE
700 GLIBCXX_C_HEADERS_C_TRUE
701 C_INCLUDE_DIR
702 ALLOCATOR_NAME
703 ALLOCATOR_H
704 ENABLE_ALLOCATOR_NEW_FALSE
705 ENABLE_ALLOCATOR_NEW_TRUE
706 CLOCALE_INTERNAL_H
707 CLOCALE_CC
708 CTIME_CC
709 CTIME_H
710 CNUMERIC_CC
711 CMONEY_CC
712 CMESSAGES_CC
713 CCTYPE_CC
714 CCOLLATE_CC
715 CCODECVT_CC
716 CMESSAGES_H
717 CLOCALE_H
718 USE_NLS
719 glibcxx_localedir
720 glibcxx_POFILES
721 glibcxx_MOFILES
722 check_msgfmt
723 BASIC_FILE_CC
724 BASIC_FILE_H
725 CSTDIO_H
726 SECTION_FLAGS
727 WERROR
728 thread_header
729 glibcxx_PCHFLAGS
730 GLIBCXX_BUILD_PCH_FALSE
731 GLIBCXX_BUILD_PCH_TRUE
732 GLIBCXX_HOSTED_FALSE
733 GLIBCXX_HOSTED_TRUE
734 glibcxx_compiler_shared_flag
735 glibcxx_compiler_pic_flag
736 glibcxx_lt_pic_flag
737 enable_static
738 enable_shared
739 lt_host_flags
740 CXXCPP
741 OTOOL64
742 OTOOL
743 LIPO
744 NMEDIT
745 DSYMUTIL
746 OBJDUMP
748 ac_ct_DUMPBIN
749 DUMPBIN
751 FGREP
753 LIBTOOL
754 EGREP
755 GREP
757 MAINT
758 MAINTAINER_MODE_FALSE
759 MAINTAINER_MODE_TRUE
760 RANLIB
763 LN_S
764 toplevel_srcdir
765 toplevel_builddir
766 glibcxx_srcdir
767 glibcxx_builddir
768 ac_ct_CXX
769 CXXFLAGS
771 OBJEXT
772 EXEEXT
773 ac_ct_CC
774 CPPFLAGS
775 LDFLAGS
776 CFLAGS
778 am__untar
779 am__tar
780 AMTAR
781 am__leading_dot
782 SET_MAKE
784 mkdir_p
785 MKDIR_P
786 INSTALL_STRIP_PROGRAM
787 STRIP
788 install_sh
789 MAKEINFO
790 AUTOHEADER
791 AUTOMAKE
792 AUTOCONF
793 ACLOCAL
794 VERSION
795 PACKAGE
796 CYGPATH_W
797 am__isrc
798 INSTALL_DATA
799 INSTALL_SCRIPT
800 INSTALL_PROGRAM
801 target_os
802 target_vendor
803 target_cpu
804 target
805 host_os
806 host_vendor
807 host_cpu
808 host
809 build_os
810 build_vendor
811 build_cpu
812 build
813 multi_basedir
814 target_alias
815 host_alias
816 build_alias
817 LIBS
818 ECHO_T
819 ECHO_N
820 ECHO_C
821 DEFS
822 mandir
823 localedir
824 libdir
825 psdir
826 pdfdir
827 dvidir
828 htmldir
829 infodir
830 docdir
831 oldincludedir
832 includedir
833 localstatedir
834 sharedstatedir
835 sysconfdir
836 datadir
837 datarootdir
838 libexecdir
839 sbindir
840 bindir
841 program_transform_name
842 prefix
843 exec_prefix
844 PACKAGE_URL
845 PACKAGE_BUGREPORT
846 PACKAGE_STRING
847 PACKAGE_VERSION
848 PACKAGE_TARNAME
849 PACKAGE_NAME
850 PATH_SEPARATOR
851 SHELL'
852 ac_subst_files=''
853 ac_user_opts='
854 enable_option_checking
855 enable_multilib
856 with_target_subdir
857 with_cross_host
858 with_newlib
859 enable_maintainer_mode
860 enable_shared
861 enable_static
862 with_pic
863 enable_fast_install
864 with_gnu_ld
865 enable_libtool_lock
866 enable_hosted_libstdcxx
867 enable_libstdcxx_verbose
868 enable_libstdcxx_pch
869 enable_cstdio
870 enable_clocale
871 enable_nls
872 enable_libstdcxx_allocator
873 enable_cheaders
874 enable_long_long
875 enable_wchar_t
876 enable_c99
877 enable_concept_checks
878 enable_libstdcxx_debug_flags
879 enable_libstdcxx_debug
880 enable_cxx_flags
881 enable_fully_dynamic_string
882 enable_extern_template
883 with_python_dir
884 enable_werror
885 enable_vtable_verify
886 enable_libstdcxx_time
887 enable_tls
888 enable_rpath
889 with_libiconv_prefix
890 with_system_libunwind
891 enable_linux_futex
892 enable_symvers
893 enable_libstdcxx_visibility
894 enable_libstdcxx_dual_abi
895 with_default_libstdcxx_abi
896 enable_libstdcxx_threads
897 enable_libstdcxx_filesystem_ts
898 with_gxx_include_dir
899 enable_version_specific_runtime_libs
901 ac_precious_vars='build_alias
902 host_alias
903 target_alias
905 CFLAGS
906 LDFLAGS
907 LIBS
908 CPPFLAGS
910 CXXFLAGS
913 CXXCPP
914 CXXFILT'
917 # Initialize some variables set by options.
918 ac_init_help=
919 ac_init_version=false
920 ac_unrecognized_opts=
921 ac_unrecognized_sep=
922 # The variables have the same names as the options, with
923 # dashes changed to underlines.
924 cache_file=/dev/null
925 exec_prefix=NONE
926 no_create=
927 no_recursion=
928 prefix=NONE
929 program_prefix=NONE
930 program_suffix=NONE
931 program_transform_name=s,x,x,
932 silent=
933 site=
934 srcdir=
935 verbose=
936 x_includes=NONE
937 x_libraries=NONE
939 # Installation directory options.
940 # These are left unexpanded so users can "make install exec_prefix=/foo"
941 # and all the variables that are supposed to be based on exec_prefix
942 # by default will actually change.
943 # Use braces instead of parens because sh, perl, etc. also accept them.
944 # (The list follows the same order as the GNU Coding Standards.)
945 bindir='${exec_prefix}/bin'
946 sbindir='${exec_prefix}/sbin'
947 libexecdir='${exec_prefix}/libexec'
948 datarootdir='${prefix}/share'
949 datadir='${datarootdir}'
950 sysconfdir='${prefix}/etc'
951 sharedstatedir='${prefix}/com'
952 localstatedir='${prefix}/var'
953 includedir='${prefix}/include'
954 oldincludedir='/usr/include'
955 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
956 infodir='${datarootdir}/info'
957 htmldir='${docdir}'
958 dvidir='${docdir}'
959 pdfdir='${docdir}'
960 psdir='${docdir}'
961 libdir='${exec_prefix}/lib'
962 localedir='${datarootdir}/locale'
963 mandir='${datarootdir}/man'
965 ac_prev=
966 ac_dashdash=
967 for ac_option
969 # If the previous option needs an argument, assign it.
970 if test -n "$ac_prev"; then
971 eval $ac_prev=\$ac_option
972 ac_prev=
973 continue
976 case $ac_option in
977 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
978 *) ac_optarg=yes ;;
979 esac
981 # Accept the important Cygnus configure options, so we can diagnose typos.
983 case $ac_dashdash$ac_option in
985 ac_dashdash=yes ;;
987 -bindir | --bindir | --bindi | --bind | --bin | --bi)
988 ac_prev=bindir ;;
989 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
990 bindir=$ac_optarg ;;
992 -build | --build | --buil | --bui | --bu)
993 ac_prev=build_alias ;;
994 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
995 build_alias=$ac_optarg ;;
997 -cache-file | --cache-file | --cache-fil | --cache-fi \
998 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
999 ac_prev=cache_file ;;
1000 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1001 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1002 cache_file=$ac_optarg ;;
1004 --config-cache | -C)
1005 cache_file=config.cache ;;
1007 -datadir | --datadir | --datadi | --datad)
1008 ac_prev=datadir ;;
1009 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1010 datadir=$ac_optarg ;;
1012 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1013 | --dataroo | --dataro | --datar)
1014 ac_prev=datarootdir ;;
1015 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1016 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1017 datarootdir=$ac_optarg ;;
1019 -disable-* | --disable-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error "invalid feature name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1028 "enable_$ac_useropt"
1029 "*) ;;
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1032 esac
1033 eval enable_$ac_useropt=no ;;
1035 -docdir | --docdir | --docdi | --doc | --do)
1036 ac_prev=docdir ;;
1037 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1038 docdir=$ac_optarg ;;
1040 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1041 ac_prev=dvidir ;;
1042 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1043 dvidir=$ac_optarg ;;
1045 -enable-* | --enable-*)
1046 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1047 # Reject names that are not valid shell variable names.
1048 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1049 as_fn_error "invalid feature name: $ac_useropt"
1050 ac_useropt_orig=$ac_useropt
1051 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1052 case $ac_user_opts in
1054 "enable_$ac_useropt"
1055 "*) ;;
1056 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1057 ac_unrecognized_sep=', ';;
1058 esac
1059 eval enable_$ac_useropt=\$ac_optarg ;;
1061 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1062 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1063 | --exec | --exe | --ex)
1064 ac_prev=exec_prefix ;;
1065 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1066 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1067 | --exec=* | --exe=* | --ex=*)
1068 exec_prefix=$ac_optarg ;;
1070 -gas | --gas | --ga | --g)
1071 # Obsolete; use --with-gas.
1072 with_gas=yes ;;
1074 -help | --help | --hel | --he | -h)
1075 ac_init_help=long ;;
1076 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1077 ac_init_help=recursive ;;
1078 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1079 ac_init_help=short ;;
1081 -host | --host | --hos | --ho)
1082 ac_prev=host_alias ;;
1083 -host=* | --host=* | --hos=* | --ho=*)
1084 host_alias=$ac_optarg ;;
1086 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1087 ac_prev=htmldir ;;
1088 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1089 | --ht=*)
1090 htmldir=$ac_optarg ;;
1092 -includedir | --includedir | --includedi | --included | --include \
1093 | --includ | --inclu | --incl | --inc)
1094 ac_prev=includedir ;;
1095 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1096 | --includ=* | --inclu=* | --incl=* | --inc=*)
1097 includedir=$ac_optarg ;;
1099 -infodir | --infodir | --infodi | --infod | --info | --inf)
1100 ac_prev=infodir ;;
1101 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1102 infodir=$ac_optarg ;;
1104 -libdir | --libdir | --libdi | --libd)
1105 ac_prev=libdir ;;
1106 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1107 libdir=$ac_optarg ;;
1109 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1110 | --libexe | --libex | --libe)
1111 ac_prev=libexecdir ;;
1112 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1113 | --libexe=* | --libex=* | --libe=*)
1114 libexecdir=$ac_optarg ;;
1116 -localedir | --localedir | --localedi | --localed | --locale)
1117 ac_prev=localedir ;;
1118 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1119 localedir=$ac_optarg ;;
1121 -localstatedir | --localstatedir | --localstatedi | --localstated \
1122 | --localstate | --localstat | --localsta | --localst | --locals)
1123 ac_prev=localstatedir ;;
1124 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1125 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1126 localstatedir=$ac_optarg ;;
1128 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1129 ac_prev=mandir ;;
1130 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1131 mandir=$ac_optarg ;;
1133 -nfp | --nfp | --nf)
1134 # Obsolete; use --without-fp.
1135 with_fp=no ;;
1137 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1138 | --no-cr | --no-c | -n)
1139 no_create=yes ;;
1141 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1142 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1143 no_recursion=yes ;;
1145 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1146 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1147 | --oldin | --oldi | --old | --ol | --o)
1148 ac_prev=oldincludedir ;;
1149 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1150 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1151 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1152 oldincludedir=$ac_optarg ;;
1154 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1155 ac_prev=prefix ;;
1156 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1157 prefix=$ac_optarg ;;
1159 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1160 | --program-pre | --program-pr | --program-p)
1161 ac_prev=program_prefix ;;
1162 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1163 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1164 program_prefix=$ac_optarg ;;
1166 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1167 | --program-suf | --program-su | --program-s)
1168 ac_prev=program_suffix ;;
1169 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1170 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1171 program_suffix=$ac_optarg ;;
1173 -program-transform-name | --program-transform-name \
1174 | --program-transform-nam | --program-transform-na \
1175 | --program-transform-n | --program-transform- \
1176 | --program-transform | --program-transfor \
1177 | --program-transfo | --program-transf \
1178 | --program-trans | --program-tran \
1179 | --progr-tra | --program-tr | --program-t)
1180 ac_prev=program_transform_name ;;
1181 -program-transform-name=* | --program-transform-name=* \
1182 | --program-transform-nam=* | --program-transform-na=* \
1183 | --program-transform-n=* | --program-transform-=* \
1184 | --program-transform=* | --program-transfor=* \
1185 | --program-transfo=* | --program-transf=* \
1186 | --program-trans=* | --program-tran=* \
1187 | --progr-tra=* | --program-tr=* | --program-t=*)
1188 program_transform_name=$ac_optarg ;;
1190 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1191 ac_prev=pdfdir ;;
1192 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1193 pdfdir=$ac_optarg ;;
1195 -psdir | --psdir | --psdi | --psd | --ps)
1196 ac_prev=psdir ;;
1197 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1198 psdir=$ac_optarg ;;
1200 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1201 | -silent | --silent | --silen | --sile | --sil)
1202 silent=yes ;;
1204 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1205 ac_prev=sbindir ;;
1206 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1207 | --sbi=* | --sb=*)
1208 sbindir=$ac_optarg ;;
1210 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1211 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1212 | --sharedst | --shareds | --shared | --share | --shar \
1213 | --sha | --sh)
1214 ac_prev=sharedstatedir ;;
1215 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1216 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1217 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1218 | --sha=* | --sh=*)
1219 sharedstatedir=$ac_optarg ;;
1221 -site | --site | --sit)
1222 ac_prev=site ;;
1223 -site=* | --site=* | --sit=*)
1224 site=$ac_optarg ;;
1226 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1227 ac_prev=srcdir ;;
1228 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1229 srcdir=$ac_optarg ;;
1231 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1232 | --syscon | --sysco | --sysc | --sys | --sy)
1233 ac_prev=sysconfdir ;;
1234 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1235 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1236 sysconfdir=$ac_optarg ;;
1238 -target | --target | --targe | --targ | --tar | --ta | --t)
1239 ac_prev=target_alias ;;
1240 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1241 target_alias=$ac_optarg ;;
1243 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1244 verbose=yes ;;
1246 -version | --version | --versio | --versi | --vers | -V)
1247 ac_init_version=: ;;
1249 -with-* | --with-*)
1250 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1251 # Reject names that are not valid shell variable names.
1252 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1253 as_fn_error "invalid package name: $ac_useropt"
1254 ac_useropt_orig=$ac_useropt
1255 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1256 case $ac_user_opts in
1258 "with_$ac_useropt"
1259 "*) ;;
1260 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1261 ac_unrecognized_sep=', ';;
1262 esac
1263 eval with_$ac_useropt=\$ac_optarg ;;
1265 -without-* | --without-*)
1266 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1267 # Reject names that are not valid shell variable names.
1268 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1269 as_fn_error "invalid package name: $ac_useropt"
1270 ac_useropt_orig=$ac_useropt
1271 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1272 case $ac_user_opts in
1274 "with_$ac_useropt"
1275 "*) ;;
1276 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1277 ac_unrecognized_sep=', ';;
1278 esac
1279 eval with_$ac_useropt=no ;;
1281 --x)
1282 # Obsolete; use --with-x.
1283 with_x=yes ;;
1285 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1286 | --x-incl | --x-inc | --x-in | --x-i)
1287 ac_prev=x_includes ;;
1288 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1289 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1290 x_includes=$ac_optarg ;;
1292 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1293 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1294 ac_prev=x_libraries ;;
1295 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1296 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1297 x_libraries=$ac_optarg ;;
1299 -*) as_fn_error "unrecognized option: \`$ac_option'
1300 Try \`$0 --help' for more information."
1303 *=*)
1304 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1305 # Reject names that are not valid shell variable names.
1306 case $ac_envvar in #(
1307 '' | [0-9]* | *[!_$as_cr_alnum]* )
1308 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1309 esac
1310 eval $ac_envvar=\$ac_optarg
1311 export $ac_envvar ;;
1314 # FIXME: should be removed in autoconf 3.0.
1315 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1316 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1317 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1318 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1321 esac
1322 done
1324 if test -n "$ac_prev"; then
1325 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1326 as_fn_error "missing argument to $ac_option"
1329 if test -n "$ac_unrecognized_opts"; then
1330 case $enable_option_checking in
1331 no) ;;
1332 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1333 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1334 esac
1337 # Check all directory arguments for consistency.
1338 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1339 datadir sysconfdir sharedstatedir localstatedir includedir \
1340 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1341 libdir localedir mandir
1343 eval ac_val=\$$ac_var
1344 # Remove trailing slashes.
1345 case $ac_val in
1346 */ )
1347 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1348 eval $ac_var=\$ac_val;;
1349 esac
1350 # Be sure to have absolute directory names.
1351 case $ac_val in
1352 [\\/$]* | ?:[\\/]* ) continue;;
1353 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1354 esac
1355 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1356 done
1358 # There might be people who depend on the old broken behavior: `$host'
1359 # used to hold the argument of --host etc.
1360 # FIXME: To remove some day.
1361 build=$build_alias
1362 host=$host_alias
1363 target=$target_alias
1365 # FIXME: To remove some day.
1366 if test "x$host_alias" != x; then
1367 if test "x$build_alias" = x; then
1368 cross_compiling=maybe
1369 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1370 If a cross compiler is detected then cross compile mode will be used." >&2
1371 elif test "x$build_alias" != "x$host_alias"; then
1372 cross_compiling=yes
1376 ac_tool_prefix=
1377 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1379 test "$silent" = yes && exec 6>/dev/null
1382 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1383 ac_ls_di=`ls -di .` &&
1384 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1385 as_fn_error "working directory cannot be determined"
1386 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1387 as_fn_error "pwd does not report name of working directory"
1390 # Find the source files, if location was not specified.
1391 if test -z "$srcdir"; then
1392 ac_srcdir_defaulted=yes
1393 # Try the directory containing this script, then the parent directory.
1394 ac_confdir=`$as_dirname -- "$as_myself" ||
1395 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1396 X"$as_myself" : 'X\(//\)[^/]' \| \
1397 X"$as_myself" : 'X\(//\)$' \| \
1398 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1399 $as_echo X"$as_myself" |
1400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1401 s//\1/
1404 /^X\(\/\/\)[^/].*/{
1405 s//\1/
1408 /^X\(\/\/\)$/{
1409 s//\1/
1412 /^X\(\/\).*/{
1413 s//\1/
1416 s/.*/./; q'`
1417 srcdir=$ac_confdir
1418 if test ! -r "$srcdir/$ac_unique_file"; then
1419 srcdir=..
1421 else
1422 ac_srcdir_defaulted=no
1424 if test ! -r "$srcdir/$ac_unique_file"; then
1425 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1426 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1428 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1429 ac_abs_confdir=`(
1430 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1431 pwd)`
1432 # When building in place, set srcdir=.
1433 if test "$ac_abs_confdir" = "$ac_pwd"; then
1434 srcdir=.
1436 # Remove unnecessary trailing slashes from srcdir.
1437 # Double slashes in file names in object file debugging info
1438 # mess up M-x gdb in Emacs.
1439 case $srcdir in
1440 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1441 esac
1442 for ac_var in $ac_precious_vars; do
1443 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1444 eval ac_env_${ac_var}_value=\$${ac_var}
1445 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1446 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1447 done
1450 # Report the --help message.
1452 if test "$ac_init_help" = "long"; then
1453 # Omit some internal or obsolete options to make the list less imposing.
1454 # This message is too long to be a string in the A/UX 3.1 sh.
1455 cat <<_ACEOF
1456 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1458 Usage: $0 [OPTION]... [VAR=VALUE]...
1460 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1461 VAR=VALUE. See below for descriptions of some of the useful variables.
1463 Defaults for the options are specified in brackets.
1465 Configuration:
1466 -h, --help display this help and exit
1467 --help=short display options specific to this package
1468 --help=recursive display the short help of all the included packages
1469 -V, --version display version information and exit
1470 -q, --quiet, --silent do not print \`checking...' messages
1471 --cache-file=FILE cache test results in FILE [disabled]
1472 -C, --config-cache alias for \`--cache-file=config.cache'
1473 -n, --no-create do not create output files
1474 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1476 Installation directories:
1477 --prefix=PREFIX install architecture-independent files in PREFIX
1478 [$ac_default_prefix]
1479 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1480 [PREFIX]
1482 By default, \`make install' will install all the files in
1483 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1484 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1485 for instance \`--prefix=\$HOME'.
1487 For better control, use the options below.
1489 Fine tuning of the installation directories:
1490 --bindir=DIR user executables [EPREFIX/bin]
1491 --sbindir=DIR system admin executables [EPREFIX/sbin]
1492 --libexecdir=DIR program executables [EPREFIX/libexec]
1493 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1494 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1495 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1496 --libdir=DIR object code libraries [EPREFIX/lib]
1497 --includedir=DIR C header files [PREFIX/include]
1498 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1499 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1500 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1501 --infodir=DIR info documentation [DATAROOTDIR/info]
1502 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1503 --mandir=DIR man documentation [DATAROOTDIR/man]
1504 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1505 --htmldir=DIR html documentation [DOCDIR]
1506 --dvidir=DIR dvi documentation [DOCDIR]
1507 --pdfdir=DIR pdf documentation [DOCDIR]
1508 --psdir=DIR ps documentation [DOCDIR]
1509 _ACEOF
1511 cat <<\_ACEOF
1513 Program names:
1514 --program-prefix=PREFIX prepend PREFIX to installed program names
1515 --program-suffix=SUFFIX append SUFFIX to installed program names
1516 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1518 System types:
1519 --build=BUILD configure for building on BUILD [guessed]
1520 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1521 --target=TARGET configure for building compilers for TARGET [HOST]
1522 _ACEOF
1525 if test -n "$ac_init_help"; then
1526 case $ac_init_help in
1527 short | recursive ) echo "Configuration of package-unused version-unused:";;
1528 esac
1529 cat <<\_ACEOF
1531 Optional Features:
1532 --disable-option-checking ignore unrecognized --enable/--with options
1533 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1534 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1535 --enable-multilib build many library versions (default)
1536 --enable-maintainer-mode enable make rules and dependencies not useful
1537 (and sometimes confusing) to the casual installer
1538 --enable-shared[=PKGS] build shared libraries [default=yes]
1539 --enable-static[=PKGS] build static libraries [default=yes]
1540 --enable-fast-install[=PKGS]
1541 optimize for fast installation [default=yes]
1542 --disable-libtool-lock avoid locking (might break parallel builds)
1543 --disable-hosted-libstdcxx
1544 only build freestanding C++ runtime support
1545 --disable-libstdcxx-verbose
1546 disable termination messages to standard error
1547 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1548 [default=$is_hosted]
1549 --enable-cstdio[=PACKAGE]
1550 use target-specific I/O package [default=stdio]
1551 --enable-clocale[=MODEL]
1552 use MODEL for target locale package [default=auto]
1553 --enable-nls use Native Language Support (default)
1554 --enable-libstdcxx-allocator[=KIND]
1555 use KIND for target std::allocator base
1556 [default=auto]
1557 --enable-cheaders[=KIND]
1558 construct "C" headers for g++ [default=$c_model]
1559 --enable-long-long enable template specializations for 'long long'
1560 [default=yes]
1561 --enable-wchar_t enable template specializations for 'wchar_t'
1562 [default=yes]
1563 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1564 --enable-concept-checks use Boost-derived template checks [default=no]
1565 --enable-libstdcxx-debug-flags=FLAGS
1566 pass compiler FLAGS when building debug library
1567 [default="-gdwarf-4 -g3 -O0"]
1568 --enable-libstdcxx-debug
1569 build extra debug library [default=no]
1570 --enable-cxx-flags=FLAGS
1571 pass compiler FLAGS when building library [default=]
1572 --enable-fully-dynamic-string
1573 do not put empty strings in per-process static
1574 memory [default=no]
1575 --enable-extern-template
1576 enable extern template [default=yes]
1577 --enable-werror turns on -Werror [default=yes]
1578 --enable-vtable-verify enable vtable verify [default=no]
1579 --enable-libstdcxx-time[=KIND]
1580 use KIND for check type [default=auto]
1581 --enable-tls Use thread-local storage [default=yes]
1582 --disable-rpath do not hardcode runtime library paths
1583 --enable-linux-futex use the Linux futex system call [default=default]
1584 --enable-symvers[=STYLE]
1585 enables symbol versioning of the shared library
1586 [default=yes]
1587 --enable-libstdcxx-visibility
1588 enables visibility safe usage [default=yes]
1589 --enable-libstdcxx-dual-abi
1590 support two versions of std::string [default=yes]
1591 --enable-libstdcxx-threads
1592 enable C++11 threads support [default=auto]
1593 --enable-libstdcxx-filesystem-ts
1594 turns on ISO/IEC TS 18822 support [default=auto]
1595 --enable-version-specific-runtime-libs
1596 Specify that runtime libraries should be installed
1597 in a compiler-specific directory
1599 Optional Packages:
1600 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1601 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1602 --with-target-subdir=SUBDIR
1603 configuring in a subdirectory
1604 --with-cross-host=HOST configuring with a cross compiler
1605 --with-newlib assume newlib as a system C library
1606 --with-pic try to use only PIC/non-PIC objects [default=use
1607 both]
1608 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1609 --with-python-dir the location to install Python modules. This path is
1610 relative starting from the prefix.
1611 --with-gnu-ld assume the C compiler uses GNU ld default=no
1612 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1613 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1614 --with-system-libunwind use installed libunwind
1615 --with-default-libstdcxx-abi
1616 set the std::string ABI to use by default
1617 --with-gxx-include-dir=DIR
1618 installation directory for include files
1620 Some influential environment variables:
1621 CC C compiler command
1622 CFLAGS C compiler flags
1623 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1624 nonstandard directory <lib dir>
1625 LIBS libraries to pass to the linker, e.g. -l<library>
1626 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1627 you have headers in a nonstandard directory <include dir>
1628 CXX C++ compiler command
1629 CXXFLAGS C++ compiler flags
1630 CPP C preprocessor
1631 CXXCPP C++ preprocessor
1632 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1633 `c++filt', `gc++filt' on PATH.
1635 Use these variables to override the choices made by `configure' or to help
1636 it to find libraries and programs with nonstandard names/locations.
1638 Report bugs to the package provider.
1639 _ACEOF
1640 ac_status=$?
1643 if test "$ac_init_help" = "recursive"; then
1644 # If there are subdirs, report their specific --help.
1645 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1646 test -d "$ac_dir" ||
1647 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1648 continue
1649 ac_builddir=.
1651 case "$ac_dir" in
1652 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1654 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1655 # A ".." for each directory in $ac_dir_suffix.
1656 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1657 case $ac_top_builddir_sub in
1658 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1659 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1660 esac ;;
1661 esac
1662 ac_abs_top_builddir=$ac_pwd
1663 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1664 # for backward compatibility:
1665 ac_top_builddir=$ac_top_build_prefix
1667 case $srcdir in
1668 .) # We are building in place.
1669 ac_srcdir=.
1670 ac_top_srcdir=$ac_top_builddir_sub
1671 ac_abs_top_srcdir=$ac_pwd ;;
1672 [\\/]* | ?:[\\/]* ) # Absolute name.
1673 ac_srcdir=$srcdir$ac_dir_suffix;
1674 ac_top_srcdir=$srcdir
1675 ac_abs_top_srcdir=$srcdir ;;
1676 *) # Relative name.
1677 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1678 ac_top_srcdir=$ac_top_build_prefix$srcdir
1679 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1680 esac
1681 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1683 cd "$ac_dir" || { ac_status=$?; continue; }
1684 # Check for guested configure.
1685 if test -f "$ac_srcdir/configure.gnu"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1688 elif test -f "$ac_srcdir/configure"; then
1689 echo &&
1690 $SHELL "$ac_srcdir/configure" --help=recursive
1691 else
1692 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1693 fi || ac_status=$?
1694 cd "$ac_pwd" || { ac_status=$?; break; }
1695 done
1698 test -n "$ac_init_help" && exit $ac_status
1699 if $ac_init_version; then
1700 cat <<\_ACEOF
1701 package-unused configure version-unused
1702 generated by GNU Autoconf 2.64
1704 Copyright (C) 2009 Free Software Foundation, Inc.
1705 This configure script is free software; the Free Software Foundation
1706 gives unlimited permission to copy, distribute and modify it.
1707 _ACEOF
1708 exit
1711 ## ------------------------ ##
1712 ## Autoconf initialization. ##
1713 ## ------------------------ ##
1715 # ac_fn_c_try_compile LINENO
1716 # --------------------------
1717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1718 ac_fn_c_try_compile ()
1720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1721 rm -f conftest.$ac_objext
1722 if { { ac_try="$ac_compile"
1723 case "(($ac_try" in
1724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1725 *) ac_try_echo=$ac_try;;
1726 esac
1727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1728 $as_echo "$ac_try_echo"; } >&5
1729 (eval "$ac_compile") 2>conftest.err
1730 ac_status=$?
1731 if test -s conftest.err; then
1732 grep -v '^ *+' conftest.err >conftest.er1
1733 cat conftest.er1 >&5
1734 mv -f conftest.er1 conftest.err
1736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1737 test $ac_status = 0; } && {
1738 test -z "$ac_c_werror_flag" ||
1739 test ! -s conftest.err
1740 } && test -s conftest.$ac_objext; then :
1741 ac_retval=0
1742 else
1743 $as_echo "$as_me: failed program was:" >&5
1744 sed 's/^/| /' conftest.$ac_ext >&5
1746 ac_retval=1
1748 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1749 return $ac_retval
1751 } # ac_fn_c_try_compile
1753 # ac_fn_cxx_try_compile LINENO
1754 # ----------------------------
1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1756 ac_fn_cxx_try_compile ()
1758 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1759 rm -f conftest.$ac_objext
1760 if { { ac_try="$ac_compile"
1761 case "(($ac_try" in
1762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1763 *) ac_try_echo=$ac_try;;
1764 esac
1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_compile") 2>conftest.err
1768 ac_status=$?
1769 if test -s conftest.err; then
1770 grep -v '^ *+' conftest.err >conftest.er1
1771 cat conftest.er1 >&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } && {
1776 test -z "$ac_cxx_werror_flag" ||
1777 test ! -s conftest.err
1778 } && test -s conftest.$ac_objext; then :
1779 ac_retval=0
1780 else
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.$ac_ext >&5
1784 ac_retval=1
1786 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1787 return $ac_retval
1789 } # ac_fn_cxx_try_compile
1791 # ac_fn_c_try_cpp LINENO
1792 # ----------------------
1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1794 ac_fn_c_try_cpp ()
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 if { { ac_try="$ac_cpp conftest.$ac_ext"
1798 case "(($ac_try" in
1799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1800 *) ac_try_echo=$ac_try;;
1801 esac
1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1803 $as_echo "$ac_try_echo"; } >&5
1804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1805 ac_status=$?
1806 if test -s conftest.err; then
1807 grep -v '^ *+' conftest.err >conftest.er1
1808 cat conftest.er1 >&5
1809 mv -f conftest.er1 conftest.err
1811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1812 test $ac_status = 0; } >/dev/null && {
1813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1814 test ! -s conftest.err
1815 }; then :
1816 ac_retval=0
1817 else
1818 $as_echo "$as_me: failed program was:" >&5
1819 sed 's/^/| /' conftest.$ac_ext >&5
1821 ac_retval=1
1823 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1824 return $ac_retval
1826 } # ac_fn_c_try_cpp
1828 # ac_fn_c_try_link LINENO
1829 # -----------------------
1830 # Try to link conftest.$ac_ext, and return whether this succeeded.
1831 ac_fn_c_try_link ()
1833 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1834 rm -f conftest.$ac_objext conftest$ac_exeext
1835 if { { ac_try="$ac_link"
1836 case "(($ac_try" in
1837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1838 *) ac_try_echo=$ac_try;;
1839 esac
1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1841 $as_echo "$ac_try_echo"; } >&5
1842 (eval "$ac_link") 2>conftest.err
1843 ac_status=$?
1844 if test -s conftest.err; then
1845 grep -v '^ *+' conftest.err >conftest.er1
1846 cat conftest.er1 >&5
1847 mv -f conftest.er1 conftest.err
1849 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1850 test $ac_status = 0; } && {
1851 test -z "$ac_c_werror_flag" ||
1852 test ! -s conftest.err
1853 } && test -s conftest$ac_exeext && {
1854 test "$cross_compiling" = yes ||
1855 $as_test_x conftest$ac_exeext
1856 }; then :
1857 ac_retval=0
1858 else
1859 $as_echo "$as_me: failed program was:" >&5
1860 sed 's/^/| /' conftest.$ac_ext >&5
1862 ac_retval=1
1864 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1865 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1866 # interfere with the next link command; also delete a directory that is
1867 # left behind by Apple's compiler. We do this before executing the actions.
1868 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1869 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1870 return $ac_retval
1872 } # ac_fn_c_try_link
1874 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1875 # -------------------------------------------------------
1876 # Tests whether HEADER exists and can be compiled using the include files in
1877 # INCLUDES, setting the cache variable VAR accordingly.
1878 ac_fn_c_check_header_compile ()
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1882 $as_echo_n "checking for $2... " >&6; }
1883 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1884 $as_echo_n "(cached) " >&6
1885 else
1886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1887 /* end confdefs.h. */
1889 #include <$2>
1890 _ACEOF
1891 if ac_fn_c_try_compile "$LINENO"; then :
1892 eval "$3=yes"
1893 else
1894 eval "$3=no"
1896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1898 eval ac_res=\$$3
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1900 $as_echo "$ac_res" >&6; }
1901 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 } # ac_fn_c_check_header_compile
1905 # ac_fn_c_try_run LINENO
1906 # ----------------------
1907 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1908 # that executables *can* be run.
1909 ac_fn_c_try_run ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if { { ac_try="$ac_link"
1913 case "(($ac_try" in
1914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1915 *) ac_try_echo=$ac_try;;
1916 esac
1917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1918 $as_echo "$ac_try_echo"; } >&5
1919 (eval "$ac_link") 2>&5
1920 ac_status=$?
1921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1922 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1923 { { case "(($ac_try" in
1924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1925 *) ac_try_echo=$ac_try;;
1926 esac
1927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1928 $as_echo "$ac_try_echo"; } >&5
1929 (eval "$ac_try") 2>&5
1930 ac_status=$?
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; }; }; then :
1933 ac_retval=0
1934 else
1935 $as_echo "$as_me: program exited with status $ac_status" >&5
1936 $as_echo "$as_me: failed program was:" >&5
1937 sed 's/^/| /' conftest.$ac_ext >&5
1939 ac_retval=$ac_status
1941 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1942 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1943 return $ac_retval
1945 } # ac_fn_c_try_run
1947 # ac_fn_c_check_func LINENO FUNC VAR
1948 # ----------------------------------
1949 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1950 ac_fn_c_check_func ()
1952 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1954 $as_echo_n "checking for $2... " >&6; }
1955 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1956 $as_echo_n "(cached) " >&6
1957 else
1958 if test x$gcc_no_link = xyes; then
1959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1962 /* end confdefs.h. */
1963 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1965 #define $2 innocuous_$2
1967 /* System header to define __stub macros and hopefully few prototypes,
1968 which can conflict with char $2 (); below.
1969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1970 <limits.h> exists even on freestanding compilers. */
1972 #ifdef __STDC__
1973 # include <limits.h>
1974 #else
1975 # include <assert.h>
1976 #endif
1978 #undef $2
1980 /* Override any GCC internal prototype to avoid an error.
1981 Use char because int might match the return type of a GCC
1982 builtin and then its argument prototype would still apply. */
1983 #ifdef __cplusplus
1984 extern "C"
1985 #endif
1986 char $2 ();
1987 /* The GNU C library defines this for functions which it implements
1988 to always fail with ENOSYS. Some functions are actually named
1989 something starting with __ and the normal name is an alias. */
1990 #if defined __stub_$2 || defined __stub___$2
1991 choke me
1992 #endif
1995 main ()
1997 return $2 ();
1999 return 0;
2001 _ACEOF
2002 if ac_fn_c_try_link "$LINENO"; then :
2003 eval "$3=yes"
2004 else
2005 eval "$3=no"
2007 rm -f core conftest.err conftest.$ac_objext \
2008 conftest$ac_exeext conftest.$ac_ext
2010 eval ac_res=\$$3
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012 $as_echo "$ac_res" >&6; }
2013 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2015 } # ac_fn_c_check_func
2017 # ac_fn_cxx_try_cpp LINENO
2018 # ------------------------
2019 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2020 ac_fn_cxx_try_cpp ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { { ac_try="$ac_cpp conftest.$ac_ext"
2024 case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;;
2027 esac
2028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2029 $as_echo "$ac_try_echo"; } >&5
2030 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2031 ac_status=$?
2032 if test -s conftest.err; then
2033 grep -v '^ *+' conftest.err >conftest.er1
2034 cat conftest.er1 >&5
2035 mv -f conftest.er1 conftest.err
2037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2038 test $ac_status = 0; } >/dev/null && {
2039 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2040 test ! -s conftest.err
2041 }; then :
2042 ac_retval=0
2043 else
2044 $as_echo "$as_me: failed program was:" >&5
2045 sed 's/^/| /' conftest.$ac_ext >&5
2047 ac_retval=1
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2050 return $ac_retval
2052 } # ac_fn_cxx_try_cpp
2054 # ac_fn_cxx_try_link LINENO
2055 # -------------------------
2056 # Try to link conftest.$ac_ext, and return whether this succeeded.
2057 ac_fn_cxx_try_link ()
2059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2060 rm -f conftest.$ac_objext conftest$ac_exeext
2061 if { { ac_try="$ac_link"
2062 case "(($ac_try" in
2063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2064 *) ac_try_echo=$ac_try;;
2065 esac
2066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2067 $as_echo "$ac_try_echo"; } >&5
2068 (eval "$ac_link") 2>conftest.err
2069 ac_status=$?
2070 if test -s conftest.err; then
2071 grep -v '^ *+' conftest.err >conftest.er1
2072 cat conftest.er1 >&5
2073 mv -f conftest.er1 conftest.err
2075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2076 test $ac_status = 0; } && {
2077 test -z "$ac_cxx_werror_flag" ||
2078 test ! -s conftest.err
2079 } && test -s conftest$ac_exeext && {
2080 test "$cross_compiling" = yes ||
2081 $as_test_x conftest$ac_exeext
2082 }; then :
2083 ac_retval=0
2084 else
2085 $as_echo "$as_me: failed program was:" >&5
2086 sed 's/^/| /' conftest.$ac_ext >&5
2088 ac_retval=1
2090 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2091 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2092 # interfere with the next link command; also delete a directory that is
2093 # left behind by Apple's compiler. We do this before executing the actions.
2094 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2095 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2096 return $ac_retval
2098 } # ac_fn_cxx_try_link
2100 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2101 # -------------------------------------------------------
2102 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2103 # the include files in INCLUDES and setting the cache variable VAR
2104 # accordingly.
2105 ac_fn_c_check_header_mongrel ()
2107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2110 $as_echo_n "checking for $2... " >&6; }
2111 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2112 $as_echo_n "(cached) " >&6
2114 eval ac_res=\$$3
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2116 $as_echo "$ac_res" >&6; }
2117 else
2118 # Is the header compilable?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2120 $as_echo_n "checking $2 usability... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2124 #include <$2>
2125 _ACEOF
2126 if ac_fn_c_try_compile "$LINENO"; then :
2127 ac_header_compiler=yes
2128 else
2129 ac_header_compiler=no
2131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2133 $as_echo "$ac_header_compiler" >&6; }
2135 # Is the header present?
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2137 $as_echo_n "checking $2 presence... " >&6; }
2138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2139 /* end confdefs.h. */
2140 #include <$2>
2141 _ACEOF
2142 if ac_fn_c_try_cpp "$LINENO"; then :
2143 ac_header_preproc=yes
2144 else
2145 ac_header_preproc=no
2147 rm -f conftest.err conftest.$ac_ext
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2149 $as_echo "$ac_header_preproc" >&6; }
2151 # So? What about this header?
2152 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2153 yes:no: )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2155 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2157 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2159 no:yes:* )
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2161 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2163 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2165 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2167 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2169 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2171 esac
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
2176 else
2177 eval "$3=\$ac_header_compiler"
2179 eval ac_res=\$$3
2180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2181 $as_echo "$ac_res" >&6; }
2183 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2185 } # ac_fn_c_check_header_mongrel
2187 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2188 # ---------------------------------------------------------
2189 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2190 # the include files in INCLUDES and setting the cache variable VAR
2191 # accordingly.
2192 ac_fn_cxx_check_header_mongrel ()
2194 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2201 eval ac_res=\$$3
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2203 $as_echo "$ac_res" >&6; }
2204 else
2205 # Is the header compilable?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2207 $as_echo_n "checking $2 usability... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2211 #include <$2>
2212 _ACEOF
2213 if ac_fn_cxx_try_compile "$LINENO"; then :
2214 ac_header_compiler=yes
2215 else
2216 ac_header_compiler=no
2218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2220 $as_echo "$ac_header_compiler" >&6; }
2222 # Is the header present?
2223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2224 $as_echo_n "checking $2 presence... " >&6; }
2225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2226 /* end confdefs.h. */
2227 #include <$2>
2228 _ACEOF
2229 if ac_fn_cxx_try_cpp "$LINENO"; then :
2230 ac_header_preproc=yes
2231 else
2232 ac_header_preproc=no
2234 rm -f conftest.err conftest.$ac_ext
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2236 $as_echo "$ac_header_preproc" >&6; }
2238 # So? What about this header?
2239 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2240 yes:no: )
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2242 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2246 no:yes:* )
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2248 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2250 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2252 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2254 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2256 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2258 esac
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2260 $as_echo_n "checking for $2... " >&6; }
2261 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2262 $as_echo_n "(cached) " >&6
2263 else
2264 eval "$3=\$ac_header_compiler"
2266 eval ac_res=\$$3
2267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2268 $as_echo "$ac_res" >&6; }
2270 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2272 } # ac_fn_cxx_check_header_mongrel
2274 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2275 # --------------------------------------------
2276 # Tries to find the compile-time value of EXPR in a program that includes
2277 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2278 # computed
2279 ac_fn_c_compute_int ()
2281 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2282 if test "$cross_compiling" = yes; then
2283 # Depending upon the size, compute the lo and hi bounds.
2284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2285 /* end confdefs.h. */
2288 main ()
2290 static int test_array [1 - 2 * !(($2) >= 0)];
2291 test_array [0] = 0
2294 return 0;
2296 _ACEOF
2297 if ac_fn_c_try_compile "$LINENO"; then :
2298 ac_lo=0 ac_mid=0
2299 while :; do
2300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2301 /* end confdefs.h. */
2304 main ()
2306 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2307 test_array [0] = 0
2310 return 0;
2312 _ACEOF
2313 if ac_fn_c_try_compile "$LINENO"; then :
2314 ac_hi=$ac_mid; break
2315 else
2316 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2317 if test $ac_lo -le $ac_mid; then
2318 ac_lo= ac_hi=
2319 break
2321 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 done
2325 else
2326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2327 /* end confdefs.h. */
2330 main ()
2332 static int test_array [1 - 2 * !(($2) < 0)];
2333 test_array [0] = 0
2336 return 0;
2338 _ACEOF
2339 if ac_fn_c_try_compile "$LINENO"; then :
2340 ac_hi=-1 ac_mid=-1
2341 while :; do
2342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2343 /* end confdefs.h. */
2346 main ()
2348 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2349 test_array [0] = 0
2352 return 0;
2354 _ACEOF
2355 if ac_fn_c_try_compile "$LINENO"; then :
2356 ac_lo=$ac_mid; break
2357 else
2358 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2359 if test $ac_mid -le $ac_hi; then
2360 ac_lo= ac_hi=
2361 break
2363 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2366 done
2367 else
2368 ac_lo= ac_hi=
2370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2373 # Binary search between lo and hi bounds.
2374 while test "x$ac_lo" != "x$ac_hi"; do
2375 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2377 /* end confdefs.h. */
2380 main ()
2382 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2383 test_array [0] = 0
2386 return 0;
2388 _ACEOF
2389 if ac_fn_c_try_compile "$LINENO"; then :
2390 ac_hi=$ac_mid
2391 else
2392 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2395 done
2396 case $ac_lo in #((
2397 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2398 '') ac_retval=1 ;;
2399 esac
2400 else
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2404 static long int longval () { return $2; }
2405 static unsigned long int ulongval () { return $2; }
2406 #include <stdio.h>
2407 #include <stdlib.h>
2409 main ()
2412 FILE *f = fopen ("conftest.val", "w");
2413 if (! f)
2414 return 1;
2415 if (($2) < 0)
2417 long int i = longval ();
2418 if (i != ($2))
2419 return 1;
2420 fprintf (f, "%ld", i);
2422 else
2424 unsigned long int i = ulongval ();
2425 if (i != ($2))
2426 return 1;
2427 fprintf (f, "%lu", i);
2429 /* Do not output a trailing newline, as this causes \r\n confusion
2430 on some platforms. */
2431 return ferror (f) || fclose (f) != 0;
2434 return 0;
2436 _ACEOF
2437 if ac_fn_c_try_run "$LINENO"; then :
2438 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2439 else
2440 ac_retval=1
2442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2443 conftest.$ac_objext conftest.beam conftest.$ac_ext
2444 rm -f conftest.val
2447 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2448 return $ac_retval
2450 } # ac_fn_c_compute_int
2452 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2453 # -------------------------------------------
2454 # Tests whether TYPE exists after having included INCLUDES, setting cache
2455 # variable VAR accordingly.
2456 ac_fn_c_check_type ()
2458 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2460 $as_echo_n "checking for $2... " >&6; }
2461 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2462 $as_echo_n "(cached) " >&6
2463 else
2464 eval "$3=no"
2465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2466 /* end confdefs.h. */
2469 main ()
2471 if (sizeof ($2))
2472 return 0;
2474 return 0;
2476 _ACEOF
2477 if ac_fn_c_try_compile "$LINENO"; then :
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2482 main ()
2484 if (sizeof (($2)))
2485 return 0;
2487 return 0;
2489 _ACEOF
2490 if ac_fn_c_try_compile "$LINENO"; then :
2492 else
2493 eval "$3=yes"
2495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2499 eval ac_res=\$$3
2500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2501 $as_echo "$ac_res" >&6; }
2502 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2504 } # ac_fn_c_check_type
2506 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2507 # ---------------------------------------------
2508 # Tests whether TYPE exists after having included INCLUDES, setting cache
2509 # variable VAR accordingly.
2510 ac_fn_cxx_check_type ()
2512 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2514 $as_echo_n "checking for $2... " >&6; }
2515 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2516 $as_echo_n "(cached) " >&6
2517 else
2518 eval "$3=no"
2519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2520 /* end confdefs.h. */
2523 main ()
2525 if (sizeof ($2))
2526 return 0;
2528 return 0;
2530 _ACEOF
2531 if ac_fn_cxx_try_compile "$LINENO"; then :
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2536 main ()
2538 if (sizeof (($2)))
2539 return 0;
2541 return 0;
2543 _ACEOF
2544 if ac_fn_cxx_try_compile "$LINENO"; then :
2546 else
2547 eval "$3=yes"
2549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2553 eval ac_res=\$$3
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2555 $as_echo "$ac_res" >&6; }
2556 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2558 } # ac_fn_cxx_check_type
2559 cat >config.log <<_ACEOF
2560 This file contains any messages produced by compilers while
2561 running configure, to aid debugging if configure makes a mistake.
2563 It was created by package-unused $as_me version-unused, which was
2564 generated by GNU Autoconf 2.64. Invocation command line was
2566 $ $0 $@
2568 _ACEOF
2569 exec 5>>config.log
2571 cat <<_ASUNAME
2572 ## --------- ##
2573 ## Platform. ##
2574 ## --------- ##
2576 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2577 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2578 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2579 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2580 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2582 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2583 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2585 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2586 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2587 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2588 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2589 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2590 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2591 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2593 _ASUNAME
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2596 for as_dir in $PATH
2598 IFS=$as_save_IFS
2599 test -z "$as_dir" && as_dir=.
2600 $as_echo "PATH: $as_dir"
2601 done
2602 IFS=$as_save_IFS
2604 } >&5
2606 cat >&5 <<_ACEOF
2609 ## ----------- ##
2610 ## Core tests. ##
2611 ## ----------- ##
2613 _ACEOF
2616 # Keep a trace of the command line.
2617 # Strip out --no-create and --no-recursion so they do not pile up.
2618 # Strip out --silent because we don't want to record it for future runs.
2619 # Also quote any args containing shell meta-characters.
2620 # Make two passes to allow for proper duplicate-argument suppression.
2621 ac_configure_args=
2622 ac_configure_args0=
2623 ac_configure_args1=
2624 ac_must_keep_next=false
2625 for ac_pass in 1 2
2627 for ac_arg
2629 case $ac_arg in
2630 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2631 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2632 | -silent | --silent | --silen | --sile | --sil)
2633 continue ;;
2634 *\'*)
2635 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2636 esac
2637 case $ac_pass in
2638 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2640 as_fn_append ac_configure_args1 " '$ac_arg'"
2641 if test $ac_must_keep_next = true; then
2642 ac_must_keep_next=false # Got value, back to normal.
2643 else
2644 case $ac_arg in
2645 *=* | --config-cache | -C | -disable-* | --disable-* \
2646 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2647 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2648 | -with-* | --with-* | -without-* | --without-* | --x)
2649 case "$ac_configure_args0 " in
2650 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2651 esac
2653 -* ) ac_must_keep_next=true ;;
2654 esac
2656 as_fn_append ac_configure_args " '$ac_arg'"
2658 esac
2659 done
2660 done
2661 { ac_configure_args0=; unset ac_configure_args0;}
2662 { ac_configure_args1=; unset ac_configure_args1;}
2664 # When interrupted or exit'd, cleanup temporary files, and complete
2665 # config.log. We remove comments because anyway the quotes in there
2666 # would cause problems or look ugly.
2667 # WARNING: Use '\'' to represent an apostrophe within the trap.
2668 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2669 trap 'exit_status=$?
2670 # Save into config.log some information that might help in debugging.
2672 echo
2674 cat <<\_ASBOX
2675 ## ---------------- ##
2676 ## Cache variables. ##
2677 ## ---------------- ##
2678 _ASBOX
2679 echo
2680 # The following way of writing the cache mishandles newlines in values,
2682 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2683 eval ac_val=\$$ac_var
2684 case $ac_val in #(
2685 *${as_nl}*)
2686 case $ac_var in #(
2687 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2688 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2689 esac
2690 case $ac_var in #(
2691 _ | IFS | as_nl) ;; #(
2692 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2693 *) { eval $ac_var=; unset $ac_var;} ;;
2694 esac ;;
2695 esac
2696 done
2697 (set) 2>&1 |
2698 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2699 *${as_nl}ac_space=\ *)
2700 sed -n \
2701 "s/'\''/'\''\\\\'\'''\''/g;
2702 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2703 ;; #(
2705 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2707 esac |
2708 sort
2710 echo
2712 cat <<\_ASBOX
2713 ## ----------------- ##
2714 ## Output variables. ##
2715 ## ----------------- ##
2716 _ASBOX
2717 echo
2718 for ac_var in $ac_subst_vars
2720 eval ac_val=\$$ac_var
2721 case $ac_val in
2722 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2723 esac
2724 $as_echo "$ac_var='\''$ac_val'\''"
2725 done | sort
2726 echo
2728 if test -n "$ac_subst_files"; then
2729 cat <<\_ASBOX
2730 ## ------------------- ##
2731 ## File substitutions. ##
2732 ## ------------------- ##
2733 _ASBOX
2734 echo
2735 for ac_var in $ac_subst_files
2737 eval ac_val=\$$ac_var
2738 case $ac_val in
2739 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2740 esac
2741 $as_echo "$ac_var='\''$ac_val'\''"
2742 done | sort
2743 echo
2746 if test -s confdefs.h; then
2747 cat <<\_ASBOX
2748 ## ----------- ##
2749 ## confdefs.h. ##
2750 ## ----------- ##
2751 _ASBOX
2752 echo
2753 cat confdefs.h
2754 echo
2756 test "$ac_signal" != 0 &&
2757 $as_echo "$as_me: caught signal $ac_signal"
2758 $as_echo "$as_me: exit $exit_status"
2759 } >&5
2760 rm -f core *.core core.conftest.* &&
2761 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2762 exit $exit_status
2764 for ac_signal in 1 2 13 15; do
2765 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2766 done
2767 ac_signal=0
2769 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2770 rm -f -r conftest* confdefs.h
2772 $as_echo "/* confdefs.h */" > confdefs.h
2774 # Predefined preprocessor variables.
2776 cat >>confdefs.h <<_ACEOF
2777 #define PACKAGE_NAME "$PACKAGE_NAME"
2778 _ACEOF
2780 cat >>confdefs.h <<_ACEOF
2781 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2782 _ACEOF
2784 cat >>confdefs.h <<_ACEOF
2785 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2786 _ACEOF
2788 cat >>confdefs.h <<_ACEOF
2789 #define PACKAGE_STRING "$PACKAGE_STRING"
2790 _ACEOF
2792 cat >>confdefs.h <<_ACEOF
2793 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2794 _ACEOF
2796 cat >>confdefs.h <<_ACEOF
2797 #define PACKAGE_URL "$PACKAGE_URL"
2798 _ACEOF
2801 # Let the site file select an alternate cache file if it wants to.
2802 # Prefer an explicitly selected file to automatically selected ones.
2803 ac_site_file1=NONE
2804 ac_site_file2=NONE
2805 if test -n "$CONFIG_SITE"; then
2806 ac_site_file1=$CONFIG_SITE
2807 elif test "x$prefix" != xNONE; then
2808 ac_site_file1=$prefix/share/config.site
2809 ac_site_file2=$prefix/etc/config.site
2810 else
2811 ac_site_file1=$ac_default_prefix/share/config.site
2812 ac_site_file2=$ac_default_prefix/etc/config.site
2814 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2816 test "x$ac_site_file" = xNONE && continue
2817 if test -r "$ac_site_file"; then
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2819 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2820 sed 's/^/| /' "$ac_site_file" >&5
2821 . "$ac_site_file"
2823 done
2825 if test -r "$cache_file"; then
2826 # Some versions of bash will fail to source /dev/null (special
2827 # files actually), so we avoid doing that.
2828 if test -f "$cache_file"; then
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2830 $as_echo "$as_me: loading cache $cache_file" >&6;}
2831 case $cache_file in
2832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2833 *) . "./$cache_file";;
2834 esac
2836 else
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2838 $as_echo "$as_me: creating cache $cache_file" >&6;}
2839 >$cache_file
2842 # Check that the precious variables saved in the cache have kept the same
2843 # value.
2844 ac_cache_corrupted=false
2845 for ac_var in $ac_precious_vars; do
2846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2847 eval ac_new_set=\$ac_env_${ac_var}_set
2848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2849 eval ac_new_val=\$ac_env_${ac_var}_value
2850 case $ac_old_set,$ac_new_set in
2851 set,)
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2853 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2854 ac_cache_corrupted=: ;;
2855 ,set)
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2857 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2858 ac_cache_corrupted=: ;;
2859 ,);;
2861 if test "x$ac_old_val" != "x$ac_new_val"; then
2862 # differences in whitespace do not lead to failure.
2863 ac_old_val_w=`echo x $ac_old_val`
2864 ac_new_val_w=`echo x $ac_new_val`
2865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2868 ac_cache_corrupted=:
2869 else
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2872 eval $ac_var=\$ac_old_val
2874 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2875 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2878 fi;;
2879 esac
2880 # Pass precious variables to config.status.
2881 if test "$ac_new_set" = set; then
2882 case $ac_new_val in
2883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2884 *) ac_arg=$ac_var=$ac_new_val ;;
2885 esac
2886 case " $ac_configure_args " in
2887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2888 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2889 esac
2891 done
2892 if $ac_cache_corrupted; then
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2897 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2899 ## -------------------- ##
2900 ## Main body of script. ##
2901 ## -------------------- ##
2903 ac_ext=c
2904 ac_cpp='$CPP $CPPFLAGS'
2905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2914 ac_config_headers="$ac_config_headers config.h"
2917 # This works around the fact that libtool configuration may change LD
2918 # for this particular configuration, but some shells, instead of
2919 # keeping the changes in LD private, export them just because LD is
2920 # exported. Only used at the end of this file.
2921 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2923 # Find the rest of the source tree framework.
2924 # Default to --enable-multilib
2925 # Check whether --enable-multilib was given.
2926 if test "${enable_multilib+set}" = set; then :
2927 enableval=$enable_multilib; case "$enableval" in
2928 yes) multilib=yes ;;
2929 no) multilib=no ;;
2930 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2931 esac
2932 else
2933 multilib=yes
2937 # We may get other options which we leave undocumented:
2938 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2939 # See config-ml.in if you want the gory details.
2941 if test "$srcdir" = "."; then
2942 if test "$with_target_subdir" != "."; then
2943 multi_basedir="$srcdir/$with_multisrctop../.."
2944 else
2945 multi_basedir="$srcdir/$with_multisrctop.."
2947 else
2948 multi_basedir="$srcdir/.."
2952 # Even if the default multilib is not a cross compilation,
2953 # it may be that some of the other multilibs are.
2954 if test $cross_compiling = no && test $multilib = yes \
2955 && test "x${with_multisubdir}" != x ; then
2956 cross_compiling=maybe
2959 ac_config_commands="$ac_config_commands default-1"
2962 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2964 # You will slowly go insane if you do not grok the following fact: when
2965 # building v3 as part of the compiler, the top-level /target/ becomes the
2966 # library's /host/. configure then causes --target to default to --host,
2967 # exactly like any other package using autoconf. Therefore, 'target' and
2968 # 'host' will always be the same. This makes sense both for native and
2969 # cross compilers, just think about it for a little while. :-)
2971 # Also, if v3 is being configured as part of a cross compiler, the top-level
2972 # configure script will pass the "real" host as $with_cross_host.
2974 # Do not delete or change the following two lines. For why, see
2975 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2976 ac_aux_dir=
2977 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2978 for ac_t in install-sh install.sh shtool; do
2979 if test -f "$ac_dir/$ac_t"; then
2980 ac_aux_dir=$ac_dir
2981 ac_install_sh="$ac_aux_dir/$ac_t -c"
2982 break 2
2984 done
2985 done
2986 if test -z "$ac_aux_dir"; then
2987 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2990 # These three variables are undocumented and unsupported,
2991 # and are intended to be withdrawn in a future Autoconf release.
2992 # They can cause serious problems if a builder's source tree is in a directory
2993 # whose full name contains unusual characters.
2994 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2995 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2996 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2999 # Make sure we can run config.sub.
3000 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3001 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3004 $as_echo_n "checking build system type... " >&6; }
3005 if test "${ac_cv_build+set}" = set; then :
3006 $as_echo_n "(cached) " >&6
3007 else
3008 ac_build_alias=$build_alias
3009 test "x$ac_build_alias" = x &&
3010 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3011 test "x$ac_build_alias" = x &&
3012 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3013 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3014 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3018 $as_echo "$ac_cv_build" >&6; }
3019 case $ac_cv_build in
3020 *-*-*) ;;
3021 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3022 esac
3023 build=$ac_cv_build
3024 ac_save_IFS=$IFS; IFS='-'
3025 set x $ac_cv_build
3026 shift
3027 build_cpu=$1
3028 build_vendor=$2
3029 shift; shift
3030 # Remember, the first character of IFS is used to create $*,
3031 # except with old shells:
3032 build_os=$*
3033 IFS=$ac_save_IFS
3034 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3038 $as_echo_n "checking host system type... " >&6; }
3039 if test "${ac_cv_host+set}" = set; then :
3040 $as_echo_n "(cached) " >&6
3041 else
3042 if test "x$host_alias" = x; then
3043 ac_cv_host=$ac_cv_build
3044 else
3045 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3046 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3051 $as_echo "$ac_cv_host" >&6; }
3052 case $ac_cv_host in
3053 *-*-*) ;;
3054 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3055 esac
3056 host=$ac_cv_host
3057 ac_save_IFS=$IFS; IFS='-'
3058 set x $ac_cv_host
3059 shift
3060 host_cpu=$1
3061 host_vendor=$2
3062 shift; shift
3063 # Remember, the first character of IFS is used to create $*,
3064 # except with old shells:
3065 host_os=$*
3066 IFS=$ac_save_IFS
3067 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3071 $as_echo_n "checking target system type... " >&6; }
3072 if test "${ac_cv_target+set}" = set; then :
3073 $as_echo_n "(cached) " >&6
3074 else
3075 if test "x$target_alias" = x; then
3076 ac_cv_target=$ac_cv_host
3077 else
3078 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3079 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3084 $as_echo "$ac_cv_target" >&6; }
3085 case $ac_cv_target in
3086 *-*-*) ;;
3087 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3088 esac
3089 target=$ac_cv_target
3090 ac_save_IFS=$IFS; IFS='-'
3091 set x $ac_cv_target
3092 shift
3093 target_cpu=$1
3094 target_vendor=$2
3095 shift; shift
3096 # Remember, the first character of IFS is used to create $*,
3097 # except with old shells:
3098 target_os=$*
3099 IFS=$ac_save_IFS
3100 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3103 # The aliases save the names the user supplied, while $host etc.
3104 # will get canonicalized.
3105 test -n "$target_alias" &&
3106 test "$program_prefix$program_suffix$program_transform_name" = \
3107 NONENONEs,x,x, &&
3108 program_prefix=${target_alias}-
3110 target_alias=${target_alias-$host_alias}
3112 # Handy for debugging:
3113 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3115 if test "$build" != "$host"; then
3116 # We are being configured with some form of cross compiler.
3117 GLIBCXX_IS_NATIVE=false
3118 case "$host","$target" in
3119 # Darwin crosses can use the host system's libraries and headers,
3120 # because of the fat library support. Of course, it must be the
3121 # same version of Darwin on both sides. Allow the user to
3122 # just say --target=foo-darwin without a version number to mean
3123 # "the version on this system".
3124 *-*-darwin*,*-*-darwin*)
3125 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3126 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3127 if test $hostos = $targetos -o $targetos = darwin ; then
3128 GLIBCXX_IS_NATIVE=true
3135 esac
3136 else
3137 GLIBCXX_IS_NATIVE=true
3140 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3141 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3142 # 1.x: minimum required version
3143 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3144 # of other PACKAGE_* variables will, however, and there's nothing
3145 # we can do about that; they come from AC_INIT).
3146 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3147 # file in the top srcdir, etc, etc), so stop complaining.
3148 # no-dependencies: turns off auto dependency generation (just for now)
3149 # no-dist: we don't want 'dist' and related rules.
3150 # -Wall: turns on all automake warnings...
3151 # -Wno-portability: ...except this one, since GNU make is now required.
3152 am__api_version='1.11'
3154 # Find a good install program. We prefer a C program (faster),
3155 # so one script is as good as another. But avoid the broken or
3156 # incompatible versions:
3157 # SysV /etc/install, /usr/sbin/install
3158 # SunOS /usr/etc/install
3159 # IRIX /sbin/install
3160 # AIX /bin/install
3161 # AmigaOS /C/install, which installs bootblocks on floppy discs
3162 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3163 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3164 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3165 # OS/2's system install, which has a completely different semantic
3166 # ./install, which can be erroneously created by make from ./install.sh.
3167 # Reject install programs that cannot install multiple files.
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3169 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3170 if test -z "$INSTALL"; then
3171 if test "${ac_cv_path_install+set}" = set; then :
3172 $as_echo_n "(cached) " >&6
3173 else
3174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3175 for as_dir in $PATH
3177 IFS=$as_save_IFS
3178 test -z "$as_dir" && as_dir=.
3179 # Account for people who put trailing slashes in PATH elements.
3180 case $as_dir/ in #((
3181 ./ | .// | /[cC]/* | \
3182 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3183 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3184 /usr/ucb/* ) ;;
3186 # OSF1 and SCO ODT 3.0 have their own names for install.
3187 # Don't use installbsd from OSF since it installs stuff as root
3188 # by default.
3189 for ac_prog in ginstall scoinst install; do
3190 for ac_exec_ext in '' $ac_executable_extensions; do
3191 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3192 if test $ac_prog = install &&
3193 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3194 # AIX install. It has an incompatible calling convention.
3196 elif test $ac_prog = install &&
3197 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3198 # program-specific install script used by HP pwplus--don't use.
3200 else
3201 rm -rf conftest.one conftest.two conftest.dir
3202 echo one > conftest.one
3203 echo two > conftest.two
3204 mkdir conftest.dir
3205 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3206 test -s conftest.one && test -s conftest.two &&
3207 test -s conftest.dir/conftest.one &&
3208 test -s conftest.dir/conftest.two
3209 then
3210 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3211 break 3
3215 done
3216 done
3218 esac
3220 done
3221 IFS=$as_save_IFS
3223 rm -rf conftest.one conftest.two conftest.dir
3226 if test "${ac_cv_path_install+set}" = set; then
3227 INSTALL=$ac_cv_path_install
3228 else
3229 # As a last resort, use the slow shell script. Don't cache a
3230 # value for INSTALL within a source directory, because that will
3231 # break other packages using the cache if that directory is
3232 # removed, or if the value is a relative name.
3233 INSTALL=$ac_install_sh
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3237 $as_echo "$INSTALL" >&6; }
3239 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3240 # It thinks the first close brace ends the variable substitution.
3241 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3243 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3245 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3248 $as_echo_n "checking whether build environment is sane... " >&6; }
3249 # Just in case
3250 sleep 1
3251 echo timestamp > conftest.file
3252 # Reject unsafe characters in $srcdir or the absolute working directory
3253 # name. Accept space and tab only in the latter.
3254 am_lf='
3256 case `pwd` in
3257 *[\\\"\#\$\&\'\`$am_lf]*)
3258 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3259 esac
3260 case $srcdir in
3261 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3262 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3263 esac
3265 # Do `set' in a subshell so we don't clobber the current shell's
3266 # arguments. Must try -L first in case configure is actually a
3267 # symlink; some systems play weird games with the mod time of symlinks
3268 # (eg FreeBSD returns the mod time of the symlink's containing
3269 # directory).
3270 if (
3271 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3272 if test "$*" = "X"; then
3273 # -L didn't work.
3274 set X `ls -t "$srcdir/configure" conftest.file`
3276 rm -f conftest.file
3277 if test "$*" != "X $srcdir/configure conftest.file" \
3278 && test "$*" != "X conftest.file $srcdir/configure"; then
3280 # If neither matched, then we have a broken ls. This can happen
3281 # if, for instance, CONFIG_SHELL is bash and it inherits a
3282 # broken ls alias from the environment. This has actually
3283 # happened. Such a system could not be considered "sane".
3284 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3285 alias in your environment" "$LINENO" 5
3288 test "$2" = conftest.file
3290 then
3291 # Ok.
3293 else
3294 as_fn_error "newly created file is older than distributed files!
3295 Check your system clock" "$LINENO" 5
3297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3298 $as_echo "yes" >&6; }
3299 test "$program_prefix" != NONE &&
3300 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3301 # Use a double $ so make ignores it.
3302 test "$program_suffix" != NONE &&
3303 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3304 # Double any \ or $.
3305 # By default was `s,x,x', remove it if useless.
3306 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3307 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3309 # expand $ac_aux_dir to an absolute path
3310 am_aux_dir=`cd $ac_aux_dir && pwd`
3312 if test x"${MISSING+set}" != xset; then
3313 case $am_aux_dir in
3314 *\ * | *\ *)
3315 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3317 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3318 esac
3320 # Use eval to expand $SHELL
3321 if eval "$MISSING --run true"; then
3322 am_missing_run="$MISSING --run "
3323 else
3324 am_missing_run=
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3326 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3329 if test x"${install_sh}" != xset; then
3330 case $am_aux_dir in
3331 *\ * | *\ *)
3332 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3334 install_sh="\${SHELL} $am_aux_dir/install-sh"
3335 esac
3338 # Installed binaries are usually stripped using `strip' when the user
3339 # run `make install-strip'. However `strip' might not be the right
3340 # tool to use in cross-compilation environments, therefore Automake
3341 # will honor the `STRIP' environment variable to overrule this program.
3342 if test "$cross_compiling" != no; then
3343 if test -n "$ac_tool_prefix"; then
3344 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3345 set dummy ${ac_tool_prefix}strip; ac_word=$2
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3347 $as_echo_n "checking for $ac_word... " >&6; }
3348 if test "${ac_cv_prog_STRIP+set}" = set; then :
3349 $as_echo_n "(cached) " >&6
3350 else
3351 if test -n "$STRIP"; then
3352 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3353 else
3354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3355 for as_dir in $PATH
3357 IFS=$as_save_IFS
3358 test -z "$as_dir" && as_dir=.
3359 for ac_exec_ext in '' $ac_executable_extensions; do
3360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3361 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3363 break 2
3365 done
3366 done
3367 IFS=$as_save_IFS
3371 STRIP=$ac_cv_prog_STRIP
3372 if test -n "$STRIP"; then
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3374 $as_echo "$STRIP" >&6; }
3375 else
3376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3377 $as_echo "no" >&6; }
3382 if test -z "$ac_cv_prog_STRIP"; then
3383 ac_ct_STRIP=$STRIP
3384 # Extract the first word of "strip", so it can be a program name with args.
3385 set dummy strip; ac_word=$2
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3387 $as_echo_n "checking for $ac_word... " >&6; }
3388 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3389 $as_echo_n "(cached) " >&6
3390 else
3391 if test -n "$ac_ct_STRIP"; then
3392 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3393 else
3394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395 for as_dir in $PATH
3397 IFS=$as_save_IFS
3398 test -z "$as_dir" && as_dir=.
3399 for ac_exec_ext in '' $ac_executable_extensions; do
3400 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3401 ac_cv_prog_ac_ct_STRIP="strip"
3402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3403 break 2
3405 done
3406 done
3407 IFS=$as_save_IFS
3411 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3412 if test -n "$ac_ct_STRIP"; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3414 $as_echo "$ac_ct_STRIP" >&6; }
3415 else
3416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417 $as_echo "no" >&6; }
3420 if test "x$ac_ct_STRIP" = x; then
3421 STRIP=":"
3422 else
3423 case $cross_compiling:$ac_tool_warned in
3424 yes:)
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3427 ac_tool_warned=yes ;;
3428 esac
3429 STRIP=$ac_ct_STRIP
3431 else
3432 STRIP="$ac_cv_prog_STRIP"
3436 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3439 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3440 if test -z "$MKDIR_P"; then
3441 if test "${ac_cv_path_mkdir+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3443 else
3444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3445 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3447 IFS=$as_save_IFS
3448 test -z "$as_dir" && as_dir=.
3449 for ac_prog in mkdir gmkdir; do
3450 for ac_exec_ext in '' $ac_executable_extensions; do
3451 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3452 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3453 'mkdir (GNU coreutils) '* | \
3454 'mkdir (coreutils) '* | \
3455 'mkdir (fileutils) '4.1*)
3456 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3457 break 3;;
3458 esac
3459 done
3460 done
3461 done
3462 IFS=$as_save_IFS
3466 if test "${ac_cv_path_mkdir+set}" = set; then
3467 MKDIR_P="$ac_cv_path_mkdir -p"
3468 else
3469 # As a last resort, use the slow shell script. Don't cache a
3470 # value for MKDIR_P within a source directory, because that will
3471 # break other packages using the cache if that directory is
3472 # removed, or if the value is a relative name.
3473 test -d ./--version && rmdir ./--version
3474 MKDIR_P="$ac_install_sh -d"
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3478 $as_echo "$MKDIR_P" >&6; }
3480 mkdir_p="$MKDIR_P"
3481 case $mkdir_p in
3482 [\\/$]* | ?:[\\/]*) ;;
3483 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3484 esac
3486 for ac_prog in gawk mawk nawk awk
3488 # Extract the first word of "$ac_prog", so it can be a program name with args.
3489 set dummy $ac_prog; ac_word=$2
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3491 $as_echo_n "checking for $ac_word... " >&6; }
3492 if test "${ac_cv_prog_AWK+set}" = set; then :
3493 $as_echo_n "(cached) " >&6
3494 else
3495 if test -n "$AWK"; then
3496 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3497 else
3498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3499 for as_dir in $PATH
3501 IFS=$as_save_IFS
3502 test -z "$as_dir" && as_dir=.
3503 for ac_exec_ext in '' $ac_executable_extensions; do
3504 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3505 ac_cv_prog_AWK="$ac_prog"
3506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3507 break 2
3509 done
3510 done
3511 IFS=$as_save_IFS
3515 AWK=$ac_cv_prog_AWK
3516 if test -n "$AWK"; then
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3518 $as_echo "$AWK" >&6; }
3519 else
3520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3521 $as_echo "no" >&6; }
3525 test -n "$AWK" && break
3526 done
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3529 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3530 set x ${MAKE-make}
3531 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3532 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3533 $as_echo_n "(cached) " >&6
3534 else
3535 cat >conftest.make <<\_ACEOF
3536 SHELL = /bin/sh
3537 all:
3538 @echo '@@@%%%=$(MAKE)=@@@%%%'
3539 _ACEOF
3540 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3541 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3542 *@@@%%%=?*=@@@%%%*)
3543 eval ac_cv_prog_make_${ac_make}_set=yes;;
3545 eval ac_cv_prog_make_${ac_make}_set=no;;
3546 esac
3547 rm -f conftest.make
3549 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3551 $as_echo "yes" >&6; }
3552 SET_MAKE=
3553 else
3554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3555 $as_echo "no" >&6; }
3556 SET_MAKE="MAKE=${MAKE-make}"
3559 rm -rf .tst 2>/dev/null
3560 mkdir .tst 2>/dev/null
3561 if test -d .tst; then
3562 am__leading_dot=.
3563 else
3564 am__leading_dot=_
3566 rmdir .tst 2>/dev/null
3568 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3569 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3570 # is not polluted with repeated "-I."
3571 am__isrc=' -I$(srcdir)'
3572 # test to see if srcdir already configured
3573 if test -f $srcdir/config.status; then
3574 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3578 # test whether we have cygpath
3579 if test -z "$CYGPATH_W"; then
3580 if (cygpath --version) >/dev/null 2>/dev/null; then
3581 CYGPATH_W='cygpath -w'
3582 else
3583 CYGPATH_W=echo
3588 # Define the identity of the package.
3589 PACKAGE='libstdc++'
3590 VERSION='version-unused'
3593 # Some tools Automake needs.
3595 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3598 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3601 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3604 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3607 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3609 # We need awk for the "check" target. The system "awk" is bad on
3610 # some platforms.
3611 # Always define AMTAR for backward compatibility. Yes, it's still used
3612 # in the wild :-( We should find a proper way to deprecate it ...
3613 AMTAR='$${TAR-tar}'
3615 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3624 # -fno-builtin must be present here so that a non-conflicting form of
3625 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3627 save_CXXFLAGS="$CXXFLAGS"
3628 CXXFLAGS="$CXXFLAGS -fno-builtin"
3629 ac_ext=c
3630 ac_cpp='$CPP $CPPFLAGS'
3631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634 if test -n "$ac_tool_prefix"; then
3635 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3636 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3638 $as_echo_n "checking for $ac_word... " >&6; }
3639 if test "${ac_cv_prog_CC+set}" = set; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 if test -n "$CC"; then
3643 ac_cv_prog_CC="$CC" # Let the user override the test.
3644 else
3645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3646 for as_dir in $PATH
3648 IFS=$as_save_IFS
3649 test -z "$as_dir" && as_dir=.
3650 for ac_exec_ext in '' $ac_executable_extensions; do
3651 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3652 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3653 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3654 break 2
3656 done
3657 done
3658 IFS=$as_save_IFS
3662 CC=$ac_cv_prog_CC
3663 if test -n "$CC"; then
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3665 $as_echo "$CC" >&6; }
3666 else
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3668 $as_echo "no" >&6; }
3673 if test -z "$ac_cv_prog_CC"; then
3674 ac_ct_CC=$CC
3675 # Extract the first word of "gcc", so it can be a program name with args.
3676 set dummy gcc; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3681 else
3682 if test -n "$ac_ct_CC"; then
3683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3684 else
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_ac_ct_CC="gcc"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3694 break 2
3696 done
3697 done
3698 IFS=$as_save_IFS
3702 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3703 if test -n "$ac_ct_CC"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3705 $as_echo "$ac_ct_CC" >&6; }
3706 else
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3711 if test "x$ac_ct_CC" = x; then
3712 CC=""
3713 else
3714 case $cross_compiling:$ac_tool_warned in
3715 yes:)
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3717 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3718 ac_tool_warned=yes ;;
3719 esac
3720 CC=$ac_ct_CC
3722 else
3723 CC="$ac_cv_prog_CC"
3726 if test -z "$CC"; then
3727 if test -n "$ac_tool_prefix"; then
3728 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3729 set dummy ${ac_tool_prefix}cc; ac_word=$2
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3731 $as_echo_n "checking for $ac_word... " >&6; }
3732 if test "${ac_cv_prog_CC+set}" = set; then :
3733 $as_echo_n "(cached) " >&6
3734 else
3735 if test -n "$CC"; then
3736 ac_cv_prog_CC="$CC" # Let the user override the test.
3737 else
3738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 for as_dir in $PATH
3741 IFS=$as_save_IFS
3742 test -z "$as_dir" && as_dir=.
3743 for ac_exec_ext in '' $ac_executable_extensions; do
3744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3745 ac_cv_prog_CC="${ac_tool_prefix}cc"
3746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3747 break 2
3749 done
3750 done
3751 IFS=$as_save_IFS
3755 CC=$ac_cv_prog_CC
3756 if test -n "$CC"; then
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3758 $as_echo "$CC" >&6; }
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3761 $as_echo "no" >&6; }
3767 if test -z "$CC"; then
3768 # Extract the first word of "cc", so it can be a program name with args.
3769 set dummy cc; ac_word=$2
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3771 $as_echo_n "checking for $ac_word... " >&6; }
3772 if test "${ac_cv_prog_CC+set}" = set; then :
3773 $as_echo_n "(cached) " >&6
3774 else
3775 if test -n "$CC"; then
3776 ac_cv_prog_CC="$CC" # Let the user override the test.
3777 else
3778 ac_prog_rejected=no
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3780 for as_dir in $PATH
3782 IFS=$as_save_IFS
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3786 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3787 ac_prog_rejected=yes
3788 continue
3790 ac_cv_prog_CC="cc"
3791 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3792 break 2
3794 done
3795 done
3796 IFS=$as_save_IFS
3798 if test $ac_prog_rejected = yes; then
3799 # We found a bogon in the path, so make sure we never use it.
3800 set dummy $ac_cv_prog_CC
3801 shift
3802 if test $# != 0; then
3803 # We chose a different compiler from the bogus one.
3804 # However, it has the same basename, so the bogon will be chosen
3805 # first if we set CC to just the basename; use the full file name.
3806 shift
3807 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3812 CC=$ac_cv_prog_CC
3813 if test -n "$CC"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3815 $as_echo "$CC" >&6; }
3816 else
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3823 if test -z "$CC"; then
3824 if test -n "$ac_tool_prefix"; then
3825 for ac_prog in cl.exe
3827 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3828 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3830 $as_echo_n "checking for $ac_word... " >&6; }
3831 if test "${ac_cv_prog_CC+set}" = set; then :
3832 $as_echo_n "(cached) " >&6
3833 else
3834 if test -n "$CC"; then
3835 ac_cv_prog_CC="$CC" # Let the user override the test.
3836 else
3837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3838 for as_dir in $PATH
3840 IFS=$as_save_IFS
3841 test -z "$as_dir" && as_dir=.
3842 for ac_exec_ext in '' $ac_executable_extensions; do
3843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3844 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3846 break 2
3848 done
3849 done
3850 IFS=$as_save_IFS
3854 CC=$ac_cv_prog_CC
3855 if test -n "$CC"; then
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3857 $as_echo "$CC" >&6; }
3858 else
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3860 $as_echo "no" >&6; }
3864 test -n "$CC" && break
3865 done
3867 if test -z "$CC"; then
3868 ac_ct_CC=$CC
3869 for ac_prog in cl.exe
3871 # Extract the first word of "$ac_prog", so it can be a program name with args.
3872 set dummy $ac_prog; ac_word=$2
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3874 $as_echo_n "checking for $ac_word... " >&6; }
3875 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3876 $as_echo_n "(cached) " >&6
3877 else
3878 if test -n "$ac_ct_CC"; then
3879 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 else
3881 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882 for as_dir in $PATH
3884 IFS=$as_save_IFS
3885 test -z "$as_dir" && as_dir=.
3886 for ac_exec_ext in '' $ac_executable_extensions; do
3887 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3888 ac_cv_prog_ac_ct_CC="$ac_prog"
3889 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3890 break 2
3892 done
3893 done
3894 IFS=$as_save_IFS
3898 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3899 if test -n "$ac_ct_CC"; then
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3901 $as_echo "$ac_ct_CC" >&6; }
3902 else
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3904 $as_echo "no" >&6; }
3908 test -n "$ac_ct_CC" && break
3909 done
3911 if test "x$ac_ct_CC" = x; then
3912 CC=""
3913 else
3914 case $cross_compiling:$ac_tool_warned in
3915 yes:)
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3917 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3918 ac_tool_warned=yes ;;
3919 esac
3920 CC=$ac_ct_CC
3927 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3928 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3929 as_fn_error "no acceptable C compiler found in \$PATH
3930 See \`config.log' for more details." "$LINENO" 5; }
3932 # Provide some information about the compiler.
3933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3934 set X $ac_compile
3935 ac_compiler=$2
3936 for ac_option in --version -v -V -qversion; do
3937 { { ac_try="$ac_compiler $ac_option >&5"
3938 case "(($ac_try" in
3939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3940 *) ac_try_echo=$ac_try;;
3941 esac
3942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3943 $as_echo "$ac_try_echo"; } >&5
3944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3945 ac_status=$?
3946 if test -s conftest.err; then
3947 sed '10a\
3948 ... rest of stderr output deleted ...
3949 10q' conftest.err >conftest.er1
3950 cat conftest.er1 >&5
3951 rm -f conftest.er1 conftest.err
3953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3954 test $ac_status = 0; }
3955 done
3957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3958 /* end confdefs.h. */
3961 main ()
3965 return 0;
3967 _ACEOF
3968 # FIXME: Cleanup?
3969 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3970 (eval $ac_link) 2>&5
3971 ac_status=$?
3972 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; then :
3974 gcc_no_link=no
3975 else
3976 gcc_no_link=yes
3978 if test x$gcc_no_link = xyes; then
3979 # Setting cross_compile will disable run tests; it will
3980 # also disable AC_CHECK_FILE but that's generally
3981 # correct if we can't link.
3982 cross_compiling=yes
3983 EXEEXT=
3984 else
3985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3986 /* end confdefs.h. */
3989 main ()
3993 return 0;
3995 _ACEOF
3996 ac_clean_files_save=$ac_clean_files
3997 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3998 # Try to create an executable without -o first, disregard a.out.
3999 # It will help us diagnose broken compilers, and finding out an intuition
4000 # of exeext.
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4002 $as_echo_n "checking for C compiler default output file name... " >&6; }
4003 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4005 # The possible output files:
4006 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4008 ac_rmfiles=
4009 for ac_file in $ac_files
4011 case $ac_file in
4012 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4013 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4014 esac
4015 done
4016 rm -f $ac_rmfiles
4018 if { { ac_try="$ac_link_default"
4019 case "(($ac_try" in
4020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4021 *) ac_try_echo=$ac_try;;
4022 esac
4023 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4024 $as_echo "$ac_try_echo"; } >&5
4025 (eval "$ac_link_default") 2>&5
4026 ac_status=$?
4027 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4028 test $ac_status = 0; }; then :
4029 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4030 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4031 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4032 # so that the user can short-circuit this test for compilers unknown to
4033 # Autoconf.
4034 for ac_file in $ac_files ''
4036 test -f "$ac_file" || continue
4037 case $ac_file in
4038 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4040 [ab].out )
4041 # We found the default executable, but exeext='' is most
4042 # certainly right.
4043 break;;
4044 *.* )
4045 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4046 then :; else
4047 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4049 # We set ac_cv_exeext here because the later test for it is not
4050 # safe: cross compilers may not add the suffix if given an `-o'
4051 # argument, so we may need to know it at that point already.
4052 # Even if this section looks crufty: it has the advantage of
4053 # actually working.
4054 break;;
4056 break;;
4057 esac
4058 done
4059 test "$ac_cv_exeext" = no && ac_cv_exeext=
4061 else
4062 ac_file=''
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4065 $as_echo "$ac_file" >&6; }
4066 if test -z "$ac_file"; then :
4067 $as_echo "$as_me: failed program was:" >&5
4068 sed 's/^/| /' conftest.$ac_ext >&5
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 { as_fn_set_status 77
4073 as_fn_error "C compiler cannot create executables
4074 See \`config.log' for more details." "$LINENO" 5; }; }
4076 ac_exeext=$ac_cv_exeext
4078 # Check that the compiler produces executables we can run. If not, either
4079 # the compiler is broken, or we cross compile.
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4081 $as_echo_n "checking whether the C compiler works... " >&6; }
4082 # If not cross compiling, check that we can run a simple program.
4083 if test "$cross_compiling" != yes; then
4084 if { ac_try='./$ac_file'
4085 { { case "(($ac_try" in
4086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4087 *) ac_try_echo=$ac_try;;
4088 esac
4089 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4090 $as_echo "$ac_try_echo"; } >&5
4091 (eval "$ac_try") 2>&5
4092 ac_status=$?
4093 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4094 test $ac_status = 0; }; }; then
4095 cross_compiling=no
4096 else
4097 if test "$cross_compiling" = maybe; then
4098 cross_compiling=yes
4099 else
4100 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4101 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4102 as_fn_error "cannot run C compiled programs.
4103 If you meant to cross compile, use \`--host'.
4104 See \`config.log' for more details." "$LINENO" 5; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4111 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4112 ac_clean_files=$ac_clean_files_save
4113 # Check that the compiler produces executables we can run. If not, either
4114 # the compiler is broken, or we cross compile.
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4116 $as_echo_n "checking whether we are cross compiling... " >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4118 $as_echo "$cross_compiling" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4121 $as_echo_n "checking for suffix of executables... " >&6; }
4122 if { { ac_try="$ac_link"
4123 case "(($ac_try" in
4124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4125 *) ac_try_echo=$ac_try;;
4126 esac
4127 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4128 $as_echo "$ac_try_echo"; } >&5
4129 (eval "$ac_link") 2>&5
4130 ac_status=$?
4131 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4132 test $ac_status = 0; }; then :
4133 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4134 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4135 # work properly (i.e., refer to `conftest.exe'), while it won't with
4136 # `rm'.
4137 for ac_file in conftest.exe conftest conftest.*; do
4138 test -f "$ac_file" || continue
4139 case $ac_file in
4140 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4141 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4142 break;;
4143 * ) break;;
4144 esac
4145 done
4146 else
4147 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4148 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4149 as_fn_error "cannot compute suffix of executables: cannot compile and link
4150 See \`config.log' for more details." "$LINENO" 5; }
4152 rm -f conftest$ac_cv_exeext
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4154 $as_echo "$ac_cv_exeext" >&6; }
4156 rm -f conftest.$ac_ext
4157 EXEEXT=$ac_cv_exeext
4158 ac_exeext=$EXEEXT
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4161 $as_echo_n "checking for suffix of object files... " >&6; }
4162 if test "${ac_cv_objext+set}" = set; then :
4163 $as_echo_n "(cached) " >&6
4164 else
4165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4166 /* end confdefs.h. */
4169 main ()
4173 return 0;
4175 _ACEOF
4176 rm -f conftest.o conftest.obj
4177 if { { ac_try="$ac_compile"
4178 case "(($ac_try" in
4179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4180 *) ac_try_echo=$ac_try;;
4181 esac
4182 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4183 $as_echo "$ac_try_echo"; } >&5
4184 (eval "$ac_compile") 2>&5
4185 ac_status=$?
4186 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4187 test $ac_status = 0; }; then :
4188 for ac_file in conftest.o conftest.obj conftest.*; do
4189 test -f "$ac_file" || continue;
4190 case $ac_file in
4191 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4192 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4193 break;;
4194 esac
4195 done
4196 else
4197 $as_echo "$as_me: failed program was:" >&5
4198 sed 's/^/| /' conftest.$ac_ext >&5
4200 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4201 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4202 as_fn_error "cannot compute suffix of object files: cannot compile
4203 See \`config.log' for more details." "$LINENO" 5; }
4205 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4208 $as_echo "$ac_cv_objext" >&6; }
4209 OBJEXT=$ac_cv_objext
4210 ac_objext=$OBJEXT
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4212 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4213 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4214 $as_echo_n "(cached) " >&6
4215 else
4216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4217 /* end confdefs.h. */
4220 main ()
4222 #ifndef __GNUC__
4223 choke me
4224 #endif
4227 return 0;
4229 _ACEOF
4230 if ac_fn_c_try_compile "$LINENO"; then :
4231 ac_compiler_gnu=yes
4232 else
4233 ac_compiler_gnu=no
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4240 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4241 if test $ac_compiler_gnu = yes; then
4242 GCC=yes
4243 else
4244 GCC=
4246 ac_test_CFLAGS=${CFLAGS+set}
4247 ac_save_CFLAGS=$CFLAGS
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4249 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4250 if test "${ac_cv_prog_cc_g+set}" = set; then :
4251 $as_echo_n "(cached) " >&6
4252 else
4253 ac_save_c_werror_flag=$ac_c_werror_flag
4254 ac_c_werror_flag=yes
4255 ac_cv_prog_cc_g=no
4256 CFLAGS="-g"
4257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4258 /* end confdefs.h. */
4261 main ()
4265 return 0;
4267 _ACEOF
4268 if ac_fn_c_try_compile "$LINENO"; then :
4269 ac_cv_prog_cc_g=yes
4270 else
4271 CFLAGS=""
4272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4273 /* end confdefs.h. */
4276 main ()
4280 return 0;
4282 _ACEOF
4283 if ac_fn_c_try_compile "$LINENO"; then :
4285 else
4286 ac_c_werror_flag=$ac_save_c_werror_flag
4287 CFLAGS="-g"
4288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4289 /* end confdefs.h. */
4292 main ()
4296 return 0;
4298 _ACEOF
4299 if ac_fn_c_try_compile "$LINENO"; then :
4300 ac_cv_prog_cc_g=yes
4302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4307 ac_c_werror_flag=$ac_save_c_werror_flag
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4310 $as_echo "$ac_cv_prog_cc_g" >&6; }
4311 if test "$ac_test_CFLAGS" = set; then
4312 CFLAGS=$ac_save_CFLAGS
4313 elif test $ac_cv_prog_cc_g = yes; then
4314 if test "$GCC" = yes; then
4315 CFLAGS="-g -O2"
4316 else
4317 CFLAGS="-g"
4319 else
4320 if test "$GCC" = yes; then
4321 CFLAGS="-O2"
4322 else
4323 CFLAGS=
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4327 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4328 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4329 $as_echo_n "(cached) " >&6
4330 else
4331 ac_cv_prog_cc_c89=no
4332 ac_save_CC=$CC
4333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4334 /* end confdefs.h. */
4335 #include <stdarg.h>
4336 #include <stdio.h>
4337 #include <sys/types.h>
4338 #include <sys/stat.h>
4339 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4340 struct buf { int x; };
4341 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4342 static char *e (p, i)
4343 char **p;
4344 int i;
4346 return p[i];
4348 static char *f (char * (*g) (char **, int), char **p, ...)
4350 char *s;
4351 va_list v;
4352 va_start (v,p);
4353 s = g (p, va_arg (v,int));
4354 va_end (v);
4355 return s;
4358 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4359 function prototypes and stuff, but not '\xHH' hex character constants.
4360 These don't provoke an error unfortunately, instead are silently treated
4361 as 'x'. The following induces an error, until -std is added to get
4362 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4363 array size at least. It's necessary to write '\x00'==0 to get something
4364 that's true only with -std. */
4365 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4367 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4368 inside strings and character constants. */
4369 #define FOO(x) 'x'
4370 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4372 int test (int i, double x);
4373 struct s1 {int (*f) (int a);};
4374 struct s2 {int (*f) (double a);};
4375 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4376 int argc;
4377 char **argv;
4379 main ()
4381 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4383 return 0;
4385 _ACEOF
4386 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4387 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4389 CC="$ac_save_CC $ac_arg"
4390 if ac_fn_c_try_compile "$LINENO"; then :
4391 ac_cv_prog_cc_c89=$ac_arg
4393 rm -f core conftest.err conftest.$ac_objext
4394 test "x$ac_cv_prog_cc_c89" != "xno" && break
4395 done
4396 rm -f conftest.$ac_ext
4397 CC=$ac_save_CC
4400 # AC_CACHE_VAL
4401 case "x$ac_cv_prog_cc_c89" in
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4404 $as_echo "none needed" >&6; } ;;
4405 xno)
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4407 $as_echo "unsupported" >&6; } ;;
4409 CC="$CC $ac_cv_prog_cc_c89"
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4411 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4412 esac
4413 if test "x$ac_cv_prog_cc_c89" != xno; then :
4417 ac_ext=c
4418 ac_cpp='$CPP $CPPFLAGS'
4419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4423 ac_ext=cpp
4424 ac_cpp='$CXXCPP $CPPFLAGS'
4425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4428 if test -z "$CXX"; then
4429 if test -n "$CCC"; then
4430 CXX=$CCC
4431 else
4432 if test -n "$ac_tool_prefix"; then
4433 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4435 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4436 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if test "${ac_cv_prog_CXX+set}" = set; then :
4440 $as_echo_n "(cached) " >&6
4441 else
4442 if test -n "$CXX"; then
4443 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4444 else
4445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4446 for as_dir in $PATH
4448 IFS=$as_save_IFS
4449 test -z "$as_dir" && as_dir=.
4450 for ac_exec_ext in '' $ac_executable_extensions; do
4451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4452 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4454 break 2
4456 done
4457 done
4458 IFS=$as_save_IFS
4462 CXX=$ac_cv_prog_CXX
4463 if test -n "$CXX"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4465 $as_echo "$CXX" >&6; }
4466 else
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4472 test -n "$CXX" && break
4473 done
4475 if test -z "$CXX"; then
4476 ac_ct_CXX=$CXX
4477 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4479 # Extract the first word of "$ac_prog", so it can be a program name with args.
4480 set dummy $ac_prog; ac_word=$2
4481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4482 $as_echo_n "checking for $ac_word... " >&6; }
4483 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4484 $as_echo_n "(cached) " >&6
4485 else
4486 if test -n "$ac_ct_CXX"; then
4487 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4488 else
4489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4490 for as_dir in $PATH
4492 IFS=$as_save_IFS
4493 test -z "$as_dir" && as_dir=.
4494 for ac_exec_ext in '' $ac_executable_extensions; do
4495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4496 ac_cv_prog_ac_ct_CXX="$ac_prog"
4497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4498 break 2
4500 done
4501 done
4502 IFS=$as_save_IFS
4506 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4507 if test -n "$ac_ct_CXX"; then
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4509 $as_echo "$ac_ct_CXX" >&6; }
4510 else
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4512 $as_echo "no" >&6; }
4516 test -n "$ac_ct_CXX" && break
4517 done
4519 if test "x$ac_ct_CXX" = x; then
4520 CXX="g++"
4521 else
4522 case $cross_compiling:$ac_tool_warned in
4523 yes:)
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4526 ac_tool_warned=yes ;;
4527 esac
4528 CXX=$ac_ct_CXX
4534 # Provide some information about the compiler.
4535 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4536 set X $ac_compile
4537 ac_compiler=$2
4538 for ac_option in --version -v -V -qversion; do
4539 { { ac_try="$ac_compiler $ac_option >&5"
4540 case "(($ac_try" in
4541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4542 *) ac_try_echo=$ac_try;;
4543 esac
4544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4545 $as_echo "$ac_try_echo"; } >&5
4546 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4547 ac_status=$?
4548 if test -s conftest.err; then
4549 sed '10a\
4550 ... rest of stderr output deleted ...
4551 10q' conftest.err >conftest.er1
4552 cat conftest.er1 >&5
4553 rm -f conftest.er1 conftest.err
4555 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4556 test $ac_status = 0; }
4557 done
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4560 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4561 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4570 #ifndef __GNUC__
4571 choke me
4572 #endif
4575 return 0;
4577 _ACEOF
4578 if ac_fn_cxx_try_compile "$LINENO"; then :
4579 ac_compiler_gnu=yes
4580 else
4581 ac_compiler_gnu=no
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4588 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4589 if test $ac_compiler_gnu = yes; then
4590 GXX=yes
4591 else
4592 GXX=
4594 ac_test_CXXFLAGS=${CXXFLAGS+set}
4595 ac_save_CXXFLAGS=$CXXFLAGS
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4597 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4598 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4600 else
4601 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4602 ac_cxx_werror_flag=yes
4603 ac_cv_prog_cxx_g=no
4604 CXXFLAGS="-g"
4605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4606 /* end confdefs.h. */
4609 main ()
4613 return 0;
4615 _ACEOF
4616 if ac_fn_cxx_try_compile "$LINENO"; then :
4617 ac_cv_prog_cxx_g=yes
4618 else
4619 CXXFLAGS=""
4620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4621 /* end confdefs.h. */
4624 main ()
4628 return 0;
4630 _ACEOF
4631 if ac_fn_cxx_try_compile "$LINENO"; then :
4633 else
4634 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4635 CXXFLAGS="-g"
4636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4637 /* end confdefs.h. */
4640 main ()
4644 return 0;
4646 _ACEOF
4647 if ac_fn_cxx_try_compile "$LINENO"; then :
4648 ac_cv_prog_cxx_g=yes
4650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4655 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4658 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4659 if test "$ac_test_CXXFLAGS" = set; then
4660 CXXFLAGS=$ac_save_CXXFLAGS
4661 elif test $ac_cv_prog_cxx_g = yes; then
4662 if test "$GXX" = yes; then
4663 CXXFLAGS="-g -O2"
4664 else
4665 CXXFLAGS="-g"
4667 else
4668 if test "$GXX" = yes; then
4669 CXXFLAGS="-O2"
4670 else
4671 CXXFLAGS=
4674 ac_ext=c
4675 ac_cpp='$CPP $CPPFLAGS'
4676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4680 CXXFLAGS="$save_CXXFLAGS"
4682 # Runs configure.host, and assorted other critical bits. Sets
4683 # up critical shell variables.
4685 ac_ext=c
4686 ac_cpp='$CPP $CPPFLAGS'
4687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4691 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4692 # On Suns, sometimes $CPP names a directory.
4693 if test -n "$CPP" && test -d "$CPP"; then
4694 CPP=
4696 if test -z "$CPP"; then
4697 if test "${ac_cv_prog_CPP+set}" = set; then :
4698 $as_echo_n "(cached) " >&6
4699 else
4700 # Double quotes because CPP needs to be expanded
4701 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4703 ac_preproc_ok=false
4704 for ac_c_preproc_warn_flag in '' yes
4706 # Use a header file that comes with gcc, so configuring glibc
4707 # with a fresh cross-compiler works.
4708 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4709 # <limits.h> exists even on freestanding compilers.
4710 # On the NeXT, cc -E runs the code through the compiler's parser,
4711 # not just through cpp. "Syntax error" is here to catch this case.
4712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4713 /* end confdefs.h. */
4714 #ifdef __STDC__
4715 # include <limits.h>
4716 #else
4717 # include <assert.h>
4718 #endif
4719 Syntax error
4720 _ACEOF
4721 if ac_fn_c_try_cpp "$LINENO"; then :
4723 else
4724 # Broken: fails on valid input.
4725 continue
4727 rm -f conftest.err conftest.$ac_ext
4729 # OK, works on sane cases. Now check whether nonexistent headers
4730 # can be detected and how.
4731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4732 /* end confdefs.h. */
4733 #include <ac_nonexistent.h>
4734 _ACEOF
4735 if ac_fn_c_try_cpp "$LINENO"; then :
4736 # Broken: success on invalid input.
4737 continue
4738 else
4739 # Passes both tests.
4740 ac_preproc_ok=:
4741 break
4743 rm -f conftest.err conftest.$ac_ext
4745 done
4746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4747 rm -f conftest.err conftest.$ac_ext
4748 if $ac_preproc_ok; then :
4749 break
4752 done
4753 ac_cv_prog_CPP=$CPP
4756 CPP=$ac_cv_prog_CPP
4757 else
4758 ac_cv_prog_CPP=$CPP
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4761 $as_echo "$CPP" >&6; }
4762 ac_preproc_ok=false
4763 for ac_c_preproc_warn_flag in '' yes
4765 # Use a header file that comes with gcc, so configuring glibc
4766 # with a fresh cross-compiler works.
4767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4768 # <limits.h> exists even on freestanding compilers.
4769 # On the NeXT, cc -E runs the code through the compiler's parser,
4770 # not just through cpp. "Syntax error" is here to catch this case.
4771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4772 /* end confdefs.h. */
4773 #ifdef __STDC__
4774 # include <limits.h>
4775 #else
4776 # include <assert.h>
4777 #endif
4778 Syntax error
4779 _ACEOF
4780 if ac_fn_c_try_cpp "$LINENO"; then :
4782 else
4783 # Broken: fails on valid input.
4784 continue
4786 rm -f conftest.err conftest.$ac_ext
4788 # OK, works on sane cases. Now check whether nonexistent headers
4789 # can be detected and how.
4790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4791 /* end confdefs.h. */
4792 #include <ac_nonexistent.h>
4793 _ACEOF
4794 if ac_fn_c_try_cpp "$LINENO"; then :
4795 # Broken: success on invalid input.
4796 continue
4797 else
4798 # Passes both tests.
4799 ac_preproc_ok=:
4800 break
4802 rm -f conftest.err conftest.$ac_ext
4804 done
4805 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4806 rm -f conftest.err conftest.$ac_ext
4807 if $ac_preproc_ok; then :
4809 else
4810 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4812 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4813 See \`config.log' for more details." "$LINENO" 5; }
4816 ac_ext=c
4817 ac_cpp='$CPP $CPPFLAGS'
4818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4824 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4825 if test "${ac_cv_path_GREP+set}" = set; then :
4826 $as_echo_n "(cached) " >&6
4827 else
4828 if test -z "$GREP"; then
4829 ac_path_GREP_found=false
4830 # Loop through the user's path and test for each of PROGNAME-LIST
4831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4834 IFS=$as_save_IFS
4835 test -z "$as_dir" && as_dir=.
4836 for ac_prog in grep ggrep; do
4837 for ac_exec_ext in '' $ac_executable_extensions; do
4838 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4839 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4840 # Check for GNU ac_path_GREP and select it if it is found.
4841 # Check for GNU $ac_path_GREP
4842 case `"$ac_path_GREP" --version 2>&1` in
4843 *GNU*)
4844 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4846 ac_count=0
4847 $as_echo_n 0123456789 >"conftest.in"
4848 while :
4850 cat "conftest.in" "conftest.in" >"conftest.tmp"
4851 mv "conftest.tmp" "conftest.in"
4852 cp "conftest.in" "conftest.nl"
4853 $as_echo 'GREP' >> "conftest.nl"
4854 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4856 as_fn_arith $ac_count + 1 && ac_count=$as_val
4857 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4858 # Best one so far, save it but keep looking for a better one
4859 ac_cv_path_GREP="$ac_path_GREP"
4860 ac_path_GREP_max=$ac_count
4862 # 10*(2^10) chars as input seems more than enough
4863 test $ac_count -gt 10 && break
4864 done
4865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4866 esac
4868 $ac_path_GREP_found && break 3
4869 done
4870 done
4871 done
4872 IFS=$as_save_IFS
4873 if test -z "$ac_cv_path_GREP"; then
4874 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4876 else
4877 ac_cv_path_GREP=$GREP
4881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4882 $as_echo "$ac_cv_path_GREP" >&6; }
4883 GREP="$ac_cv_path_GREP"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4887 $as_echo_n "checking for egrep... " >&6; }
4888 if test "${ac_cv_path_EGREP+set}" = set; then :
4889 $as_echo_n "(cached) " >&6
4890 else
4891 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4892 then ac_cv_path_EGREP="$GREP -E"
4893 else
4894 if test -z "$EGREP"; then
4895 ac_path_EGREP_found=false
4896 # Loop through the user's path and test for each of PROGNAME-LIST
4897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4898 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4900 IFS=$as_save_IFS
4901 test -z "$as_dir" && as_dir=.
4902 for ac_prog in egrep; do
4903 for ac_exec_ext in '' $ac_executable_extensions; do
4904 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4905 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4906 # Check for GNU ac_path_EGREP and select it if it is found.
4907 # Check for GNU $ac_path_EGREP
4908 case `"$ac_path_EGREP" --version 2>&1` in
4909 *GNU*)
4910 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4912 ac_count=0
4913 $as_echo_n 0123456789 >"conftest.in"
4914 while :
4916 cat "conftest.in" "conftest.in" >"conftest.tmp"
4917 mv "conftest.tmp" "conftest.in"
4918 cp "conftest.in" "conftest.nl"
4919 $as_echo 'EGREP' >> "conftest.nl"
4920 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4921 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4922 as_fn_arith $ac_count + 1 && ac_count=$as_val
4923 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4924 # Best one so far, save it but keep looking for a better one
4925 ac_cv_path_EGREP="$ac_path_EGREP"
4926 ac_path_EGREP_max=$ac_count
4928 # 10*(2^10) chars as input seems more than enough
4929 test $ac_count -gt 10 && break
4930 done
4931 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4932 esac
4934 $ac_path_EGREP_found && break 3
4935 done
4936 done
4937 done
4938 IFS=$as_save_IFS
4939 if test -z "$ac_cv_path_EGREP"; then
4940 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4942 else
4943 ac_cv_path_EGREP=$EGREP
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4949 $as_echo "$ac_cv_path_EGREP" >&6; }
4950 EGREP="$ac_cv_path_EGREP"
4954 # Keep these sync'd with the list in Makefile.am. The first provides an
4955 # expandable list at autoconf time; the second provides an expandable list
4956 # (i.e., shell variable) at configure time.
4958 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4960 # These need to be absolute paths, yet at the same time need to
4961 # canonicalize only relative paths, because then amd will not unmount
4962 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4963 glibcxx_builddir=`${PWDCMD-pwd}`
4964 case $srcdir in
4965 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4966 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4967 esac
4968 toplevel_builddir=${glibcxx_builddir}/..
4969 toplevel_srcdir=${glibcxx_srcdir}/..
4975 # We use these options to decide which functions to include. They are
4976 # set from the top level.
4978 # Check whether --with-target-subdir was given.
4979 if test "${with_target_subdir+set}" = set; then :
4980 withval=$with_target_subdir;
4985 # Check whether --with-cross-host was given.
4986 if test "${with_cross_host+set}" = set; then :
4987 withval=$with_cross_host;
4992 # Check whether --with-newlib was given.
4993 if test "${with_newlib+set}" = set; then :
4994 withval=$with_newlib;
4998 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4999 # available). Uncomment the next line to force a particular method.
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5001 $as_echo_n "checking whether ln -s works... " >&6; }
5002 LN_S=$as_ln_s
5003 if test "$LN_S" = "ln -s"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5005 $as_echo "yes" >&6; }
5006 else
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5008 $as_echo "no, using $LN_S" >&6; }
5011 #LN_S='cp -p'
5013 if test -n "$ac_tool_prefix"; then
5014 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5015 set dummy ${ac_tool_prefix}as; ac_word=$2
5016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5017 $as_echo_n "checking for $ac_word... " >&6; }
5018 if test "${ac_cv_prog_AS+set}" = set; then :
5019 $as_echo_n "(cached) " >&6
5020 else
5021 if test -n "$AS"; then
5022 ac_cv_prog_AS="$AS" # Let the user override the test.
5023 else
5024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5025 for as_dir in $PATH
5027 IFS=$as_save_IFS
5028 test -z "$as_dir" && as_dir=.
5029 for ac_exec_ext in '' $ac_executable_extensions; do
5030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5031 ac_cv_prog_AS="${ac_tool_prefix}as"
5032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5033 break 2
5035 done
5036 done
5037 IFS=$as_save_IFS
5041 AS=$ac_cv_prog_AS
5042 if test -n "$AS"; then
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5044 $as_echo "$AS" >&6; }
5045 else
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5047 $as_echo "no" >&6; }
5052 if test -z "$ac_cv_prog_AS"; then
5053 ac_ct_AS=$AS
5054 # Extract the first word of "as", so it can be a program name with args.
5055 set dummy as; ac_word=$2
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5057 $as_echo_n "checking for $ac_word... " >&6; }
5058 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5059 $as_echo_n "(cached) " >&6
5060 else
5061 if test -n "$ac_ct_AS"; then
5062 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5063 else
5064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5065 for as_dir in $PATH
5067 IFS=$as_save_IFS
5068 test -z "$as_dir" && as_dir=.
5069 for ac_exec_ext in '' $ac_executable_extensions; do
5070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5071 ac_cv_prog_ac_ct_AS="as"
5072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5073 break 2
5075 done
5076 done
5077 IFS=$as_save_IFS
5081 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5082 if test -n "$ac_ct_AS"; then
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5084 $as_echo "$ac_ct_AS" >&6; }
5085 else
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5087 $as_echo "no" >&6; }
5090 if test "x$ac_ct_AS" = x; then
5091 AS=""
5092 else
5093 case $cross_compiling:$ac_tool_warned in
5094 yes:)
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5096 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5097 ac_tool_warned=yes ;;
5098 esac
5099 AS=$ac_ct_AS
5101 else
5102 AS="$ac_cv_prog_AS"
5105 if test -n "$ac_tool_prefix"; then
5106 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5107 set dummy ${ac_tool_prefix}ar; ac_word=$2
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5109 $as_echo_n "checking for $ac_word... " >&6; }
5110 if test "${ac_cv_prog_AR+set}" = set; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 if test -n "$AR"; then
5114 ac_cv_prog_AR="$AR" # Let the user override the test.
5115 else
5116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5117 for as_dir in $PATH
5119 IFS=$as_save_IFS
5120 test -z "$as_dir" && as_dir=.
5121 for ac_exec_ext in '' $ac_executable_extensions; do
5122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5123 ac_cv_prog_AR="${ac_tool_prefix}ar"
5124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5125 break 2
5127 done
5128 done
5129 IFS=$as_save_IFS
5133 AR=$ac_cv_prog_AR
5134 if test -n "$AR"; then
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5136 $as_echo "$AR" >&6; }
5137 else
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 $as_echo "no" >&6; }
5144 if test -z "$ac_cv_prog_AR"; then
5145 ac_ct_AR=$AR
5146 # Extract the first word of "ar", so it can be a program name with args.
5147 set dummy ar; ac_word=$2
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5149 $as_echo_n "checking for $ac_word... " >&6; }
5150 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5151 $as_echo_n "(cached) " >&6
5152 else
5153 if test -n "$ac_ct_AR"; then
5154 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5155 else
5156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5157 for as_dir in $PATH
5159 IFS=$as_save_IFS
5160 test -z "$as_dir" && as_dir=.
5161 for ac_exec_ext in '' $ac_executable_extensions; do
5162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5163 ac_cv_prog_ac_ct_AR="ar"
5164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5165 break 2
5167 done
5168 done
5169 IFS=$as_save_IFS
5173 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5174 if test -n "$ac_ct_AR"; then
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5176 $as_echo "$ac_ct_AR" >&6; }
5177 else
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5179 $as_echo "no" >&6; }
5182 if test "x$ac_ct_AR" = x; then
5183 AR=""
5184 else
5185 case $cross_compiling:$ac_tool_warned in
5186 yes:)
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5189 ac_tool_warned=yes ;;
5190 esac
5191 AR=$ac_ct_AR
5193 else
5194 AR="$ac_cv_prog_AR"
5197 if test -n "$ac_tool_prefix"; then
5198 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5199 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5201 $as_echo_n "checking for $ac_word... " >&6; }
5202 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5203 $as_echo_n "(cached) " >&6
5204 else
5205 if test -n "$RANLIB"; then
5206 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5207 else
5208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5209 for as_dir in $PATH
5211 IFS=$as_save_IFS
5212 test -z "$as_dir" && as_dir=.
5213 for ac_exec_ext in '' $ac_executable_extensions; do
5214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5215 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5216 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5217 break 2
5219 done
5220 done
5221 IFS=$as_save_IFS
5225 RANLIB=$ac_cv_prog_RANLIB
5226 if test -n "$RANLIB"; then
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5228 $as_echo "$RANLIB" >&6; }
5229 else
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5236 if test -z "$ac_cv_prog_RANLIB"; then
5237 ac_ct_RANLIB=$RANLIB
5238 # Extract the first word of "ranlib", so it can be a program name with args.
5239 set dummy ranlib; ac_word=$2
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5241 $as_echo_n "checking for $ac_word... " >&6; }
5242 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5244 else
5245 if test -n "$ac_ct_RANLIB"; then
5246 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5247 else
5248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5249 for as_dir in $PATH
5251 IFS=$as_save_IFS
5252 test -z "$as_dir" && as_dir=.
5253 for ac_exec_ext in '' $ac_executable_extensions; do
5254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5255 ac_cv_prog_ac_ct_RANLIB="ranlib"
5256 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5257 break 2
5259 done
5260 done
5261 IFS=$as_save_IFS
5265 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5266 if test -n "$ac_ct_RANLIB"; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5268 $as_echo "$ac_ct_RANLIB" >&6; }
5269 else
5270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5271 $as_echo "no" >&6; }
5274 if test "x$ac_ct_RANLIB" = x; then
5275 RANLIB="ranlib-not-found-in-path-error"
5276 else
5277 case $cross_compiling:$ac_tool_warned in
5278 yes:)
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5280 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5281 ac_tool_warned=yes ;;
5282 esac
5283 RANLIB=$ac_ct_RANLIB
5285 else
5286 RANLIB="$ac_cv_prog_RANLIB"
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5292 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5293 # Check whether --enable-maintainer-mode was given.
5294 if test "${enable_maintainer_mode+set}" = set; then :
5295 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5296 else
5297 USE_MAINTAINER_MODE=no
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5301 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5302 if test $USE_MAINTAINER_MODE = yes; then
5303 MAINTAINER_MODE_TRUE=
5304 MAINTAINER_MODE_FALSE='#'
5305 else
5306 MAINTAINER_MODE_TRUE='#'
5307 MAINTAINER_MODE_FALSE=
5310 MAINT=$MAINTAINER_MODE_TRUE
5314 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5315 # which are themselves conditionally expanded.
5316 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5317 ## other macros from doing the same. This should be automated.) -pme
5319 # Check for C library flavor since GNU/Linux platforms use different
5320 # configuration directories depending on the C library in use.
5321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5322 /* end confdefs.h. */
5324 #include <stdio.h>
5325 #if __UCLIBC__
5326 _using_uclibc
5327 #endif
5329 _ACEOF
5330 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5331 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5332 uclibc=yes
5333 else
5334 uclibc=no
5336 rm -f conftest*
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5342 #include <stdio.h>
5343 #if __BIONIC__
5344 _using_bionic
5345 #endif
5347 _ACEOF
5348 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5349 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5350 bionic=yes
5351 else
5352 bionic=no
5354 rm -f conftest*
5357 # Find platform-specific directories containing configuration info.
5358 # Also possibly modify flags used elsewhere, as needed by the platform.
5360 . $glibcxx_srcdir/configure.host
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5362 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5364 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5368 # Libtool setup.
5369 if test "x${with_newlib}" != "xyes"; then
5370 enable_dlopen=yes
5375 case `pwd` in
5376 *\ * | *\ *)
5377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5378 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5379 esac
5383 macro_version='2.2.7a'
5384 macro_revision='1.3134'
5398 ltmain="$ac_aux_dir/ltmain.sh"
5400 # Backslashify metacharacters that are still active within
5401 # double-quoted strings.
5402 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5404 # Same as above, but do not quote variable references.
5405 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5407 # Sed substitution to delay expansion of an escaped shell variable in a
5408 # double_quote_subst'ed string.
5409 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5411 # Sed substitution to delay expansion of an escaped single quote.
5412 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5414 # Sed substitution to avoid accidental globbing in evaled expressions
5415 no_glob_subst='s/\*/\\\*/g'
5417 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5419 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5422 $as_echo_n "checking how to print strings... " >&6; }
5423 # Test print first, because it will be a builtin if present.
5424 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5425 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5426 ECHO='print -r --'
5427 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5428 ECHO='printf %s\n'
5429 else
5430 # Use this function as a fallback that always works.
5431 func_fallback_echo ()
5433 eval 'cat <<_LTECHO_EOF
5435 _LTECHO_EOF'
5437 ECHO='func_fallback_echo'
5440 # func_echo_all arg...
5441 # Invoke $ECHO with all args, space-separated.
5442 func_echo_all ()
5444 $ECHO ""
5447 case "$ECHO" in
5448 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5449 $as_echo "printf" >&6; } ;;
5450 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5451 $as_echo "print -r" >&6; } ;;
5452 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5453 $as_echo "cat" >&6; } ;;
5454 esac
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5470 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5471 if test "${ac_cv_path_SED+set}" = set; then :
5472 $as_echo_n "(cached) " >&6
5473 else
5474 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5475 for ac_i in 1 2 3 4 5 6 7; do
5476 ac_script="$ac_script$as_nl$ac_script"
5477 done
5478 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5479 { ac_script=; unset ac_script;}
5480 if test -z "$SED"; then
5481 ac_path_SED_found=false
5482 # Loop through the user's path and test for each of PROGNAME-LIST
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_prog in sed gsed; do
5489 for ac_exec_ext in '' $ac_executable_extensions; do
5490 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5491 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5492 # Check for GNU ac_path_SED and select it if it is found.
5493 # Check for GNU $ac_path_SED
5494 case `"$ac_path_SED" --version 2>&1` in
5495 *GNU*)
5496 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5498 ac_count=0
5499 $as_echo_n 0123456789 >"conftest.in"
5500 while :
5502 cat "conftest.in" "conftest.in" >"conftest.tmp"
5503 mv "conftest.tmp" "conftest.in"
5504 cp "conftest.in" "conftest.nl"
5505 $as_echo '' >> "conftest.nl"
5506 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5507 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5508 as_fn_arith $ac_count + 1 && ac_count=$as_val
5509 if test $ac_count -gt ${ac_path_SED_max-0}; then
5510 # Best one so far, save it but keep looking for a better one
5511 ac_cv_path_SED="$ac_path_SED"
5512 ac_path_SED_max=$ac_count
5514 # 10*(2^10) chars as input seems more than enough
5515 test $ac_count -gt 10 && break
5516 done
5517 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5518 esac
5520 $ac_path_SED_found && break 3
5521 done
5522 done
5523 done
5524 IFS=$as_save_IFS
5525 if test -z "$ac_cv_path_SED"; then
5526 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5528 else
5529 ac_cv_path_SED=$SED
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5534 $as_echo "$ac_cv_path_SED" >&6; }
5535 SED="$ac_cv_path_SED"
5536 rm -f conftest.sed
5538 test -z "$SED" && SED=sed
5539 Xsed="$SED -e 1s/^X//"
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5552 $as_echo_n "checking for fgrep... " >&6; }
5553 if test "${ac_cv_path_FGREP+set}" = set; then :
5554 $as_echo_n "(cached) " >&6
5555 else
5556 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5557 then ac_cv_path_FGREP="$GREP -F"
5558 else
5559 if test -z "$FGREP"; then
5560 ac_path_FGREP_found=false
5561 # Loop through the user's path and test for each of PROGNAME-LIST
5562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5565 IFS=$as_save_IFS
5566 test -z "$as_dir" && as_dir=.
5567 for ac_prog in fgrep; do
5568 for ac_exec_ext in '' $ac_executable_extensions; do
5569 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5570 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5571 # Check for GNU ac_path_FGREP and select it if it is found.
5572 # Check for GNU $ac_path_FGREP
5573 case `"$ac_path_FGREP" --version 2>&1` in
5574 *GNU*)
5575 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5577 ac_count=0
5578 $as_echo_n 0123456789 >"conftest.in"
5579 while :
5581 cat "conftest.in" "conftest.in" >"conftest.tmp"
5582 mv "conftest.tmp" "conftest.in"
5583 cp "conftest.in" "conftest.nl"
5584 $as_echo 'FGREP' >> "conftest.nl"
5585 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5587 as_fn_arith $ac_count + 1 && ac_count=$as_val
5588 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5589 # Best one so far, save it but keep looking for a better one
5590 ac_cv_path_FGREP="$ac_path_FGREP"
5591 ac_path_FGREP_max=$ac_count
5593 # 10*(2^10) chars as input seems more than enough
5594 test $ac_count -gt 10 && break
5595 done
5596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5597 esac
5599 $ac_path_FGREP_found && break 3
5600 done
5601 done
5602 done
5603 IFS=$as_save_IFS
5604 if test -z "$ac_cv_path_FGREP"; then
5605 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5607 else
5608 ac_cv_path_FGREP=$FGREP
5613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5614 $as_echo "$ac_cv_path_FGREP" >&6; }
5615 FGREP="$ac_cv_path_FGREP"
5618 test -z "$GREP" && GREP=grep
5638 # Check whether --with-gnu-ld was given.
5639 if test "${with_gnu_ld+set}" = set; then :
5640 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5641 else
5642 with_gnu_ld=no
5645 ac_prog=ld
5646 if test "$GCC" = yes; then
5647 # Check if gcc -print-prog-name=ld gives a path.
5648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5649 $as_echo_n "checking for ld used by $CC... " >&6; }
5650 case $host in
5651 *-*-mingw*)
5652 # gcc leaves a trailing carriage return which upsets mingw
5653 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5655 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5656 esac
5657 case $ac_prog in
5658 # Accept absolute paths.
5659 [\\/]* | ?:[\\/]*)
5660 re_direlt='/[^/][^/]*/\.\./'
5661 # Canonicalize the pathname of ld
5662 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5663 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5664 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5665 done
5666 test -z "$LD" && LD="$ac_prog"
5669 # If it fails, then pretend we aren't using GCC.
5670 ac_prog=ld
5673 # If it is relative, then search for the first ld in PATH.
5674 with_gnu_ld=unknown
5676 esac
5677 elif test "$with_gnu_ld" = yes; then
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5679 $as_echo_n "checking for GNU ld... " >&6; }
5680 else
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5682 $as_echo_n "checking for non-GNU ld... " >&6; }
5684 if test "${lt_cv_path_LD+set}" = set; then :
5685 $as_echo_n "(cached) " >&6
5686 else
5687 if test -z "$LD"; then
5688 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5689 for ac_dir in $PATH; do
5690 IFS="$lt_save_ifs"
5691 test -z "$ac_dir" && ac_dir=.
5692 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5693 lt_cv_path_LD="$ac_dir/$ac_prog"
5694 # Check to see if the program is GNU ld. I'd rather use --version,
5695 # but apparently some variants of GNU ld only accept -v.
5696 # Break only if it was the GNU/non-GNU ld that we prefer.
5697 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5698 *GNU* | *'with BFD'*)
5699 test "$with_gnu_ld" != no && break
5702 test "$with_gnu_ld" != yes && break
5704 esac
5706 done
5707 IFS="$lt_save_ifs"
5708 else
5709 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5713 LD="$lt_cv_path_LD"
5714 if test -n "$LD"; then
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5716 $as_echo "$LD" >&6; }
5717 else
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5719 $as_echo "no" >&6; }
5721 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5723 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5724 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5728 case `$LD -v 2>&1 </dev/null` in
5729 *GNU* | *'with BFD'*)
5730 lt_cv_prog_gnu_ld=yes
5733 lt_cv_prog_gnu_ld=no
5735 esac
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5738 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5739 with_gnu_ld=$lt_cv_prog_gnu_ld
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5750 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5751 if test "${lt_cv_path_NM+set}" = set; then :
5752 $as_echo_n "(cached) " >&6
5753 else
5754 if test -n "$NM"; then
5755 # Let the user override the test.
5756 lt_cv_path_NM="$NM"
5757 else
5758 lt_nm_to_check="${ac_tool_prefix}nm"
5759 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5760 lt_nm_to_check="$lt_nm_to_check nm"
5762 for lt_tmp_nm in $lt_nm_to_check; do
5763 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5764 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5765 IFS="$lt_save_ifs"
5766 test -z "$ac_dir" && ac_dir=.
5767 tmp_nm="$ac_dir/$lt_tmp_nm"
5768 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5769 # Check to see if the nm accepts a BSD-compat flag.
5770 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5771 # nm: unknown option "B" ignored
5772 # Tru64's nm complains that /dev/null is an invalid object file
5773 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5774 */dev/null* | *'Invalid file or object type'*)
5775 lt_cv_path_NM="$tmp_nm -B"
5776 break
5779 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5780 */dev/null*)
5781 lt_cv_path_NM="$tmp_nm -p"
5782 break
5785 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5786 continue # so that we can try to find one that supports BSD flags
5788 esac
5790 esac
5792 done
5793 IFS="$lt_save_ifs"
5794 done
5795 : ${lt_cv_path_NM=no}
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5799 $as_echo "$lt_cv_path_NM" >&6; }
5800 if test "$lt_cv_path_NM" != "no"; then
5801 NM="$lt_cv_path_NM"
5802 else
5803 # Didn't find any BSD compatible name lister, look for dumpbin.
5804 if test -n "$DUMPBIN"; then :
5805 # Let the user override the test.
5806 else
5807 if test -n "$ac_tool_prefix"; then
5808 for ac_prog in dumpbin "link -dump"
5810 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5811 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5813 $as_echo_n "checking for $ac_word... " >&6; }
5814 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5815 $as_echo_n "(cached) " >&6
5816 else
5817 if test -n "$DUMPBIN"; then
5818 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5819 else
5820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5821 for as_dir in $PATH
5823 IFS=$as_save_IFS
5824 test -z "$as_dir" && as_dir=.
5825 for ac_exec_ext in '' $ac_executable_extensions; do
5826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5827 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5829 break 2
5831 done
5832 done
5833 IFS=$as_save_IFS
5837 DUMPBIN=$ac_cv_prog_DUMPBIN
5838 if test -n "$DUMPBIN"; then
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5840 $as_echo "$DUMPBIN" >&6; }
5841 else
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5843 $as_echo "no" >&6; }
5847 test -n "$DUMPBIN" && break
5848 done
5850 if test -z "$DUMPBIN"; then
5851 ac_ct_DUMPBIN=$DUMPBIN
5852 for ac_prog in dumpbin "link -dump"
5854 # Extract the first word of "$ac_prog", so it can be a program name with args.
5855 set dummy $ac_prog; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$ac_ct_DUMPBIN"; then
5862 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5871 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5882 if test -n "$ac_ct_DUMPBIN"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5884 $as_echo "$ac_ct_DUMPBIN" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5891 test -n "$ac_ct_DUMPBIN" && break
5892 done
5894 if test "x$ac_ct_DUMPBIN" = x; then
5895 DUMPBIN=":"
5896 else
5897 case $cross_compiling:$ac_tool_warned in
5898 yes:)
5899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5900 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5901 ac_tool_warned=yes ;;
5902 esac
5903 DUMPBIN=$ac_ct_DUMPBIN
5907 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5908 *COFF*)
5909 DUMPBIN="$DUMPBIN -symbols"
5912 DUMPBIN=:
5914 esac
5917 if test "$DUMPBIN" != ":"; then
5918 NM="$DUMPBIN"
5921 test -z "$NM" && NM=nm
5928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5929 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5930 if test "${lt_cv_nm_interface+set}" = set; then :
5931 $as_echo_n "(cached) " >&6
5932 else
5933 lt_cv_nm_interface="BSD nm"
5934 echo "int some_variable = 0;" > conftest.$ac_ext
5935 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5936 (eval "$ac_compile" 2>conftest.err)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5939 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5940 cat conftest.err >&5
5941 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5942 cat conftest.out >&5
5943 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5944 lt_cv_nm_interface="MS dumpbin"
5946 rm -f conftest*
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5949 $as_echo "$lt_cv_nm_interface" >&6; }
5951 # find the maximum length of command line arguments
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5953 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5954 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5955 $as_echo_n "(cached) " >&6
5956 else
5958 teststring="ABCD"
5960 case $build_os in
5961 msdosdjgpp*)
5962 # On DJGPP, this test can blow up pretty badly due to problems in libc
5963 # (any single argument exceeding 2000 bytes causes a buffer overrun
5964 # during glob expansion). Even if it were fixed, the result of this
5965 # check would be larger than it should be.
5966 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5969 gnu*)
5970 # Under GNU Hurd, this test is not required because there is
5971 # no limit to the length of command line arguments.
5972 # Libtool will interpret -1 as no limit whatsoever
5973 lt_cv_sys_max_cmd_len=-1;
5976 cygwin* | mingw* | cegcc*)
5977 # On Win9x/ME, this test blows up -- it succeeds, but takes
5978 # about 5 minutes as the teststring grows exponentially.
5979 # Worse, since 9x/ME are not pre-emptively multitasking,
5980 # you end up with a "frozen" computer, even though with patience
5981 # the test eventually succeeds (with a max line length of 256k).
5982 # Instead, let's just punt: use the minimum linelength reported by
5983 # all of the supported platforms: 8192 (on NT/2K/XP).
5984 lt_cv_sys_max_cmd_len=8192;
5987 mint*)
5988 # On MiNT this can take a long time and run out of memory.
5989 lt_cv_sys_max_cmd_len=8192;
5992 amigaos*)
5993 # On AmigaOS with pdksh, this test takes hours, literally.
5994 # So we just punt and use a minimum line length of 8192.
5995 lt_cv_sys_max_cmd_len=8192;
5998 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5999 # This has been around since 386BSD, at least. Likely further.
6000 if test -x /sbin/sysctl; then
6001 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6002 elif test -x /usr/sbin/sysctl; then
6003 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6004 else
6005 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6007 # And add a safety zone
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6012 interix*)
6013 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6014 lt_cv_sys_max_cmd_len=196608
6017 osf*)
6018 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6019 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6020 # nice to cause kernel panics so lets avoid the loop below.
6021 # First set a reasonable default.
6022 lt_cv_sys_max_cmd_len=16384
6024 if test -x /sbin/sysconfig; then
6025 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6026 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6027 esac
6030 sco3.2v5*)
6031 lt_cv_sys_max_cmd_len=102400
6033 sysv5* | sco5v6* | sysv4.2uw2*)
6034 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6035 if test -n "$kargmax"; then
6036 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6037 else
6038 lt_cv_sys_max_cmd_len=32768
6042 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6043 if test -n "$lt_cv_sys_max_cmd_len"; then
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6045 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6046 else
6047 # Make teststring a little bigger before we do anything with it.
6048 # a 1K string should be a reasonable start.
6049 for i in 1 2 3 4 5 6 7 8 ; do
6050 teststring=$teststring$teststring
6051 done
6052 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6053 # If test is not a shell built-in, we'll probably end up computing a
6054 # maximum length that is only half of the actual maximum length, but
6055 # we can't tell.
6056 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6057 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6058 test $i != 17 # 1/2 MB should be enough
6060 i=`expr $i + 1`
6061 teststring=$teststring$teststring
6062 done
6063 # Only check the string length outside the loop.
6064 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6065 teststring=
6066 # Add a significant safety factor because C++ compilers can tack on
6067 # massive amounts of additional arguments before passing them to the
6068 # linker. It appears as though 1/2 is a usable value.
6069 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6072 esac
6076 if test -n $lt_cv_sys_max_cmd_len ; then
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6078 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6079 else
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6081 $as_echo "none" >&6; }
6083 max_cmd_len=$lt_cv_sys_max_cmd_len
6090 : ${CP="cp -f"}
6091 : ${MV="mv -f"}
6092 : ${RM="rm -f"}
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6095 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6096 # Try some XSI features
6097 xsi_shell=no
6098 ( _lt_dummy="a/b/c"
6099 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6100 = c,a/b,, \
6101 && eval 'test $(( 1 + 1 )) -eq 2 \
6102 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6103 && xsi_shell=yes
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6105 $as_echo "$xsi_shell" >&6; }
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6109 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6110 lt_shell_append=no
6111 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6112 >/dev/null 2>&1 \
6113 && lt_shell_append=yes
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6115 $as_echo "$lt_shell_append" >&6; }
6118 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6119 lt_unset=unset
6120 else
6121 lt_unset=false
6128 # test EBCDIC or ASCII
6129 case `echo X|tr X '\101'` in
6130 A) # ASCII based system
6131 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6132 lt_SP2NL='tr \040 \012'
6133 lt_NL2SP='tr \015\012 \040\040'
6135 *) # EBCDIC based system
6136 lt_SP2NL='tr \100 \n'
6137 lt_NL2SP='tr \r\n \100\100'
6139 esac
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6150 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6151 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 lt_cv_ld_reload_flag='-r'
6156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6157 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6158 reload_flag=$lt_cv_ld_reload_flag
6159 case $reload_flag in
6160 "" | " "*) ;;
6161 *) reload_flag=" $reload_flag" ;;
6162 esac
6163 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6164 case $host_os in
6165 darwin*)
6166 if test "$GCC" = yes; then
6167 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6168 else
6169 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6172 esac
6182 if test -n "$ac_tool_prefix"; then
6183 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6184 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6186 $as_echo_n "checking for $ac_word... " >&6; }
6187 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6188 $as_echo_n "(cached) " >&6
6189 else
6190 if test -n "$OBJDUMP"; then
6191 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6192 else
6193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6194 for as_dir in $PATH
6196 IFS=$as_save_IFS
6197 test -z "$as_dir" && as_dir=.
6198 for ac_exec_ext in '' $ac_executable_extensions; do
6199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6200 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6202 break 2
6204 done
6205 done
6206 IFS=$as_save_IFS
6210 OBJDUMP=$ac_cv_prog_OBJDUMP
6211 if test -n "$OBJDUMP"; then
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6213 $as_echo "$OBJDUMP" >&6; }
6214 else
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6216 $as_echo "no" >&6; }
6221 if test -z "$ac_cv_prog_OBJDUMP"; then
6222 ac_ct_OBJDUMP=$OBJDUMP
6223 # Extract the first word of "objdump", so it can be a program name with args.
6224 set dummy objdump; ac_word=$2
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6226 $as_echo_n "checking for $ac_word... " >&6; }
6227 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6228 $as_echo_n "(cached) " >&6
6229 else
6230 if test -n "$ac_ct_OBJDUMP"; then
6231 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6232 else
6233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6234 for as_dir in $PATH
6236 IFS=$as_save_IFS
6237 test -z "$as_dir" && as_dir=.
6238 for ac_exec_ext in '' $ac_executable_extensions; do
6239 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6240 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6242 break 2
6244 done
6245 done
6246 IFS=$as_save_IFS
6250 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6251 if test -n "$ac_ct_OBJDUMP"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6253 $as_echo "$ac_ct_OBJDUMP" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6259 if test "x$ac_ct_OBJDUMP" = x; then
6260 OBJDUMP="false"
6261 else
6262 case $cross_compiling:$ac_tool_warned in
6263 yes:)
6264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6266 ac_tool_warned=yes ;;
6267 esac
6268 OBJDUMP=$ac_ct_OBJDUMP
6270 else
6271 OBJDUMP="$ac_cv_prog_OBJDUMP"
6274 test -z "$OBJDUMP" && OBJDUMP=objdump
6284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6285 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6286 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6287 $as_echo_n "(cached) " >&6
6288 else
6289 lt_cv_file_magic_cmd='$MAGIC_CMD'
6290 lt_cv_file_magic_test_file=
6291 lt_cv_deplibs_check_method='unknown'
6292 # Need to set the preceding variable on all platforms that support
6293 # interlibrary dependencies.
6294 # 'none' -- dependencies not supported.
6295 # `unknown' -- same as none, but documents that we really don't know.
6296 # 'pass_all' -- all dependencies passed with no checks.
6297 # 'test_compile' -- check by making test program.
6298 # 'file_magic [[regex]]' -- check by looking for files in library path
6299 # which responds to the $file_magic_cmd with a given extended regex.
6300 # If you have `file' or equivalent on your system and you're not sure
6301 # whether `pass_all' will *always* work, you probably want this one.
6303 case $host_os in
6304 aix[4-9]*)
6305 lt_cv_deplibs_check_method=pass_all
6308 beos*)
6309 lt_cv_deplibs_check_method=pass_all
6312 bsdi[45]*)
6313 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6314 lt_cv_file_magic_cmd='/usr/bin/file -L'
6315 lt_cv_file_magic_test_file=/shlib/libc.so
6318 cygwin*)
6319 # func_win32_libid is a shell function defined in ltmain.sh
6320 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6321 lt_cv_file_magic_cmd='func_win32_libid'
6324 mingw* | pw32*)
6325 # Base MSYS/MinGW do not provide the 'file' command needed by
6326 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6327 # unless we find 'file', for example because we are cross-compiling.
6328 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6329 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6330 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6331 lt_cv_file_magic_cmd='func_win32_libid'
6332 else
6333 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6334 lt_cv_file_magic_cmd='$OBJDUMP -f'
6338 cegcc*)
6339 # use the weaker test based on 'objdump'. See mingw*.
6340 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6341 lt_cv_file_magic_cmd='$OBJDUMP -f'
6344 darwin* | rhapsody*)
6345 lt_cv_deplibs_check_method=pass_all
6348 freebsd* | dragonfly*)
6349 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6350 case $host_cpu in
6351 i*86 )
6352 # Not sure whether the presence of OpenBSD here was a mistake.
6353 # Let's accept both of them until this is cleared up.
6354 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6355 lt_cv_file_magic_cmd=/usr/bin/file
6356 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6358 esac
6359 else
6360 lt_cv_deplibs_check_method=pass_all
6364 gnu*)
6365 lt_cv_deplibs_check_method=pass_all
6368 haiku*)
6369 lt_cv_deplibs_check_method=pass_all
6372 hpux10.20* | hpux11*)
6373 lt_cv_file_magic_cmd=/usr/bin/file
6374 case $host_cpu in
6375 ia64*)
6376 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6377 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6379 hppa*64*)
6380 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]'
6381 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6384 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6385 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6387 esac
6390 interix[3-9]*)
6391 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6392 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6395 irix5* | irix6* | nonstopux*)
6396 case $LD in
6397 *-32|*"-32 ") libmagic=32-bit;;
6398 *-n32|*"-n32 ") libmagic=N32;;
6399 *-64|*"-64 ") libmagic=64-bit;;
6400 *) libmagic=never-match;;
6401 esac
6402 lt_cv_deplibs_check_method=pass_all
6405 # This must be Linux ELF.
6406 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6407 lt_cv_deplibs_check_method=pass_all
6410 netbsd*)
6411 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6412 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6413 else
6414 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6418 newos6*)
6419 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6420 lt_cv_file_magic_cmd=/usr/bin/file
6421 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6424 *nto* | *qnx*)
6425 lt_cv_deplibs_check_method=pass_all
6428 openbsd*)
6429 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6430 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6431 else
6432 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6436 osf3* | osf4* | osf5*)
6437 lt_cv_deplibs_check_method=pass_all
6440 rdos*)
6441 lt_cv_deplibs_check_method=pass_all
6444 solaris*)
6445 lt_cv_deplibs_check_method=pass_all
6448 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6449 lt_cv_deplibs_check_method=pass_all
6452 sysv4 | sysv4.3*)
6453 case $host_vendor in
6454 motorola)
6455 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]'
6456 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6458 ncr)
6459 lt_cv_deplibs_check_method=pass_all
6461 sequent)
6462 lt_cv_file_magic_cmd='/bin/file'
6463 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6465 sni)
6466 lt_cv_file_magic_cmd='/bin/file'
6467 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6468 lt_cv_file_magic_test_file=/lib/libc.so
6470 siemens)
6471 lt_cv_deplibs_check_method=pass_all
6474 lt_cv_deplibs_check_method=pass_all
6476 esac
6479 tpf*)
6480 lt_cv_deplibs_check_method=pass_all
6482 esac
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6486 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6487 file_magic_cmd=$lt_cv_file_magic_cmd
6488 deplibs_check_method=$lt_cv_deplibs_check_method
6489 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6502 if test -n "$ac_tool_prefix"; then
6503 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6504 set dummy ${ac_tool_prefix}ar; ac_word=$2
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6506 $as_echo_n "checking for $ac_word... " >&6; }
6507 if test "${ac_cv_prog_AR+set}" = set; then :
6508 $as_echo_n "(cached) " >&6
6509 else
6510 if test -n "$AR"; then
6511 ac_cv_prog_AR="$AR" # Let the user override the test.
6512 else
6513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6514 for as_dir in $PATH
6516 IFS=$as_save_IFS
6517 test -z "$as_dir" && as_dir=.
6518 for ac_exec_ext in '' $ac_executable_extensions; do
6519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6520 ac_cv_prog_AR="${ac_tool_prefix}ar"
6521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6522 break 2
6524 done
6525 done
6526 IFS=$as_save_IFS
6530 AR=$ac_cv_prog_AR
6531 if test -n "$AR"; then
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6533 $as_echo "$AR" >&6; }
6534 else
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6536 $as_echo "no" >&6; }
6541 if test -z "$ac_cv_prog_AR"; then
6542 ac_ct_AR=$AR
6543 # Extract the first word of "ar", so it can be a program name with args.
6544 set dummy ar; ac_word=$2
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6546 $as_echo_n "checking for $ac_word... " >&6; }
6547 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6548 $as_echo_n "(cached) " >&6
6549 else
6550 if test -n "$ac_ct_AR"; then
6551 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6552 else
6553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 for as_dir in $PATH
6556 IFS=$as_save_IFS
6557 test -z "$as_dir" && as_dir=.
6558 for ac_exec_ext in '' $ac_executable_extensions; do
6559 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6560 ac_cv_prog_ac_ct_AR="ar"
6561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6562 break 2
6564 done
6565 done
6566 IFS=$as_save_IFS
6570 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6571 if test -n "$ac_ct_AR"; then
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6573 $as_echo "$ac_ct_AR" >&6; }
6574 else
6575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6576 $as_echo "no" >&6; }
6579 if test "x$ac_ct_AR" = x; then
6580 AR="false"
6581 else
6582 case $cross_compiling:$ac_tool_warned in
6583 yes:)
6584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6585 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6586 ac_tool_warned=yes ;;
6587 esac
6588 AR=$ac_ct_AR
6590 else
6591 AR="$ac_cv_prog_AR"
6594 test -z "$AR" && AR=ar
6595 test -z "$AR_FLAGS" && AR_FLAGS=cru
6607 if test -n "$ac_tool_prefix"; then
6608 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6609 set dummy ${ac_tool_prefix}strip; ac_word=$2
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6611 $as_echo_n "checking for $ac_word... " >&6; }
6612 if test "${ac_cv_prog_STRIP+set}" = set; then :
6613 $as_echo_n "(cached) " >&6
6614 else
6615 if test -n "$STRIP"; then
6616 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6617 else
6618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6619 for as_dir in $PATH
6621 IFS=$as_save_IFS
6622 test -z "$as_dir" && as_dir=.
6623 for ac_exec_ext in '' $ac_executable_extensions; do
6624 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6625 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6626 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6627 break 2
6629 done
6630 done
6631 IFS=$as_save_IFS
6635 STRIP=$ac_cv_prog_STRIP
6636 if test -n "$STRIP"; then
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6638 $as_echo "$STRIP" >&6; }
6639 else
6640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6641 $as_echo "no" >&6; }
6646 if test -z "$ac_cv_prog_STRIP"; then
6647 ac_ct_STRIP=$STRIP
6648 # Extract the first word of "strip", so it can be a program name with args.
6649 set dummy strip; ac_word=$2
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 $as_echo_n "checking for $ac_word... " >&6; }
6652 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6653 $as_echo_n "(cached) " >&6
6654 else
6655 if test -n "$ac_ct_STRIP"; then
6656 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6657 else
6658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 test -z "$as_dir" && as_dir=.
6663 for ac_exec_ext in '' $ac_executable_extensions; do
6664 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6665 ac_cv_prog_ac_ct_STRIP="strip"
6666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6667 break 2
6669 done
6670 done
6671 IFS=$as_save_IFS
6675 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6676 if test -n "$ac_ct_STRIP"; then
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6678 $as_echo "$ac_ct_STRIP" >&6; }
6679 else
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6681 $as_echo "no" >&6; }
6684 if test "x$ac_ct_STRIP" = x; then
6685 STRIP=":"
6686 else
6687 case $cross_compiling:$ac_tool_warned in
6688 yes:)
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6690 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6691 ac_tool_warned=yes ;;
6692 esac
6693 STRIP=$ac_ct_STRIP
6695 else
6696 STRIP="$ac_cv_prog_STRIP"
6699 test -z "$STRIP" && STRIP=:
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 $as_echo_n "checking for $ac_word... " >&6; }
6711 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6712 $as_echo_n "(cached) " >&6
6713 else
6714 if test -n "$RANLIB"; then
6715 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6716 else
6717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6718 for as_dir in $PATH
6720 IFS=$as_save_IFS
6721 test -z "$as_dir" && as_dir=.
6722 for ac_exec_ext in '' $ac_executable_extensions; do
6723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6724 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6726 break 2
6728 done
6729 done
6730 IFS=$as_save_IFS
6734 RANLIB=$ac_cv_prog_RANLIB
6735 if test -n "$RANLIB"; then
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6737 $as_echo "$RANLIB" >&6; }
6738 else
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6740 $as_echo "no" >&6; }
6745 if test -z "$ac_cv_prog_RANLIB"; then
6746 ac_ct_RANLIB=$RANLIB
6747 # Extract the first word of "ranlib", so it can be a program name with args.
6748 set dummy ranlib; ac_word=$2
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6750 $as_echo_n "checking for $ac_word... " >&6; }
6751 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6752 $as_echo_n "(cached) " >&6
6753 else
6754 if test -n "$ac_ct_RANLIB"; then
6755 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6756 else
6757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 for as_dir in $PATH
6760 IFS=$as_save_IFS
6761 test -z "$as_dir" && as_dir=.
6762 for ac_exec_ext in '' $ac_executable_extensions; do
6763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6764 ac_cv_prog_ac_ct_RANLIB="ranlib"
6765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6766 break 2
6768 done
6769 done
6770 IFS=$as_save_IFS
6774 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6775 if test -n "$ac_ct_RANLIB"; then
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6777 $as_echo "$ac_ct_RANLIB" >&6; }
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6780 $as_echo "no" >&6; }
6783 if test "x$ac_ct_RANLIB" = x; then
6784 RANLIB=":"
6785 else
6786 case $cross_compiling:$ac_tool_warned in
6787 yes:)
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6790 ac_tool_warned=yes ;;
6791 esac
6792 RANLIB=$ac_ct_RANLIB
6794 else
6795 RANLIB="$ac_cv_prog_RANLIB"
6798 test -z "$RANLIB" && RANLIB=:
6805 # Determine commands to create old-style static archives.
6806 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6807 old_postinstall_cmds='chmod 644 $oldlib'
6808 old_postuninstall_cmds=
6810 if test -n "$RANLIB"; then
6811 case $host_os in
6812 openbsd*)
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6816 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6818 esac
6819 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6822 case $host_os in
6823 darwin*)
6824 lock_old_archive_extraction=yes ;;
6826 lock_old_archive_extraction=no ;;
6827 esac
6867 # If no C compiler was specified, use CC.
6868 LTCC=${LTCC-"$CC"}
6870 # If no C compiler flags were specified, use CFLAGS.
6871 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6873 # Allow CC to be a program name with arguments.
6874 compiler=$CC
6877 # Check for command to grab the raw symbol name followed by C symbol from nm.
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6879 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6880 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6881 $as_echo_n "(cached) " >&6
6882 else
6884 # These are sane defaults that work on at least a few old systems.
6885 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6887 # Character class describing NM global symbol codes.
6888 symcode='[BCDEGRST]'
6890 # Regexp to match symbols that can be accessed directly from C.
6891 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6893 # Define system-specific variables.
6894 case $host_os in
6895 aix*)
6896 symcode='[BCDT]'
6898 cygwin* | mingw* | pw32* | cegcc*)
6899 symcode='[ABCDGISTW]'
6901 hpux*)
6902 if test "$host_cpu" = ia64; then
6903 symcode='[ABCDEGRST]'
6906 irix* | nonstopux*)
6907 symcode='[BCDEGRST]'
6909 osf*)
6910 symcode='[BCDEGQRST]'
6912 solaris*)
6913 symcode='[BDRT]'
6915 sco3.2v5*)
6916 symcode='[DT]'
6918 sysv4.2uw2*)
6919 symcode='[DT]'
6921 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6922 symcode='[ABDT]'
6924 sysv4)
6925 symcode='[DFNSTU]'
6927 esac
6929 # If we're using GNU nm, then use its standard symbol codes.
6930 case `$NM -V 2>&1` in
6931 *GNU* | *'with BFD'*)
6932 symcode='[ABCDGIRSTW]' ;;
6933 esac
6935 # Transform an extracted symbol line into a proper C declaration.
6936 # Some systems (esp. on ia64) link data and code symbols differently,
6937 # so use this general approach.
6938 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6940 # Transform an extracted symbol line into symbol name and symbol address
6941 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6942 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'"
6944 # Handle CRLF in mingw tool chain
6945 opt_cr=
6946 case $build_os in
6947 mingw*)
6948 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6950 esac
6952 # Try without a prefix underscore, then with it.
6953 for ac_symprfx in "" "_"; do
6955 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6956 symxfrm="\\1 $ac_symprfx\\2 \\2"
6958 # Write the raw and C identifiers.
6959 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6960 # Fake it for dumpbin and say T for any non-static function
6961 # and D for any global variable.
6962 # Also find C++ and __fastcall symbols from MSVC++,
6963 # which start with @ or ?.
6964 lt_cv_sys_global_symbol_pipe="$AWK '"\
6965 " {last_section=section; section=\$ 3};"\
6966 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6967 " \$ 0!~/External *\|/{next};"\
6968 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6969 " {if(hide[section]) next};"\
6970 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6971 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6972 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6973 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6974 " ' prfx=^$ac_symprfx"
6975 else
6976 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6979 # Check to see that the pipe works correctly.
6980 pipe_works=no
6982 rm -f conftest*
6983 cat > conftest.$ac_ext <<_LT_EOF
6984 #ifdef __cplusplus
6985 extern "C" {
6986 #endif
6987 char nm_test_var;
6988 void nm_test_func(void);
6989 void nm_test_func(void){}
6990 #ifdef __cplusplus
6992 #endif
6993 int main(){nm_test_var='a';nm_test_func();return(0);}
6994 _LT_EOF
6996 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6997 (eval $ac_compile) 2>&5
6998 ac_status=$?
6999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7000 test $ac_status = 0; }; then
7001 # Now try to grab the symbols.
7002 nlist=conftest.nm
7003 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7004 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7005 ac_status=$?
7006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7007 test $ac_status = 0; } && test -s "$nlist"; then
7008 # Try sorting and uniquifying the output.
7009 if sort "$nlist" | uniq > "$nlist"T; then
7010 mv -f "$nlist"T "$nlist"
7011 else
7012 rm -f "$nlist"T
7015 # Make sure that we snagged all the symbols we need.
7016 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7017 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7018 cat <<_LT_EOF > conftest.$ac_ext
7019 #ifdef __cplusplus
7020 extern "C" {
7021 #endif
7023 _LT_EOF
7024 # Now generate the symbol file.
7025 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7027 cat <<_LT_EOF >> conftest.$ac_ext
7029 /* The mapping between symbol names and symbols. */
7030 const struct {
7031 const char *name;
7032 void *address;
7034 lt__PROGRAM__LTX_preloaded_symbols[] =
7036 { "@PROGRAM@", (void *) 0 },
7037 _LT_EOF
7038 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7039 cat <<\_LT_EOF >> conftest.$ac_ext
7040 {0, (void *) 0}
7043 /* This works around a problem in FreeBSD linker */
7044 #ifdef FREEBSD_WORKAROUND
7045 static const void *lt_preloaded_setup() {
7046 return lt__PROGRAM__LTX_preloaded_symbols;
7048 #endif
7050 #ifdef __cplusplus
7052 #endif
7053 _LT_EOF
7054 # Now try linking the two files.
7055 mv conftest.$ac_objext conftstm.$ac_objext
7056 lt_save_LIBS="$LIBS"
7057 lt_save_CFLAGS="$CFLAGS"
7058 LIBS="conftstm.$ac_objext"
7059 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7060 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7061 (eval $ac_link) 2>&5
7062 ac_status=$?
7063 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7064 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7065 pipe_works=yes
7067 LIBS="$lt_save_LIBS"
7068 CFLAGS="$lt_save_CFLAGS"
7069 else
7070 echo "cannot find nm_test_func in $nlist" >&5
7072 else
7073 echo "cannot find nm_test_var in $nlist" >&5
7075 else
7076 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7078 else
7079 echo "$progname: failed program was:" >&5
7080 cat conftest.$ac_ext >&5
7082 rm -rf conftest* conftst*
7084 # Do not use the global_symbol_pipe unless it works.
7085 if test "$pipe_works" = yes; then
7086 break
7087 else
7088 lt_cv_sys_global_symbol_pipe=
7090 done
7094 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7095 lt_cv_sys_global_symbol_to_cdecl=
7097 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7099 $as_echo "failed" >&6; }
7100 else
7101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7102 $as_echo "ok" >&6; }
7126 # Check whether --enable-libtool-lock was given.
7127 if test "${enable_libtool_lock+set}" = set; then :
7128 enableval=$enable_libtool_lock;
7131 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7133 # Some flags need to be propagated to the compiler or linker for good
7134 # libtool support.
7135 case $host in
7136 ia64-*-hpux*)
7137 # Find out which ABI we are using.
7138 echo 'int i;' > conftest.$ac_ext
7139 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7140 (eval $ac_compile) 2>&5
7141 ac_status=$?
7142 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7143 test $ac_status = 0; }; then
7144 case `/usr/bin/file conftest.$ac_objext` in
7145 *ELF-32*)
7146 HPUX_IA64_MODE="32"
7148 *ELF-64*)
7149 HPUX_IA64_MODE="64"
7151 esac
7153 rm -rf conftest*
7155 *-*-irix6*)
7156 # Find out which ABI we are using.
7157 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7158 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7159 (eval $ac_compile) 2>&5
7160 ac_status=$?
7161 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7162 test $ac_status = 0; }; then
7163 if test "$lt_cv_prog_gnu_ld" = yes; then
7164 case `/usr/bin/file conftest.$ac_objext` in
7165 *32-bit*)
7166 LD="${LD-ld} -melf32bsmip"
7168 *N32*)
7169 LD="${LD-ld} -melf32bmipn32"
7171 *64-bit*)
7172 LD="${LD-ld} -melf64bmip"
7174 esac
7175 else
7176 case `/usr/bin/file conftest.$ac_objext` in
7177 *32-bit*)
7178 LD="${LD-ld} -32"
7180 *N32*)
7181 LD="${LD-ld} -n32"
7183 *64-bit*)
7184 LD="${LD-ld} -64"
7186 esac
7189 rm -rf conftest*
7192 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7193 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7194 # Find out which ABI we are using.
7195 echo 'int i;' > conftest.$ac_ext
7196 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7197 (eval $ac_compile) 2>&5
7198 ac_status=$?
7199 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7200 test $ac_status = 0; }; then
7201 case `/usr/bin/file conftest.o` in
7202 *32-bit*)
7203 case $host in
7204 x86_64-*kfreebsd*-gnu)
7205 LD="${LD-ld} -m elf_i386_fbsd"
7207 x86_64-*linux*)
7208 case `/usr/bin/file conftest.o` in
7209 *x86-64*)
7210 LD="${LD-ld} -m elf32_x86_64"
7213 LD="${LD-ld} -m elf_i386"
7215 esac
7217 powerpc64le-*linux*)
7218 LD="${LD-ld} -m elf32lppclinux"
7220 powerpc64-*linux*)
7221 LD="${LD-ld} -m elf32ppclinux"
7223 s390x-*linux*)
7224 LD="${LD-ld} -m elf_s390"
7226 sparc64-*linux*)
7227 LD="${LD-ld} -m elf32_sparc"
7229 esac
7231 *64-bit*)
7232 case $host in
7233 x86_64-*kfreebsd*-gnu)
7234 LD="${LD-ld} -m elf_x86_64_fbsd"
7236 x86_64-*linux*)
7237 LD="${LD-ld} -m elf_x86_64"
7239 powerpcle-*linux*)
7240 LD="${LD-ld} -m elf64lppc"
7242 powerpc-*linux*)
7243 LD="${LD-ld} -m elf64ppc"
7245 s390*-*linux*|s390*-*tpf*)
7246 LD="${LD-ld} -m elf64_s390"
7248 sparc*-*linux*)
7249 LD="${LD-ld} -m elf64_sparc"
7251 esac
7253 esac
7255 rm -rf conftest*
7258 *-*-sco3.2v5*)
7259 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7260 SAVE_CFLAGS="$CFLAGS"
7261 CFLAGS="$CFLAGS -belf"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7263 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7264 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7265 $as_echo_n "(cached) " >&6
7266 else
7267 ac_ext=c
7268 ac_cpp='$CPP $CPPFLAGS'
7269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7273 if test x$gcc_no_link = xyes; then
7274 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7277 /* end confdefs.h. */
7280 main ()
7284 return 0;
7286 _ACEOF
7287 if ac_fn_c_try_link "$LINENO"; then :
7288 lt_cv_cc_needs_belf=yes
7289 else
7290 lt_cv_cc_needs_belf=no
7292 rm -f core conftest.err conftest.$ac_objext \
7293 conftest$ac_exeext conftest.$ac_ext
7294 ac_ext=c
7295 ac_cpp='$CPP $CPPFLAGS'
7296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7302 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7303 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7304 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7305 CFLAGS="$SAVE_CFLAGS"
7308 sparc*-*solaris*)
7309 # Find out which ABI we are using.
7310 echo 'int i;' > conftest.$ac_ext
7311 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7312 (eval $ac_compile) 2>&5
7313 ac_status=$?
7314 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7315 test $ac_status = 0; }; then
7316 case `/usr/bin/file conftest.o` in
7317 *64-bit*)
7318 case $lt_cv_prog_gnu_ld in
7319 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7321 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7322 LD="${LD-ld} -64"
7325 esac
7327 esac
7329 rm -rf conftest*
7331 esac
7333 need_locks="$enable_libtool_lock"
7336 case $host_os in
7337 rhapsody* | darwin*)
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$DSYMUTIL"; then
7347 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7360 done
7361 done
7362 IFS=$as_save_IFS
7366 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7367 if test -n "$DSYMUTIL"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7369 $as_echo "$DSYMUTIL" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7377 if test -z "$ac_cv_prog_DSYMUTIL"; then
7378 ac_ct_DSYMUTIL=$DSYMUTIL
7379 # Extract the first word of "dsymutil", so it can be a program name with args.
7380 set dummy dsymutil; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_DSYMUTIL"; then
7387 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7400 done
7401 done
7402 IFS=$as_save_IFS
7406 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7407 if test -n "$ac_ct_DSYMUTIL"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7409 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7415 if test "x$ac_ct_DSYMUTIL" = x; then
7416 DSYMUTIL=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 DSYMUTIL=$ac_ct_DSYMUTIL
7426 else
7427 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$NMEDIT"; then
7439 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7452 done
7453 done
7454 IFS=$as_save_IFS
7458 NMEDIT=$ac_cv_prog_NMEDIT
7459 if test -n "$NMEDIT"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7461 $as_echo "$NMEDIT" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7469 if test -z "$ac_cv_prog_NMEDIT"; then
7470 ac_ct_NMEDIT=$NMEDIT
7471 # Extract the first word of "nmedit", so it can be a program name with args.
7472 set dummy nmedit; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_NMEDIT"; then
7479 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7492 done
7493 done
7494 IFS=$as_save_IFS
7498 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7499 if test -n "$ac_ct_NMEDIT"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7501 $as_echo "$ac_ct_NMEDIT" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7507 if test "x$ac_ct_NMEDIT" = x; then
7508 NMEDIT=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 NMEDIT=$ac_ct_NMEDIT
7518 else
7519 NMEDIT="$ac_cv_prog_NMEDIT"
7522 if test -n "$ac_tool_prefix"; then
7523 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7524 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_LIPO+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$LIPO"; then
7531 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7544 done
7545 done
7546 IFS=$as_save_IFS
7550 LIPO=$ac_cv_prog_LIPO
7551 if test -n "$LIPO"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7553 $as_echo "$LIPO" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7561 if test -z "$ac_cv_prog_LIPO"; then
7562 ac_ct_LIPO=$LIPO
7563 # Extract the first word of "lipo", so it can be a program name with args.
7564 set dummy lipo; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$ac_ct_LIPO"; then
7571 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_ac_ct_LIPO="lipo"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7584 done
7585 done
7586 IFS=$as_save_IFS
7590 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7591 if test -n "$ac_ct_LIPO"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7593 $as_echo "$ac_ct_LIPO" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7599 if test "x$ac_ct_LIPO" = x; then
7600 LIPO=":"
7601 else
7602 case $cross_compiling:$ac_tool_warned in
7603 yes:)
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7606 ac_tool_warned=yes ;;
7607 esac
7608 LIPO=$ac_ct_LIPO
7610 else
7611 LIPO="$ac_cv_prog_LIPO"
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}otool; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$OTOOL"; then
7623 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7636 done
7637 done
7638 IFS=$as_save_IFS
7642 OTOOL=$ac_cv_prog_OTOOL
7643 if test -n "$OTOOL"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7645 $as_echo "$OTOOL" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7653 if test -z "$ac_cv_prog_OTOOL"; then
7654 ac_ct_OTOOL=$OTOOL
7655 # Extract the first word of "otool", so it can be a program name with args.
7656 set dummy otool; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 if test -n "$ac_ct_OTOOL"; then
7663 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7664 else
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 for as_dir in $PATH
7668 IFS=$as_save_IFS
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_OTOOL="otool"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 break 2
7676 done
7677 done
7678 IFS=$as_save_IFS
7682 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7683 if test -n "$ac_ct_OTOOL"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7685 $as_echo "$ac_ct_OTOOL" >&6; }
7686 else
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7691 if test "x$ac_ct_OTOOL" = x; then
7692 OTOOL=":"
7693 else
7694 case $cross_compiling:$ac_tool_warned in
7695 yes:)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7699 esac
7700 OTOOL=$ac_ct_OTOOL
7702 else
7703 OTOOL="$ac_cv_prog_OTOOL"
7706 if test -n "$ac_tool_prefix"; then
7707 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7708 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7710 $as_echo_n "checking for $ac_word... " >&6; }
7711 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7712 $as_echo_n "(cached) " >&6
7713 else
7714 if test -n "$OTOOL64"; then
7715 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7716 else
7717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7718 for as_dir in $PATH
7720 IFS=$as_save_IFS
7721 test -z "$as_dir" && as_dir=.
7722 for ac_exec_ext in '' $ac_executable_extensions; do
7723 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7724 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7725 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 break 2
7728 done
7729 done
7730 IFS=$as_save_IFS
7734 OTOOL64=$ac_cv_prog_OTOOL64
7735 if test -n "$OTOOL64"; then
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7737 $as_echo "$OTOOL64" >&6; }
7738 else
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7740 $as_echo "no" >&6; }
7745 if test -z "$ac_cv_prog_OTOOL64"; then
7746 ac_ct_OTOOL64=$OTOOL64
7747 # Extract the first word of "otool64", so it can be a program name with args.
7748 set dummy otool64; ac_word=$2
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7750 $as_echo_n "checking for $ac_word... " >&6; }
7751 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7753 else
7754 if test -n "$ac_ct_OTOOL64"; then
7755 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7756 else
7757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7758 for as_dir in $PATH
7760 IFS=$as_save_IFS
7761 test -z "$as_dir" && as_dir=.
7762 for ac_exec_ext in '' $ac_executable_extensions; do
7763 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7764 ac_cv_prog_ac_ct_OTOOL64="otool64"
7765 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7766 break 2
7768 done
7769 done
7770 IFS=$as_save_IFS
7774 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7775 if test -n "$ac_ct_OTOOL64"; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7777 $as_echo "$ac_ct_OTOOL64" >&6; }
7778 else
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7780 $as_echo "no" >&6; }
7783 if test "x$ac_ct_OTOOL64" = x; then
7784 OTOOL64=":"
7785 else
7786 case $cross_compiling:$ac_tool_warned in
7787 yes:)
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7790 ac_tool_warned=yes ;;
7791 esac
7792 OTOOL64=$ac_ct_OTOOL64
7794 else
7795 OTOOL64="$ac_cv_prog_OTOOL64"
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7825 $as_echo_n "checking for -single_module linker flag... " >&6; }
7826 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7827 $as_echo_n "(cached) " >&6
7828 else
7829 lt_cv_apple_cc_single_mod=no
7830 if test -z "${LT_MULTI_MODULE}"; then
7831 # By default we will add the -single_module flag. You can override
7832 # by either setting the environment variable LT_MULTI_MODULE
7833 # non-empty at configure time, or by adding -multi_module to the
7834 # link flags.
7835 rm -rf libconftest.dylib*
7836 echo "int foo(void){return 1;}" > conftest.c
7837 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7838 -dynamiclib -Wl,-single_module conftest.c" >&5
7839 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7840 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7841 _lt_result=$?
7842 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7843 lt_cv_apple_cc_single_mod=yes
7844 else
7845 cat conftest.err >&5
7847 rm -rf libconftest.dylib*
7848 rm -f conftest.*
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7852 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7854 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7855 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7856 $as_echo_n "(cached) " >&6
7857 else
7858 lt_cv_ld_exported_symbols_list=no
7859 save_LDFLAGS=$LDFLAGS
7860 echo "_main" > conftest.sym
7861 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7862 if test x$gcc_no_link = xyes; then
7863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7866 /* end confdefs.h. */
7869 main ()
7873 return 0;
7875 _ACEOF
7876 if ac_fn_c_try_link "$LINENO"; then :
7877 lt_cv_ld_exported_symbols_list=yes
7878 else
7879 lt_cv_ld_exported_symbols_list=no
7881 rm -f core conftest.err conftest.$ac_objext \
7882 conftest$ac_exeext conftest.$ac_ext
7883 LDFLAGS="$save_LDFLAGS"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7887 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7889 $as_echo_n "checking for -force_load linker flag... " >&6; }
7890 if test "${lt_cv_ld_force_load+set}" = set; then :
7891 $as_echo_n "(cached) " >&6
7892 else
7893 lt_cv_ld_force_load=no
7894 cat > conftest.c << _LT_EOF
7895 int forced_loaded() { return 2;}
7896 _LT_EOF
7897 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7898 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7899 echo "$AR cru libconftest.a conftest.o" >&5
7900 $AR cru libconftest.a conftest.o 2>&5
7901 cat > conftest.c << _LT_EOF
7902 int main() { return 0;}
7903 _LT_EOF
7904 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7905 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7906 _lt_result=$?
7907 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7908 lt_cv_ld_force_load=yes
7909 else
7910 cat conftest.err >&5
7912 rm -f conftest.err libconftest.a conftest conftest.c
7913 rm -rf conftest.dSYM
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7917 $as_echo "$lt_cv_ld_force_load" >&6; }
7918 case $host_os in
7919 rhapsody* | darwin1.[012])
7920 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7921 darwin1.*)
7922 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7923 darwin*) # darwin 5.x on
7924 # if running on 10.5 or later, the deployment target defaults
7925 # to the OS version, if on x86, and 10.4, the deployment
7926 # target defaults to 10.4. Don't you love it?
7927 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7928 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7929 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7930 10.[012][,.]*)
7931 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7932 10.*)
7933 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7934 esac
7936 esac
7937 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7938 _lt_dar_single_mod='$single_module'
7940 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7941 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7942 else
7943 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7945 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7946 _lt_dsymutil='~$DSYMUTIL $lib || :'
7947 else
7948 _lt_dsymutil=
7951 esac
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7954 $as_echo_n "checking for ANSI C header files... " >&6; }
7955 if test "${ac_cv_header_stdc+set}" = set; then :
7956 $as_echo_n "(cached) " >&6
7957 else
7958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7960 #include <stdlib.h>
7961 #include <stdarg.h>
7962 #include <string.h>
7963 #include <float.h>
7966 main ()
7970 return 0;
7972 _ACEOF
7973 if ac_fn_c_try_compile "$LINENO"; then :
7974 ac_cv_header_stdc=yes
7975 else
7976 ac_cv_header_stdc=no
7978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7980 if test $ac_cv_header_stdc = yes; then
7981 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7983 /* end confdefs.h. */
7984 #include <string.h>
7986 _ACEOF
7987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7988 $EGREP "memchr" >/dev/null 2>&1; then :
7990 else
7991 ac_cv_header_stdc=no
7993 rm -f conftest*
7997 if test $ac_cv_header_stdc = yes; then
7998 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8000 /* end confdefs.h. */
8001 #include <stdlib.h>
8003 _ACEOF
8004 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8005 $EGREP "free" >/dev/null 2>&1; then :
8007 else
8008 ac_cv_header_stdc=no
8010 rm -f conftest*
8014 if test $ac_cv_header_stdc = yes; then
8015 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8016 if test "$cross_compiling" = yes; then :
8018 else
8019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8021 #include <ctype.h>
8022 #include <stdlib.h>
8023 #if ((' ' & 0x0FF) == 0x020)
8024 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8025 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8026 #else
8027 # define ISLOWER(c) \
8028 (('a' <= (c) && (c) <= 'i') \
8029 || ('j' <= (c) && (c) <= 'r') \
8030 || ('s' <= (c) && (c) <= 'z'))
8031 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8032 #endif
8034 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8036 main ()
8038 int i;
8039 for (i = 0; i < 256; i++)
8040 if (XOR (islower (i), ISLOWER (i))
8041 || toupper (i) != TOUPPER (i))
8042 return 2;
8043 return 0;
8045 _ACEOF
8046 if ac_fn_c_try_run "$LINENO"; then :
8048 else
8049 ac_cv_header_stdc=no
8051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8052 conftest.$ac_objext conftest.beam conftest.$ac_ext
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8058 $as_echo "$ac_cv_header_stdc" >&6; }
8059 if test $ac_cv_header_stdc = yes; then
8061 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8065 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8066 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8067 inttypes.h stdint.h unistd.h
8068 do :
8069 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8070 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8072 eval as_val=\$$as_ac_Header
8073 if test "x$as_val" = x""yes; then :
8074 cat >>confdefs.h <<_ACEOF
8075 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8076 _ACEOF
8080 done
8083 for ac_header in dlfcn.h
8084 do :
8085 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8087 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8088 cat >>confdefs.h <<_ACEOF
8089 #define HAVE_DLFCN_H 1
8090 _ACEOF
8094 done
8101 # Set options
8106 enable_win32_dll=no
8109 # Check whether --enable-shared was given.
8110 if test "${enable_shared+set}" = set; then :
8111 enableval=$enable_shared; p=${PACKAGE-default}
8112 case $enableval in
8113 yes) enable_shared=yes ;;
8114 no) enable_shared=no ;;
8116 enable_shared=no
8117 # Look at the argument we got. We use all the common list separators.
8118 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8119 for pkg in $enableval; do
8120 IFS="$lt_save_ifs"
8121 if test "X$pkg" = "X$p"; then
8122 enable_shared=yes
8124 done
8125 IFS="$lt_save_ifs"
8127 esac
8128 else
8129 enable_shared=yes
8140 # Check whether --enable-static was given.
8141 if test "${enable_static+set}" = set; then :
8142 enableval=$enable_static; p=${PACKAGE-default}
8143 case $enableval in
8144 yes) enable_static=yes ;;
8145 no) enable_static=no ;;
8147 enable_static=no
8148 # Look at the argument we got. We use all the common list separators.
8149 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8150 for pkg in $enableval; do
8151 IFS="$lt_save_ifs"
8152 if test "X$pkg" = "X$p"; then
8153 enable_static=yes
8155 done
8156 IFS="$lt_save_ifs"
8158 esac
8159 else
8160 enable_static=yes
8172 # Check whether --with-pic was given.
8173 if test "${with_pic+set}" = set; then :
8174 withval=$with_pic; pic_mode="$withval"
8175 else
8176 pic_mode=default
8180 test -z "$pic_mode" && pic_mode=default
8188 # Check whether --enable-fast-install was given.
8189 if test "${enable_fast_install+set}" = set; then :
8190 enableval=$enable_fast_install; p=${PACKAGE-default}
8191 case $enableval in
8192 yes) enable_fast_install=yes ;;
8193 no) enable_fast_install=no ;;
8195 enable_fast_install=no
8196 # Look at the argument we got. We use all the common list separators.
8197 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8198 for pkg in $enableval; do
8199 IFS="$lt_save_ifs"
8200 if test "X$pkg" = "X$p"; then
8201 enable_fast_install=yes
8203 done
8204 IFS="$lt_save_ifs"
8206 esac
8207 else
8208 enable_fast_install=yes
8221 # This can be used to rebuild libtool when needed
8222 LIBTOOL_DEPS="$ltmain"
8224 # Always use our own libtool.
8225 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8252 test -z "$LN_S" && LN_S="ln -s"
8267 if test -n "${ZSH_VERSION+set}" ; then
8268 setopt NO_GLOB_SUBST
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8272 $as_echo_n "checking for objdir... " >&6; }
8273 if test "${lt_cv_objdir+set}" = set; then :
8274 $as_echo_n "(cached) " >&6
8275 else
8276 rm -f .libs 2>/dev/null
8277 mkdir .libs 2>/dev/null
8278 if test -d .libs; then
8279 lt_cv_objdir=.libs
8280 else
8281 # MS-DOS does not allow filenames that begin with a dot.
8282 lt_cv_objdir=_libs
8284 rmdir .libs 2>/dev/null
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8287 $as_echo "$lt_cv_objdir" >&6; }
8288 objdir=$lt_cv_objdir
8294 cat >>confdefs.h <<_ACEOF
8295 #define LT_OBJDIR "$lt_cv_objdir/"
8296 _ACEOF
8301 case $host_os in
8302 aix3*)
8303 # AIX sometimes has problems with the GCC collect2 program. For some
8304 # reason, if we set the COLLECT_NAMES environment variable, the problems
8305 # vanish in a puff of smoke.
8306 if test "X${COLLECT_NAMES+set}" != Xset; then
8307 COLLECT_NAMES=
8308 export COLLECT_NAMES
8311 esac
8313 # Global variables:
8314 ofile=libtool
8315 can_build_shared=yes
8317 # All known linkers require a `.a' archive for static linking (except MSVC,
8318 # which needs '.lib').
8319 libext=a
8321 with_gnu_ld="$lt_cv_prog_gnu_ld"
8323 old_CC="$CC"
8324 old_CFLAGS="$CFLAGS"
8326 # Set sane defaults for various variables
8327 test -z "$CC" && CC=cc
8328 test -z "$LTCC" && LTCC=$CC
8329 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8330 test -z "$LD" && LD=ld
8331 test -z "$ac_objext" && ac_objext=o
8333 for cc_temp in $compiler""; do
8334 case $cc_temp in
8335 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8336 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8337 \-*) ;;
8338 *) break;;
8339 esac
8340 done
8341 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8344 # Only perform the check for file, if the check method requires it
8345 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8346 case $deplibs_check_method in
8347 file_magic*)
8348 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8350 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8351 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 case $MAGIC_CMD in
8355 [\\/*] | ?:[\\/]*)
8356 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8359 lt_save_MAGIC_CMD="$MAGIC_CMD"
8360 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8361 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8362 for ac_dir in $ac_dummy; do
8363 IFS="$lt_save_ifs"
8364 test -z "$ac_dir" && ac_dir=.
8365 if test -f $ac_dir/${ac_tool_prefix}file; then
8366 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8367 if test -n "$file_magic_test_file"; then
8368 case $deplibs_check_method in
8369 "file_magic "*)
8370 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8371 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8372 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8373 $EGREP "$file_magic_regex" > /dev/null; then
8375 else
8376 cat <<_LT_EOF 1>&2
8378 *** Warning: the command libtool uses to detect shared libraries,
8379 *** $file_magic_cmd, produces output that libtool cannot recognize.
8380 *** The result is that libtool may fail to recognize shared libraries
8381 *** as such. This will affect the creation of libtool libraries that
8382 *** depend on shared libraries, but programs linked with such libtool
8383 *** libraries will work regardless of this problem. Nevertheless, you
8384 *** may want to report the problem to your system manager and/or to
8385 *** bug-libtool@gnu.org
8387 _LT_EOF
8388 fi ;;
8389 esac
8391 break
8393 done
8394 IFS="$lt_save_ifs"
8395 MAGIC_CMD="$lt_save_MAGIC_CMD"
8397 esac
8400 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8401 if test -n "$MAGIC_CMD"; then
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8403 $as_echo "$MAGIC_CMD" >&6; }
8404 else
8405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8406 $as_echo "no" >&6; }
8413 if test -z "$lt_cv_path_MAGIC_CMD"; then
8414 if test -n "$ac_tool_prefix"; then
8415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8416 $as_echo_n "checking for file... " >&6; }
8417 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8418 $as_echo_n "(cached) " >&6
8419 else
8420 case $MAGIC_CMD in
8421 [\\/*] | ?:[\\/]*)
8422 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8425 lt_save_MAGIC_CMD="$MAGIC_CMD"
8426 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8427 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8428 for ac_dir in $ac_dummy; do
8429 IFS="$lt_save_ifs"
8430 test -z "$ac_dir" && ac_dir=.
8431 if test -f $ac_dir/file; then
8432 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8433 if test -n "$file_magic_test_file"; then
8434 case $deplibs_check_method in
8435 "file_magic "*)
8436 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8437 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8438 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8439 $EGREP "$file_magic_regex" > /dev/null; then
8441 else
8442 cat <<_LT_EOF 1>&2
8444 *** Warning: the command libtool uses to detect shared libraries,
8445 *** $file_magic_cmd, produces output that libtool cannot recognize.
8446 *** The result is that libtool may fail to recognize shared libraries
8447 *** as such. This will affect the creation of libtool libraries that
8448 *** depend on shared libraries, but programs linked with such libtool
8449 *** libraries will work regardless of this problem. Nevertheless, you
8450 *** may want to report the problem to your system manager and/or to
8451 *** bug-libtool@gnu.org
8453 _LT_EOF
8454 fi ;;
8455 esac
8457 break
8459 done
8460 IFS="$lt_save_ifs"
8461 MAGIC_CMD="$lt_save_MAGIC_CMD"
8463 esac
8466 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8467 if test -n "$MAGIC_CMD"; then
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8469 $as_echo "$MAGIC_CMD" >&6; }
8470 else
8471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8472 $as_echo "no" >&6; }
8476 else
8477 MAGIC_CMD=:
8483 esac
8485 # Use C for the default configuration in the libtool script
8487 lt_save_CC="$CC"
8488 ac_ext=c
8489 ac_cpp='$CPP $CPPFLAGS'
8490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8495 # Source file extension for C test sources.
8496 ac_ext=c
8498 # Object file extension for compiled C test sources.
8499 objext=o
8500 objext=$objext
8502 # Code to be used in simple compile tests
8503 lt_simple_compile_test_code="int some_variable = 0;"
8505 # Code to be used in simple link tests
8506 lt_simple_link_test_code='int main(){return(0);}'
8514 # If no C compiler was specified, use CC.
8515 LTCC=${LTCC-"$CC"}
8517 # If no C compiler flags were specified, use CFLAGS.
8518 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8520 # Allow CC to be a program name with arguments.
8521 compiler=$CC
8523 # Save the default compiler, since it gets overwritten when the other
8524 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8525 compiler_DEFAULT=$CC
8527 # save warnings/boilerplate of simple test code
8528 ac_outfile=conftest.$ac_objext
8529 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8530 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8531 _lt_compiler_boilerplate=`cat conftest.err`
8532 $RM conftest*
8534 ac_outfile=conftest.$ac_objext
8535 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8536 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8537 _lt_linker_boilerplate=`cat conftest.err`
8538 $RM -r conftest*
8541 ## CAVEAT EMPTOR:
8542 ## There is no encapsulation within the following macros, do not change
8543 ## the running order or otherwise move them around unless you know exactly
8544 ## what you are doing...
8545 if test -n "$compiler"; then
8547 lt_prog_compiler_no_builtin_flag=
8549 if test "$GCC" = yes; then
8550 case $cc_basename in
8551 nvcc*)
8552 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8554 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8555 esac
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8558 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8559 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8560 $as_echo_n "(cached) " >&6
8561 else
8562 lt_cv_prog_compiler_rtti_exceptions=no
8563 ac_outfile=conftest.$ac_objext
8564 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8565 lt_compiler_flag="-fno-rtti -fno-exceptions"
8566 # Insert the option either (1) after the last *FLAGS variable, or
8567 # (2) before a word containing "conftest.", or (3) at the end.
8568 # Note that $ac_compile itself does not contain backslashes and begins
8569 # with a dollar sign (not a hyphen), so the echo should work correctly.
8570 # The option is referenced via a variable to avoid confusing sed.
8571 lt_compile=`echo "$ac_compile" | $SED \
8572 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8573 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8574 -e 's:$: $lt_compiler_flag:'`
8575 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8576 (eval "$lt_compile" 2>conftest.err)
8577 ac_status=$?
8578 cat conftest.err >&5
8579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8580 if (exit $ac_status) && test -s "$ac_outfile"; then
8581 # The compiler can only warn and ignore the option if not recognized
8582 # So say no if there are warnings other than the usual output.
8583 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8584 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8585 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8586 lt_cv_prog_compiler_rtti_exceptions=yes
8589 $RM conftest*
8592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8593 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8595 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8596 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8597 else
8608 lt_prog_compiler_wl=
8609 lt_prog_compiler_pic=
8610 lt_prog_compiler_static=
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8613 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8615 if test "$GCC" = yes; then
8616 lt_prog_compiler_wl='-Wl,'
8617 lt_prog_compiler_static='-static'
8619 case $host_os in
8620 aix*)
8621 # All AIX code is PIC.
8622 if test "$host_cpu" = ia64; then
8623 # AIX 5 now supports IA64 processor
8624 lt_prog_compiler_static='-Bstatic'
8626 lt_prog_compiler_pic='-fPIC'
8629 amigaos*)
8630 case $host_cpu in
8631 powerpc)
8632 # see comment about AmigaOS4 .so support
8633 lt_prog_compiler_pic='-fPIC'
8635 m68k)
8636 # FIXME: we need at least 68020 code to build shared libraries, but
8637 # adding the `-m68020' flag to GCC prevents building anything better,
8638 # like `-m68040'.
8639 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8641 esac
8644 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8645 # PIC is the default for these OSes.
8648 mingw* | cygwin* | pw32* | os2* | cegcc*)
8649 # This hack is so that the source file can tell whether it is being
8650 # built for inclusion in a dll (and should export symbols for example).
8651 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8652 # (--disable-auto-import) libraries
8653 lt_prog_compiler_pic='-DDLL_EXPORT'
8656 darwin* | rhapsody*)
8657 # PIC is the default on this platform
8658 # Common symbols not allowed in MH_DYLIB files
8659 lt_prog_compiler_pic='-fno-common'
8662 haiku*)
8663 # PIC is the default for Haiku.
8664 # The "-static" flag exists, but is broken.
8665 lt_prog_compiler_static=
8668 hpux*)
8669 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8670 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8671 # sets the default TLS model and affects inlining.
8672 case $host_cpu in
8673 hppa*64*)
8674 # +Z the default
8677 lt_prog_compiler_pic='-fPIC'
8679 esac
8682 interix[3-9]*)
8683 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8684 # Instead, we relocate shared libraries at runtime.
8687 msdosdjgpp*)
8688 # Just because we use GCC doesn't mean we suddenly get shared libraries
8689 # on systems that don't support them.
8690 lt_prog_compiler_can_build_shared=no
8691 enable_shared=no
8694 *nto* | *qnx*)
8695 # QNX uses GNU C++, but need to define -shared option too, otherwise
8696 # it will coredump.
8697 lt_prog_compiler_pic='-fPIC -shared'
8700 sysv4*MP*)
8701 if test -d /usr/nec; then
8702 lt_prog_compiler_pic=-Kconform_pic
8707 lt_prog_compiler_pic='-fPIC'
8709 esac
8711 case $cc_basename in
8712 nvcc*) # Cuda Compiler Driver 2.2
8713 lt_prog_compiler_wl='-Xlinker '
8714 lt_prog_compiler_pic='-Xcompiler -fPIC'
8716 esac
8717 else
8718 # PORTME Check for flag to pass linker flags through the system compiler.
8719 case $host_os in
8720 aix*)
8721 lt_prog_compiler_wl='-Wl,'
8722 if test "$host_cpu" = ia64; then
8723 # AIX 5 now supports IA64 processor
8724 lt_prog_compiler_static='-Bstatic'
8725 else
8726 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8730 mingw* | cygwin* | pw32* | os2* | cegcc*)
8731 # This hack is so that the source file can tell whether it is being
8732 # built for inclusion in a dll (and should export symbols for example).
8733 lt_prog_compiler_pic='-DDLL_EXPORT'
8736 hpux9* | hpux10* | hpux11*)
8737 lt_prog_compiler_wl='-Wl,'
8738 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8739 # not for PA HP-UX.
8740 case $host_cpu in
8741 hppa*64*|ia64*)
8742 # +Z the default
8745 lt_prog_compiler_pic='+Z'
8747 esac
8748 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8749 lt_prog_compiler_static='${wl}-a ${wl}archive'
8752 irix5* | irix6* | nonstopux*)
8753 lt_prog_compiler_wl='-Wl,'
8754 # PIC (with -KPIC) is the default.
8755 lt_prog_compiler_static='-non_shared'
8758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8759 case $cc_basename in
8760 # old Intel for x86_64 which still supported -KPIC.
8761 ecc*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-static'
8766 # icc used to be incompatible with GCC.
8767 # ICC 10 doesn't accept -KPIC any more.
8768 icc* | ifort*)
8769 lt_prog_compiler_wl='-Wl,'
8770 lt_prog_compiler_pic='-fPIC'
8771 lt_prog_compiler_static='-static'
8773 # Lahey Fortran 8.1.
8774 lf95*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='--shared'
8777 lt_prog_compiler_static='--static'
8779 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8780 # Portland Group compilers (*not* the Pentium gcc compiler,
8781 # which looks to be a dead project)
8782 lt_prog_compiler_wl='-Wl,'
8783 lt_prog_compiler_pic='-fpic'
8784 lt_prog_compiler_static='-Bstatic'
8786 ccc*)
8787 lt_prog_compiler_wl='-Wl,'
8788 # All Alpha code is PIC.
8789 lt_prog_compiler_static='-non_shared'
8791 xl* | bgxl* | bgf* | mpixl*)
8792 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8793 lt_prog_compiler_wl='-Wl,'
8794 lt_prog_compiler_pic='-qpic'
8795 lt_prog_compiler_static='-qstaticlink'
8798 case `$CC -V 2>&1 | sed 5q` in
8799 *Sun\ F* | *Sun*Fortran*)
8800 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8801 lt_prog_compiler_pic='-KPIC'
8802 lt_prog_compiler_static='-Bstatic'
8803 lt_prog_compiler_wl=''
8805 *Sun\ C*)
8806 # Sun C 5.9
8807 lt_prog_compiler_pic='-KPIC'
8808 lt_prog_compiler_static='-Bstatic'
8809 lt_prog_compiler_wl='-Wl,'
8811 esac
8813 esac
8816 newsos6)
8817 lt_prog_compiler_pic='-KPIC'
8818 lt_prog_compiler_static='-Bstatic'
8821 *nto* | *qnx*)
8822 # QNX uses GNU C++, but need to define -shared option too, otherwise
8823 # it will coredump.
8824 lt_prog_compiler_pic='-fPIC -shared'
8827 osf3* | osf4* | osf5*)
8828 lt_prog_compiler_wl='-Wl,'
8829 # All OSF/1 code is PIC.
8830 lt_prog_compiler_static='-non_shared'
8833 rdos*)
8834 lt_prog_compiler_static='-non_shared'
8837 solaris*)
8838 lt_prog_compiler_pic='-KPIC'
8839 lt_prog_compiler_static='-Bstatic'
8840 case $cc_basename in
8841 f77* | f90* | f95*)
8842 lt_prog_compiler_wl='-Qoption ld ';;
8844 lt_prog_compiler_wl='-Wl,';;
8845 esac
8848 sunos4*)
8849 lt_prog_compiler_wl='-Qoption ld '
8850 lt_prog_compiler_pic='-PIC'
8851 lt_prog_compiler_static='-Bstatic'
8854 sysv4 | sysv4.2uw2* | sysv4.3*)
8855 lt_prog_compiler_wl='-Wl,'
8856 lt_prog_compiler_pic='-KPIC'
8857 lt_prog_compiler_static='-Bstatic'
8860 sysv4*MP*)
8861 if test -d /usr/nec ;then
8862 lt_prog_compiler_pic='-Kconform_pic'
8863 lt_prog_compiler_static='-Bstatic'
8867 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8868 lt_prog_compiler_wl='-Wl,'
8869 lt_prog_compiler_pic='-KPIC'
8870 lt_prog_compiler_static='-Bstatic'
8873 unicos*)
8874 lt_prog_compiler_wl='-Wl,'
8875 lt_prog_compiler_can_build_shared=no
8878 uts4*)
8879 lt_prog_compiler_pic='-pic'
8880 lt_prog_compiler_static='-Bstatic'
8884 lt_prog_compiler_can_build_shared=no
8886 esac
8889 case $host_os in
8890 # For platforms which do not support PIC, -DPIC is meaningless:
8891 *djgpp*)
8892 lt_prog_compiler_pic=
8895 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8897 esac
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8899 $as_echo "$lt_prog_compiler_pic" >&6; }
8907 # Check to make sure the PIC flag actually works.
8909 if test -n "$lt_prog_compiler_pic"; then
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8911 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8912 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 lt_cv_prog_compiler_pic_works=no
8916 ac_outfile=conftest.$ac_objext
8917 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8918 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8919 # Insert the option either (1) after the last *FLAGS variable, or
8920 # (2) before a word containing "conftest.", or (3) at the end.
8921 # Note that $ac_compile itself does not contain backslashes and begins
8922 # with a dollar sign (not a hyphen), so the echo should work correctly.
8923 # The option is referenced via a variable to avoid confusing sed.
8924 lt_compile=`echo "$ac_compile" | $SED \
8925 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8926 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8927 -e 's:$: $lt_compiler_flag:'`
8928 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8929 (eval "$lt_compile" 2>conftest.err)
8930 ac_status=$?
8931 cat conftest.err >&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 if (exit $ac_status) && test -s "$ac_outfile"; then
8934 # The compiler can only warn and ignore the option if not recognized
8935 # So say no if there are warnings other than the usual output.
8936 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8937 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8938 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8939 lt_cv_prog_compiler_pic_works=yes
8942 $RM conftest*
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8946 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8948 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8949 case $lt_prog_compiler_pic in
8950 "" | " "*) ;;
8951 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8952 esac
8953 else
8954 lt_prog_compiler_pic=
8955 lt_prog_compiler_can_build_shared=no
8966 # Check to make sure the static flag actually works.
8968 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8970 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8971 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8972 $as_echo_n "(cached) " >&6
8973 else
8974 lt_cv_prog_compiler_static_works=no
8975 save_LDFLAGS="$LDFLAGS"
8976 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8977 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8978 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8979 # The linker can only warn and ignore the option if not recognized
8980 # So say no if there are warnings
8981 if test -s conftest.err; then
8982 # Append any errors to the config.log.
8983 cat conftest.err 1>&5
8984 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8985 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8986 if diff conftest.exp conftest.er2 >/dev/null; then
8987 lt_cv_prog_compiler_static_works=yes
8989 else
8990 lt_cv_prog_compiler_static_works=yes
8993 $RM -r conftest*
8994 LDFLAGS="$save_LDFLAGS"
8997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8998 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9000 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9002 else
9003 lt_prog_compiler_static=
9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9013 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9014 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9015 $as_echo_n "(cached) " >&6
9016 else
9017 lt_cv_prog_compiler_c_o=no
9018 $RM -r conftest 2>/dev/null
9019 mkdir conftest
9020 cd conftest
9021 mkdir out
9022 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9024 lt_compiler_flag="-o out/conftest2.$ac_objext"
9025 # Insert the option either (1) after the last *FLAGS variable, or
9026 # (2) before a word containing "conftest.", or (3) at the end.
9027 # Note that $ac_compile itself does not contain backslashes and begins
9028 # with a dollar sign (not a hyphen), so the echo should work correctly.
9029 lt_compile=`echo "$ac_compile" | $SED \
9030 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9031 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9032 -e 's:$: $lt_compiler_flag:'`
9033 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9034 (eval "$lt_compile" 2>out/conftest.err)
9035 ac_status=$?
9036 cat out/conftest.err >&5
9037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9038 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9039 then
9040 # The compiler can only warn and ignore the option if not recognized
9041 # So say no if there are warnings
9042 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9043 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9044 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9045 lt_cv_prog_compiler_c_o=yes
9048 chmod u+w . 2>&5
9049 $RM conftest*
9050 # SGI C++ compiler will create directory out/ii_files/ for
9051 # template instantiation
9052 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9053 $RM out/* && rmdir out
9054 cd ..
9055 $RM -r conftest
9056 $RM conftest*
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9060 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9068 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9069 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9070 $as_echo_n "(cached) " >&6
9071 else
9072 lt_cv_prog_compiler_c_o=no
9073 $RM -r conftest 2>/dev/null
9074 mkdir conftest
9075 cd conftest
9076 mkdir out
9077 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9079 lt_compiler_flag="-o out/conftest2.$ac_objext"
9080 # Insert the option either (1) after the last *FLAGS variable, or
9081 # (2) before a word containing "conftest.", or (3) at the end.
9082 # Note that $ac_compile itself does not contain backslashes and begins
9083 # with a dollar sign (not a hyphen), so the echo should work correctly.
9084 lt_compile=`echo "$ac_compile" | $SED \
9085 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9086 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9087 -e 's:$: $lt_compiler_flag:'`
9088 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9089 (eval "$lt_compile" 2>out/conftest.err)
9090 ac_status=$?
9091 cat out/conftest.err >&5
9092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9093 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9094 then
9095 # The compiler can only warn and ignore the option if not recognized
9096 # So say no if there are warnings
9097 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9098 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9099 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9100 lt_cv_prog_compiler_c_o=yes
9103 chmod u+w . 2>&5
9104 $RM conftest*
9105 # SGI C++ compiler will create directory out/ii_files/ for
9106 # template instantiation
9107 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9108 $RM out/* && rmdir out
9109 cd ..
9110 $RM -r conftest
9111 $RM conftest*
9114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9115 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9120 hard_links="nottested"
9121 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9122 # do not overwrite the value of need_locks provided by the user
9123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9124 $as_echo_n "checking if we can lock with hard links... " >&6; }
9125 hard_links=yes
9126 $RM conftest*
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 touch conftest.a
9129 ln conftest.a conftest.b 2>&5 || hard_links=no
9130 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9132 $as_echo "$hard_links" >&6; }
9133 if test "$hard_links" = no; then
9134 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9135 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9136 need_locks=warn
9138 else
9139 need_locks=no
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9148 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9150 runpath_var=
9151 allow_undefined_flag=
9152 always_export_symbols=no
9153 archive_cmds=
9154 archive_expsym_cmds=
9155 compiler_needs_object=no
9156 enable_shared_with_static_runtimes=no
9157 export_dynamic_flag_spec=
9158 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9159 hardcode_automatic=no
9160 hardcode_direct=no
9161 hardcode_direct_absolute=no
9162 hardcode_libdir_flag_spec=
9163 hardcode_libdir_flag_spec_ld=
9164 hardcode_libdir_separator=
9165 hardcode_minus_L=no
9166 hardcode_shlibpath_var=unsupported
9167 inherit_rpath=no
9168 link_all_deplibs=unknown
9169 module_cmds=
9170 module_expsym_cmds=
9171 old_archive_from_new_cmds=
9172 old_archive_from_expsyms_cmds=
9173 thread_safe_flag_spec=
9174 whole_archive_flag_spec=
9175 # include_expsyms should be a list of space-separated symbols to be *always*
9176 # included in the symbol list
9177 include_expsyms=
9178 # exclude_expsyms can be an extended regexp of symbols to exclude
9179 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9180 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9181 # as well as any symbol that contains `d'.
9182 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9183 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9184 # platforms (ab)use it in PIC code, but their linkers get confused if
9185 # the symbol is explicitly referenced. Since portable code cannot
9186 # rely on this symbol name, it's probably fine to never include it in
9187 # preloaded symbol tables.
9188 # Exclude shared library initialization/finalization symbols.
9189 extract_expsyms_cmds=
9191 case $host_os in
9192 cygwin* | mingw* | pw32* | cegcc*)
9193 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9194 # When not using gcc, we currently assume that we are using
9195 # Microsoft Visual C++.
9196 if test "$GCC" != yes; then
9197 with_gnu_ld=no
9200 interix*)
9201 # we just hope/assume this is gcc and not c89 (= MSVC++)
9202 with_gnu_ld=yes
9204 openbsd*)
9205 with_gnu_ld=no
9207 esac
9209 ld_shlibs=yes
9211 # On some targets, GNU ld is compatible enough with the native linker
9212 # that we're better off using the native interface for both.
9213 lt_use_gnu_ld_interface=no
9214 if test "$with_gnu_ld" = yes; then
9215 case $host_os in
9216 aix*)
9217 # The AIX port of GNU ld has always aspired to compatibility
9218 # with the native linker. However, as the warning in the GNU ld
9219 # block says, versions before 2.19.5* couldn't really create working
9220 # shared libraries, regardless of the interface used.
9221 case `$LD -v 2>&1` in
9222 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9223 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9224 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9226 lt_use_gnu_ld_interface=yes
9228 esac
9231 lt_use_gnu_ld_interface=yes
9233 esac
9236 if test "$lt_use_gnu_ld_interface" = yes; then
9237 # If archive_cmds runs LD, not CC, wlarc should be empty
9238 wlarc='${wl}'
9240 # Set some defaults for GNU ld with shared library support. These
9241 # are reset later if shared libraries are not supported. Putting them
9242 # here allows them to be overridden if necessary.
9243 runpath_var=LD_RUN_PATH
9244 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9245 export_dynamic_flag_spec='${wl}--export-dynamic'
9246 # ancient GNU ld didn't support --whole-archive et. al.
9247 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9248 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9249 else
9250 whole_archive_flag_spec=
9252 supports_anon_versioning=no
9253 case `$LD -v 2>&1` in
9254 *GNU\ gold*) supports_anon_versioning=yes ;;
9255 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9256 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9257 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9258 *\ 2.11.*) ;; # other 2.11 versions
9259 *) supports_anon_versioning=yes ;;
9260 esac
9262 # See if GNU ld supports shared libraries.
9263 case $host_os in
9264 aix[3-9]*)
9265 # On AIX/PPC, the GNU linker is very broken
9266 if test "$host_cpu" != ia64; then
9267 ld_shlibs=no
9268 cat <<_LT_EOF 1>&2
9270 *** Warning: the GNU linker, at least up to release 2.19, is reported
9271 *** to be unable to reliably create shared libraries on AIX.
9272 *** Therefore, libtool is disabling shared libraries support. If you
9273 *** really care for shared libraries, you may want to install binutils
9274 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9275 *** You will then need to restart the configuration process.
9277 _LT_EOF
9281 amigaos*)
9282 case $host_cpu in
9283 powerpc)
9284 # see comment about AmigaOS4 .so support
9285 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9286 archive_expsym_cmds=''
9288 m68k)
9289 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)'
9290 hardcode_libdir_flag_spec='-L$libdir'
9291 hardcode_minus_L=yes
9293 esac
9296 beos*)
9297 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9298 allow_undefined_flag=unsupported
9299 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9300 # support --undefined. This deserves some investigation. FIXME
9301 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 else
9303 ld_shlibs=no
9307 cygwin* | mingw* | pw32* | cegcc*)
9308 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9309 # as there is no search path for DLLs.
9310 hardcode_libdir_flag_spec='-L$libdir'
9311 export_dynamic_flag_spec='${wl}--export-all-symbols'
9312 allow_undefined_flag=unsupported
9313 always_export_symbols=no
9314 enable_shared_with_static_runtimes=yes
9315 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9317 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9318 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9319 # If the export-symbols file already is a .def file (1st line
9320 # is EXPORTS), use it as is; otherwise, prepend...
9321 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9322 cp $export_symbols $output_objdir/$soname.def;
9323 else
9324 echo EXPORTS > $output_objdir/$soname.def;
9325 cat $export_symbols >> $output_objdir/$soname.def;
9327 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9328 else
9329 ld_shlibs=no
9333 haiku*)
9334 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9335 link_all_deplibs=yes
9338 interix[3-9]*)
9339 hardcode_direct=no
9340 hardcode_shlibpath_var=no
9341 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9342 export_dynamic_flag_spec='${wl}-E'
9343 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9344 # Instead, shared libraries are loaded at an image base (0x10000000 by
9345 # default) and relocated if they conflict, which is a slow very memory
9346 # consuming and fragmenting process. To avoid this, we pick a random,
9347 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9348 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9349 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9350 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'
9353 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9354 tmp_diet=no
9355 if test "$host_os" = linux-dietlibc; then
9356 case $cc_basename in
9357 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9358 esac
9360 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9361 && test "$tmp_diet" = no
9362 then
9363 tmp_addflag=' $pic_flag'
9364 tmp_sharedflag='-shared'
9365 case $cc_basename,$host_cpu in
9366 pgcc*) # Portland Group C compiler
9367 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'
9368 tmp_addflag=' $pic_flag'
9370 pgf77* | pgf90* | pgf95* | pgfortran*)
9371 # Portland Group f77 and f90 compilers
9372 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'
9373 tmp_addflag=' $pic_flag -Mnomain' ;;
9374 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9375 tmp_addflag=' -i_dynamic' ;;
9376 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9377 tmp_addflag=' -i_dynamic -nofor_main' ;;
9378 ifc* | ifort*) # Intel Fortran compiler
9379 tmp_addflag=' -nofor_main' ;;
9380 lf95*) # Lahey Fortran 8.1
9381 whole_archive_flag_spec=
9382 tmp_sharedflag='--shared' ;;
9383 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9384 tmp_sharedflag='-qmkshrobj'
9385 tmp_addflag= ;;
9386 nvcc*) # Cuda Compiler Driver 2.2
9387 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'
9388 compiler_needs_object=yes
9390 esac
9391 case `$CC -V 2>&1 | sed 5q` in
9392 *Sun\ C*) # Sun C 5.9
9393 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'
9394 compiler_needs_object=yes
9395 tmp_sharedflag='-G' ;;
9396 *Sun\ F*) # Sun Fortran 8.3
9397 tmp_sharedflag='-G' ;;
9398 esac
9399 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9401 if test "x$supports_anon_versioning" = xyes; then
9402 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9403 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9404 echo "local: *; };" >> $output_objdir/$libname.ver~
9405 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9408 case $cc_basename in
9409 xlf* | bgf* | bgxlf* | mpixlf*)
9410 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9411 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9412 hardcode_libdir_flag_spec=
9413 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9414 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9415 if test "x$supports_anon_versioning" = xyes; then
9416 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9417 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9418 echo "local: *; };" >> $output_objdir/$libname.ver~
9419 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9422 esac
9423 else
9424 ld_shlibs=no
9428 netbsd*)
9429 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9430 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9431 wlarc=
9432 else
9433 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9434 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9438 solaris*)
9439 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9440 ld_shlibs=no
9441 cat <<_LT_EOF 1>&2
9443 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9444 *** create shared libraries on Solaris systems. Therefore, libtool
9445 *** is disabling shared libraries support. We urge you to upgrade GNU
9446 *** binutils to release 2.9.1 or newer. Another option is to modify
9447 *** your PATH or compiler configuration so that the native linker is
9448 *** used, and then restart.
9450 _LT_EOF
9451 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9452 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9453 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9454 else
9455 ld_shlibs=no
9459 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9460 case `$LD -v 2>&1` in
9461 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9462 ld_shlibs=no
9463 cat <<_LT_EOF 1>&2
9465 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9466 *** reliably create shared libraries on SCO systems. Therefore, libtool
9467 *** is disabling shared libraries support. We urge you to upgrade GNU
9468 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9469 *** your PATH or compiler configuration so that the native linker is
9470 *** used, and then restart.
9472 _LT_EOF
9475 # For security reasons, it is highly recommended that you always
9476 # use absolute paths for naming shared libraries, and exclude the
9477 # DT_RUNPATH tag from executables and libraries. But doing so
9478 # requires that you compile everything twice, which is a pain.
9479 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9480 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9481 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9482 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9483 else
9484 ld_shlibs=no
9487 esac
9490 sunos4*)
9491 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9492 wlarc=
9493 hardcode_direct=yes
9494 hardcode_shlibpath_var=no
9498 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9499 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9500 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9501 else
9502 ld_shlibs=no
9505 esac
9507 if test "$ld_shlibs" = no; then
9508 runpath_var=
9509 hardcode_libdir_flag_spec=
9510 export_dynamic_flag_spec=
9511 whole_archive_flag_spec=
9513 else
9514 # PORTME fill in a description of your system's linker (not GNU ld)
9515 case $host_os in
9516 aix3*)
9517 allow_undefined_flag=unsupported
9518 always_export_symbols=yes
9519 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'
9520 # Note: this linker hardcodes the directories in LIBPATH if there
9521 # are no directories specified by -L.
9522 hardcode_minus_L=yes
9523 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9524 # Neither direct hardcoding nor static linking is supported with a
9525 # broken collect2.
9526 hardcode_direct=unsupported
9530 aix[4-9]*)
9531 if test "$host_cpu" = ia64; then
9532 # On IA64, the linker does run time linking by default, so we don't
9533 # have to do anything special.
9534 aix_use_runtimelinking=no
9535 exp_sym_flag='-Bexport'
9536 no_entry_flag=""
9537 else
9538 # If we're using GNU nm, then we don't want the "-C" option.
9539 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9540 # Also, AIX nm treats weak defined symbols like other global
9541 # defined symbols, whereas GNU nm marks them as "W".
9542 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9543 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'
9544 else
9545 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9547 aix_use_runtimelinking=no
9549 # Test if we are trying to use run time linking or normal
9550 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9551 # need to do runtime linking.
9552 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9553 for ld_flag in $LDFLAGS; do
9554 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9555 aix_use_runtimelinking=yes
9556 break
9558 done
9560 esac
9562 exp_sym_flag='-bexport'
9563 no_entry_flag='-bnoentry'
9566 # When large executables or shared objects are built, AIX ld can
9567 # have problems creating the table of contents. If linking a library
9568 # or program results in "error TOC overflow" add -mminimal-toc to
9569 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9570 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9572 archive_cmds=''
9573 hardcode_direct=yes
9574 hardcode_direct_absolute=yes
9575 hardcode_libdir_separator=':'
9576 link_all_deplibs=yes
9577 file_list_spec='${wl}-f,'
9579 if test "$GCC" = yes; then
9580 case $host_os in aix4.[012]|aix4.[012].*)
9581 # We only want to do this on AIX 4.2 and lower, the check
9582 # below for broken collect2 doesn't work under 4.3+
9583 collect2name=`${CC} -print-prog-name=collect2`
9584 if test -f "$collect2name" &&
9585 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9586 then
9587 # We have reworked collect2
9589 else
9590 # We have old collect2
9591 hardcode_direct=unsupported
9592 # It fails to find uninstalled libraries when the uninstalled
9593 # path is not listed in the libpath. Setting hardcode_minus_L
9594 # to unsupported forces relinking
9595 hardcode_minus_L=yes
9596 hardcode_libdir_flag_spec='-L$libdir'
9597 hardcode_libdir_separator=
9600 esac
9601 shared_flag='-shared'
9602 if test "$aix_use_runtimelinking" = yes; then
9603 shared_flag="$shared_flag "'${wl}-G'
9605 else
9606 # not using gcc
9607 if test "$host_cpu" = ia64; then
9608 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9609 # chokes on -Wl,-G. The following line is correct:
9610 shared_flag='-G'
9611 else
9612 if test "$aix_use_runtimelinking" = yes; then
9613 shared_flag='${wl}-G'
9614 else
9615 shared_flag='${wl}-bM:SRE'
9620 export_dynamic_flag_spec='${wl}-bexpall'
9621 # It seems that -bexpall does not export symbols beginning with
9622 # underscore (_), so it is better to generate a list of symbols to export.
9623 always_export_symbols=yes
9624 if test "$aix_use_runtimelinking" = yes; then
9625 # Warning - without using the other runtime loading flags (-brtl),
9626 # -berok will link without error, but may produce a broken library.
9627 allow_undefined_flag='-berok'
9628 # Determine the default libpath from the value encoded in an
9629 # empty executable.
9630 if test x$gcc_no_link = xyes; then
9631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9634 /* end confdefs.h. */
9637 main ()
9641 return 0;
9643 _ACEOF
9644 if ac_fn_c_try_link "$LINENO"; then :
9646 lt_aix_libpath_sed='
9647 /Import File Strings/,/^$/ {
9648 /^0/ {
9649 s/^0 *\(.*\)$/\1/
9653 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9654 # Check for a 64-bit object if we didn't find anything.
9655 if test -z "$aix_libpath"; then
9656 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9659 rm -f core conftest.err conftest.$ac_objext \
9660 conftest$ac_exeext conftest.$ac_ext
9661 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9663 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9664 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"
9665 else
9666 if test "$host_cpu" = ia64; then
9667 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9668 allow_undefined_flag="-z nodefs"
9669 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"
9670 else
9671 # Determine the default libpath from the value encoded in an
9672 # empty executable.
9673 if test x$gcc_no_link = xyes; then
9674 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9677 /* end confdefs.h. */
9680 main ()
9684 return 0;
9686 _ACEOF
9687 if ac_fn_c_try_link "$LINENO"; then :
9689 lt_aix_libpath_sed='
9690 /Import File Strings/,/^$/ {
9691 /^0/ {
9692 s/^0 *\(.*\)$/\1/
9696 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9697 # Check for a 64-bit object if we didn't find anything.
9698 if test -z "$aix_libpath"; then
9699 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9702 rm -f core conftest.err conftest.$ac_objext \
9703 conftest$ac_exeext conftest.$ac_ext
9704 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9706 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9707 # Warning - without using the other run time loading flags,
9708 # -berok will link without error, but may produce a broken library.
9709 no_undefined_flag=' ${wl}-bernotok'
9710 allow_undefined_flag=' ${wl}-berok'
9711 if test "$with_gnu_ld" = yes; then
9712 # We only use this code for GNU lds that support --whole-archive.
9713 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9714 else
9715 # Exported symbols can be pulled into shared objects from archives
9716 whole_archive_flag_spec='$convenience'
9718 archive_cmds_need_lc=yes
9719 # This is similar to how AIX traditionally builds its shared libraries.
9720 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'
9725 amigaos*)
9726 case $host_cpu in
9727 powerpc)
9728 # see comment about AmigaOS4 .so support
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds=''
9732 m68k)
9733 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)'
9734 hardcode_libdir_flag_spec='-L$libdir'
9735 hardcode_minus_L=yes
9737 esac
9740 bsdi[45]*)
9741 export_dynamic_flag_spec=-rdynamic
9744 cygwin* | mingw* | pw32* | cegcc*)
9745 # When not using gcc, we currently assume that we are using
9746 # Microsoft Visual C++.
9747 # hardcode_libdir_flag_spec is actually meaningless, as there is
9748 # no search path for DLLs.
9749 hardcode_libdir_flag_spec=' '
9750 allow_undefined_flag=unsupported
9751 # Tell ltmain to make .lib files, not .a files.
9752 libext=lib
9753 # Tell ltmain to make .dll files, not .so files.
9754 shrext_cmds=".dll"
9755 # FIXME: Setting linknames here is a bad hack.
9756 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9757 # The linker will automatically build a .lib file if we build a DLL.
9758 old_archive_from_new_cmds='true'
9759 # FIXME: Should let the user specify the lib program.
9760 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9761 fix_srcfile_path='`cygpath -w "$srcfile"`'
9762 enable_shared_with_static_runtimes=yes
9765 darwin* | rhapsody*)
9768 archive_cmds_need_lc=no
9769 hardcode_direct=no
9770 hardcode_automatic=yes
9771 hardcode_shlibpath_var=unsupported
9772 if test "$lt_cv_ld_force_load" = "yes"; then
9773 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\"`'
9774 else
9775 whole_archive_flag_spec=''
9777 link_all_deplibs=yes
9778 allow_undefined_flag="$_lt_dar_allow_undefined"
9779 case $cc_basename in
9780 ifort*) _lt_dar_can_shared=yes ;;
9781 *) _lt_dar_can_shared=$GCC ;;
9782 esac
9783 if test "$_lt_dar_can_shared" = "yes"; then
9784 output_verbose_link_cmd=func_echo_all
9785 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9786 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9787 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}"
9788 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}"
9790 else
9791 ld_shlibs=no
9796 dgux*)
9797 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9798 hardcode_libdir_flag_spec='-L$libdir'
9799 hardcode_shlibpath_var=no
9802 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9803 # support. Future versions do this automatically, but an explicit c++rt0.o
9804 # does not break anything, and helps significantly (at the cost of a little
9805 # extra space).
9806 freebsd2.2*)
9807 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9808 hardcode_libdir_flag_spec='-R$libdir'
9809 hardcode_direct=yes
9810 hardcode_shlibpath_var=no
9813 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9814 freebsd2.*)
9815 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9816 hardcode_direct=yes
9817 hardcode_minus_L=yes
9818 hardcode_shlibpath_var=no
9821 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9822 freebsd* | dragonfly*)
9823 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9824 hardcode_libdir_flag_spec='-R$libdir'
9825 hardcode_direct=yes
9826 hardcode_shlibpath_var=no
9829 hpux9*)
9830 if test "$GCC" = yes; then
9831 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'
9832 else
9833 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'
9835 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9836 hardcode_libdir_separator=:
9837 hardcode_direct=yes
9839 # hardcode_minus_L: Not really in the search PATH,
9840 # but as the default location of the library.
9841 hardcode_minus_L=yes
9842 export_dynamic_flag_spec='${wl}-E'
9845 hpux10*)
9846 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9847 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9848 else
9849 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9851 if test "$with_gnu_ld" = no; then
9852 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9853 hardcode_libdir_flag_spec_ld='+b $libdir'
9854 hardcode_libdir_separator=:
9855 hardcode_direct=yes
9856 hardcode_direct_absolute=yes
9857 export_dynamic_flag_spec='${wl}-E'
9858 # hardcode_minus_L: Not really in the search PATH,
9859 # but as the default location of the library.
9860 hardcode_minus_L=yes
9864 hpux11*)
9865 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9866 case $host_cpu in
9867 hppa*64*)
9868 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9870 ia64*)
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9874 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9876 esac
9877 else
9878 case $host_cpu in
9879 hppa*64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9882 ia64*)
9883 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9887 # Older versions of the 11.00 compiler do not understand -b yet
9888 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9890 $as_echo_n "checking if $CC understands -b... " >&6; }
9891 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9892 $as_echo_n "(cached) " >&6
9893 else
9894 lt_cv_prog_compiler__b=no
9895 save_LDFLAGS="$LDFLAGS"
9896 LDFLAGS="$LDFLAGS -b"
9897 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9898 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9899 # The linker can only warn and ignore the option if not recognized
9900 # So say no if there are warnings
9901 if test -s conftest.err; then
9902 # Append any errors to the config.log.
9903 cat conftest.err 1>&5
9904 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9906 if diff conftest.exp conftest.er2 >/dev/null; then
9907 lt_cv_prog_compiler__b=yes
9909 else
9910 lt_cv_prog_compiler__b=yes
9913 $RM -r conftest*
9914 LDFLAGS="$save_LDFLAGS"
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9918 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9920 if test x"$lt_cv_prog_compiler__b" = xyes; then
9921 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9922 else
9923 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9927 esac
9929 if test "$with_gnu_ld" = no; then
9930 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9931 hardcode_libdir_separator=:
9933 case $host_cpu in
9934 hppa*64*|ia64*)
9935 hardcode_direct=no
9936 hardcode_shlibpath_var=no
9939 hardcode_direct=yes
9940 hardcode_direct_absolute=yes
9941 export_dynamic_flag_spec='${wl}-E'
9943 # hardcode_minus_L: Not really in the search PATH,
9944 # but as the default location of the library.
9945 hardcode_minus_L=yes
9947 esac
9951 irix5* | irix6* | nonstopux*)
9952 if test "$GCC" = yes; then
9953 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'
9954 # Try to use the -exported_symbol ld option, if it does not
9955 # work, assume that -exports_file does not work either and
9956 # implicitly export all symbols.
9957 save_LDFLAGS="$LDFLAGS"
9958 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9959 if test x$gcc_no_link = xyes; then
9960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9963 /* end confdefs.h. */
9964 int foo(void) {}
9965 _ACEOF
9966 if ac_fn_c_try_link "$LINENO"; then :
9967 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'
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 LDFLAGS="$save_LDFLAGS"
9973 else
9974 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'
9975 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'
9977 archive_cmds_need_lc='no'
9978 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9979 hardcode_libdir_separator=:
9980 inherit_rpath=yes
9981 link_all_deplibs=yes
9984 netbsd*)
9985 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9986 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9987 else
9988 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9990 hardcode_libdir_flag_spec='-R$libdir'
9991 hardcode_direct=yes
9992 hardcode_shlibpath_var=no
9995 newsos6)
9996 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9997 hardcode_direct=yes
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 hardcode_libdir_separator=:
10000 hardcode_shlibpath_var=no
10003 *nto* | *qnx*)
10006 openbsd*)
10007 if test -f /usr/libexec/ld.so; then
10008 hardcode_direct=yes
10009 hardcode_shlibpath_var=no
10010 hardcode_direct_absolute=yes
10011 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10012 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10013 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10014 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10015 export_dynamic_flag_spec='${wl}-E'
10016 else
10017 case $host_os in
10018 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10019 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10020 hardcode_libdir_flag_spec='-R$libdir'
10023 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10024 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10026 esac
10028 else
10029 ld_shlibs=no
10033 os2*)
10034 hardcode_libdir_flag_spec='-L$libdir'
10035 hardcode_minus_L=yes
10036 allow_undefined_flag=unsupported
10037 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'
10038 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10041 osf3*)
10042 if test "$GCC" = yes; then
10043 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10044 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'
10045 else
10046 allow_undefined_flag=' -expect_unresolved \*'
10047 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'
10049 archive_cmds_need_lc='no'
10050 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10051 hardcode_libdir_separator=:
10054 osf4* | osf5*) # as osf3* with the addition of -msym flag
10055 if test "$GCC" = yes; then
10056 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10057 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'
10058 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10059 else
10060 allow_undefined_flag=' -expect_unresolved \*'
10061 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'
10062 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~
10063 $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'
10065 # Both c and cxx compiler support -rpath directly
10066 hardcode_libdir_flag_spec='-rpath $libdir'
10068 archive_cmds_need_lc='no'
10069 hardcode_libdir_separator=:
10072 solaris*)
10073 no_undefined_flag=' -z defs'
10074 if test "$GCC" = yes; then
10075 wlarc='${wl}'
10076 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10077 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10078 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10079 else
10080 case `$CC -V 2>&1` in
10081 *"Compilers 5.0"*)
10082 wlarc=''
10083 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10084 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10085 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10088 wlarc='${wl}'
10089 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10090 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10091 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10093 esac
10095 hardcode_libdir_flag_spec='-R$libdir'
10096 hardcode_shlibpath_var=no
10097 case $host_os in
10098 solaris2.[0-5] | solaris2.[0-5].*) ;;
10100 # The compiler driver will combine and reorder linker options,
10101 # but understands `-z linker_flag'. GCC discards it without `$wl',
10102 # but is careful enough not to reorder.
10103 # Supported since Solaris 2.6 (maybe 2.5.1?)
10104 if test "$GCC" = yes; then
10105 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10106 else
10107 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10110 esac
10111 link_all_deplibs=yes
10114 sunos4*)
10115 if test "x$host_vendor" = xsequent; then
10116 # Use $CC to link under sequent, because it throws in some extra .o
10117 # files that make .init and .fini sections work.
10118 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10119 else
10120 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10122 hardcode_libdir_flag_spec='-L$libdir'
10123 hardcode_direct=yes
10124 hardcode_minus_L=yes
10125 hardcode_shlibpath_var=no
10128 sysv4)
10129 case $host_vendor in
10130 sni)
10131 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10132 hardcode_direct=yes # is this really true???
10134 siemens)
10135 ## LD is ld it makes a PLAMLIB
10136 ## CC just makes a GrossModule.
10137 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10138 reload_cmds='$CC -r -o $output$reload_objs'
10139 hardcode_direct=no
10141 motorola)
10142 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10143 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10145 esac
10146 runpath_var='LD_RUN_PATH'
10147 hardcode_shlibpath_var=no
10150 sysv4.3*)
10151 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10152 hardcode_shlibpath_var=no
10153 export_dynamic_flag_spec='-Bexport'
10156 sysv4*MP*)
10157 if test -d /usr/nec; then
10158 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10159 hardcode_shlibpath_var=no
10160 runpath_var=LD_RUN_PATH
10161 hardcode_runpath_var=yes
10162 ld_shlibs=yes
10166 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10167 no_undefined_flag='${wl}-z,text'
10168 archive_cmds_need_lc=no
10169 hardcode_shlibpath_var=no
10170 runpath_var='LD_RUN_PATH'
10172 if test "$GCC" = yes; then
10173 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10175 else
10176 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10181 sysv5* | sco3.2v5* | sco5v6*)
10182 # Note: We can NOT use -z defs as we might desire, because we do not
10183 # link with -lc, and that would cause any symbols used from libc to
10184 # always be unresolved, which means just about no library would
10185 # ever link correctly. If we're not using GNU ld we use -z text
10186 # though, which does catch some bad symbols but isn't as heavy-handed
10187 # as -z defs.
10188 no_undefined_flag='${wl}-z,text'
10189 allow_undefined_flag='${wl}-z,nodefs'
10190 archive_cmds_need_lc=no
10191 hardcode_shlibpath_var=no
10192 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10193 hardcode_libdir_separator=':'
10194 link_all_deplibs=yes
10195 export_dynamic_flag_spec='${wl}-Bexport'
10196 runpath_var='LD_RUN_PATH'
10198 if test "$GCC" = yes; then
10199 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10201 else
10202 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10203 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10207 uts4*)
10208 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10209 hardcode_libdir_flag_spec='-L$libdir'
10210 hardcode_shlibpath_var=no
10214 ld_shlibs=no
10216 esac
10218 if test x$host_vendor = xsni; then
10219 case $host in
10220 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10221 export_dynamic_flag_spec='${wl}-Blargedynsym'
10223 esac
10227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10228 $as_echo "$ld_shlibs" >&6; }
10229 test "$ld_shlibs" = no && can_build_shared=no
10231 with_gnu_ld=$with_gnu_ld
10248 # Do we need to explicitly link libc?
10250 case "x$archive_cmds_need_lc" in
10251 x|xyes)
10252 # Assume -lc should be added
10253 archive_cmds_need_lc=yes
10255 if test "$enable_shared" = yes && test "$GCC" = yes; then
10256 case $archive_cmds in
10257 *'~'*)
10258 # FIXME: we may have to deal with multi-command sequences.
10260 '$CC '*)
10261 # Test whether the compiler implicitly links with -lc since on some
10262 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10263 # to ld, don't add -lc before -lgcc.
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10265 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10266 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 $RM conftest*
10270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10272 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10273 (eval $ac_compile) 2>&5
10274 ac_status=$?
10275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10276 test $ac_status = 0; } 2>conftest.err; then
10277 soname=conftest
10278 lib=conftest
10279 libobjs=conftest.$ac_objext
10280 deplibs=
10281 wl=$lt_prog_compiler_wl
10282 pic_flag=$lt_prog_compiler_pic
10283 compiler_flags=-v
10284 linker_flags=-v
10285 verstring=
10286 output_objdir=.
10287 libname=conftest
10288 lt_save_allow_undefined_flag=$allow_undefined_flag
10289 allow_undefined_flag=
10290 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10291 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10292 ac_status=$?
10293 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10294 test $ac_status = 0; }
10295 then
10296 lt_cv_archive_cmds_need_lc=no
10297 else
10298 lt_cv_archive_cmds_need_lc=yes
10300 allow_undefined_flag=$lt_save_allow_undefined_flag
10301 else
10302 cat conftest.err 1>&5
10304 $RM conftest*
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10308 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10309 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10311 esac
10314 esac
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10473 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10475 if test "$GCC" = yes; then
10476 case $host_os in
10477 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10478 *) lt_awk_arg="/^libraries:/" ;;
10479 esac
10480 case $host_os in
10481 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10482 *) lt_sed_strip_eq="s,=/,/,g" ;;
10483 esac
10484 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10485 case $lt_search_path_spec in
10486 *\;*)
10487 # if the path contains ";" then we assume it to be the separator
10488 # otherwise default to the standard path separator (i.e. ":") - it is
10489 # assumed that no part of a normal pathname contains ";" but that should
10490 # okay in the real world where ";" in dirpaths is itself problematic.
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10494 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10496 esac
10497 # Ok, now we have the path, separated by spaces, we can step through it
10498 # and add multilib dir if necessary.
10499 lt_tmp_lt_search_path_spec=
10500 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10501 for lt_sys_path in $lt_search_path_spec; do
10502 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10504 else
10505 test -d "$lt_sys_path" && \
10506 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10508 done
10509 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10510 BEGIN {RS=" "; FS="/|\n";} {
10511 lt_foo="";
10512 lt_count=0;
10513 for (lt_i = NF; lt_i > 0; lt_i--) {
10514 if ($lt_i != "" && $lt_i != ".") {
10515 if ($lt_i == "..") {
10516 lt_count++;
10517 } else {
10518 if (lt_count == 0) {
10519 lt_foo="/" $lt_i lt_foo;
10520 } else {
10521 lt_count--;
10526 if (lt_foo != "") { lt_freq[lt_foo]++; }
10527 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10529 # AWK program above erroneously prepends '/' to C:/dos/paths
10530 # for these hosts.
10531 case $host_os in
10532 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10533 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10534 esac
10535 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10536 else
10537 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10539 library_names_spec=
10540 libname_spec='lib$name'
10541 soname_spec=
10542 shrext_cmds=".so"
10543 postinstall_cmds=
10544 postuninstall_cmds=
10545 finish_cmds=
10546 finish_eval=
10547 shlibpath_var=
10548 shlibpath_overrides_runpath=unknown
10549 version_type=none
10550 dynamic_linker="$host_os ld.so"
10551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10552 need_lib_prefix=unknown
10553 hardcode_into_libs=no
10555 # when you set need_version to no, make sure it does not cause -set_version
10556 # flags to be left without arguments
10557 need_version=unknown
10559 case $host_os in
10560 aix3*)
10561 version_type=linux
10562 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10563 shlibpath_var=LIBPATH
10565 # AIX 3 has no versioning support, so we append a major version to the name.
10566 soname_spec='${libname}${release}${shared_ext}$major'
10569 aix[4-9]*)
10570 version_type=linux
10571 need_lib_prefix=no
10572 need_version=no
10573 hardcode_into_libs=yes
10574 if test "$host_cpu" = ia64; then
10575 # AIX 5 supports IA64
10576 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10577 shlibpath_var=LD_LIBRARY_PATH
10578 else
10579 # With GCC up to 2.95.x, collect2 would create an import file
10580 # for dependence libraries. The import file would start with
10581 # the line `#! .'. This would cause the generated library to
10582 # depend on `.', always an invalid library. This was fixed in
10583 # development snapshots of GCC prior to 3.0.
10584 case $host_os in
10585 aix4 | aix4.[01] | aix4.[01].*)
10586 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10587 echo ' yes '
10588 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10590 else
10591 can_build_shared=no
10594 esac
10595 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10596 # soname into executable. Probably we can add versioning support to
10597 # collect2, so additional links can be useful in future.
10598 if test "$aix_use_runtimelinking" = yes; then
10599 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10600 # instead of lib<name>.a to let people know that these are not
10601 # typical AIX shared libraries.
10602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10603 else
10604 # We preserve .a as extension for shared libraries through AIX4.2
10605 # and later when we are not doing run time linking.
10606 library_names_spec='${libname}${release}.a $libname.a'
10607 soname_spec='${libname}${release}${shared_ext}$major'
10609 shlibpath_var=LIBPATH
10613 amigaos*)
10614 case $host_cpu in
10615 powerpc)
10616 # Since July 2007 AmigaOS4 officially supports .so libraries.
10617 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10620 m68k)
10621 library_names_spec='$libname.ixlibrary $libname.a'
10622 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10623 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'
10625 esac
10628 beos*)
10629 library_names_spec='${libname}${shared_ext}'
10630 dynamic_linker="$host_os ld.so"
10631 shlibpath_var=LIBRARY_PATH
10634 bsdi[45]*)
10635 version_type=linux
10636 need_version=no
10637 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10638 soname_spec='${libname}${release}${shared_ext}$major'
10639 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10640 shlibpath_var=LD_LIBRARY_PATH
10641 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10642 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10643 # the default ld.so.conf also contains /usr/contrib/lib and
10644 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10645 # libtool to hard-code these into programs
10648 cygwin* | mingw* | pw32* | cegcc*)
10649 version_type=windows
10650 shrext_cmds=".dll"
10651 need_version=no
10652 need_lib_prefix=no
10654 case $GCC,$host_os in
10655 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10656 library_names_spec='$libname.dll.a'
10657 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10658 postinstall_cmds='base_file=`basename \${file}`~
10659 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10660 dldir=$destdir/`dirname \$dlpath`~
10661 test -d \$dldir || mkdir -p \$dldir~
10662 $install_prog $dir/$dlname \$dldir/$dlname~
10663 chmod a+x \$dldir/$dlname~
10664 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10665 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10667 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10668 dlpath=$dir/\$dldll~
10669 $RM \$dlpath'
10670 shlibpath_overrides_runpath=yes
10672 case $host_os in
10673 cygwin*)
10674 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10675 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10677 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10679 mingw* | cegcc*)
10680 # MinGW DLLs use traditional 'lib' prefix
10681 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10683 pw32*)
10684 # pw32 DLLs use 'pw' prefix rather than 'lib'
10685 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10687 esac
10691 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10693 esac
10694 dynamic_linker='Win32 ld.exe'
10695 # FIXME: first we should search . and the directory the executable is in
10696 shlibpath_var=PATH
10699 darwin* | rhapsody*)
10700 dynamic_linker="$host_os dyld"
10701 version_type=darwin
10702 need_lib_prefix=no
10703 need_version=no
10704 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10705 soname_spec='${libname}${release}${major}$shared_ext'
10706 shlibpath_overrides_runpath=yes
10707 shlibpath_var=DYLD_LIBRARY_PATH
10708 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10710 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10711 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10714 dgux*)
10715 version_type=linux
10716 need_lib_prefix=no
10717 need_version=no
10718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 shlibpath_var=LD_LIBRARY_PATH
10723 freebsd* | dragonfly*)
10724 # DragonFly does not have aout. When/if they implement a new
10725 # versioning mechanism, adjust this.
10726 if test -x /usr/bin/objformat; then
10727 objformat=`/usr/bin/objformat`
10728 else
10729 case $host_os in
10730 freebsd[23].*) objformat=aout ;;
10731 *) objformat=elf ;;
10732 esac
10734 version_type=freebsd-$objformat
10735 case $version_type in
10736 freebsd-elf*)
10737 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10738 need_version=no
10739 need_lib_prefix=no
10741 freebsd-*)
10742 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10743 need_version=yes
10745 esac
10746 shlibpath_var=LD_LIBRARY_PATH
10747 case $host_os in
10748 freebsd2.*)
10749 shlibpath_overrides_runpath=yes
10751 freebsd3.[01]* | freebsdelf3.[01]*)
10752 shlibpath_overrides_runpath=yes
10753 hardcode_into_libs=yes
10755 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10756 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10757 shlibpath_overrides_runpath=no
10758 hardcode_into_libs=yes
10760 *) # from 4.6 on, and DragonFly
10761 shlibpath_overrides_runpath=yes
10762 hardcode_into_libs=yes
10764 esac
10767 gnu*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 shlibpath_var=LD_LIBRARY_PATH
10774 hardcode_into_libs=yes
10777 haiku*)
10778 version_type=linux
10779 need_lib_prefix=no
10780 need_version=no
10781 dynamic_linker="$host_os runtime_loader"
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 shlibpath_var=LIBRARY_PATH
10785 shlibpath_overrides_runpath=yes
10786 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10787 hardcode_into_libs=yes
10790 hpux9* | hpux10* | hpux11*)
10791 # Give a soname corresponding to the major version so that dld.sl refuses to
10792 # link against other versions.
10793 version_type=sunos
10794 need_lib_prefix=no
10795 need_version=no
10796 case $host_cpu in
10797 ia64*)
10798 shrext_cmds='.so'
10799 hardcode_into_libs=yes
10800 dynamic_linker="$host_os dld.so"
10801 shlibpath_var=LD_LIBRARY_PATH
10802 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10804 soname_spec='${libname}${release}${shared_ext}$major'
10805 if test "X$HPUX_IA64_MODE" = X32; then
10806 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10807 else
10808 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10810 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10812 hppa*64*)
10813 shrext_cmds='.sl'
10814 hardcode_into_libs=yes
10815 dynamic_linker="$host_os dld.sl"
10816 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10817 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10818 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10819 soname_spec='${libname}${release}${shared_ext}$major'
10820 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10821 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10824 shrext_cmds='.sl'
10825 dynamic_linker="$host_os dld.sl"
10826 shlibpath_var=SHLIB_PATH
10827 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10828 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10829 soname_spec='${libname}${release}${shared_ext}$major'
10831 esac
10832 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10833 postinstall_cmds='chmod 555 $lib'
10834 # or fails outright, so override atomically:
10835 install_override_mode=555
10838 interix[3-9]*)
10839 version_type=linux
10840 need_lib_prefix=no
10841 need_version=no
10842 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10843 soname_spec='${libname}${release}${shared_ext}$major'
10844 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10845 shlibpath_var=LD_LIBRARY_PATH
10846 shlibpath_overrides_runpath=no
10847 hardcode_into_libs=yes
10850 irix5* | irix6* | nonstopux*)
10851 case $host_os in
10852 nonstopux*) version_type=nonstopux ;;
10854 if test "$lt_cv_prog_gnu_ld" = yes; then
10855 version_type=linux
10856 else
10857 version_type=irix
10858 fi ;;
10859 esac
10860 need_lib_prefix=no
10861 need_version=no
10862 soname_spec='${libname}${release}${shared_ext}$major'
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10864 case $host_os in
10865 irix5* | nonstopux*)
10866 libsuff= shlibsuff=
10869 case $LD in # libtool.m4 will add one of these switches to LD
10870 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10871 libsuff= shlibsuff= libmagic=32-bit;;
10872 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10873 libsuff=32 shlibsuff=N32 libmagic=N32;;
10874 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10875 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10876 *) libsuff= shlibsuff= libmagic=never-match;;
10877 esac
10879 esac
10880 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10881 shlibpath_overrides_runpath=no
10882 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10883 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10884 hardcode_into_libs=yes
10887 # No shared lib support for Linux oldld, aout, or coff.
10888 linux*oldld* | linux*aout* | linux*coff*)
10889 dynamic_linker=no
10892 # This must be Linux ELF.
10893 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10894 version_type=linux
10895 need_lib_prefix=no
10896 need_version=no
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 soname_spec='${libname}${release}${shared_ext}$major'
10899 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10900 shlibpath_var=LD_LIBRARY_PATH
10901 shlibpath_overrides_runpath=no
10903 # Some binutils ld are patched to set DT_RUNPATH
10904 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10905 $as_echo_n "(cached) " >&6
10906 else
10907 lt_cv_shlibpath_overrides_runpath=no
10908 save_LDFLAGS=$LDFLAGS
10909 save_libdir=$libdir
10910 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10911 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10912 if test x$gcc_no_link = xyes; then
10913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10916 /* end confdefs.h. */
10919 main ()
10923 return 0;
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10928 lt_cv_shlibpath_overrides_runpath=yes
10931 rm -f core conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LDFLAGS=$save_LDFLAGS
10934 libdir=$save_libdir
10938 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10940 # This implies no fast_install, which is unacceptable.
10941 # Some rework will be needed to allow for fast_install
10942 # before this can be enabled.
10943 hardcode_into_libs=yes
10945 # Append ld.so.conf contents to the search path
10946 if test -f /etc/ld.so.conf; then
10947 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' ' '`
10948 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10951 # We used to test for /lib/ld.so.1 and disable shared libraries on
10952 # powerpc, because MkLinux only supported shared libraries with the
10953 # GNU dynamic linker. Since this was broken with cross compilers,
10954 # most powerpc-linux boxes support dynamic linking these days and
10955 # people can always --disable-shared, the test was removed, and we
10956 # assume the GNU/Linux dynamic linker is in use.
10957 dynamic_linker='GNU/Linux ld.so'
10960 netbsd*)
10961 version_type=sunos
10962 need_lib_prefix=no
10963 need_version=no
10964 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10966 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10967 dynamic_linker='NetBSD (a.out) ld.so'
10968 else
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10970 soname_spec='${libname}${release}${shared_ext}$major'
10971 dynamic_linker='NetBSD ld.elf_so'
10973 shlibpath_var=LD_LIBRARY_PATH
10974 shlibpath_overrides_runpath=yes
10975 hardcode_into_libs=yes
10978 newsos6)
10979 version_type=linux
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10985 *nto* | *qnx*)
10986 version_type=qnx
10987 need_lib_prefix=no
10988 need_version=no
10989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10990 soname_spec='${libname}${release}${shared_ext}$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 shlibpath_overrides_runpath=no
10993 hardcode_into_libs=yes
10994 dynamic_linker='ldqnx.so'
10997 openbsd*)
10998 version_type=sunos
10999 sys_lib_dlsearch_path_spec="/usr/lib"
11000 need_lib_prefix=no
11001 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11002 case $host_os in
11003 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11004 *) need_version=no ;;
11005 esac
11006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11007 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11008 shlibpath_var=LD_LIBRARY_PATH
11009 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11010 case $host_os in
11011 openbsd2.[89] | openbsd2.[89].*)
11012 shlibpath_overrides_runpath=no
11015 shlibpath_overrides_runpath=yes
11017 esac
11018 else
11019 shlibpath_overrides_runpath=yes
11023 os2*)
11024 libname_spec='$name'
11025 shrext_cmds=".dll"
11026 need_lib_prefix=no
11027 library_names_spec='$libname${shared_ext} $libname.a'
11028 dynamic_linker='OS/2 ld.exe'
11029 shlibpath_var=LIBPATH
11032 osf3* | osf4* | osf5*)
11033 version_type=osf
11034 need_lib_prefix=no
11035 need_version=no
11036 soname_spec='${libname}${release}${shared_ext}$major'
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11038 shlibpath_var=LD_LIBRARY_PATH
11039 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11040 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11043 rdos*)
11044 dynamic_linker=no
11047 solaris*)
11048 version_type=linux
11049 need_lib_prefix=no
11050 need_version=no
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 shlibpath_var=LD_LIBRARY_PATH
11054 shlibpath_overrides_runpath=yes
11055 hardcode_into_libs=yes
11056 # ldd complains unless libraries are executable
11057 postinstall_cmds='chmod +x $lib'
11060 sunos4*)
11061 version_type=sunos
11062 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11063 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11064 shlibpath_var=LD_LIBRARY_PATH
11065 shlibpath_overrides_runpath=yes
11066 if test "$with_gnu_ld" = yes; then
11067 need_lib_prefix=no
11069 need_version=yes
11072 sysv4 | sysv4.3*)
11073 version_type=linux
11074 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11075 soname_spec='${libname}${release}${shared_ext}$major'
11076 shlibpath_var=LD_LIBRARY_PATH
11077 case $host_vendor in
11078 sni)
11079 shlibpath_overrides_runpath=no
11080 need_lib_prefix=no
11081 runpath_var=LD_RUN_PATH
11083 siemens)
11084 need_lib_prefix=no
11086 motorola)
11087 need_lib_prefix=no
11088 need_version=no
11089 shlibpath_overrides_runpath=no
11090 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11092 esac
11095 sysv4*MP*)
11096 if test -d /usr/nec ;then
11097 version_type=linux
11098 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11099 soname_spec='$libname${shared_ext}.$major'
11100 shlibpath_var=LD_LIBRARY_PATH
11104 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11105 version_type=freebsd-elf
11106 need_lib_prefix=no
11107 need_version=no
11108 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11109 soname_spec='${libname}${release}${shared_ext}$major'
11110 shlibpath_var=LD_LIBRARY_PATH
11111 shlibpath_overrides_runpath=yes
11112 hardcode_into_libs=yes
11113 if test "$with_gnu_ld" = yes; then
11114 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11115 else
11116 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11117 case $host_os in
11118 sco3.2v5*)
11119 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11121 esac
11123 sys_lib_dlsearch_path_spec='/usr/lib'
11126 tpf*)
11127 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11128 version_type=linux
11129 need_lib_prefix=no
11130 need_version=no
11131 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11132 shlibpath_var=LD_LIBRARY_PATH
11133 shlibpath_overrides_runpath=no
11134 hardcode_into_libs=yes
11137 uts4*)
11138 version_type=linux
11139 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11140 soname_spec='${libname}${release}${shared_ext}$major'
11141 shlibpath_var=LD_LIBRARY_PATH
11145 dynamic_linker=no
11147 esac
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11149 $as_echo "$dynamic_linker" >&6; }
11150 test "$dynamic_linker" = no && can_build_shared=no
11152 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11153 if test "$GCC" = yes; then
11154 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11157 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11158 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11160 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11161 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11256 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11257 hardcode_action=
11258 if test -n "$hardcode_libdir_flag_spec" ||
11259 test -n "$runpath_var" ||
11260 test "X$hardcode_automatic" = "Xyes" ; then
11262 # We can hardcode non-existent directories.
11263 if test "$hardcode_direct" != no &&
11264 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11265 # have to relink, otherwise we might link with an installed library
11266 # when we should be linking with a yet-to-be-installed one
11267 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11268 test "$hardcode_minus_L" != no; then
11269 # Linking always hardcodes the temporary library directory.
11270 hardcode_action=relink
11271 else
11272 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11273 hardcode_action=immediate
11275 else
11276 # We cannot hardcode anything, or else we can only hardcode existing
11277 # directories.
11278 hardcode_action=unsupported
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11281 $as_echo "$hardcode_action" >&6; }
11283 if test "$hardcode_action" = relink ||
11284 test "$inherit_rpath" = yes; then
11285 # Fast installation is not supported
11286 enable_fast_install=no
11287 elif test "$shlibpath_overrides_runpath" = yes ||
11288 test "$enable_shared" = no; then
11289 # Fast installation is not necessary
11290 enable_fast_install=needless
11298 if test "x$enable_dlopen" != xyes; then
11299 enable_dlopen=unknown
11300 enable_dlopen_self=unknown
11301 enable_dlopen_self_static=unknown
11302 else
11303 lt_cv_dlopen=no
11304 lt_cv_dlopen_libs=
11306 case $host_os in
11307 beos*)
11308 lt_cv_dlopen="load_add_on"
11309 lt_cv_dlopen_libs=
11310 lt_cv_dlopen_self=yes
11313 mingw* | pw32* | cegcc*)
11314 lt_cv_dlopen="LoadLibrary"
11315 lt_cv_dlopen_libs=
11318 cygwin*)
11319 lt_cv_dlopen="dlopen"
11320 lt_cv_dlopen_libs=
11323 darwin*)
11324 # if libdl is installed we need to link against it
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11326 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11327 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11328 $as_echo_n "(cached) " >&6
11329 else
11330 ac_check_lib_save_LIBS=$LIBS
11331 LIBS="-ldl $LIBS"
11332 if test x$gcc_no_link = xyes; then
11333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11336 /* end confdefs.h. */
11338 /* Override any GCC internal prototype to avoid an error.
11339 Use char because int might match the return type of a GCC
11340 builtin and then its argument prototype would still apply. */
11341 #ifdef __cplusplus
11342 extern "C"
11343 #endif
11344 char dlopen ();
11346 main ()
11348 return dlopen ();
11350 return 0;
11352 _ACEOF
11353 if ac_fn_c_try_link "$LINENO"; then :
11354 ac_cv_lib_dl_dlopen=yes
11355 else
11356 ac_cv_lib_dl_dlopen=no
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_lib_save_LIBS
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11363 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11364 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11365 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11366 else
11368 lt_cv_dlopen="dyld"
11369 lt_cv_dlopen_libs=
11370 lt_cv_dlopen_self=yes
11377 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11378 if test "x$ac_cv_func_shl_load" = x""yes; then :
11379 lt_cv_dlopen="shl_load"
11380 else
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11382 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11383 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11384 $as_echo_n "(cached) " >&6
11385 else
11386 ac_check_lib_save_LIBS=$LIBS
11387 LIBS="-ldld $LIBS"
11388 if test x$gcc_no_link = xyes; then
11389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11392 /* end confdefs.h. */
11394 /* Override any GCC internal prototype to avoid an error.
11395 Use char because int might match the return type of a GCC
11396 builtin and then its argument prototype would still apply. */
11397 #ifdef __cplusplus
11398 extern "C"
11399 #endif
11400 char shl_load ();
11402 main ()
11404 return shl_load ();
11406 return 0;
11408 _ACEOF
11409 if ac_fn_c_try_link "$LINENO"; then :
11410 ac_cv_lib_dld_shl_load=yes
11411 else
11412 ac_cv_lib_dld_shl_load=no
11414 rm -f core conftest.err conftest.$ac_objext \
11415 conftest$ac_exeext conftest.$ac_ext
11416 LIBS=$ac_check_lib_save_LIBS
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11419 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11420 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11421 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11422 else
11423 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11424 if test "x$ac_cv_func_dlopen" = x""yes; then :
11425 lt_cv_dlopen="dlopen"
11426 else
11427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11428 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11429 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11430 $as_echo_n "(cached) " >&6
11431 else
11432 ac_check_lib_save_LIBS=$LIBS
11433 LIBS="-ldl $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 dlopen ();
11448 main ()
11450 return dlopen ();
11452 return 0;
11454 _ACEOF
11455 if ac_fn_c_try_link "$LINENO"; then :
11456 ac_cv_lib_dl_dlopen=yes
11457 else
11458 ac_cv_lib_dl_dlopen=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_dl_dlopen" >&5
11465 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11466 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11467 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11468 else
11469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11470 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11471 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11472 $as_echo_n "(cached) " >&6
11473 else
11474 ac_check_lib_save_LIBS=$LIBS
11475 LIBS="-lsvld $LIBS"
11476 if test x$gcc_no_link = xyes; then
11477 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11480 /* end confdefs.h. */
11482 /* Override any GCC internal prototype to avoid an error.
11483 Use char because int might match the return type of a GCC
11484 builtin and then its argument prototype would still apply. */
11485 #ifdef __cplusplus
11486 extern "C"
11487 #endif
11488 char dlopen ();
11490 main ()
11492 return dlopen ();
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 ac_cv_lib_svld_dlopen=yes
11499 else
11500 ac_cv_lib_svld_dlopen=no
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LIBS=$ac_check_lib_save_LIBS
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11507 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11508 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11509 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11510 else
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11512 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11513 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11514 $as_echo_n "(cached) " >&6
11515 else
11516 ac_check_lib_save_LIBS=$LIBS
11517 LIBS="-ldld $LIBS"
11518 if test x$gcc_no_link = xyes; then
11519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char dld_link ();
11532 main ()
11534 return dld_link ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 ac_cv_lib_dld_dld_link=yes
11541 else
11542 ac_cv_lib_dld_dld_link=no
11544 rm -f core conftest.err conftest.$ac_objext \
11545 conftest$ac_exeext conftest.$ac_ext
11546 LIBS=$ac_check_lib_save_LIBS
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11549 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11550 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11551 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11570 esac
11572 if test "x$lt_cv_dlopen" != xno; then
11573 enable_dlopen=yes
11574 else
11575 enable_dlopen=no
11578 case $lt_cv_dlopen in
11579 dlopen)
11580 save_CPPFLAGS="$CPPFLAGS"
11581 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11583 save_LDFLAGS="$LDFLAGS"
11584 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11586 save_LIBS="$LIBS"
11587 LIBS="$lt_cv_dlopen_libs $LIBS"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11590 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11591 if test "${lt_cv_dlopen_self+set}" = set; then :
11592 $as_echo_n "(cached) " >&6
11593 else
11594 if test "$cross_compiling" = yes; then :
11595 lt_cv_dlopen_self=cross
11596 else
11597 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11598 lt_status=$lt_dlunknown
11599 cat > conftest.$ac_ext <<_LT_EOF
11600 #line 11600 "configure"
11601 #include "confdefs.h"
11603 #if HAVE_DLFCN_H
11604 #include <dlfcn.h>
11605 #endif
11607 #include <stdio.h>
11609 #ifdef RTLD_GLOBAL
11610 # define LT_DLGLOBAL RTLD_GLOBAL
11611 #else
11612 # ifdef DL_GLOBAL
11613 # define LT_DLGLOBAL DL_GLOBAL
11614 # else
11615 # define LT_DLGLOBAL 0
11616 # endif
11617 #endif
11619 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11620 find out it does not work in some platform. */
11621 #ifndef LT_DLLAZY_OR_NOW
11622 # ifdef RTLD_LAZY
11623 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11624 # else
11625 # ifdef DL_LAZY
11626 # define LT_DLLAZY_OR_NOW DL_LAZY
11627 # else
11628 # ifdef RTLD_NOW
11629 # define LT_DLLAZY_OR_NOW RTLD_NOW
11630 # else
11631 # ifdef DL_NOW
11632 # define LT_DLLAZY_OR_NOW DL_NOW
11633 # else
11634 # define LT_DLLAZY_OR_NOW 0
11635 # endif
11636 # endif
11637 # endif
11638 # endif
11639 #endif
11641 /* When -fvisbility=hidden is used, assume the code has been annotated
11642 correspondingly for the symbols needed. */
11643 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11644 void fnord () __attribute__((visibility("default")));
11645 #endif
11647 void fnord () { int i=42; }
11648 int main ()
11650 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11651 int status = $lt_dlunknown;
11653 if (self)
11655 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11656 else
11658 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11659 else puts (dlerror ());
11661 /* dlclose (self); */
11663 else
11664 puts (dlerror ());
11666 return status;
11668 _LT_EOF
11669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11670 (eval $ac_link) 2>&5
11671 ac_status=$?
11672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11673 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11674 (./conftest; exit; ) >&5 2>/dev/null
11675 lt_status=$?
11676 case x$lt_status in
11677 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11679 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11680 esac
11681 else :
11682 # compilation failed
11683 lt_cv_dlopen_self=no
11686 rm -fr conftest*
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11691 $as_echo "$lt_cv_dlopen_self" >&6; }
11693 if test "x$lt_cv_dlopen_self" = xyes; then
11694 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11696 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11697 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11698 $as_echo_n "(cached) " >&6
11699 else
11700 if test "$cross_compiling" = yes; then :
11701 lt_cv_dlopen_self_static=cross
11702 else
11703 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11704 lt_status=$lt_dlunknown
11705 cat > conftest.$ac_ext <<_LT_EOF
11706 #line 11706 "configure"
11707 #include "confdefs.h"
11709 #if HAVE_DLFCN_H
11710 #include <dlfcn.h>
11711 #endif
11713 #include <stdio.h>
11715 #ifdef RTLD_GLOBAL
11716 # define LT_DLGLOBAL RTLD_GLOBAL
11717 #else
11718 # ifdef DL_GLOBAL
11719 # define LT_DLGLOBAL DL_GLOBAL
11720 # else
11721 # define LT_DLGLOBAL 0
11722 # endif
11723 #endif
11725 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11726 find out it does not work in some platform. */
11727 #ifndef LT_DLLAZY_OR_NOW
11728 # ifdef RTLD_LAZY
11729 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11730 # else
11731 # ifdef DL_LAZY
11732 # define LT_DLLAZY_OR_NOW DL_LAZY
11733 # else
11734 # ifdef RTLD_NOW
11735 # define LT_DLLAZY_OR_NOW RTLD_NOW
11736 # else
11737 # ifdef DL_NOW
11738 # define LT_DLLAZY_OR_NOW DL_NOW
11739 # else
11740 # define LT_DLLAZY_OR_NOW 0
11741 # endif
11742 # endif
11743 # endif
11744 # endif
11745 #endif
11747 /* When -fvisbility=hidden is used, assume the code has been annotated
11748 correspondingly for the symbols needed. */
11749 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11750 void fnord () __attribute__((visibility("default")));
11751 #endif
11753 void fnord () { int i=42; }
11754 int main ()
11756 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11757 int status = $lt_dlunknown;
11759 if (self)
11761 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11762 else
11764 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11765 else puts (dlerror ());
11767 /* dlclose (self); */
11769 else
11770 puts (dlerror ());
11772 return status;
11774 _LT_EOF
11775 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11776 (eval $ac_link) 2>&5
11777 ac_status=$?
11778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11779 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11780 (./conftest; exit; ) >&5 2>/dev/null
11781 lt_status=$?
11782 case x$lt_status in
11783 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11785 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11786 esac
11787 else :
11788 # compilation failed
11789 lt_cv_dlopen_self_static=no
11792 rm -fr conftest*
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11797 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11800 CPPFLAGS="$save_CPPFLAGS"
11801 LDFLAGS="$save_LDFLAGS"
11802 LIBS="$save_LIBS"
11804 esac
11806 case $lt_cv_dlopen_self in
11807 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11808 *) enable_dlopen_self=unknown ;;
11809 esac
11811 case $lt_cv_dlopen_self_static in
11812 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11813 *) enable_dlopen_self_static=unknown ;;
11814 esac
11833 striplib=
11834 old_striplib=
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11836 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11837 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11838 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11839 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11841 $as_echo "yes" >&6; }
11842 else
11843 # FIXME - insert some real tests, host_os isn't really good enough
11844 case $host_os in
11845 darwin*)
11846 if test -n "$STRIP" ; then
11847 striplib="$STRIP -x"
11848 old_striplib="$STRIP -S"
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11850 $as_echo "yes" >&6; }
11851 else
11852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11853 $as_echo "no" >&6; }
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11858 $as_echo "no" >&6; }
11860 esac
11874 # Report which library types will actually be built
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11876 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11878 $as_echo "$can_build_shared" >&6; }
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11881 $as_echo_n "checking whether to build shared libraries... " >&6; }
11882 test "$can_build_shared" = "no" && enable_shared=no
11884 # On AIX, shared libraries and static libraries use the same namespace, and
11885 # are all built from PIC.
11886 case $host_os in
11887 aix3*)
11888 test "$enable_shared" = yes && enable_static=no
11889 if test -n "$RANLIB"; then
11890 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11891 postinstall_cmds='$RANLIB $lib'
11895 aix[4-9]*)
11896 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11897 test "$enable_shared" = yes && enable_static=no
11900 esac
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11902 $as_echo "$enable_shared" >&6; }
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11905 $as_echo_n "checking whether to build static libraries... " >&6; }
11906 # Make sure either enable_shared or enable_static is yes.
11907 test "$enable_shared" = yes || enable_static=yes
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11909 $as_echo "$enable_static" >&6; }
11915 ac_ext=c
11916 ac_cpp='$CPP $CPPFLAGS'
11917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11921 CC="$lt_save_CC"
11923 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11924 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11925 (test "X$CXX" != "Xg++"))) ; then
11926 ac_ext=cpp
11927 ac_cpp='$CXXCPP $CPPFLAGS'
11928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11932 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11933 if test -z "$CXXCPP"; then
11934 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11935 $as_echo_n "(cached) " >&6
11936 else
11937 # Double quotes because CXXCPP needs to be expanded
11938 for CXXCPP in "$CXX -E" "/lib/cpp"
11940 ac_preproc_ok=false
11941 for ac_cxx_preproc_warn_flag in '' yes
11943 # Use a header file that comes with gcc, so configuring glibc
11944 # with a fresh cross-compiler works.
11945 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11946 # <limits.h> exists even on freestanding compilers.
11947 # On the NeXT, cc -E runs the code through the compiler's parser,
11948 # not just through cpp. "Syntax error" is here to catch this case.
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #ifdef __STDC__
11952 # include <limits.h>
11953 #else
11954 # include <assert.h>
11955 #endif
11956 Syntax error
11957 _ACEOF
11958 if ac_fn_cxx_try_cpp "$LINENO"; then :
11960 else
11961 # Broken: fails on valid input.
11962 continue
11964 rm -f conftest.err conftest.$ac_ext
11966 # OK, works on sane cases. Now check whether nonexistent headers
11967 # can be detected and how.
11968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11969 /* end confdefs.h. */
11970 #include <ac_nonexistent.h>
11971 _ACEOF
11972 if ac_fn_cxx_try_cpp "$LINENO"; then :
11973 # Broken: success on invalid input.
11974 continue
11975 else
11976 # Passes both tests.
11977 ac_preproc_ok=:
11978 break
11980 rm -f conftest.err conftest.$ac_ext
11982 done
11983 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11984 rm -f conftest.err conftest.$ac_ext
11985 if $ac_preproc_ok; then :
11986 break
11989 done
11990 ac_cv_prog_CXXCPP=$CXXCPP
11993 CXXCPP=$ac_cv_prog_CXXCPP
11994 else
11995 ac_cv_prog_CXXCPP=$CXXCPP
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11998 $as_echo "$CXXCPP" >&6; }
11999 ac_preproc_ok=false
12000 for ac_cxx_preproc_warn_flag in '' yes
12002 # Use a header file that comes with gcc, so configuring glibc
12003 # with a fresh cross-compiler works.
12004 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12005 # <limits.h> exists even on freestanding compilers.
12006 # On the NeXT, cc -E runs the code through the compiler's parser,
12007 # not just through cpp. "Syntax error" is here to catch this case.
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 #ifdef __STDC__
12011 # include <limits.h>
12012 #else
12013 # include <assert.h>
12014 #endif
12015 Syntax error
12016 _ACEOF
12017 if ac_fn_cxx_try_cpp "$LINENO"; then :
12019 else
12020 # Broken: fails on valid input.
12021 continue
12023 rm -f conftest.err conftest.$ac_ext
12025 # OK, works on sane cases. Now check whether nonexistent headers
12026 # can be detected and how.
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 #include <ac_nonexistent.h>
12030 _ACEOF
12031 if ac_fn_cxx_try_cpp "$LINENO"; then :
12032 # Broken: success on invalid input.
12033 continue
12034 else
12035 # Passes both tests.
12036 ac_preproc_ok=:
12037 break
12039 rm -f conftest.err conftest.$ac_ext
12041 done
12042 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12043 rm -f conftest.err conftest.$ac_ext
12044 if $ac_preproc_ok; then :
12046 else
12047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12049 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12050 See \`config.log' for more details." "$LINENO" 5; }
12053 ac_ext=c
12054 ac_cpp='$CPP $CPPFLAGS'
12055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12059 else
12060 _lt_caught_CXX_error=yes
12063 ac_ext=cpp
12064 ac_cpp='$CXXCPP $CPPFLAGS'
12065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12069 archive_cmds_need_lc_CXX=no
12070 allow_undefined_flag_CXX=
12071 always_export_symbols_CXX=no
12072 archive_expsym_cmds_CXX=
12073 compiler_needs_object_CXX=no
12074 export_dynamic_flag_spec_CXX=
12075 hardcode_direct_CXX=no
12076 hardcode_direct_absolute_CXX=no
12077 hardcode_libdir_flag_spec_CXX=
12078 hardcode_libdir_flag_spec_ld_CXX=
12079 hardcode_libdir_separator_CXX=
12080 hardcode_minus_L_CXX=no
12081 hardcode_shlibpath_var_CXX=unsupported
12082 hardcode_automatic_CXX=no
12083 inherit_rpath_CXX=no
12084 module_cmds_CXX=
12085 module_expsym_cmds_CXX=
12086 link_all_deplibs_CXX=unknown
12087 old_archive_cmds_CXX=$old_archive_cmds
12088 reload_flag_CXX=$reload_flag
12089 reload_cmds_CXX=$reload_cmds
12090 no_undefined_flag_CXX=
12091 whole_archive_flag_spec_CXX=
12092 enable_shared_with_static_runtimes_CXX=no
12094 # Source file extension for C++ test sources.
12095 ac_ext=cpp
12097 # Object file extension for compiled C++ test sources.
12098 objext=o
12099 objext_CXX=$objext
12101 # No sense in running all these tests if we already determined that
12102 # the CXX compiler isn't working. Some variables (like enable_shared)
12103 # are currently assumed to apply to all compilers on this platform,
12104 # and will be corrupted by setting them based on a non-working compiler.
12105 if test "$_lt_caught_CXX_error" != yes; then
12106 # Code to be used in simple compile tests
12107 lt_simple_compile_test_code="int some_variable = 0;"
12109 # Code to be used in simple link tests
12110 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12112 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12119 # If no C compiler was specified, use CC.
12120 LTCC=${LTCC-"$CC"}
12122 # If no C compiler flags were specified, use CFLAGS.
12123 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12125 # Allow CC to be a program name with arguments.
12126 compiler=$CC
12129 # save warnings/boilerplate of simple test code
12130 ac_outfile=conftest.$ac_objext
12131 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12132 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12133 _lt_compiler_boilerplate=`cat conftest.err`
12134 $RM conftest*
12136 ac_outfile=conftest.$ac_objext
12137 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12138 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12139 _lt_linker_boilerplate=`cat conftest.err`
12140 $RM -r conftest*
12143 # Allow CC to be a program name with arguments.
12144 lt_save_CC=$CC
12145 lt_save_LD=$LD
12146 lt_save_GCC=$GCC
12147 GCC=$GXX
12148 lt_save_with_gnu_ld=$with_gnu_ld
12149 lt_save_path_LD=$lt_cv_path_LD
12150 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12151 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12152 else
12153 $as_unset lt_cv_prog_gnu_ld
12155 if test -n "${lt_cv_path_LDCXX+set}"; then
12156 lt_cv_path_LD=$lt_cv_path_LDCXX
12157 else
12158 $as_unset lt_cv_path_LD
12160 test -z "${LDCXX+set}" || LD=$LDCXX
12161 CC=${CXX-"c++"}
12162 compiler=$CC
12163 compiler_CXX=$CC
12164 for cc_temp in $compiler""; do
12165 case $cc_temp in
12166 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12167 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12168 \-*) ;;
12169 *) break;;
12170 esac
12171 done
12172 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12175 if test -n "$compiler"; then
12176 # We don't want -fno-exception when compiling C++ code, so set the
12177 # no_builtin_flag separately
12178 if test "$GXX" = yes; then
12179 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12180 else
12181 lt_prog_compiler_no_builtin_flag_CXX=
12184 if test "$GXX" = yes; then
12185 # Set up default GNU C++ configuration
12189 # Check whether --with-gnu-ld was given.
12190 if test "${with_gnu_ld+set}" = set; then :
12191 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12192 else
12193 with_gnu_ld=no
12196 ac_prog=ld
12197 if test "$GCC" = yes; then
12198 # Check if gcc -print-prog-name=ld gives a path.
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12200 $as_echo_n "checking for ld used by $CC... " >&6; }
12201 case $host in
12202 *-*-mingw*)
12203 # gcc leaves a trailing carriage return which upsets mingw
12204 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12206 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12207 esac
12208 case $ac_prog in
12209 # Accept absolute paths.
12210 [\\/]* | ?:[\\/]*)
12211 re_direlt='/[^/][^/]*/\.\./'
12212 # Canonicalize the pathname of ld
12213 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12214 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12215 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12216 done
12217 test -z "$LD" && LD="$ac_prog"
12220 # If it fails, then pretend we aren't using GCC.
12221 ac_prog=ld
12224 # If it is relative, then search for the first ld in PATH.
12225 with_gnu_ld=unknown
12227 esac
12228 elif test "$with_gnu_ld" = yes; then
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12230 $as_echo_n "checking for GNU ld... " >&6; }
12231 else
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12233 $as_echo_n "checking for non-GNU ld... " >&6; }
12235 if test "${lt_cv_path_LD+set}" = set; then :
12236 $as_echo_n "(cached) " >&6
12237 else
12238 if test -z "$LD"; then
12239 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12240 for ac_dir in $PATH; do
12241 IFS="$lt_save_ifs"
12242 test -z "$ac_dir" && ac_dir=.
12243 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12244 lt_cv_path_LD="$ac_dir/$ac_prog"
12245 # Check to see if the program is GNU ld. I'd rather use --version,
12246 # but apparently some variants of GNU ld only accept -v.
12247 # Break only if it was the GNU/non-GNU ld that we prefer.
12248 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12249 *GNU* | *'with BFD'*)
12250 test "$with_gnu_ld" != no && break
12253 test "$with_gnu_ld" != yes && break
12255 esac
12257 done
12258 IFS="$lt_save_ifs"
12259 else
12260 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12264 LD="$lt_cv_path_LD"
12265 if test -n "$LD"; then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12267 $as_echo "$LD" >&6; }
12268 else
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12270 $as_echo "no" >&6; }
12272 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12274 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12275 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12279 case `$LD -v 2>&1 </dev/null` in
12280 *GNU* | *'with BFD'*)
12281 lt_cv_prog_gnu_ld=yes
12284 lt_cv_prog_gnu_ld=no
12286 esac
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12289 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12290 with_gnu_ld=$lt_cv_prog_gnu_ld
12298 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12299 # archiving commands below assume that GNU ld is being used.
12300 if test "$with_gnu_ld" = yes; then
12301 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12302 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12304 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12305 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12307 # If archive_cmds runs LD, not CC, wlarc should be empty
12308 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12309 # investigate it a little bit more. (MM)
12310 wlarc='${wl}'
12312 # ancient GNU ld didn't support --whole-archive et. al.
12313 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12314 $GREP 'no-whole-archive' > /dev/null; then
12315 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12316 else
12317 whole_archive_flag_spec_CXX=
12319 else
12320 with_gnu_ld=no
12321 wlarc=
12323 # A generic and very simple default shared library creation
12324 # command for GNU C++ for the case where it uses the native
12325 # linker, instead of GNU ld. If possible, this setting should
12326 # overridden to take advantage of the native linker features on
12327 # the platform it is being used on.
12328 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12331 # Commands to make compiler produce verbose output that lists
12332 # what "hidden" libraries, object files and flags are used when
12333 # linking a shared library.
12334 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12336 else
12337 GXX=no
12338 with_gnu_ld=no
12339 wlarc=
12342 # PORTME: fill in a description of your system's C++ link characteristics
12343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12344 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12345 ld_shlibs_CXX=yes
12346 case $host_os in
12347 aix3*)
12348 # FIXME: insert proper C++ library support
12349 ld_shlibs_CXX=no
12351 aix[4-9]*)
12352 if test "$host_cpu" = ia64; then
12353 # On IA64, the linker does run time linking by default, so we don't
12354 # have to do anything special.
12355 aix_use_runtimelinking=no
12356 exp_sym_flag='-Bexport'
12357 no_entry_flag=""
12358 else
12359 aix_use_runtimelinking=no
12361 # Test if we are trying to use run time linking or normal
12362 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12363 # need to do runtime linking.
12364 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12365 for ld_flag in $LDFLAGS; do
12366 case $ld_flag in
12367 *-brtl*)
12368 aix_use_runtimelinking=yes
12369 break
12371 esac
12372 done
12374 esac
12376 exp_sym_flag='-bexport'
12377 no_entry_flag='-bnoentry'
12380 # When large executables or shared objects are built, AIX ld can
12381 # have problems creating the table of contents. If linking a library
12382 # or program results in "error TOC overflow" add -mminimal-toc to
12383 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12384 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12386 archive_cmds_CXX=''
12387 hardcode_direct_CXX=yes
12388 hardcode_direct_absolute_CXX=yes
12389 hardcode_libdir_separator_CXX=':'
12390 link_all_deplibs_CXX=yes
12391 file_list_spec_CXX='${wl}-f,'
12393 if test "$GXX" = yes; then
12394 case $host_os in aix4.[012]|aix4.[012].*)
12395 # We only want to do this on AIX 4.2 and lower, the check
12396 # below for broken collect2 doesn't work under 4.3+
12397 collect2name=`${CC} -print-prog-name=collect2`
12398 if test -f "$collect2name" &&
12399 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12400 then
12401 # We have reworked collect2
12403 else
12404 # We have old collect2
12405 hardcode_direct_CXX=unsupported
12406 # It fails to find uninstalled libraries when the uninstalled
12407 # path is not listed in the libpath. Setting hardcode_minus_L
12408 # to unsupported forces relinking
12409 hardcode_minus_L_CXX=yes
12410 hardcode_libdir_flag_spec_CXX='-L$libdir'
12411 hardcode_libdir_separator_CXX=
12413 esac
12414 shared_flag='-shared'
12415 if test "$aix_use_runtimelinking" = yes; then
12416 shared_flag="$shared_flag "'${wl}-G'
12418 else
12419 # not using gcc
12420 if test "$host_cpu" = ia64; then
12421 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12422 # chokes on -Wl,-G. The following line is correct:
12423 shared_flag='-G'
12424 else
12425 if test "$aix_use_runtimelinking" = yes; then
12426 shared_flag='${wl}-G'
12427 else
12428 shared_flag='${wl}-bM:SRE'
12433 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12434 # It seems that -bexpall does not export symbols beginning with
12435 # underscore (_), so it is better to generate a list of symbols to
12436 # export.
12437 always_export_symbols_CXX=yes
12438 if test "$aix_use_runtimelinking" = yes; then
12439 # Warning - without using the other runtime loading flags (-brtl),
12440 # -berok will link without error, but may produce a broken library.
12441 allow_undefined_flag_CXX='-berok'
12442 # Determine the default libpath from the value encoded in an empty
12443 # executable.
12444 if test x$gcc_no_link = xyes; then
12445 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12451 main ()
12455 return 0;
12457 _ACEOF
12458 if ac_fn_cxx_try_link "$LINENO"; then :
12460 lt_aix_libpath_sed='
12461 /Import File Strings/,/^$/ {
12462 /^0/ {
12463 s/^0 *\(.*\)$/\1/
12467 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12468 # Check for a 64-bit object if we didn't find anything.
12469 if test -z "$aix_libpath"; then
12470 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12477 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12479 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"
12480 else
12481 if test "$host_cpu" = ia64; then
12482 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12483 allow_undefined_flag_CXX="-z nodefs"
12484 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"
12485 else
12486 # Determine the default libpath from the value encoded in an
12487 # empty executable.
12488 if test x$gcc_no_link = xyes; then
12489 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12492 /* end confdefs.h. */
12495 main ()
12499 return 0;
12501 _ACEOF
12502 if ac_fn_cxx_try_link "$LINENO"; then :
12504 lt_aix_libpath_sed='
12505 /Import File Strings/,/^$/ {
12506 /^0/ {
12507 s/^0 *\(.*\)$/\1/
12511 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12512 # Check for a 64-bit object if we didn't find anything.
12513 if test -z "$aix_libpath"; then
12514 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12517 rm -f core conftest.err conftest.$ac_objext \
12518 conftest$ac_exeext conftest.$ac_ext
12519 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12521 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12522 # Warning - without using the other run time loading flags,
12523 # -berok will link without error, but may produce a broken library.
12524 no_undefined_flag_CXX=' ${wl}-bernotok'
12525 allow_undefined_flag_CXX=' ${wl}-berok'
12526 if test "$with_gnu_ld" = yes; then
12527 # We only use this code for GNU lds that support --whole-archive.
12528 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12529 else
12530 # Exported symbols can be pulled into shared objects from archives
12531 whole_archive_flag_spec_CXX='$convenience'
12533 archive_cmds_need_lc_CXX=yes
12534 # This is similar to how AIX traditionally builds its shared
12535 # libraries.
12536 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'
12541 beos*)
12542 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12543 allow_undefined_flag_CXX=unsupported
12544 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12545 # support --undefined. This deserves some investigation. FIXME
12546 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12547 else
12548 ld_shlibs_CXX=no
12552 chorus*)
12553 case $cc_basename in
12555 # FIXME: insert proper C++ library support
12556 ld_shlibs_CXX=no
12558 esac
12561 cygwin* | mingw* | pw32* | cegcc*)
12562 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12563 # as there is no search path for DLLs.
12564 hardcode_libdir_flag_spec_CXX='-L$libdir'
12565 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12566 allow_undefined_flag_CXX=unsupported
12567 always_export_symbols_CXX=no
12568 enable_shared_with_static_runtimes_CXX=yes
12570 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12571 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'
12572 # If the export-symbols file already is a .def file (1st line
12573 # is EXPORTS), use it as is; otherwise, prepend...
12574 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12575 cp $export_symbols $output_objdir/$soname.def;
12576 else
12577 echo EXPORTS > $output_objdir/$soname.def;
12578 cat $export_symbols >> $output_objdir/$soname.def;
12580 $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'
12581 else
12582 ld_shlibs_CXX=no
12585 darwin* | rhapsody*)
12588 archive_cmds_need_lc_CXX=no
12589 hardcode_direct_CXX=no
12590 hardcode_automatic_CXX=yes
12591 hardcode_shlibpath_var_CXX=unsupported
12592 if test "$lt_cv_ld_force_load" = "yes"; then
12593 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\"`'
12594 else
12595 whole_archive_flag_spec_CXX=''
12597 link_all_deplibs_CXX=yes
12598 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12599 case $cc_basename in
12600 ifort*) _lt_dar_can_shared=yes ;;
12601 *) _lt_dar_can_shared=$GCC ;;
12602 esac
12603 if test "$_lt_dar_can_shared" = "yes"; then
12604 output_verbose_link_cmd=func_echo_all
12605 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}"
12606 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12607 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}"
12608 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}"
12609 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12610 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}"
12611 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}"
12614 else
12615 ld_shlibs_CXX=no
12620 dgux*)
12621 case $cc_basename in
12622 ec++*)
12623 # FIXME: insert proper C++ library support
12624 ld_shlibs_CXX=no
12626 ghcx*)
12627 # Green Hills C++ Compiler
12628 # FIXME: insert proper C++ library support
12629 ld_shlibs_CXX=no
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12635 esac
12638 freebsd2.*)
12639 # C++ shared libraries reported to be fairly broken before
12640 # switch to ELF
12641 ld_shlibs_CXX=no
12644 freebsd-elf*)
12645 archive_cmds_need_lc_CXX=no
12648 freebsd* | dragonfly*)
12649 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12650 # conventions
12651 ld_shlibs_CXX=yes
12654 gnu*)
12657 haiku*)
12658 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12659 link_all_deplibs_CXX=yes
12662 hpux9*)
12663 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12664 hardcode_libdir_separator_CXX=:
12665 export_dynamic_flag_spec_CXX='${wl}-E'
12666 hardcode_direct_CXX=yes
12667 hardcode_minus_L_CXX=yes # Not in the search PATH,
12668 # but as the default
12669 # location of the library.
12671 case $cc_basename in
12672 CC*)
12673 # FIXME: insert proper C++ library support
12674 ld_shlibs_CXX=no
12676 aCC*)
12677 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'
12678 # Commands to make compiler produce verbose output that lists
12679 # what "hidden" libraries, object files and flags are used when
12680 # linking a shared library.
12682 # There doesn't appear to be a way to prevent this compiler from
12683 # explicitly linking system object files so we need to strip them
12684 # from the output so that they don't get included in the library
12685 # dependencies.
12686 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"'
12689 if test "$GXX" = yes; then
12690 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'
12691 else
12692 # FIXME: insert proper C++ library support
12693 ld_shlibs_CXX=no
12696 esac
12699 hpux10*|hpux11*)
12700 if test $with_gnu_ld = no; then
12701 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12702 hardcode_libdir_separator_CXX=:
12704 case $host_cpu in
12705 hppa*64*|ia64*)
12708 export_dynamic_flag_spec_CXX='${wl}-E'
12710 esac
12712 case $host_cpu in
12713 hppa*64*|ia64*)
12714 hardcode_direct_CXX=no
12715 hardcode_shlibpath_var_CXX=no
12718 hardcode_direct_CXX=yes
12719 hardcode_direct_absolute_CXX=yes
12720 hardcode_minus_L_CXX=yes # Not in the search PATH,
12721 # but as the default
12722 # location of the library.
12724 esac
12726 case $cc_basename in
12727 CC*)
12728 # FIXME: insert proper C++ library support
12729 ld_shlibs_CXX=no
12731 aCC*)
12732 case $host_cpu in
12733 hppa*64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12736 ia64*)
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12740 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12742 esac
12743 # Commands to make compiler produce verbose output that lists
12744 # what "hidden" libraries, object files and flags are used when
12745 # linking a shared library.
12747 # There doesn't appear to be a way to prevent this compiler from
12748 # explicitly linking system object files so we need to strip them
12749 # from the output so that they don't get included in the library
12750 # dependencies.
12751 output_verbose_link_cmd='templist=`($CC -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"'
12754 if test "$GXX" = yes; then
12755 if test $with_gnu_ld = no; then
12756 case $host_cpu in
12757 hppa*64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12760 ia64*)
12761 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12764 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'
12766 esac
12768 else
12769 # FIXME: insert proper C++ library support
12770 ld_shlibs_CXX=no
12773 esac
12776 interix[3-9]*)
12777 hardcode_direct_CXX=no
12778 hardcode_shlibpath_var_CXX=no
12779 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12780 export_dynamic_flag_spec_CXX='${wl}-E'
12781 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12782 # Instead, shared libraries are loaded at an image base (0x10000000 by
12783 # default) and relocated if they conflict, which is a slow very memory
12784 # consuming and fragmenting process. To avoid this, we pick a random,
12785 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12786 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12787 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'
12788 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'
12790 irix5* | irix6*)
12791 case $cc_basename in
12792 CC*)
12793 # SGI C++
12794 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'
12796 # Archives containing C++ object files must be created using
12797 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12798 # necessary to make sure instantiated templates are included
12799 # in the archive.
12800 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12803 if test "$GXX" = yes; then
12804 if test "$with_gnu_ld" = no; then
12805 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'
12806 else
12807 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'
12810 link_all_deplibs_CXX=yes
12812 esac
12813 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12814 hardcode_libdir_separator_CXX=:
12815 inherit_rpath_CXX=yes
12818 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12819 case $cc_basename in
12820 KCC*)
12821 # Kuck and Associates, Inc. (KAI) C++ Compiler
12823 # KCC will only create a shared library if the output file
12824 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12825 # to its proper name (with version) after linking.
12826 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'
12827 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'
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12832 # There doesn't appear to be a way to prevent this compiler from
12833 # explicitly linking system object files so we need to strip them
12834 # from the output so that they don't get included in the library
12835 # dependencies.
12836 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"'
12838 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12841 # Archives containing C++ object files must be created using
12842 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12843 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12845 icpc* | ecpc* )
12846 # Intel C++
12847 with_gnu_ld=yes
12848 # version 8.0 and above of icpc choke on multiply defined symbols
12849 # if we add $predep_objects and $postdep_objects, however 7.1 and
12850 # earlier do not add the objects themselves.
12851 case `$CC -V 2>&1` in
12852 *"Version 7."*)
12853 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12854 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'
12856 *) # Version 8.0 or newer
12857 tmp_idyn=
12858 case $host_cpu in
12859 ia64*) tmp_idyn=' -i_dynamic';;
12860 esac
12861 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12862 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'
12864 esac
12865 archive_cmds_need_lc_CXX=no
12866 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12867 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12868 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12870 pgCC* | pgcpp*)
12871 # Portland Group C++ compiler
12872 case `$CC -V` in
12873 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12874 prelink_cmds_CXX='tpldir=Template.dir~
12875 rm -rf $tpldir~
12876 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12877 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12878 old_archive_cmds_CXX='tpldir=Template.dir~
12879 rm -rf $tpldir~
12880 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12881 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12882 $RANLIB $oldlib'
12883 archive_cmds_CXX='tpldir=Template.dir~
12884 rm -rf $tpldir~
12885 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12886 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12887 archive_expsym_cmds_CXX='tpldir=Template.dir~
12888 rm -rf $tpldir~
12889 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12890 $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'
12892 *) # Version 6 and above use weak symbols
12893 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12894 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'
12896 esac
12898 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12899 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12900 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'
12902 cxx*)
12903 # Compaq C++
12904 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12905 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'
12907 runpath_var=LD_RUN_PATH
12908 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12909 hardcode_libdir_separator_CXX=:
12911 # Commands to make compiler produce verbose output that lists
12912 # what "hidden" libraries, object files and flags are used when
12913 # linking a shared library.
12915 # There doesn't appear to be a way to prevent this compiler from
12916 # explicitly linking system object files so we need to strip them
12917 # from the output so that they don't get included in the library
12918 # dependencies.
12919 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'
12921 xl* | mpixl* | bgxl*)
12922 # IBM XL 8.0 on PPC, with GNU ld
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12924 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12925 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12926 if test "x$supports_anon_versioning" = xyes; then
12927 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12928 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12929 echo "local: *; };" >> $output_objdir/$libname.ver~
12930 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12934 case `$CC -V 2>&1 | sed 5q` in
12935 *Sun\ C*)
12936 # Sun C++ 5.9
12937 no_undefined_flag_CXX=' -zdefs'
12938 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12939 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'
12940 hardcode_libdir_flag_spec_CXX='-R$libdir'
12941 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'
12942 compiler_needs_object_CXX=yes
12944 # Not sure whether something based on
12945 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12946 # would be better.
12947 output_verbose_link_cmd='func_echo_all'
12949 # Archives containing C++ object files must be created using
12950 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12951 # necessary to make sure instantiated templates are included
12952 # in the archive.
12953 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12955 esac
12957 esac
12960 lynxos*)
12961 # FIXME: insert proper C++ library support
12962 ld_shlibs_CXX=no
12965 m88k*)
12966 # FIXME: insert proper C++ library support
12967 ld_shlibs_CXX=no
12970 mvs*)
12971 case $cc_basename in
12972 cxx*)
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12977 # FIXME: insert proper C++ library support
12978 ld_shlibs_CXX=no
12980 esac
12983 netbsd*)
12984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12985 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12986 wlarc=
12987 hardcode_libdir_flag_spec_CXX='-R$libdir'
12988 hardcode_direct_CXX=yes
12989 hardcode_shlibpath_var_CXX=no
12991 # Workaround some broken pre-1.5 toolchains
12992 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12995 *nto* | *qnx*)
12996 ld_shlibs_CXX=yes
12999 openbsd2*)
13000 # C++ shared libraries are fairly broken
13001 ld_shlibs_CXX=no
13004 openbsd*)
13005 if test -f /usr/libexec/ld.so; then
13006 hardcode_direct_CXX=yes
13007 hardcode_shlibpath_var_CXX=no
13008 hardcode_direct_absolute_CXX=yes
13009 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13010 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13011 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13012 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13013 export_dynamic_flag_spec_CXX='${wl}-E'
13014 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13016 output_verbose_link_cmd=func_echo_all
13017 else
13018 ld_shlibs_CXX=no
13022 osf3* | osf4* | osf5*)
13023 case $cc_basename in
13024 KCC*)
13025 # Kuck and Associates, Inc. (KAI) C++ Compiler
13027 # KCC will only create a shared library if the output file
13028 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13029 # to its proper name (with version) after linking.
13030 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'
13032 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13033 hardcode_libdir_separator_CXX=:
13035 # Archives containing C++ object files must be created using
13036 # the KAI C++ compiler.
13037 case $host in
13038 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13039 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13040 esac
13042 RCC*)
13043 # Rational C++ 2.4.1
13044 # FIXME: insert proper C++ library support
13045 ld_shlibs_CXX=no
13047 cxx*)
13048 case $host in
13049 osf3*)
13050 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13051 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'
13052 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13055 allow_undefined_flag_CXX=' -expect_unresolved \*'
13056 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'
13057 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13058 echo "-hidden">> $lib.exp~
13059 $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~
13060 $RM $lib.exp'
13061 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13063 esac
13065 hardcode_libdir_separator_CXX=:
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13071 # There doesn't appear to be a way to prevent this compiler from
13072 # explicitly linking system object files so we need to strip them
13073 # from the output so that they don't get included in the library
13074 # dependencies.
13075 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"'
13078 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13079 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13080 case $host in
13081 osf3*)
13082 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'
13085 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'
13087 esac
13089 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13090 hardcode_libdir_separator_CXX=:
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"'
13097 else
13098 # FIXME: insert proper C++ library support
13099 ld_shlibs_CXX=no
13102 esac
13105 psos*)
13106 # FIXME: insert proper C++ library support
13107 ld_shlibs_CXX=no
13110 sunos4*)
13111 case $cc_basename in
13112 CC*)
13113 # Sun C++ 4.x
13114 # FIXME: insert proper C++ library support
13115 ld_shlibs_CXX=no
13117 lcc*)
13118 # Lucid
13119 # FIXME: insert proper C++ library support
13120 ld_shlibs_CXX=no
13123 # FIXME: insert proper C++ library support
13124 ld_shlibs_CXX=no
13126 esac
13129 solaris*)
13130 case $cc_basename in
13131 CC*)
13132 # Sun C++ 4.2, 5.x and Centerline C++
13133 archive_cmds_need_lc_CXX=yes
13134 no_undefined_flag_CXX=' -zdefs'
13135 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13136 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13137 $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'
13139 hardcode_libdir_flag_spec_CXX='-R$libdir'
13140 hardcode_shlibpath_var_CXX=no
13141 case $host_os in
13142 solaris2.[0-5] | solaris2.[0-5].*) ;;
13144 # The compiler driver will combine and reorder linker options,
13145 # but understands `-z linker_flag'.
13146 # Supported since Solaris 2.6 (maybe 2.5.1?)
13147 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13149 esac
13150 link_all_deplibs_CXX=yes
13152 output_verbose_link_cmd='func_echo_all'
13154 # Archives containing C++ object files must be created using
13155 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13156 # necessary to make sure instantiated templates are included
13157 # in the archive.
13158 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13160 gcx*)
13161 # Green Hills C++ Compiler
13162 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13164 # The C++ compiler must be used to create the archive.
13165 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13168 # GNU C++ compiler with Solaris linker
13169 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13170 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13171 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13172 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13173 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13174 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13176 # Commands to make compiler produce verbose output that lists
13177 # what "hidden" libraries, object files and flags are used when
13178 # linking a shared library.
13179 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13180 else
13181 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13182 # platform.
13183 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13184 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13185 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13187 # Commands to make compiler produce verbose output that lists
13188 # what "hidden" libraries, object files and flags are used when
13189 # linking a shared library.
13190 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13193 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13194 case $host_os in
13195 solaris2.[0-5] | solaris2.[0-5].*) ;;
13197 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13199 esac
13202 esac
13205 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13206 no_undefined_flag_CXX='${wl}-z,text'
13207 archive_cmds_need_lc_CXX=no
13208 hardcode_shlibpath_var_CXX=no
13209 runpath_var='LD_RUN_PATH'
13211 case $cc_basename in
13212 CC*)
13213 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13218 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13220 esac
13223 sysv5* | sco3.2v5* | sco5v6*)
13224 # Note: We can NOT use -z defs as we might desire, because we do not
13225 # link with -lc, and that would cause any symbols used from libc to
13226 # always be unresolved, which means just about no library would
13227 # ever link correctly. If we're not using GNU ld we use -z text
13228 # though, which does catch some bad symbols but isn't as heavy-handed
13229 # as -z defs.
13230 no_undefined_flag_CXX='${wl}-z,text'
13231 allow_undefined_flag_CXX='${wl}-z,nodefs'
13232 archive_cmds_need_lc_CXX=no
13233 hardcode_shlibpath_var_CXX=no
13234 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13235 hardcode_libdir_separator_CXX=':'
13236 link_all_deplibs_CXX=yes
13237 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13238 runpath_var='LD_RUN_PATH'
13240 case $cc_basename in
13241 CC*)
13242 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13244 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13245 '"$old_archive_cmds_CXX"
13246 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13247 '"$reload_cmds_CXX"
13250 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13251 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13253 esac
13256 tandem*)
13257 case $cc_basename in
13258 NCC*)
13259 # NonStop-UX NCC 3.20
13260 # FIXME: insert proper C++ library support
13261 ld_shlibs_CXX=no
13264 # FIXME: insert proper C++ library support
13265 ld_shlibs_CXX=no
13267 esac
13270 vxworks*)
13271 # FIXME: insert proper C++ library support
13272 ld_shlibs_CXX=no
13276 # FIXME: insert proper C++ library support
13277 ld_shlibs_CXX=no
13279 esac
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13282 $as_echo "$ld_shlibs_CXX" >&6; }
13283 test "$ld_shlibs_CXX" = no && can_build_shared=no
13285 GCC_CXX="$GXX"
13286 LD_CXX="$LD"
13288 ## CAVEAT EMPTOR:
13289 ## There is no encapsulation within the following macros, do not change
13290 ## the running order or otherwise move them around unless you know exactly
13291 ## what you are doing...
13292 # Dependencies to place before and after the object being linked:
13293 predep_objects_CXX=
13294 postdep_objects_CXX=
13295 predeps_CXX=
13296 postdeps_CXX=
13297 compiler_lib_search_path_CXX=
13299 cat > conftest.$ac_ext <<_LT_EOF
13300 class Foo
13302 public:
13303 Foo (void) { a = 0; }
13304 private:
13305 int a;
13307 _LT_EOF
13309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13310 (eval $ac_compile) 2>&5
13311 ac_status=$?
13312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13313 test $ac_status = 0; }; then
13314 # Parse the compiler output and extract the necessary
13315 # objects, libraries and library flags.
13317 # Sentinel used to keep track of whether or not we are before
13318 # the conftest object file.
13319 pre_test_object_deps_done=no
13321 for p in `eval "$output_verbose_link_cmd"`; do
13322 case $p in
13324 -L* | -R* | -l*)
13325 # Some compilers place space between "-{L,R}" and the path.
13326 # Remove the space.
13327 if test $p = "-L" ||
13328 test $p = "-R"; then
13329 prev=$p
13330 continue
13331 else
13332 prev=
13335 if test "$pre_test_object_deps_done" = no; then
13336 case $p in
13337 -L* | -R*)
13338 # Internal compiler library paths should come after those
13339 # provided the user. The postdeps already come after the
13340 # user supplied libs so there is no need to process them.
13341 if test -z "$compiler_lib_search_path_CXX"; then
13342 compiler_lib_search_path_CXX="${prev}${p}"
13343 else
13344 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13347 # The "-l" case would never come before the object being
13348 # linked, so don't bother handling this case.
13349 esac
13350 else
13351 if test -z "$postdeps_CXX"; then
13352 postdeps_CXX="${prev}${p}"
13353 else
13354 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13359 *.$objext)
13360 # This assumes that the test object file only shows up
13361 # once in the compiler output.
13362 if test "$p" = "conftest.$objext"; then
13363 pre_test_object_deps_done=yes
13364 continue
13367 if test "$pre_test_object_deps_done" = no; then
13368 if test -z "$predep_objects_CXX"; then
13369 predep_objects_CXX="$p"
13370 else
13371 predep_objects_CXX="$predep_objects_CXX $p"
13373 else
13374 if test -z "$postdep_objects_CXX"; then
13375 postdep_objects_CXX="$p"
13376 else
13377 postdep_objects_CXX="$postdep_objects_CXX $p"
13382 *) ;; # Ignore the rest.
13384 esac
13385 done
13387 # Clean up.
13388 rm -f a.out a.exe
13389 else
13390 echo "libtool.m4: error: problem compiling CXX test program"
13393 $RM -f confest.$objext
13395 # PORTME: override above test on systems where it is broken
13396 case $host_os in
13397 interix[3-9]*)
13398 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13399 # hack all around it, let's just trust "g++" to DTRT.
13400 predep_objects_CXX=
13401 postdep_objects_CXX=
13402 postdeps_CXX=
13405 linux*)
13406 case `$CC -V 2>&1 | sed 5q` in
13407 *Sun\ C*)
13408 # Sun C++ 5.9
13410 # The more standards-conforming stlport4 library is
13411 # incompatible with the Cstd library. Avoid specifying
13412 # it if it's in CXXFLAGS. Ignore libCrun as
13413 # -library=stlport4 depends on it.
13414 case " $CXX $CXXFLAGS " in
13415 *" -library=stlport4 "*)
13416 solaris_use_stlport4=yes
13418 esac
13420 if test "$solaris_use_stlport4" != yes; then
13421 postdeps_CXX='-library=Cstd -library=Crun'
13424 esac
13427 solaris*)
13428 case $cc_basename in
13429 CC*)
13430 # The more standards-conforming stlport4 library is
13431 # incompatible with the Cstd library. Avoid specifying
13432 # it if it's in CXXFLAGS. Ignore libCrun as
13433 # -library=stlport4 depends on it.
13434 case " $CXX $CXXFLAGS " in
13435 *" -library=stlport4 "*)
13436 solaris_use_stlport4=yes
13438 esac
13440 # Adding this requires a known-good setup of shared libraries for
13441 # Sun compiler versions before 5.6, else PIC objects from an old
13442 # archive will be linked into the output, leading to subtle bugs.
13443 if test "$solaris_use_stlport4" != yes; then
13444 postdeps_CXX='-library=Cstd -library=Crun'
13447 esac
13449 esac
13452 case " $postdeps_CXX " in
13453 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13454 esac
13455 compiler_lib_search_dirs_CXX=
13456 if test -n "${compiler_lib_search_path_CXX}"; then
13457 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13490 lt_prog_compiler_wl_CXX=
13491 lt_prog_compiler_pic_CXX=
13492 lt_prog_compiler_static_CXX=
13494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13495 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13497 # C++ specific cases for pic, static, wl, etc.
13498 if test "$GXX" = yes; then
13499 lt_prog_compiler_wl_CXX='-Wl,'
13500 lt_prog_compiler_static_CXX='-static'
13502 case $host_os in
13503 aix*)
13504 # All AIX code is PIC.
13505 if test "$host_cpu" = ia64; then
13506 # AIX 5 now supports IA64 processor
13507 lt_prog_compiler_static_CXX='-Bstatic'
13509 lt_prog_compiler_pic_CXX='-fPIC'
13512 amigaos*)
13513 case $host_cpu in
13514 powerpc)
13515 # see comment about AmigaOS4 .so support
13516 lt_prog_compiler_pic_CXX='-fPIC'
13518 m68k)
13519 # FIXME: we need at least 68020 code to build shared libraries, but
13520 # adding the `-m68020' flag to GCC prevents building anything better,
13521 # like `-m68040'.
13522 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13524 esac
13527 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13528 # PIC is the default for these OSes.
13530 mingw* | cygwin* | os2* | pw32* | cegcc*)
13531 # This hack is so that the source file can tell whether it is being
13532 # built for inclusion in a dll (and should export symbols for example).
13533 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13534 # (--disable-auto-import) libraries
13535 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13537 darwin* | rhapsody*)
13538 # PIC is the default on this platform
13539 # Common symbols not allowed in MH_DYLIB files
13540 lt_prog_compiler_pic_CXX='-fno-common'
13542 *djgpp*)
13543 # DJGPP does not support shared libraries at all
13544 lt_prog_compiler_pic_CXX=
13546 haiku*)
13547 # PIC is the default for Haiku.
13548 # The "-static" flag exists, but is broken.
13549 lt_prog_compiler_static_CXX=
13551 interix[3-9]*)
13552 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13553 # Instead, we relocate shared libraries at runtime.
13555 sysv4*MP*)
13556 if test -d /usr/nec; then
13557 lt_prog_compiler_pic_CXX=-Kconform_pic
13560 hpux*)
13561 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13562 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13563 # sets the default TLS model and affects inlining.
13564 case $host_cpu in
13565 hppa*64*)
13568 lt_prog_compiler_pic_CXX='-fPIC'
13570 esac
13572 *qnx* | *nto*)
13573 # QNX uses GNU C++, but need to define -shared option too, otherwise
13574 # it will coredump.
13575 lt_prog_compiler_pic_CXX='-fPIC -shared'
13578 lt_prog_compiler_pic_CXX='-fPIC'
13580 esac
13581 else
13582 case $host_os in
13583 aix[4-9]*)
13584 # All AIX code is PIC.
13585 if test "$host_cpu" = ia64; then
13586 # AIX 5 now supports IA64 processor
13587 lt_prog_compiler_static_CXX='-Bstatic'
13588 else
13589 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13592 chorus*)
13593 case $cc_basename in
13594 cxch68*)
13595 # Green Hills C++ Compiler
13596 # _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"
13598 esac
13600 dgux*)
13601 case $cc_basename in
13602 ec++*)
13603 lt_prog_compiler_pic_CXX='-KPIC'
13605 ghcx*)
13606 # Green Hills C++ Compiler
13607 lt_prog_compiler_pic_CXX='-pic'
13611 esac
13613 freebsd* | dragonfly*)
13614 # FreeBSD uses GNU C++
13616 hpux9* | hpux10* | hpux11*)
13617 case $cc_basename in
13618 CC*)
13619 lt_prog_compiler_wl_CXX='-Wl,'
13620 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13621 if test "$host_cpu" != ia64; then
13622 lt_prog_compiler_pic_CXX='+Z'
13625 aCC*)
13626 lt_prog_compiler_wl_CXX='-Wl,'
13627 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13628 case $host_cpu in
13629 hppa*64*|ia64*)
13630 # +Z the default
13633 lt_prog_compiler_pic_CXX='+Z'
13635 esac
13639 esac
13641 interix*)
13642 # This is c89, which is MS Visual C++ (no shared libs)
13643 # Anyone wants to do a port?
13645 irix5* | irix6* | nonstopux*)
13646 case $cc_basename in
13647 CC*)
13648 lt_prog_compiler_wl_CXX='-Wl,'
13649 lt_prog_compiler_static_CXX='-non_shared'
13650 # CC pic flag -KPIC is the default.
13654 esac
13656 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13657 case $cc_basename in
13658 KCC*)
13659 # KAI C++ Compiler
13660 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 lt_prog_compiler_pic_CXX='-fPIC'
13663 ecpc* )
13664 # old Intel C++ for x86_64 which still supported -KPIC.
13665 lt_prog_compiler_wl_CXX='-Wl,'
13666 lt_prog_compiler_pic_CXX='-KPIC'
13667 lt_prog_compiler_static_CXX='-static'
13669 icpc* )
13670 # Intel C++, used to be incompatible with GCC.
13671 # ICC 10 doesn't accept -KPIC any more.
13672 lt_prog_compiler_wl_CXX='-Wl,'
13673 lt_prog_compiler_pic_CXX='-fPIC'
13674 lt_prog_compiler_static_CXX='-static'
13676 pgCC* | pgcpp*)
13677 # Portland Group C++ compiler
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 lt_prog_compiler_pic_CXX='-fpic'
13680 lt_prog_compiler_static_CXX='-Bstatic'
13682 cxx*)
13683 # Compaq C++
13684 # Make sure the PIC flag is empty. It appears that all Alpha
13685 # Linux and Compaq Tru64 Unix objects are PIC.
13686 lt_prog_compiler_pic_CXX=
13687 lt_prog_compiler_static_CXX='-non_shared'
13689 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13690 # IBM XL 8.0, 9.0 on PPC and BlueGene
13691 lt_prog_compiler_wl_CXX='-Wl,'
13692 lt_prog_compiler_pic_CXX='-qpic'
13693 lt_prog_compiler_static_CXX='-qstaticlink'
13696 case `$CC -V 2>&1 | sed 5q` in
13697 *Sun\ C*)
13698 # Sun C++ 5.9
13699 lt_prog_compiler_pic_CXX='-KPIC'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 lt_prog_compiler_wl_CXX='-Qoption ld '
13703 esac
13705 esac
13707 lynxos*)
13709 m88k*)
13711 mvs*)
13712 case $cc_basename in
13713 cxx*)
13714 lt_prog_compiler_pic_CXX='-W c,exportall'
13718 esac
13720 netbsd*)
13722 *qnx* | *nto*)
13723 # QNX uses GNU C++, but need to define -shared option too, otherwise
13724 # it will coredump.
13725 lt_prog_compiler_pic_CXX='-fPIC -shared'
13727 osf3* | osf4* | osf5*)
13728 case $cc_basename in
13729 KCC*)
13730 lt_prog_compiler_wl_CXX='--backend -Wl,'
13732 RCC*)
13733 # Rational C++ 2.4.1
13734 lt_prog_compiler_pic_CXX='-pic'
13736 cxx*)
13737 # Digital/Compaq C++
13738 lt_prog_compiler_wl_CXX='-Wl,'
13739 # Make sure the PIC flag is empty. It appears that all Alpha
13740 # Linux and Compaq Tru64 Unix objects are PIC.
13741 lt_prog_compiler_pic_CXX=
13742 lt_prog_compiler_static_CXX='-non_shared'
13746 esac
13748 psos*)
13750 solaris*)
13751 case $cc_basename in
13752 CC*)
13753 # Sun C++ 4.2, 5.x and Centerline C++
13754 lt_prog_compiler_pic_CXX='-KPIC'
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 lt_prog_compiler_wl_CXX='-Qoption ld '
13758 gcx*)
13759 # Green Hills C++ Compiler
13760 lt_prog_compiler_pic_CXX='-PIC'
13764 esac
13766 sunos4*)
13767 case $cc_basename in
13768 CC*)
13769 # Sun C++ 4.x
13770 lt_prog_compiler_pic_CXX='-pic'
13771 lt_prog_compiler_static_CXX='-Bstatic'
13773 lcc*)
13774 # Lucid
13775 lt_prog_compiler_pic_CXX='-pic'
13779 esac
13781 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13782 case $cc_basename in
13783 CC*)
13784 lt_prog_compiler_wl_CXX='-Wl,'
13785 lt_prog_compiler_pic_CXX='-KPIC'
13786 lt_prog_compiler_static_CXX='-Bstatic'
13788 esac
13790 tandem*)
13791 case $cc_basename in
13792 NCC*)
13793 # NonStop-UX NCC 3.20
13794 lt_prog_compiler_pic_CXX='-KPIC'
13798 esac
13800 vxworks*)
13803 lt_prog_compiler_can_build_shared_CXX=no
13805 esac
13808 case $host_os in
13809 # For platforms which do not support PIC, -DPIC is meaningless:
13810 *djgpp*)
13811 lt_prog_compiler_pic_CXX=
13814 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13816 esac
13817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13818 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13823 # Check to make sure the PIC flag actually works.
13825 if test -n "$lt_prog_compiler_pic_CXX"; then
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13827 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13828 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13829 $as_echo_n "(cached) " >&6
13830 else
13831 lt_cv_prog_compiler_pic_works_CXX=no
13832 ac_outfile=conftest.$ac_objext
13833 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13834 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13835 # Insert the option either (1) after the last *FLAGS variable, or
13836 # (2) before a word containing "conftest.", or (3) at the end.
13837 # Note that $ac_compile itself does not contain backslashes and begins
13838 # with a dollar sign (not a hyphen), so the echo should work correctly.
13839 # The option is referenced via a variable to avoid confusing sed.
13840 lt_compile=`echo "$ac_compile" | $SED \
13841 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13842 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13843 -e 's:$: $lt_compiler_flag:'`
13844 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13845 (eval "$lt_compile" 2>conftest.err)
13846 ac_status=$?
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 if (exit $ac_status) && test -s "$ac_outfile"; then
13850 # The compiler can only warn and ignore the option if not recognized
13851 # So say no if there are warnings other than the usual output.
13852 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13853 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13854 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13855 lt_cv_prog_compiler_pic_works_CXX=yes
13858 $RM conftest*
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13862 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13864 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13865 case $lt_prog_compiler_pic_CXX in
13866 "" | " "*) ;;
13867 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13868 esac
13869 else
13870 lt_prog_compiler_pic_CXX=
13871 lt_prog_compiler_can_build_shared_CXX=no
13879 # Check to make sure the static flag actually works.
13881 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13883 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13884 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 lt_cv_prog_compiler_static_works_CXX=no
13888 save_LDFLAGS="$LDFLAGS"
13889 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13890 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13891 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13892 # The linker can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 if test -s conftest.err; then
13895 # Append any errors to the config.log.
13896 cat conftest.err 1>&5
13897 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13898 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13899 if diff conftest.exp conftest.er2 >/dev/null; then
13900 lt_cv_prog_compiler_static_works_CXX=yes
13902 else
13903 lt_cv_prog_compiler_static_works_CXX=yes
13906 $RM -r conftest*
13907 LDFLAGS="$save_LDFLAGS"
13910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13911 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13913 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13915 else
13916 lt_prog_compiler_static_CXX=
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13923 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13924 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13925 $as_echo_n "(cached) " >&6
13926 else
13927 lt_cv_prog_compiler_c_o_CXX=no
13928 $RM -r conftest 2>/dev/null
13929 mkdir conftest
13930 cd conftest
13931 mkdir out
13932 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13934 lt_compiler_flag="-o out/conftest2.$ac_objext"
13935 # Insert the option either (1) after the last *FLAGS variable, or
13936 # (2) before a word containing "conftest.", or (3) at the end.
13937 # Note that $ac_compile itself does not contain backslashes and begins
13938 # with a dollar sign (not a hyphen), so the echo should work correctly.
13939 lt_compile=`echo "$ac_compile" | $SED \
13940 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13941 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13942 -e 's:$: $lt_compiler_flag:'`
13943 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13944 (eval "$lt_compile" 2>out/conftest.err)
13945 ac_status=$?
13946 cat out/conftest.err >&5
13947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13948 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13949 then
13950 # The compiler can only warn and ignore the option if not recognized
13951 # So say no if there are warnings
13952 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13953 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13954 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13955 lt_cv_prog_compiler_c_o_CXX=yes
13958 chmod u+w . 2>&5
13959 $RM conftest*
13960 # SGI C++ compiler will create directory out/ii_files/ for
13961 # template instantiation
13962 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13963 $RM out/* && rmdir out
13964 cd ..
13965 $RM -r conftest
13966 $RM conftest*
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13970 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13976 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13977 $as_echo_n "(cached) " >&6
13978 else
13979 lt_cv_prog_compiler_c_o_CXX=no
13980 $RM -r conftest 2>/dev/null
13981 mkdir conftest
13982 cd conftest
13983 mkdir out
13984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13986 lt_compiler_flag="-o out/conftest2.$ac_objext"
13987 # Insert the option either (1) after the last *FLAGS variable, or
13988 # (2) before a word containing "conftest.", or (3) at the end.
13989 # Note that $ac_compile itself does not contain backslashes and begins
13990 # with a dollar sign (not a hyphen), so the echo should work correctly.
13991 lt_compile=`echo "$ac_compile" | $SED \
13992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13994 -e 's:$: $lt_compiler_flag:'`
13995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13996 (eval "$lt_compile" 2>out/conftest.err)
13997 ac_status=$?
13998 cat out/conftest.err >&5
13999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14001 then
14002 # The compiler can only warn and ignore the option if not recognized
14003 # So say no if there are warnings
14004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14007 lt_cv_prog_compiler_c_o_CXX=yes
14010 chmod u+w . 2>&5
14011 $RM conftest*
14012 # SGI C++ compiler will create directory out/ii_files/ for
14013 # template instantiation
14014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14015 $RM out/* && rmdir out
14016 cd ..
14017 $RM -r conftest
14018 $RM conftest*
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14022 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14027 hard_links="nottested"
14028 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14029 # do not overwrite the value of need_locks provided by the user
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14031 $as_echo_n "checking if we can lock with hard links... " >&6; }
14032 hard_links=yes
14033 $RM conftest*
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 touch conftest.a
14036 ln conftest.a conftest.b 2>&5 || hard_links=no
14037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14039 $as_echo "$hard_links" >&6; }
14040 if test "$hard_links" = no; then
14041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14043 need_locks=warn
14045 else
14046 need_locks=no
14051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14052 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14054 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14055 case $host_os in
14056 aix[4-9]*)
14057 # If we're using GNU nm, then we don't want the "-C" option.
14058 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14059 # Also, AIX nm treats weak defined symbols like other global defined
14060 # symbols, whereas GNU nm marks them as "W".
14061 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14062 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'
14063 else
14064 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14067 pw32*)
14068 export_symbols_cmds_CXX="$ltdll_cmds"
14070 cygwin* | mingw* | cegcc*)
14071 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'
14074 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14076 esac
14077 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14080 $as_echo "$ld_shlibs_CXX" >&6; }
14081 test "$ld_shlibs_CXX" = no && can_build_shared=no
14083 with_gnu_ld_CXX=$with_gnu_ld
14091 # Do we need to explicitly link libc?
14093 case "x$archive_cmds_need_lc_CXX" in
14094 x|xyes)
14095 # Assume -lc should be added
14096 archive_cmds_need_lc_CXX=yes
14098 if test "$enable_shared" = yes && test "$GCC" = yes; then
14099 case $archive_cmds_CXX in
14100 *'~'*)
14101 # FIXME: we may have to deal with multi-command sequences.
14103 '$CC '*)
14104 # Test whether the compiler implicitly links with -lc since on some
14105 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14106 # to ld, don't add -lc before -lgcc.
14107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14108 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14109 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14110 $as_echo_n "(cached) " >&6
14111 else
14112 $RM conftest*
14113 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14115 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14116 (eval $ac_compile) 2>&5
14117 ac_status=$?
14118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14119 test $ac_status = 0; } 2>conftest.err; then
14120 soname=conftest
14121 lib=conftest
14122 libobjs=conftest.$ac_objext
14123 deplibs=
14124 wl=$lt_prog_compiler_wl_CXX
14125 pic_flag=$lt_prog_compiler_pic_CXX
14126 compiler_flags=-v
14127 linker_flags=-v
14128 verstring=
14129 output_objdir=.
14130 libname=conftest
14131 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14132 allow_undefined_flag_CXX=
14133 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14134 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14135 ac_status=$?
14136 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14137 test $ac_status = 0; }
14138 then
14139 lt_cv_archive_cmds_need_lc_CXX=no
14140 else
14141 lt_cv_archive_cmds_need_lc_CXX=yes
14143 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14144 else
14145 cat conftest.err 1>&5
14147 $RM conftest*
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14151 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14152 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14154 esac
14157 esac
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14223 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14225 library_names_spec=
14226 libname_spec='lib$name'
14227 soname_spec=
14228 shrext_cmds=".so"
14229 postinstall_cmds=
14230 postuninstall_cmds=
14231 finish_cmds=
14232 finish_eval=
14233 shlibpath_var=
14234 shlibpath_overrides_runpath=unknown
14235 version_type=none
14236 dynamic_linker="$host_os ld.so"
14237 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14238 need_lib_prefix=unknown
14239 hardcode_into_libs=no
14241 # when you set need_version to no, make sure it does not cause -set_version
14242 # flags to be left without arguments
14243 need_version=unknown
14245 case $host_os in
14246 aix3*)
14247 version_type=linux
14248 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14249 shlibpath_var=LIBPATH
14251 # AIX 3 has no versioning support, so we append a major version to the name.
14252 soname_spec='${libname}${release}${shared_ext}$major'
14255 aix[4-9]*)
14256 version_type=linux
14257 need_lib_prefix=no
14258 need_version=no
14259 hardcode_into_libs=yes
14260 if test "$host_cpu" = ia64; then
14261 # AIX 5 supports IA64
14262 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14263 shlibpath_var=LD_LIBRARY_PATH
14264 else
14265 # With GCC up to 2.95.x, collect2 would create an import file
14266 # for dependence libraries. The import file would start with
14267 # the line `#! .'. This would cause the generated library to
14268 # depend on `.', always an invalid library. This was fixed in
14269 # development snapshots of GCC prior to 3.0.
14270 case $host_os in
14271 aix4 | aix4.[01] | aix4.[01].*)
14272 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14273 echo ' yes '
14274 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14276 else
14277 can_build_shared=no
14280 esac
14281 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14282 # soname into executable. Probably we can add versioning support to
14283 # collect2, so additional links can be useful in future.
14284 if test "$aix_use_runtimelinking" = yes; then
14285 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14286 # instead of lib<name>.a to let people know that these are not
14287 # typical AIX shared libraries.
14288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14289 else
14290 # We preserve .a as extension for shared libraries through AIX4.2
14291 # and later when we are not doing run time linking.
14292 library_names_spec='${libname}${release}.a $libname.a'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14295 shlibpath_var=LIBPATH
14299 amigaos*)
14300 case $host_cpu in
14301 powerpc)
14302 # Since July 2007 AmigaOS4 officially supports .so libraries.
14303 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14304 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14306 m68k)
14307 library_names_spec='$libname.ixlibrary $libname.a'
14308 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14309 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'
14311 esac
14314 beos*)
14315 library_names_spec='${libname}${shared_ext}'
14316 dynamic_linker="$host_os ld.so"
14317 shlibpath_var=LIBRARY_PATH
14320 bsdi[45]*)
14321 version_type=linux
14322 need_version=no
14323 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14324 soname_spec='${libname}${release}${shared_ext}$major'
14325 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14326 shlibpath_var=LD_LIBRARY_PATH
14327 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14328 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14329 # the default ld.so.conf also contains /usr/contrib/lib and
14330 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14331 # libtool to hard-code these into programs
14334 cygwin* | mingw* | pw32* | cegcc*)
14335 version_type=windows
14336 shrext_cmds=".dll"
14337 need_version=no
14338 need_lib_prefix=no
14340 case $GCC,$host_os in
14341 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14342 library_names_spec='$libname.dll.a'
14343 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14344 postinstall_cmds='base_file=`basename \${file}`~
14345 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14346 dldir=$destdir/`dirname \$dlpath`~
14347 test -d \$dldir || mkdir -p \$dldir~
14348 $install_prog $dir/$dlname \$dldir/$dlname~
14349 chmod a+x \$dldir/$dlname~
14350 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14351 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14353 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14354 dlpath=$dir/\$dldll~
14355 $RM \$dlpath'
14356 shlibpath_overrides_runpath=yes
14358 case $host_os in
14359 cygwin*)
14360 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14361 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14364 mingw* | cegcc*)
14365 # MinGW DLLs use traditional 'lib' prefix
14366 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14368 pw32*)
14369 # pw32 DLLs use 'pw' prefix rather than 'lib'
14370 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14372 esac
14376 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14378 esac
14379 dynamic_linker='Win32 ld.exe'
14380 # FIXME: first we should search . and the directory the executable is in
14381 shlibpath_var=PATH
14384 darwin* | rhapsody*)
14385 dynamic_linker="$host_os dyld"
14386 version_type=darwin
14387 need_lib_prefix=no
14388 need_version=no
14389 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14390 soname_spec='${libname}${release}${major}$shared_ext'
14391 shlibpath_overrides_runpath=yes
14392 shlibpath_var=DYLD_LIBRARY_PATH
14393 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14395 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14398 dgux*)
14399 version_type=linux
14400 need_lib_prefix=no
14401 need_version=no
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 shlibpath_var=LD_LIBRARY_PATH
14407 freebsd* | dragonfly*)
14408 # DragonFly does not have aout. When/if they implement a new
14409 # versioning mechanism, adjust this.
14410 if test -x /usr/bin/objformat; then
14411 objformat=`/usr/bin/objformat`
14412 else
14413 case $host_os in
14414 freebsd[23].*) objformat=aout ;;
14415 *) objformat=elf ;;
14416 esac
14418 version_type=freebsd-$objformat
14419 case $version_type in
14420 freebsd-elf*)
14421 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14422 need_version=no
14423 need_lib_prefix=no
14425 freebsd-*)
14426 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14427 need_version=yes
14429 esac
14430 shlibpath_var=LD_LIBRARY_PATH
14431 case $host_os in
14432 freebsd2.*)
14433 shlibpath_overrides_runpath=yes
14435 freebsd3.[01]* | freebsdelf3.[01]*)
14436 shlibpath_overrides_runpath=yes
14437 hardcode_into_libs=yes
14439 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14440 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14441 shlibpath_overrides_runpath=no
14442 hardcode_into_libs=yes
14444 *) # from 4.6 on, and DragonFly
14445 shlibpath_overrides_runpath=yes
14446 hardcode_into_libs=yes
14448 esac
14451 gnu*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 shlibpath_var=LD_LIBRARY_PATH
14458 hardcode_into_libs=yes
14461 haiku*)
14462 version_type=linux
14463 need_lib_prefix=no
14464 need_version=no
14465 dynamic_linker="$host_os runtime_loader"
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 shlibpath_var=LIBRARY_PATH
14469 shlibpath_overrides_runpath=yes
14470 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14471 hardcode_into_libs=yes
14474 hpux9* | hpux10* | hpux11*)
14475 # Give a soname corresponding to the major version so that dld.sl refuses to
14476 # link against other versions.
14477 version_type=sunos
14478 need_lib_prefix=no
14479 need_version=no
14480 case $host_cpu in
14481 ia64*)
14482 shrext_cmds='.so'
14483 hardcode_into_libs=yes
14484 dynamic_linker="$host_os dld.so"
14485 shlibpath_var=LD_LIBRARY_PATH
14486 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 if test "X$HPUX_IA64_MODE" = X32; then
14490 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14491 else
14492 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14494 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14496 hppa*64*)
14497 shrext_cmds='.sl'
14498 hardcode_into_libs=yes
14499 dynamic_linker="$host_os dld.sl"
14500 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14501 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14503 soname_spec='${libname}${release}${shared_ext}$major'
14504 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14505 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14508 shrext_cmds='.sl'
14509 dynamic_linker="$host_os dld.sl"
14510 shlibpath_var=SHLIB_PATH
14511 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14513 soname_spec='${libname}${release}${shared_ext}$major'
14515 esac
14516 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14517 postinstall_cmds='chmod 555 $lib'
14518 # or fails outright, so override atomically:
14519 install_override_mode=555
14522 interix[3-9]*)
14523 version_type=linux
14524 need_lib_prefix=no
14525 need_version=no
14526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14527 soname_spec='${libname}${release}${shared_ext}$major'
14528 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14529 shlibpath_var=LD_LIBRARY_PATH
14530 shlibpath_overrides_runpath=no
14531 hardcode_into_libs=yes
14534 irix5* | irix6* | nonstopux*)
14535 case $host_os in
14536 nonstopux*) version_type=nonstopux ;;
14538 if test "$lt_cv_prog_gnu_ld" = yes; then
14539 version_type=linux
14540 else
14541 version_type=irix
14542 fi ;;
14543 esac
14544 need_lib_prefix=no
14545 need_version=no
14546 soname_spec='${libname}${release}${shared_ext}$major'
14547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14548 case $host_os in
14549 irix5* | nonstopux*)
14550 libsuff= shlibsuff=
14553 case $LD in # libtool.m4 will add one of these switches to LD
14554 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14555 libsuff= shlibsuff= libmagic=32-bit;;
14556 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14557 libsuff=32 shlibsuff=N32 libmagic=N32;;
14558 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14559 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14560 *) libsuff= shlibsuff= libmagic=never-match;;
14561 esac
14563 esac
14564 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14565 shlibpath_overrides_runpath=no
14566 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14567 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14568 hardcode_into_libs=yes
14571 # No shared lib support for Linux oldld, aout, or coff.
14572 linux*oldld* | linux*aout* | linux*coff*)
14573 dynamic_linker=no
14576 # This must be Linux ELF.
14577 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14578 version_type=linux
14579 need_lib_prefix=no
14580 need_version=no
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 soname_spec='${libname}${release}${shared_ext}$major'
14583 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14584 shlibpath_var=LD_LIBRARY_PATH
14585 shlibpath_overrides_runpath=no
14587 # Some binutils ld are patched to set DT_RUNPATH
14588 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14589 $as_echo_n "(cached) " >&6
14590 else
14591 lt_cv_shlibpath_overrides_runpath=no
14592 save_LDFLAGS=$LDFLAGS
14593 save_libdir=$libdir
14594 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14595 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14596 if test x$gcc_no_link = xyes; then
14597 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14600 /* end confdefs.h. */
14603 main ()
14607 return 0;
14609 _ACEOF
14610 if ac_fn_cxx_try_link "$LINENO"; then :
14611 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14612 lt_cv_shlibpath_overrides_runpath=yes
14615 rm -f core conftest.err conftest.$ac_objext \
14616 conftest$ac_exeext conftest.$ac_ext
14617 LDFLAGS=$save_LDFLAGS
14618 libdir=$save_libdir
14622 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14624 # This implies no fast_install, which is unacceptable.
14625 # Some rework will be needed to allow for fast_install
14626 # before this can be enabled.
14627 hardcode_into_libs=yes
14629 # Append ld.so.conf contents to the search path
14630 if test -f /etc/ld.so.conf; then
14631 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' ' '`
14632 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14635 # We used to test for /lib/ld.so.1 and disable shared libraries on
14636 # powerpc, because MkLinux only supported shared libraries with the
14637 # GNU dynamic linker. Since this was broken with cross compilers,
14638 # most powerpc-linux boxes support dynamic linking these days and
14639 # people can always --disable-shared, the test was removed, and we
14640 # assume the GNU/Linux dynamic linker is in use.
14641 dynamic_linker='GNU/Linux ld.so'
14644 netbsd*)
14645 version_type=sunos
14646 need_lib_prefix=no
14647 need_version=no
14648 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14649 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14650 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14651 dynamic_linker='NetBSD (a.out) ld.so'
14652 else
14653 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14654 soname_spec='${libname}${release}${shared_ext}$major'
14655 dynamic_linker='NetBSD ld.elf_so'
14657 shlibpath_var=LD_LIBRARY_PATH
14658 shlibpath_overrides_runpath=yes
14659 hardcode_into_libs=yes
14662 newsos6)
14663 version_type=linux
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14669 *nto* | *qnx*)
14670 version_type=qnx
14671 need_lib_prefix=no
14672 need_version=no
14673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14674 soname_spec='${libname}${release}${shared_ext}$major'
14675 shlibpath_var=LD_LIBRARY_PATH
14676 shlibpath_overrides_runpath=no
14677 hardcode_into_libs=yes
14678 dynamic_linker='ldqnx.so'
14681 openbsd*)
14682 version_type=sunos
14683 sys_lib_dlsearch_path_spec="/usr/lib"
14684 need_lib_prefix=no
14685 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14686 case $host_os in
14687 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14688 *) need_version=no ;;
14689 esac
14690 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14691 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14692 shlibpath_var=LD_LIBRARY_PATH
14693 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14694 case $host_os in
14695 openbsd2.[89] | openbsd2.[89].*)
14696 shlibpath_overrides_runpath=no
14699 shlibpath_overrides_runpath=yes
14701 esac
14702 else
14703 shlibpath_overrides_runpath=yes
14707 os2*)
14708 libname_spec='$name'
14709 shrext_cmds=".dll"
14710 need_lib_prefix=no
14711 library_names_spec='$libname${shared_ext} $libname.a'
14712 dynamic_linker='OS/2 ld.exe'
14713 shlibpath_var=LIBPATH
14716 osf3* | osf4* | osf5*)
14717 version_type=osf
14718 need_lib_prefix=no
14719 need_version=no
14720 soname_spec='${libname}${release}${shared_ext}$major'
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14724 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14727 rdos*)
14728 dynamic_linker=no
14731 solaris*)
14732 version_type=linux
14733 need_lib_prefix=no
14734 need_version=no
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 shlibpath_var=LD_LIBRARY_PATH
14738 shlibpath_overrides_runpath=yes
14739 hardcode_into_libs=yes
14740 # ldd complains unless libraries are executable
14741 postinstall_cmds='chmod +x $lib'
14744 sunos4*)
14745 version_type=sunos
14746 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14747 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14748 shlibpath_var=LD_LIBRARY_PATH
14749 shlibpath_overrides_runpath=yes
14750 if test "$with_gnu_ld" = yes; then
14751 need_lib_prefix=no
14753 need_version=yes
14756 sysv4 | sysv4.3*)
14757 version_type=linux
14758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14759 soname_spec='${libname}${release}${shared_ext}$major'
14760 shlibpath_var=LD_LIBRARY_PATH
14761 case $host_vendor in
14762 sni)
14763 shlibpath_overrides_runpath=no
14764 need_lib_prefix=no
14765 runpath_var=LD_RUN_PATH
14767 siemens)
14768 need_lib_prefix=no
14770 motorola)
14771 need_lib_prefix=no
14772 need_version=no
14773 shlibpath_overrides_runpath=no
14774 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14776 esac
14779 sysv4*MP*)
14780 if test -d /usr/nec ;then
14781 version_type=linux
14782 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14783 soname_spec='$libname${shared_ext}.$major'
14784 shlibpath_var=LD_LIBRARY_PATH
14788 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14789 version_type=freebsd-elf
14790 need_lib_prefix=no
14791 need_version=no
14792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14793 soname_spec='${libname}${release}${shared_ext}$major'
14794 shlibpath_var=LD_LIBRARY_PATH
14795 shlibpath_overrides_runpath=yes
14796 hardcode_into_libs=yes
14797 if test "$with_gnu_ld" = yes; then
14798 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14799 else
14800 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14801 case $host_os in
14802 sco3.2v5*)
14803 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14805 esac
14807 sys_lib_dlsearch_path_spec='/usr/lib'
14810 tpf*)
14811 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14812 version_type=linux
14813 need_lib_prefix=no
14814 need_version=no
14815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14816 shlibpath_var=LD_LIBRARY_PATH
14817 shlibpath_overrides_runpath=no
14818 hardcode_into_libs=yes
14821 uts4*)
14822 version_type=linux
14823 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14824 soname_spec='${libname}${release}${shared_ext}$major'
14825 shlibpath_var=LD_LIBRARY_PATH
14829 dynamic_linker=no
14831 esac
14832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14833 $as_echo "$dynamic_linker" >&6; }
14834 test "$dynamic_linker" = no && can_build_shared=no
14836 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14837 if test "$GCC" = yes; then
14838 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14841 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14842 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14844 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14845 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14886 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14887 hardcode_action_CXX=
14888 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14889 test -n "$runpath_var_CXX" ||
14890 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14892 # We can hardcode non-existent directories.
14893 if test "$hardcode_direct_CXX" != no &&
14894 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14895 # have to relink, otherwise we might link with an installed library
14896 # when we should be linking with a yet-to-be-installed one
14897 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14898 test "$hardcode_minus_L_CXX" != no; then
14899 # Linking always hardcodes the temporary library directory.
14900 hardcode_action_CXX=relink
14901 else
14902 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14903 hardcode_action_CXX=immediate
14905 else
14906 # We cannot hardcode anything, or else we can only hardcode existing
14907 # directories.
14908 hardcode_action_CXX=unsupported
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14911 $as_echo "$hardcode_action_CXX" >&6; }
14913 if test "$hardcode_action_CXX" = relink ||
14914 test "$inherit_rpath_CXX" = yes; then
14915 # Fast installation is not supported
14916 enable_fast_install=no
14917 elif test "$shlibpath_overrides_runpath" = yes ||
14918 test "$enable_shared" = no; then
14919 # Fast installation is not necessary
14920 enable_fast_install=needless
14929 fi # test -n "$compiler"
14931 CC=$lt_save_CC
14932 LDCXX=$LD
14933 LD=$lt_save_LD
14934 GCC=$lt_save_GCC
14935 with_gnu_ld=$lt_save_with_gnu_ld
14936 lt_cv_path_LDCXX=$lt_cv_path_LD
14937 lt_cv_path_LD=$lt_save_path_LD
14938 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14939 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14940 fi # test "$_lt_caught_CXX_error" != yes
14942 ac_ext=c
14943 ac_cpp='$CPP $CPPFLAGS'
14944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14960 ac_config_commands="$ac_config_commands libtool"
14965 # Only expand once:
14971 case $host in
14972 *-cygwin* | *-mingw*)
14973 # 'host' will be top-level target in the case of a target lib,
14974 # we must compare to with_cross_host to decide if this is a native
14975 # or cross-compiler and select where to install dlls appropriately.
14976 if test -n "$with_cross_host" &&
14977 test x"$with_cross_host" != x"no"; then
14978 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14979 else
14980 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14984 lt_host_flags=
14986 esac
14993 if test "$enable_vtable_verify" = yes; then
14994 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14995 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14999 # libtool variables for C++ shared and position-independent compiles.
15001 # Use glibcxx_lt_pic_flag to designate the automake variable
15002 # used to encapsulate the default libtool approach to creating objects
15003 # with position-independent code. Default: -prefer-pic.
15005 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15006 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15008 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15009 # creating position-independent objects. This varies with the target
15010 # hardware and operating system, but is often: -DPIC -fPIC.
15011 if test "$enable_shared" = yes; then
15012 glibcxx_lt_pic_flag="-prefer-pic"
15013 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15014 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15016 else
15017 glibcxx_lt_pic_flag=
15018 glibcxx_compiler_pic_flag=
15019 glibcxx_compiler_shared_flag=
15025 # Override the libtool's pic_flag and pic_mode.
15026 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15027 # NB: this impacts --with-pic and --without-pic.
15028 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15029 pic_mode='default'
15031 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15032 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15034 # Possibly disable most of the library.
15035 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15036 ## than just ignoring the results. Faster /and/ more correct, win win.
15038 # Check whether --enable-hosted-libstdcxx was given.
15039 if test "${enable_hosted_libstdcxx+set}" = set; then :
15040 enableval=$enable_hosted_libstdcxx;
15041 else
15042 case "$host" in
15043 arm*-*-symbianelf*)
15044 enable_hosted_libstdcxx=no
15047 enable_hosted_libstdcxx=yes
15049 esac
15052 if test "$enable_hosted_libstdcxx" = no; then
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15054 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15055 is_hosted=no
15056 hosted_define=0
15057 enable_abi_check=no
15058 enable_libstdcxx_pch=no
15059 else
15060 is_hosted=yes
15061 hosted_define=1
15065 cat >>confdefs.h <<_ACEOF
15066 #define _GLIBCXX_HOSTED $hosted_define
15067 _ACEOF
15071 # Enable descriptive messages to standard output on termination.
15073 # Check whether --enable-libstdcxx-verbose was given.
15074 if test "${enable_libstdcxx_verbose+set}" = set; then :
15075 enableval=$enable_libstdcxx_verbose;
15076 else
15077 enable_libstdcxx_verbose=yes
15080 if test x"$enable_libstdcxx_verbose" = xyes; then
15081 verbose_define=1
15082 else
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15084 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15085 verbose_define=0
15088 cat >>confdefs.h <<_ACEOF
15089 #define _GLIBCXX_VERBOSE $verbose_define
15090 _ACEOF
15094 # Enable compiler support that doesn't require linking.
15096 # Check whether --enable-libstdcxx-pch was given.
15097 if test "${enable_libstdcxx_pch+set}" = set; then :
15098 enableval=$enable_libstdcxx_pch;
15099 case "$enableval" in
15100 yes|no) ;;
15101 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15102 esac
15104 else
15105 enable_libstdcxx_pch=$is_hosted
15109 if test $enable_libstdcxx_pch = yes; then
15110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15111 $as_echo_n "checking for compiler with PCH support... " >&6; }
15112 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15113 $as_echo_n "(cached) " >&6
15114 else
15115 ac_save_CXXFLAGS="$CXXFLAGS"
15116 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15118 ac_ext=cpp
15119 ac_cpp='$CXXCPP $CPPFLAGS'
15120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15124 echo '#include <math.h>' > conftest.h
15125 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15126 -o conftest.h.gch 1>&5 2>&1 &&
15127 echo '#error "pch failed"' > conftest.h &&
15128 echo '#include "conftest.h"' > conftest.cc &&
15129 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15130 then
15131 glibcxx_cv_prog_CXX_pch=yes
15132 else
15133 glibcxx_cv_prog_CXX_pch=no
15135 rm -f conftest*
15136 CXXFLAGS=$ac_save_CXXFLAGS
15137 ac_ext=c
15138 ac_cpp='$CPP $CPPFLAGS'
15139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15146 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15147 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15151 $as_echo_n "checking for enabled PCH... " >&6; }
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15153 $as_echo "$enable_libstdcxx_pch" >&6; }
15156 if test $enable_libstdcxx_pch = yes; then
15157 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15158 else
15159 glibcxx_PCHFLAGS=""
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15165 $as_echo_n "checking for thread model used by GCC... " >&6; }
15166 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15168 $as_echo "$target_thread_file" >&6; }
15170 case $target_thread_file in
15171 aix) thread_header=config/rs6000/gthr-aix.h ;;
15172 dce) thread_header=config/pa/gthr-dce.h ;;
15173 lynx) thread_header=config/gthr-lynx.h ;;
15174 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15175 posix) thread_header=gthr-posix.h ;;
15176 rtems) thread_header=config/gthr-rtems.h ;;
15177 single) thread_header=gthr-single.h ;;
15178 tpf) thread_header=config/s390/gthr-tpf.h ;;
15179 vxworks) thread_header=config/gthr-vxworks.h ;;
15180 win32) thread_header=config/i386/gthr-win32.h ;;
15181 esac
15187 ac_ext=cpp
15188 ac_cpp='$CXXCPP $CPPFLAGS'
15189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15193 old_CXXFLAGS="$CXXFLAGS"
15195 # Do link tests if possible, instead asm tests, limited to some platforms
15196 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15197 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15198 atomic_builtins_link_tests=no
15199 if test x$gcc_no_link != xyes; then
15200 # Can do link tests. Limit to some tested platforms
15201 case "$host" in
15202 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15203 atomic_builtins_link_tests=yes
15205 esac
15208 if test x$atomic_builtins_link_tests = xyes; then
15210 # Do link tests.
15212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15215 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15216 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15217 $as_echo_n "(cached) " >&6
15218 else
15220 if test x$gcc_no_link = xyes; then
15221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15224 /* end confdefs.h. */
15227 main ()
15229 typedef bool atomic_type;
15230 atomic_type c1;
15231 atomic_type c2;
15232 atomic_type c3(0);
15233 // N.B. __atomic_fetch_add is not supported for bool.
15234 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15235 __ATOMIC_RELAXED);
15236 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15237 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15240 return 0;
15242 _ACEOF
15243 if ac_fn_cxx_try_link "$LINENO"; then :
15244 glibcxx_cv_atomic_bool=yes
15245 else
15246 glibcxx_cv_atomic_bool=no
15248 rm -f core conftest.err conftest.$ac_objext \
15249 conftest$ac_exeext conftest.$ac_ext
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15254 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15257 $as_echo_n "checking for atomic builtins for short... " >&6; }
15258 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15259 $as_echo_n "(cached) " >&6
15260 else
15262 if test x$gcc_no_link = xyes; then
15263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15269 main ()
15271 typedef short atomic_type;
15272 atomic_type c1;
15273 atomic_type c2;
15274 atomic_type c3(0);
15275 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15276 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15277 __ATOMIC_RELAXED);
15278 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15279 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15282 return 0;
15284 _ACEOF
15285 if ac_fn_cxx_try_link "$LINENO"; then :
15286 glibcxx_cv_atomic_short=yes
15287 else
15288 glibcxx_cv_atomic_short=no
15290 rm -f core conftest.err conftest.$ac_objext \
15291 conftest$ac_exeext conftest.$ac_ext
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15296 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15299 $as_echo_n "checking for atomic builtins for int... " >&6; }
15300 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15304 if test x$gcc_no_link = xyes; then
15305 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15308 /* end confdefs.h. */
15311 main ()
15313 typedef int atomic_type;
15314 atomic_type c1;
15315 atomic_type c2;
15316 atomic_type c3(0);
15317 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15318 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15319 __ATOMIC_RELAXED);
15320 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15321 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15324 return 0;
15326 _ACEOF
15327 if ac_fn_cxx_try_link "$LINENO"; then :
15328 glibcxx_cv_atomic_int=yes
15329 else
15330 glibcxx_cv_atomic_int=no
15332 rm -f core conftest.err conftest.$ac_objext \
15333 conftest$ac_exeext conftest.$ac_ext
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15338 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15341 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15342 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15343 $as_echo_n "(cached) " >&6
15344 else
15346 if test x$gcc_no_link = xyes; then
15347 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15350 /* end confdefs.h. */
15353 main ()
15355 typedef long long atomic_type;
15356 atomic_type c1;
15357 atomic_type c2;
15358 atomic_type c3(0);
15359 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15360 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15361 __ATOMIC_RELAXED);
15362 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15363 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15366 return 0;
15368 _ACEOF
15369 if ac_fn_cxx_try_link "$LINENO"; then :
15370 glibcxx_cv_atomic_long_long=yes
15371 else
15372 glibcxx_cv_atomic_long_long=no
15374 rm -f core conftest.err conftest.$ac_objext \
15375 conftest$ac_exeext conftest.$ac_ext
15379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15380 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15382 else
15384 # Do asm tests.
15386 # Compile unoptimized.
15387 CXXFLAGS='-O0 -S'
15389 # Fake what AC_TRY_COMPILE does.
15391 cat > conftest.$ac_ext << EOF
15392 #line 15392 "configure"
15393 int main()
15395 typedef bool atomic_type;
15396 atomic_type c1;
15397 atomic_type c2;
15398 atomic_type c3(0);
15399 // N.B. __atomic_fetch_add is not supported for bool.
15400 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15401 __ATOMIC_RELAXED);
15402 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15403 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15405 return 0;
15409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15410 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15411 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15412 (eval $ac_compile) 2>&5
15413 ac_status=$?
15414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15415 test $ac_status = 0; }; then
15416 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15417 glibcxx_cv_atomic_bool=no
15418 else
15419 glibcxx_cv_atomic_bool=yes
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15423 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15424 rm -f conftest*
15426 cat > conftest.$ac_ext << EOF
15427 #line 15427 "configure"
15428 int main()
15430 typedef short atomic_type;
15431 atomic_type c1;
15432 atomic_type c2;
15433 atomic_type c3(0);
15434 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15435 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15436 __ATOMIC_RELAXED);
15437 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15438 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15440 return 0;
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15445 $as_echo_n "checking for atomic builtins for short... " >&6; }
15446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15447 (eval $ac_compile) 2>&5
15448 ac_status=$?
15449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15450 test $ac_status = 0; }; then
15451 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15452 glibcxx_cv_atomic_short=no
15453 else
15454 glibcxx_cv_atomic_short=yes
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15458 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15459 rm -f conftest*
15461 cat > conftest.$ac_ext << EOF
15462 #line 15462 "configure"
15463 int main()
15465 // NB: _Atomic_word not necessarily int.
15466 typedef int atomic_type;
15467 atomic_type c1;
15468 atomic_type c2;
15469 atomic_type c3(0);
15470 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15471 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15472 __ATOMIC_RELAXED);
15473 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15474 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15476 return 0;
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15481 $as_echo_n "checking for atomic builtins for int... " >&6; }
15482 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15483 (eval $ac_compile) 2>&5
15484 ac_status=$?
15485 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15486 test $ac_status = 0; }; then
15487 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15488 glibcxx_cv_atomic_int=no
15489 else
15490 glibcxx_cv_atomic_int=yes
15493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15494 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15495 rm -f conftest*
15497 cat > conftest.$ac_ext << EOF
15498 #line 15498 "configure"
15499 int main()
15501 typedef long long atomic_type;
15502 atomic_type c1;
15503 atomic_type c2;
15504 atomic_type c3(0);
15505 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15506 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15507 __ATOMIC_RELAXED);
15508 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15509 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15511 return 0;
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15516 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15517 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15518 (eval $ac_compile) 2>&5
15519 ac_status=$?
15520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15521 test $ac_status = 0; }; then
15522 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15523 glibcxx_cv_atomic_long_long=no
15524 else
15525 glibcxx_cv_atomic_long_long=yes
15528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15529 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15530 rm -f conftest*
15534 CXXFLAGS="$old_CXXFLAGS"
15535 ac_ext=c
15536 ac_cpp='$CPP $CPPFLAGS'
15537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15542 # Set atomicity_dir to builtins if all but the long long test above passes,
15543 # or if the builtins were already chosen (e.g. by configure.host).
15544 if { test "$glibcxx_cv_atomic_bool" = yes \
15545 && test "$glibcxx_cv_atomic_short" = yes \
15546 && test "$glibcxx_cv_atomic_int" = yes; } \
15547 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15549 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15551 atomicity_dir=cpu/generic/atomicity_builtins
15554 # If still generic, set to mutex.
15555 if test $atomicity_dir = "cpu/generic" ; then
15556 atomicity_dir=cpu/generic/atomicity_mutex
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15558 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15559 if test "x$target_thread_file" = xsingle; then
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15561 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15563 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15564 else
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15566 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15568 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15575 # Fake what AC_TRY_COMPILE does, without linking as this is
15576 # unnecessary for this test.
15578 cat > conftest.$ac_ext << EOF
15579 #line 15579 "configure"
15580 int main()
15582 _Decimal32 d1;
15583 _Decimal64 d2;
15584 _Decimal128 d3;
15585 return 0;
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15590 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15591 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15592 (eval $ac_compile) 2>&5
15593 ac_status=$?
15594 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15595 test $ac_status = 0; }; then
15597 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15599 enable_dfp=yes
15600 else
15601 enable_dfp=no
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15604 $as_echo "$enable_dfp" >&6; }
15605 rm -f conftest*
15610 ac_ext=cpp
15611 ac_cpp='$CXXCPP $CPPFLAGS'
15612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15617 # Fake what AC_TRY_COMPILE does, without linking as this is
15618 # unnecessary for this test.
15620 cat > conftest.$ac_ext << EOF
15621 #line 15621 "configure"
15622 template<typename T1, typename T2>
15623 struct same
15624 { typedef T2 type; };
15626 template<typename T>
15627 struct same<T, T>;
15629 int main()
15631 typename same<long, __int128>::type i1;
15632 typename same<long long, __int128>::type i2;
15636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15637 $as_echo_n "checking for __int128... " >&6; }
15638 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15639 (eval $ac_compile) 2>&5
15640 ac_status=$?
15641 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15642 test $ac_status = 0; }; then
15644 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15646 enable_int128=yes
15647 else
15648 enable_int128=no
15650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15651 $as_echo "$enable_int128" >&6; }
15652 rm -f conftest*
15654 cat > conftest.$ac_ext << EOF
15655 #line 15655 "configure"
15656 template<typename T1, typename T2>
15657 struct same
15658 { typedef T2 type; };
15660 template<typename T>
15661 struct same<T, T>;
15663 int main()
15665 typename same<double, __float128>::type f1;
15666 typename same<long double, __float128>::type f2;
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15671 $as_echo_n "checking for __float128... " >&6; }
15672 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15673 (eval $ac_compile) 2>&5
15674 ac_status=$?
15675 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15676 test $ac_status = 0; }; then
15678 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15680 enable_float128=yes
15681 else
15682 enable_float128=no
15684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15685 $as_echo "$enable_float128" >&6; }
15686 rm -f conftest*
15688 ac_ext=c
15689 ac_cpp='$CPP $CPPFLAGS'
15690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15695 if test "$enable_float128" = yes; then
15696 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15699 # Checks for compiler support that doesn't require linking.
15701 # All these tests are for C++; save the language and the compiler flags.
15702 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15703 # found in GLIBCXX_CONFIGURE.
15705 ac_ext=cpp
15706 ac_cpp='$CXXCPP $CPPFLAGS'
15707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15711 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15712 ac_save_CXXFLAGS="$CXXFLAGS"
15714 # Check for maintainer-mode bits.
15715 if test x"$USE_MAINTAINER_MODE" = xno; then
15716 WERROR=''
15717 else
15718 WERROR='-Werror'
15721 # Check for -ffunction-sections -fdata-sections
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15723 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15724 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15726 /* end confdefs.h. */
15727 int foo; void bar() { };
15729 main ()
15733 return 0;
15735 _ACEOF
15736 if ac_fn_cxx_try_compile "$LINENO"; then :
15737 ac_fdsections=yes
15738 else
15739 ac_fdsections=no
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 if test "$ac_test_CXXFLAGS" = set; then
15743 CXXFLAGS="$ac_save_CXXFLAGS"
15744 else
15745 # this is the suspicious part
15746 CXXFLAGS=''
15748 if test x"$ac_fdsections" = x"yes"; then
15749 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15752 $as_echo "$ac_fdsections" >&6; }
15754 ac_ext=c
15755 ac_cpp='$CPP $CPPFLAGS'
15756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15764 # Enable all the variable C++ runtime options that don't require linking.
15766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15767 $as_echo_n "checking for underlying I/O to use... " >&6; }
15768 # Check whether --enable-cstdio was given.
15769 if test "${enable_cstdio+set}" = set; then :
15770 enableval=$enable_cstdio;
15771 case "$enableval" in
15772 stdio) ;;
15773 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15774 esac
15776 else
15777 enable_cstdio=stdio
15782 # Now that libio has been removed, you can have any color you want as long
15783 # as it's black. This is one big no-op until other packages are added, but
15784 # showing the framework never hurts.
15785 case ${enable_cstdio} in
15786 stdio)
15787 CSTDIO_H=config/io/c_io_stdio.h
15788 BASIC_FILE_H=config/io/basic_file_stdio.h
15789 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15791 $as_echo "stdio" >&6; }
15793 esac
15800 # Check whether --enable-clocale was given.
15801 if test "${enable_clocale+set}" = set; then :
15802 enableval=$enable_clocale;
15803 case "$enableval" in
15804 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15805 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15806 esac
15808 else
15809 enable_clocale=auto
15814 # Deal with gettext issues. Default to not using it (=no) until we detect
15815 # support for it later. Let the user turn it off via --e/d, but let that
15816 # default to on for easier handling.
15817 USE_NLS=no
15818 # Check whether --enable-nls was given.
15819 if test "${enable_nls+set}" = set; then :
15820 enableval=$enable_nls;
15821 else
15822 enable_nls=yes
15826 # Either a known package, or "auto"
15827 if test $enable_clocale = no || test $enable_clocale = yes; then
15828 enable_clocale=auto
15830 enable_clocale_flag=$enable_clocale
15832 # Probe for locale model to use if none specified.
15833 # Default to "generic".
15834 if test $enable_clocale_flag = auto; then
15835 case ${target_os} in
15836 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15837 enable_clocale_flag=gnu
15839 darwin*)
15840 enable_clocale_flag=darwin
15842 dragonfly* | freebsd*)
15843 enable_clocale_flag=dragonfly
15845 openbsd*)
15846 enable_clocale_flag=newlib
15849 if test x"$with_newlib" = x"yes"; then
15850 enable_clocale_flag=newlib
15851 else
15852 enable_clocale_flag=generic
15855 esac
15858 # Sanity check model, and test for special functionality.
15859 if test $enable_clocale_flag = gnu; then
15860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15861 /* end confdefs.h. */
15863 #include <features.h>
15864 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15865 _GLIBCXX_ok
15866 #endif
15868 _ACEOF
15869 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15870 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15871 enable_clocale_flag=gnu
15872 else
15873 enable_clocale_flag=generic
15875 rm -f conftest*
15878 # Set it to scream when it hurts.
15879 ac_save_CFLAGS="$CFLAGS"
15880 CFLAGS="-Wimplicit-function-declaration -Werror"
15882 # Use strxfrm_l if available.
15883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15884 /* end confdefs.h. */
15885 #define _GNU_SOURCE 1
15886 #include <string.h>
15887 #include <locale.h>
15889 main ()
15891 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15893 return 0;
15895 _ACEOF
15896 if ac_fn_c_try_compile "$LINENO"; then :
15898 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15903 # Use strerror_l if available.
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15906 #define _GNU_SOURCE 1
15907 #include <string.h>
15908 #include <locale.h>
15910 main ()
15912 __locale_t loc; strerror_l(5, loc);
15914 return 0;
15916 _ACEOF
15917 if ac_fn_c_try_compile "$LINENO"; then :
15919 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15924 CFLAGS="$ac_save_CFLAGS"
15927 # Perhaps use strerror_r if available, and strerror_l isn't.
15928 ac_save_CFLAGS="$CFLAGS"
15929 CFLAGS="-Wimplicit-function-declaration -Werror"
15930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15931 /* end confdefs.h. */
15932 #define _GNU_SOURCE 1
15933 #include <string.h>
15934 #include <locale.h>
15936 main ()
15938 char s[128]; strerror_r(5, s, 128);
15940 return 0;
15942 _ACEOF
15943 if ac_fn_c_try_compile "$LINENO"; then :
15945 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15949 CFLAGS="$ac_save_CFLAGS"
15951 # Set configure bits for specified locale package
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15953 $as_echo_n "checking for C locale to use... " >&6; }
15954 case ${enable_clocale_flag} in
15955 generic)
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15957 $as_echo "generic" >&6; }
15959 CLOCALE_H=config/locale/generic/c_locale.h
15960 CLOCALE_CC=config/locale/generic/c_locale.cc
15961 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15962 CCOLLATE_CC=config/locale/generic/collate_members.cc
15963 CCTYPE_CC=config/locale/generic/ctype_members.cc
15964 CMESSAGES_H=config/locale/generic/messages_members.h
15965 CMESSAGES_CC=config/locale/generic/messages_members.cc
15966 CMONEY_CC=config/locale/generic/monetary_members.cc
15967 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15968 CTIME_H=config/locale/generic/time_members.h
15969 CTIME_CC=config/locale/generic/time_members.cc
15970 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 darwin)
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15974 $as_echo "darwin" >&6; }
15976 CLOCALE_H=config/locale/generic/c_locale.h
15977 CLOCALE_CC=config/locale/generic/c_locale.cc
15978 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15979 CCOLLATE_CC=config/locale/generic/collate_members.cc
15980 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15981 CMESSAGES_H=config/locale/generic/messages_members.h
15982 CMESSAGES_CC=config/locale/generic/messages_members.cc
15983 CMONEY_CC=config/locale/generic/monetary_members.cc
15984 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15985 CTIME_H=config/locale/generic/time_members.h
15986 CTIME_CC=config/locale/generic/time_members.cc
15987 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15990 dragonfly)
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15992 $as_echo "dragonfly or freebsd" >&6; }
15994 CLOCALE_H=config/locale/dragonfly/c_locale.h
15995 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15996 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15997 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15998 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15999 CMESSAGES_H=config/locale/generic/messages_members.h
16000 CMESSAGES_CC=config/locale/generic/messages_members.cc
16001 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16002 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16003 CTIME_H=config/locale/dragonfly/time_members.h
16004 CTIME_CC=config/locale/dragonfly/time_members.cc
16005 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16008 gnu)
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16010 $as_echo "gnu" >&6; }
16012 # Declare intention to use gettext, and add support for specific
16013 # languages.
16014 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16015 ALL_LINGUAS="de fr"
16017 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16018 # Extract the first word of "msgfmt", so it can be a program name with args.
16019 set dummy msgfmt; ac_word=$2
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16021 $as_echo_n "checking for $ac_word... " >&6; }
16022 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 if test -n "$check_msgfmt"; then
16026 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16027 else
16028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16029 for as_dir in $PATH
16031 IFS=$as_save_IFS
16032 test -z "$as_dir" && as_dir=.
16033 for ac_exec_ext in '' $ac_executable_extensions; do
16034 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16035 ac_cv_prog_check_msgfmt="yes"
16036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16037 break 2
16039 done
16040 done
16041 IFS=$as_save_IFS
16043 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16046 check_msgfmt=$ac_cv_prog_check_msgfmt
16047 if test -n "$check_msgfmt"; then
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16049 $as_echo "$check_msgfmt" >&6; }
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16052 $as_echo "no" >&6; }
16056 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16057 USE_NLS=yes
16059 # Export the build objects.
16060 for ling in $ALL_LINGUAS; do \
16061 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16062 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16063 done
16067 CLOCALE_H=config/locale/gnu/c_locale.h
16068 CLOCALE_CC=config/locale/gnu/c_locale.cc
16069 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16070 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16071 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16072 CMESSAGES_H=config/locale/gnu/messages_members.h
16073 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16074 CMONEY_CC=config/locale/gnu/monetary_members.cc
16075 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16076 CTIME_H=config/locale/gnu/time_members.h
16077 CTIME_CC=config/locale/gnu/time_members.cc
16078 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16080 ieee_1003.1-2001)
16081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16082 $as_echo "IEEE 1003.1" >&6; }
16084 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16085 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16086 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16087 CCOLLATE_CC=config/locale/generic/collate_members.cc
16088 CCTYPE_CC=config/locale/generic/ctype_members.cc
16089 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16090 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16091 CMONEY_CC=config/locale/generic/monetary_members.cc
16092 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16093 CTIME_H=config/locale/generic/time_members.h
16094 CTIME_CC=config/locale/generic/time_members.cc
16095 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16097 newlib)
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16099 $as_echo "newlib" >&6; }
16101 CLOCALE_H=config/locale/generic/c_locale.h
16102 CLOCALE_CC=config/locale/generic/c_locale.cc
16103 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16104 CCOLLATE_CC=config/locale/generic/collate_members.cc
16105 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16106 CMESSAGES_H=config/locale/generic/messages_members.h
16107 CMESSAGES_CC=config/locale/generic/messages_members.cc
16108 CMONEY_CC=config/locale/generic/monetary_members.cc
16109 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16110 CTIME_H=config/locale/generic/time_members.h
16111 CTIME_CC=config/locale/generic/time_members.cc
16112 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16114 esac
16116 # This is where the testsuite looks for locale catalogs, using the
16117 # -DLOCALEDIR define during testsuite compilation.
16118 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16121 # A standalone libintl (e.g., GNU libintl) may be in use.
16122 if test $USE_NLS = yes; then
16123 for ac_header in libintl.h
16124 do :
16125 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16126 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_LIBINTL_H 1
16129 _ACEOF
16131 else
16132 USE_NLS=no
16135 done
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16138 $as_echo_n "checking for library containing gettext... " >&6; }
16139 if test "${ac_cv_search_gettext+set}" = set; then :
16140 $as_echo_n "(cached) " >&6
16141 else
16142 ac_func_search_save_LIBS=$LIBS
16143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16144 /* end confdefs.h. */
16146 /* Override any GCC internal prototype to avoid an error.
16147 Use char because int might match the return type of a GCC
16148 builtin and then its argument prototype would still apply. */
16149 #ifdef __cplusplus
16150 extern "C"
16151 #endif
16152 char gettext ();
16154 main ()
16156 return gettext ();
16158 return 0;
16160 _ACEOF
16161 for ac_lib in '' intl; do
16162 if test -z "$ac_lib"; then
16163 ac_res="none required"
16164 else
16165 ac_res=-l$ac_lib
16166 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16168 if test x$gcc_no_link = xyes; then
16169 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_gettext=$ac_res
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if test "${ac_cv_search_gettext+set}" = set; then :
16177 break
16179 done
16180 if test "${ac_cv_search_gettext+set}" = set; then :
16182 else
16183 ac_cv_search_gettext=no
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16189 $as_echo "$ac_cv_search_gettext" >&6; }
16190 ac_res=$ac_cv_search_gettext
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 else
16195 USE_NLS=no
16199 if test $USE_NLS = yes; then
16201 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16221 $as_echo_n "checking for std::allocator base class... " >&6; }
16222 # Check whether --enable-libstdcxx-allocator was given.
16223 if test "${enable_libstdcxx_allocator+set}" = set; then :
16224 enableval=$enable_libstdcxx_allocator;
16225 case "$enableval" in
16226 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16227 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16228 esac
16230 else
16231 enable_libstdcxx_allocator=auto
16236 # If they didn't use this option switch, or if they specified --enable
16237 # with no specific model, we'll have to look for one. If they
16238 # specified --disable (???), do likewise.
16239 if test $enable_libstdcxx_allocator = no ||
16240 test $enable_libstdcxx_allocator = yes;
16241 then
16242 enable_libstdcxx_allocator=auto
16245 # Either a known package, or "auto". Auto implies the default choice
16246 # for a particular platform.
16247 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16249 # Probe for host-specific support if no specific model is specified.
16250 # Default to "new".
16251 if test $enable_libstdcxx_allocator_flag = auto; then
16252 case ${target_os} in
16253 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16254 enable_libstdcxx_allocator_flag=new
16257 enable_libstdcxx_allocator_flag=new
16259 esac
16261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16262 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16265 # Set configure bits for specified locale package
16266 case ${enable_libstdcxx_allocator_flag} in
16267 bitmap)
16268 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16269 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16271 malloc)
16272 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16273 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16276 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16277 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16279 new)
16280 ALLOCATOR_H=config/allocator/new_allocator_base.h
16281 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16283 pool)
16284 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16285 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16287 esac
16294 # Check whether --enable-cheaders was given.
16295 if test "${enable_cheaders+set}" = set; then :
16296 enableval=$enable_cheaders;
16297 case "$enableval" in
16298 c|c_std|c_global) ;;
16299 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16300 esac
16302 else
16303 enable_cheaders=$c_model
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16308 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16310 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16312 # Allow overrides to configure.host here.
16313 if test $enable_cheaders = c_global; then
16314 c_compatibility=yes
16323 # Check whether --enable-long-long was given.
16324 if test "${enable_long_long+set}" = set; then :
16325 enableval=$enable_long_long;
16326 case "$enableval" in
16327 yes|no) ;;
16328 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16329 esac
16331 else
16332 enable_long_long=yes
16336 if test $enable_long_long = yes; then
16338 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16342 $as_echo_n "checking for enabled long long specializations... " >&6; }
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16344 $as_echo "$enable_long_long" >&6; }
16347 # Check whether --enable-wchar_t was given.
16348 if test "${enable_wchar_t+set}" = set; then :
16349 enableval=$enable_wchar_t;
16350 case "$enableval" in
16351 yes|no) ;;
16352 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16353 esac
16355 else
16356 enable_wchar_t=yes
16361 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16362 for ac_header in wchar.h
16363 do :
16364 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16365 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16366 cat >>confdefs.h <<_ACEOF
16367 #define HAVE_WCHAR_H 1
16368 _ACEOF
16369 ac_has_wchar_h=yes
16370 else
16371 ac_has_wchar_h=no
16374 done
16376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16377 $as_echo_n "checking for mbstate_t... " >&6; }
16378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16379 /* end confdefs.h. */
16380 #include <wchar.h>
16382 main ()
16384 mbstate_t teststate;
16386 return 0;
16388 _ACEOF
16389 if ac_fn_c_try_compile "$LINENO"; then :
16390 have_mbstate_t=yes
16391 else
16392 have_mbstate_t=no
16394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16396 $as_echo "$have_mbstate_t" >&6; }
16397 if test x"$have_mbstate_t" = xyes; then
16399 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16403 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16404 # ac_has_wchar_h.
16405 for ac_header in wctype.h
16406 do :
16407 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16408 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16409 cat >>confdefs.h <<_ACEOF
16410 #define HAVE_WCTYPE_H 1
16411 _ACEOF
16412 ac_has_wctype_h=yes
16413 else
16414 ac_has_wctype_h=no
16417 done
16420 if test x"$enable_wchar_t" = x"yes"; then
16423 ac_ext=cpp
16424 ac_cpp='$CXXCPP $CPPFLAGS'
16425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16430 if test x"$ac_has_wchar_h" = xyes &&
16431 test x"$ac_has_wctype_h" = xyes; then
16432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16433 /* end confdefs.h. */
16434 #include <wchar.h>
16435 #include <stddef.h>
16436 wint_t i;
16437 long l = WEOF;
16438 long j = WCHAR_MIN;
16439 long k = WCHAR_MAX;
16440 namespace test
16442 using ::btowc;
16443 using ::fgetwc;
16444 using ::fgetws;
16445 using ::fputwc;
16446 using ::fputws;
16447 using ::fwide;
16448 using ::fwprintf;
16449 using ::fwscanf;
16450 using ::getwc;
16451 using ::getwchar;
16452 using ::mbrlen;
16453 using ::mbrtowc;
16454 using ::mbsinit;
16455 using ::mbsrtowcs;
16456 using ::putwc;
16457 using ::putwchar;
16458 using ::swprintf;
16459 using ::swscanf;
16460 using ::ungetwc;
16461 using ::vfwprintf;
16462 using ::vswprintf;
16463 using ::vwprintf;
16464 using ::wcrtomb;
16465 using ::wcscat;
16466 using ::wcschr;
16467 using ::wcscmp;
16468 using ::wcscoll;
16469 using ::wcscpy;
16470 using ::wcscspn;
16471 using ::wcsftime;
16472 using ::wcslen;
16473 using ::wcsncat;
16474 using ::wcsncmp;
16475 using ::wcsncpy;
16476 using ::wcspbrk;
16477 using ::wcsrchr;
16478 using ::wcsrtombs;
16479 using ::wcsspn;
16480 using ::wcsstr;
16481 using ::wcstod;
16482 using ::wcstok;
16483 using ::wcstol;
16484 using ::wcstoul;
16485 using ::wcsxfrm;
16486 using ::wctob;
16487 using ::wmemchr;
16488 using ::wmemcmp;
16489 using ::wmemcpy;
16490 using ::wmemmove;
16491 using ::wmemset;
16492 using ::wprintf;
16493 using ::wscanf;
16497 main ()
16501 return 0;
16503 _ACEOF
16504 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 else
16507 enable_wchar_t=no
16509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16510 else
16511 enable_wchar_t=no
16514 ac_ext=c
16515 ac_cpp='$CPP $CPPFLAGS'
16516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16522 if test x"$enable_wchar_t" = x"yes"; then
16524 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16529 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16531 $as_echo "$enable_wchar_t" >&6; }
16535 # Check whether --enable-c99 was given.
16536 if test "${enable_c99+set}" = set; then :
16537 enableval=$enable_c99;
16538 case "$enableval" in
16539 yes|no) ;;
16540 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16541 esac
16543 else
16544 enable_c99=yes
16549 if test x"$enable_c99" = x"yes"; then
16551 ac_ext=cpp
16552 ac_cpp='$CXXCPP $CPPFLAGS'
16553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16558 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16559 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16560 # to be spuriously enabled.
16561 ac_save_CXXFLAGS="$CXXFLAGS"
16562 CXXFLAGS="$CXXFLAGS -std=c++98"
16563 ac_save_LIBS="$LIBS"
16564 ac_save_gcc_no_link="$gcc_no_link"
16566 if test x$gcc_no_link != xyes; then
16567 # Use -fno-exceptions to that the C driver can link these tests without
16568 # hitting undefined references to personality routines.
16569 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16571 $as_echo_n "checking for sin in -lm... " >&6; }
16572 if test "${ac_cv_lib_m_sin+set}" = set; then :
16573 $as_echo_n "(cached) " >&6
16574 else
16575 ac_check_lib_save_LIBS=$LIBS
16576 LIBS="-lm $LIBS"
16577 if test x$gcc_no_link = xyes; then
16578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16581 /* end confdefs.h. */
16583 /* Override any GCC internal prototype to avoid an error.
16584 Use char because int might match the return type of a GCC
16585 builtin and then its argument prototype would still apply. */
16586 #ifdef __cplusplus
16587 extern "C"
16588 #endif
16589 char sin ();
16591 main ()
16593 return sin ();
16595 return 0;
16597 _ACEOF
16598 if ac_fn_cxx_try_link "$LINENO"; then :
16599 ac_cv_lib_m_sin=yes
16600 else
16601 ac_cv_lib_m_sin=no
16603 rm -f core conftest.err conftest.$ac_objext \
16604 conftest$ac_exeext conftest.$ac_ext
16605 LIBS=$ac_check_lib_save_LIBS
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16608 $as_echo "$ac_cv_lib_m_sin" >&6; }
16609 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16610 LIBS="$LIBS -lm"
16611 else
16613 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16614 gcc_no_link=yes
16620 # Check for the existence of <math.h> functions used if C99 is enabled.
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16622 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16623 if test "${glibcxx_cv_c99_math_cxx98+set}" = set; then :
16624 $as_echo_n "(cached) " >&6
16625 else
16627 if test x$gcc_no_link = xyes; then
16628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16629 /* end confdefs.h. */
16630 #include <math.h>
16631 volatile double d1, d2;
16632 volatile int i;
16634 main ()
16636 i = fpclassify(d1);
16637 i = isfinite(d1);
16638 i = isinf(d1);
16639 i = isnan(d1);
16640 i = isnormal(d1);
16641 i = signbit(d1);
16642 i = isgreater(d1, d2);
16643 i = isgreaterequal(d1, d2);
16644 i = isless(d1, d2);
16645 i = islessequal(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = islessgreater(d1, d2);
16648 i = isunordered(d1, d2);
16651 return 0;
16653 _ACEOF
16654 if ac_fn_cxx_try_compile "$LINENO"; then :
16655 glibcxx_cv_c99_math_cxx98=yes
16656 else
16657 glibcxx_cv_c99_math_cxx98=no
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660 else
16661 if test x$gcc_no_link = xyes; then
16662 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16665 /* end confdefs.h. */
16666 #include <math.h>
16667 volatile double d1, d2;
16668 volatile int i;
16670 main ()
16672 i = fpclassify(d1);
16673 i = isfinite(d1);
16674 i = isinf(d1);
16675 i = isnan(d1);
16676 i = isnormal(d1);
16677 i = signbit(d1);
16678 i = isgreater(d1, d2);
16679 i = isgreaterequal(d1, d2);
16680 i = isless(d1, d2);
16681 i = islessequal(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = islessgreater(d1, d2);
16684 i = isunordered(d1, d2);
16687 return 0;
16689 _ACEOF
16690 if ac_fn_cxx_try_link "$LINENO"; then :
16691 glibcxx_cv_c99_math_cxx98=yes
16692 else
16693 glibcxx_cv_c99_math_cxx98=no
16695 rm -f core conftest.err conftest.$ac_objext \
16696 conftest$ac_exeext conftest.$ac_ext
16701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
16702 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16703 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16705 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
16709 # Check for the existence of <complex.h> complex math functions.
16710 # This is necessary even though libstdc++ uses the builtin versions
16711 # of these functions, because if the builtin cannot be used, a reference
16712 # to the library function is emitted.
16713 for ac_header in tgmath.h
16714 do :
16715 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16716 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16717 cat >>confdefs.h <<_ACEOF
16718 #define HAVE_TGMATH_H 1
16719 _ACEOF
16720 ac_has_tgmath_h=yes
16721 else
16722 ac_has_tgmath_h=no
16725 done
16727 for ac_header in complex.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_complex_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_COMPLEX_H 1
16733 _ACEOF
16734 ac_has_complex_h=yes
16735 else
16736 ac_has_complex_h=no
16739 done
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16744 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16745 $as_echo_n "(cached) " >&6
16746 else
16748 if test x$gcc_no_link = xyes; then
16749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16750 /* end confdefs.h. */
16751 #include <complex.h>
16752 typedef __complex__ float float_type;
16753 typedef __complex__ double double_type;
16754 typedef __complex__ long double ld_type;
16755 volatile float_type tmpf;
16756 volatile double_type tmpd;
16757 volatile ld_type tmpld;
16758 volatile float f;
16759 volatile double d;
16760 volatile long double ld;
16762 main ()
16764 f = cabsf(tmpf);
16765 f = cargf(tmpf);
16766 tmpf = ccosf(tmpf);
16767 tmpf = ccoshf(tmpf);
16768 tmpf = cexpf(tmpf);
16769 tmpf = clogf(tmpf);
16770 tmpf = csinf(tmpf);
16771 tmpf = csinhf(tmpf);
16772 tmpf = csqrtf(tmpf);
16773 tmpf = ctanf(tmpf);
16774 tmpf = ctanhf(tmpf);
16775 tmpf = cpowf(tmpf, tmpf);
16776 tmpf = cprojf(tmpf);
16777 d = cabs(tmpd);
16778 d = carg(tmpd);
16779 tmpd = ccos(tmpd);
16780 tmpd = ccosh(tmpd);
16781 tmpd = cexp(tmpd);
16782 tmpd = clog(tmpd);
16783 tmpd = csin(tmpd);
16784 tmpd = csinh(tmpd);
16785 tmpd = csqrt(tmpd);
16786 tmpd = ctan(tmpd);
16787 tmpd = ctanh(tmpd);
16788 tmpd = cpow(tmpd, tmpd);
16789 tmpd = cproj(tmpd);
16790 ld = cabsl(tmpld);
16791 ld = cargl(tmpld);
16792 tmpld = ccosl(tmpld);
16793 tmpld = ccoshl(tmpld);
16794 tmpld = cexpl(tmpld);
16795 tmpld = clogl(tmpld);
16796 tmpld = csinl(tmpld);
16797 tmpld = csinhl(tmpld);
16798 tmpld = csqrtl(tmpld);
16799 tmpld = ctanl(tmpld);
16800 tmpld = ctanhl(tmpld);
16801 tmpld = cpowl(tmpld, tmpld);
16802 tmpld = cprojl(tmpld);
16805 return 0;
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_complex_cxx98=yes
16810 else
16811 glibcxx_cv_c99_complex_cxx98=no
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <complex.h>
16821 typedef __complex__ float float_type;
16822 typedef __complex__ double double_type;
16823 typedef __complex__ long double ld_type;
16824 volatile float_type tmpf;
16825 volatile double_type tmpd;
16826 volatile ld_type tmpld;
16827 volatile float f;
16828 volatile double d;
16829 volatile long double ld;
16831 main ()
16833 f = cabsf(tmpf);
16834 f = cargf(tmpf);
16835 tmpf = ccosf(tmpf);
16836 tmpf = ccoshf(tmpf);
16837 tmpf = cexpf(tmpf);
16838 tmpf = clogf(tmpf);
16839 tmpf = csinf(tmpf);
16840 tmpf = csinhf(tmpf);
16841 tmpf = csqrtf(tmpf);
16842 tmpf = ctanf(tmpf);
16843 tmpf = ctanhf(tmpf);
16844 tmpf = cpowf(tmpf, tmpf);
16845 tmpf = cprojf(tmpf);
16846 d = cabs(tmpd);
16847 d = carg(tmpd);
16848 tmpd = ccos(tmpd);
16849 tmpd = ccosh(tmpd);
16850 tmpd = cexp(tmpd);
16851 tmpd = clog(tmpd);
16852 tmpd = csin(tmpd);
16853 tmpd = csinh(tmpd);
16854 tmpd = csqrt(tmpd);
16855 tmpd = ctan(tmpd);
16856 tmpd = ctanh(tmpd);
16857 tmpd = cpow(tmpd, tmpd);
16858 tmpd = cproj(tmpd);
16859 ld = cabsl(tmpld);
16860 ld = cargl(tmpld);
16861 tmpld = ccosl(tmpld);
16862 tmpld = ccoshl(tmpld);
16863 tmpld = cexpl(tmpld);
16864 tmpld = clogl(tmpld);
16865 tmpld = csinl(tmpld);
16866 tmpld = csinhl(tmpld);
16867 tmpld = csqrtl(tmpld);
16868 tmpld = ctanl(tmpld);
16869 tmpld = ctanhl(tmpld);
16870 tmpld = cpowl(tmpld, tmpld);
16871 tmpld = cprojl(tmpld);
16874 return 0;
16876 _ACEOF
16877 if ac_fn_cxx_try_link "$LINENO"; then :
16878 glibcxx_cv_c99_complex_cxx98=yes
16879 else
16880 glibcxx_cv_c99_complex_cxx98=no
16882 rm -f core conftest.err conftest.$ac_objext \
16883 conftest$ac_exeext conftest.$ac_ext
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16890 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16891 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16893 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16897 # Check for the existence in <stdio.h> of vscanf, et. al.
16898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16899 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16900 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16901 $as_echo_n "(cached) " >&6
16902 else
16904 if test x$gcc_no_link = xyes; then
16905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16906 /* end confdefs.h. */
16907 #include <stdio.h>
16908 #include <stdarg.h>
16909 void foo(char* fmt, ...)
16911 va_list args; va_start(args, fmt);
16912 vfscanf(stderr, "%i", args);
16913 vscanf("%i", args);
16914 vsnprintf(fmt, 0, "%i", args);
16915 vsscanf(fmt, "%i", args);
16916 snprintf(fmt, 0, "%i");
16919 main ()
16923 return 0;
16925 _ACEOF
16926 if ac_fn_cxx_try_compile "$LINENO"; then :
16927 glibcxx_cv_c99_stdio_cxx98=yes
16928 else
16929 glibcxx_cv_c99_stdio_cxx98=no
16931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16932 else
16933 if test x$gcc_no_link = xyes; then
16934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 #include <stdio.h>
16939 #include <stdarg.h>
16940 void foo(char* fmt, ...)
16942 va_list args; va_start(args, fmt);
16943 vfscanf(stderr, "%i", args);
16944 vscanf("%i", args);
16945 vsnprintf(fmt, 0, "%i", args);
16946 vsscanf(fmt, "%i", args);
16947 snprintf(fmt, 0, "%i");
16950 main ()
16954 return 0;
16956 _ACEOF
16957 if ac_fn_cxx_try_link "$LINENO"; then :
16958 glibcxx_cv_c99_stdio_cxx98=yes
16959 else
16960 glibcxx_cv_c99_stdio_cxx98=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16969 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16970 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16972 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16976 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16978 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16979 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16980 $as_echo_n "(cached) " >&6
16981 else
16983 if test x$gcc_no_link = xyes; then
16984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16985 /* end confdefs.h. */
16986 #include <stdlib.h>
16987 volatile float f;
16988 volatile long double ld;
16989 volatile unsigned long long ll;
16990 lldiv_t mydivt;
16992 main ()
16994 char* tmp;
16995 f = strtof("gnu", &tmp);
16996 ld = strtold("gnu", &tmp);
16997 ll = strtoll("gnu", &tmp, 10);
16998 ll = strtoull("gnu", &tmp, 10);
16999 ll = llabs(10);
17000 mydivt = lldiv(10,1);
17001 ll = mydivt.quot;
17002 ll = mydivt.rem;
17003 ll = atoll("10");
17004 _Exit(0);
17007 return 0;
17009 _ACEOF
17010 if ac_fn_cxx_try_compile "$LINENO"; then :
17011 glibcxx_cv_c99_stdlib_cxx98=yes
17012 else
17013 glibcxx_cv_c99_stdlib_cxx98=no
17015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17016 else
17017 if test x$gcc_no_link = xyes; then
17018 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17021 /* end confdefs.h. */
17022 #include <stdlib.h>
17023 volatile float f;
17024 volatile long double ld;
17025 volatile unsigned long long ll;
17026 lldiv_t mydivt;
17028 main ()
17030 char* tmp;
17031 f = strtof("gnu", &tmp);
17032 ld = strtold("gnu", &tmp);
17033 ll = strtoll("gnu", &tmp, 10);
17034 ll = strtoull("gnu", &tmp, 10);
17035 ll = llabs(10);
17036 mydivt = lldiv(10,1);
17037 ll = mydivt.quot;
17038 ll = mydivt.rem;
17039 ll = atoll("10");
17040 _Exit(0);
17043 return 0;
17045 _ACEOF
17046 if ac_fn_cxx_try_link "$LINENO"; then :
17047 glibcxx_cv_c99_stdlib_cxx98=yes
17048 else
17049 glibcxx_cv_c99_stdlib_cxx98=no
17051 rm -f core conftest.err conftest.$ac_objext \
17052 conftest$ac_exeext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17058 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17059 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17061 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17065 # Check for the existence in <wchar.h> of wcstold, etc.
17066 if test x"$ac_has_wchar_h" = xyes &&
17067 test x"$ac_has_wctype_h" = xyes; then
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17069 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17070 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17071 $as_echo_n "(cached) " >&6
17072 else
17074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17075 /* end confdefs.h. */
17076 #include <wchar.h>
17077 namespace test
17079 using ::wcstold;
17080 using ::wcstoll;
17081 using ::wcstoull;
17085 main ()
17089 return 0;
17091 _ACEOF
17092 if ac_fn_cxx_try_compile "$LINENO"; then :
17093 glibcxx_cv_c99_wchar_cxx98=yes
17094 else
17095 glibcxx_cv_c99_wchar_cxx98=no
17097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 # Checks for wide character functions that may not be present.
17103 # Injection of these is wrapped with guard macros.
17104 # NB: only put functions here, instead of immediately above, if
17105 # absolutely necessary.
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 #include <wchar.h>
17109 namespace test { using ::vfwscanf; }
17111 main ()
17115 return 0;
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17126 /* end confdefs.h. */
17127 #include <wchar.h>
17128 namespace test { using ::vswscanf; }
17130 main ()
17134 return 0;
17136 _ACEOF
17137 if ac_fn_cxx_try_compile "$LINENO"; then :
17139 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17145 /* end confdefs.h. */
17146 #include <wchar.h>
17147 namespace test { using ::vwscanf; }
17149 main ()
17153 return 0;
17155 _ACEOF
17156 if ac_fn_cxx_try_compile "$LINENO"; then :
17158 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17164 /* end confdefs.h. */
17165 #include <wchar.h>
17166 namespace test { using ::wcstof; }
17168 main ()
17172 return 0;
17174 _ACEOF
17175 if ac_fn_cxx_try_compile "$LINENO"; then :
17177 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17183 /* end confdefs.h. */
17184 #include <wctype.h>
17186 main ()
17188 wint_t t; int i = iswblank(t);
17190 return 0;
17192 _ACEOF
17193 if ac_fn_cxx_try_compile "$LINENO"; then :
17195 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17204 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17209 # Option parsed, now set things appropriately.
17210 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17214 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17215 enable_c99=no;
17216 else
17218 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17222 gcc_no_link="$ac_save_gcc_no_link"
17223 LIBS="$ac_save_LIBS"
17224 CXXFLAGS="$ac_save_CXXFLAGS"
17225 ac_ext=c
17226 ac_cpp='$CPP $CPPFLAGS'
17227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17233 ac_ext=cpp
17234 ac_cpp='$CXXCPP $CPPFLAGS'
17235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17240 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17241 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17242 ac_save_CXXFLAGS="$CXXFLAGS"
17243 CXXFLAGS="$CXXFLAGS -std=c++11"
17244 ac_save_LIBS="$LIBS"
17245 ac_save_gcc_no_link="$gcc_no_link"
17247 if test x$gcc_no_link != xyes; then
17248 # Use -fno-exceptions to that the C driver can link these tests without
17249 # hitting undefined references to personality routines.
17250 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17252 $as_echo_n "checking for sin in -lm... " >&6; }
17253 if test "${ac_cv_lib_m_sin+set}" = set; then :
17254 $as_echo_n "(cached) " >&6
17255 else
17256 ac_check_lib_save_LIBS=$LIBS
17257 LIBS="-lm $LIBS"
17258 if test x$gcc_no_link = xyes; then
17259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17262 /* end confdefs.h. */
17264 /* Override any GCC internal prototype to avoid an error.
17265 Use char because int might match the return type of a GCC
17266 builtin and then its argument prototype would still apply. */
17267 #ifdef __cplusplus
17268 extern "C"
17269 #endif
17270 char sin ();
17272 main ()
17274 return sin ();
17276 return 0;
17278 _ACEOF
17279 if ac_fn_cxx_try_link "$LINENO"; then :
17280 ac_cv_lib_m_sin=yes
17281 else
17282 ac_cv_lib_m_sin=no
17284 rm -f core conftest.err conftest.$ac_objext \
17285 conftest$ac_exeext conftest.$ac_ext
17286 LIBS=$ac_check_lib_save_LIBS
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17289 $as_echo "$ac_cv_lib_m_sin" >&6; }
17290 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17291 LIBS="$LIBS -lm"
17292 else
17294 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17295 gcc_no_link=yes
17301 # Check for the existence of <math.h> functions used if C99 is enabled.
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17303 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17304 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17305 $as_echo_n "(cached) " >&6
17306 else
17308 if test x$gcc_no_link = xyes; then
17309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17310 /* end confdefs.h. */
17311 #include <math.h>
17312 volatile double d1, d2;
17313 volatile int i;
17315 main ()
17317 i = fpclassify(d1);
17318 i = isfinite(d1);
17319 i = isinf(d1);
17320 i = isnan(d1);
17321 i = isnormal(d1);
17322 i = signbit(d1);
17323 i = isgreater(d1, d2);
17324 i = isgreaterequal(d1, d2);
17325 i = isless(d1, d2);
17326 i = islessequal(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = islessgreater(d1, d2);
17329 i = isunordered(d1, d2);
17332 return 0;
17334 _ACEOF
17335 if ac_fn_cxx_try_compile "$LINENO"; then :
17336 glibcxx_cv_c99_math_cxx11=yes
17337 else
17338 glibcxx_cv_c99_math_cxx11=no
17340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17341 else
17342 if test x$gcc_no_link = xyes; then
17343 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17346 /* end confdefs.h. */
17347 #include <math.h>
17348 volatile double d1, d2;
17349 volatile int i;
17351 main ()
17353 i = fpclassify(d1);
17354 i = isfinite(d1);
17355 i = isinf(d1);
17356 i = isnan(d1);
17357 i = isnormal(d1);
17358 i = signbit(d1);
17359 i = isgreater(d1, d2);
17360 i = isgreaterequal(d1, d2);
17361 i = isless(d1, d2);
17362 i = islessequal(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = islessgreater(d1, d2);
17365 i = isunordered(d1, d2);
17368 return 0;
17370 _ACEOF
17371 if ac_fn_cxx_try_link "$LINENO"; then :
17372 glibcxx_cv_c99_math_cxx11=yes
17373 else
17374 glibcxx_cv_c99_math_cxx11=no
17376 rm -f core conftest.err conftest.$ac_objext \
17377 conftest$ac_exeext conftest.$ac_ext
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17383 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17384 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17386 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17390 # Check for the existence of <complex.h> complex math functions.
17391 # This is necessary even though libstdc++ uses the builtin versions
17392 # of these functions, because if the builtin cannot be used, a reference
17393 # to the library function is emitted.
17394 for ac_header in tgmath.h
17395 do :
17396 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17397 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17398 cat >>confdefs.h <<_ACEOF
17399 #define HAVE_TGMATH_H 1
17400 _ACEOF
17401 ac_has_tgmath_h=yes
17402 else
17403 ac_has_tgmath_h=no
17406 done
17408 for ac_header in complex.h
17409 do :
17410 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17411 if test "x$ac_cv_header_complex_h" = x""yes; then :
17412 cat >>confdefs.h <<_ACEOF
17413 #define HAVE_COMPLEX_H 1
17414 _ACEOF
17415 ac_has_complex_h=yes
17416 else
17417 ac_has_complex_h=no
17420 done
17422 if test x"$ac_has_complex_h" = x"yes"; then
17423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17424 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17425 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17429 if test x$gcc_no_link = xyes; then
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <complex.h>
17433 typedef __complex__ float float_type;
17434 typedef __complex__ double double_type;
17435 typedef __complex__ long double ld_type;
17436 volatile float_type tmpf;
17437 volatile double_type tmpd;
17438 volatile ld_type tmpld;
17439 volatile float f;
17440 volatile double d;
17441 volatile long double ld;
17443 main ()
17445 f = cabsf(tmpf);
17446 f = cargf(tmpf);
17447 tmpf = ccosf(tmpf);
17448 tmpf = ccoshf(tmpf);
17449 tmpf = cexpf(tmpf);
17450 tmpf = clogf(tmpf);
17451 tmpf = csinf(tmpf);
17452 tmpf = csinhf(tmpf);
17453 tmpf = csqrtf(tmpf);
17454 tmpf = ctanf(tmpf);
17455 tmpf = ctanhf(tmpf);
17456 tmpf = cpowf(tmpf, tmpf);
17457 tmpf = cprojf(tmpf);
17458 d = cabs(tmpd);
17459 d = carg(tmpd);
17460 tmpd = ccos(tmpd);
17461 tmpd = ccosh(tmpd);
17462 tmpd = cexp(tmpd);
17463 tmpd = clog(tmpd);
17464 tmpd = csin(tmpd);
17465 tmpd = csinh(tmpd);
17466 tmpd = csqrt(tmpd);
17467 tmpd = ctan(tmpd);
17468 tmpd = ctanh(tmpd);
17469 tmpd = cpow(tmpd, tmpd);
17470 tmpd = cproj(tmpd);
17471 ld = cabsl(tmpld);
17472 ld = cargl(tmpld);
17473 tmpld = ccosl(tmpld);
17474 tmpld = ccoshl(tmpld);
17475 tmpld = cexpl(tmpld);
17476 tmpld = clogl(tmpld);
17477 tmpld = csinl(tmpld);
17478 tmpld = csinhl(tmpld);
17479 tmpld = csqrtl(tmpld);
17480 tmpld = ctanl(tmpld);
17481 tmpld = ctanhl(tmpld);
17482 tmpld = cpowl(tmpld, tmpld);
17483 tmpld = cprojl(tmpld);
17486 return 0;
17488 _ACEOF
17489 if ac_fn_cxx_try_compile "$LINENO"; then :
17490 glibcxx_cv_c99_complex_cxx11=yes
17491 else
17492 glibcxx_cv_c99_complex_cxx11=no
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 else
17496 if test x$gcc_no_link = xyes; then
17497 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17501 #include <complex.h>
17502 typedef __complex__ float float_type;
17503 typedef __complex__ double double_type;
17504 typedef __complex__ long double ld_type;
17505 volatile float_type tmpf;
17506 volatile double_type tmpd;
17507 volatile ld_type tmpld;
17508 volatile float f;
17509 volatile double d;
17510 volatile long double ld;
17512 main ()
17514 f = cabsf(tmpf);
17515 f = cargf(tmpf);
17516 tmpf = ccosf(tmpf);
17517 tmpf = ccoshf(tmpf);
17518 tmpf = cexpf(tmpf);
17519 tmpf = clogf(tmpf);
17520 tmpf = csinf(tmpf);
17521 tmpf = csinhf(tmpf);
17522 tmpf = csqrtf(tmpf);
17523 tmpf = ctanf(tmpf);
17524 tmpf = ctanhf(tmpf);
17525 tmpf = cpowf(tmpf, tmpf);
17526 tmpf = cprojf(tmpf);
17527 d = cabs(tmpd);
17528 d = carg(tmpd);
17529 tmpd = ccos(tmpd);
17530 tmpd = ccosh(tmpd);
17531 tmpd = cexp(tmpd);
17532 tmpd = clog(tmpd);
17533 tmpd = csin(tmpd);
17534 tmpd = csinh(tmpd);
17535 tmpd = csqrt(tmpd);
17536 tmpd = ctan(tmpd);
17537 tmpd = ctanh(tmpd);
17538 tmpd = cpow(tmpd, tmpd);
17539 tmpd = cproj(tmpd);
17540 ld = cabsl(tmpld);
17541 ld = cargl(tmpld);
17542 tmpld = ccosl(tmpld);
17543 tmpld = ccoshl(tmpld);
17544 tmpld = cexpl(tmpld);
17545 tmpld = clogl(tmpld);
17546 tmpld = csinl(tmpld);
17547 tmpld = csinhl(tmpld);
17548 tmpld = csqrtl(tmpld);
17549 tmpld = ctanl(tmpld);
17550 tmpld = ctanhl(tmpld);
17551 tmpld = cpowl(tmpld, tmpld);
17552 tmpld = cprojl(tmpld);
17555 return 0;
17557 _ACEOF
17558 if ac_fn_cxx_try_link "$LINENO"; then :
17559 glibcxx_cv_c99_complex_cxx11=yes
17560 else
17561 glibcxx_cv_c99_complex_cxx11=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17571 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17572 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17574 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17578 # Check for the existence in <stdio.h> of vscanf, et. al.
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17580 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17581 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17585 if test x$gcc_no_link = xyes; then
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 #include <stdio.h>
17589 #include <stdarg.h>
17590 void foo(char* fmt, ...)
17592 va_list args; va_start(args, fmt);
17593 vfscanf(stderr, "%i", args);
17594 vscanf("%i", args);
17595 vsnprintf(fmt, 0, "%i", args);
17596 vsscanf(fmt, "%i", args);
17597 snprintf(fmt, 0, "%i");
17600 main ()
17604 return 0;
17606 _ACEOF
17607 if ac_fn_cxx_try_compile "$LINENO"; then :
17608 glibcxx_cv_c99_stdio_cxx11=yes
17609 else
17610 glibcxx_cv_c99_stdio_cxx11=no
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17613 else
17614 if test x$gcc_no_link = xyes; then
17615 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17618 /* end confdefs.h. */
17619 #include <stdio.h>
17620 #include <stdarg.h>
17621 void foo(char* fmt, ...)
17623 va_list args; va_start(args, fmt);
17624 vfscanf(stderr, "%i", args);
17625 vscanf("%i", args);
17626 vsnprintf(fmt, 0, "%i", args);
17627 vsscanf(fmt, "%i", args);
17628 snprintf(fmt, 0, "%i");
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_cxx_try_link "$LINENO"; then :
17639 glibcxx_cv_c99_stdio_cxx11=yes
17640 else
17641 glibcxx_cv_c99_stdio_cxx11=no
17643 rm -f core conftest.err conftest.$ac_objext \
17644 conftest$ac_exeext conftest.$ac_ext
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17650 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17651 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17653 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17657 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17659 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17660 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17661 $as_echo_n "(cached) " >&6
17662 else
17664 if test x$gcc_no_link = xyes; then
17665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17666 /* end confdefs.h. */
17667 #include <stdlib.h>
17668 volatile float f;
17669 volatile long double ld;
17670 volatile unsigned long long ll;
17671 lldiv_t mydivt;
17673 main ()
17675 char* tmp;
17676 f = strtof("gnu", &tmp);
17677 ld = strtold("gnu", &tmp);
17678 ll = strtoll("gnu", &tmp, 10);
17679 ll = strtoull("gnu", &tmp, 10);
17680 ll = llabs(10);
17681 mydivt = lldiv(10,1);
17682 ll = mydivt.quot;
17683 ll = mydivt.rem;
17684 ll = atoll("10");
17685 _Exit(0);
17688 return 0;
17690 _ACEOF
17691 if ac_fn_cxx_try_compile "$LINENO"; then :
17692 glibcxx_cv_c99_stdlib_cxx11=yes
17693 else
17694 glibcxx_cv_c99_stdlib_cxx11=no
17696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17697 else
17698 if test x$gcc_no_link = xyes; then
17699 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17702 /* end confdefs.h. */
17703 #include <stdlib.h>
17704 volatile float f;
17705 volatile long double ld;
17706 volatile unsigned long long ll;
17707 lldiv_t mydivt;
17709 main ()
17711 char* tmp;
17712 f = strtof("gnu", &tmp);
17713 ld = strtold("gnu", &tmp);
17714 ll = strtoll("gnu", &tmp, 10);
17715 ll = strtoull("gnu", &tmp, 10);
17716 ll = llabs(10);
17717 mydivt = lldiv(10,1);
17718 ll = mydivt.quot;
17719 ll = mydivt.rem;
17720 ll = atoll("10");
17721 _Exit(0);
17724 return 0;
17726 _ACEOF
17727 if ac_fn_cxx_try_link "$LINENO"; then :
17728 glibcxx_cv_c99_stdlib_cxx11=yes
17729 else
17730 glibcxx_cv_c99_stdlib_cxx11=no
17732 rm -f core conftest.err conftest.$ac_objext \
17733 conftest$ac_exeext conftest.$ac_ext
17738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17739 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17740 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17742 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17746 # Check for the existence in <wchar.h> of wcstold, etc.
17747 if test x"$ac_has_wchar_h" = xyes &&
17748 test x"$ac_has_wctype_h" = xyes; then
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17750 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17751 if test "${glibcxx_cv_c99_wchar_cxx11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <wchar.h>
17758 namespace test
17760 using ::wcstold;
17761 using ::wcstoll;
17762 using ::wcstoull;
17766 main ()
17770 return 0;
17772 _ACEOF
17773 if ac_fn_cxx_try_compile "$LINENO"; then :
17774 glibcxx_cv_c99_wchar_cxx11=yes
17775 else
17776 glibcxx_cv_c99_wchar_cxx11=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783 # Checks for wide character functions that may not be present.
17784 # Injection of these is wrapped with guard macros.
17785 # NB: only put functions here, instead of immediately above, if
17786 # absolutely necessary.
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <wchar.h>
17790 namespace test { using ::vfwscanf; }
17792 main ()
17796 return 0;
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17807 /* end confdefs.h. */
17808 #include <wchar.h>
17809 namespace test { using ::vswscanf; }
17811 main ()
17815 return 0;
17817 _ACEOF
17818 if ac_fn_cxx_try_compile "$LINENO"; then :
17820 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17827 #include <wchar.h>
17828 namespace test { using ::vwscanf; }
17830 main ()
17834 return 0;
17836 _ACEOF
17837 if ac_fn_cxx_try_compile "$LINENO"; then :
17839 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17845 /* end confdefs.h. */
17846 #include <wchar.h>
17847 namespace test { using ::wcstof; }
17849 main ()
17853 return 0;
17855 _ACEOF
17856 if ac_fn_cxx_try_compile "$LINENO"; then :
17858 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17864 /* end confdefs.h. */
17865 #include <wctype.h>
17867 main ()
17869 wint_t t; int i = iswblank(t);
17871 return 0;
17873 _ACEOF
17874 if ac_fn_cxx_try_compile "$LINENO"; then :
17876 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17885 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17890 gcc_no_link="$ac_save_gcc_no_link"
17891 LIBS="$ac_save_LIBS"
17892 CXXFLAGS="$ac_save_CXXFLAGS"
17893 ac_ext=c
17894 ac_cpp='$CPP $CPPFLAGS'
17895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17902 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17904 $as_echo "$enable_c99" >&6; }
17907 # Check whether --enable-concept-checks was given.
17908 if test "${enable_concept_checks+set}" = set; then :
17909 enableval=$enable_concept_checks;
17910 case "$enableval" in
17911 yes|no) ;;
17912 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17913 esac
17915 else
17916 enable_concept_checks=no
17920 if test $enable_concept_checks = yes; then
17922 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17927 # Check whether --enable-libstdcxx-debug-flags was given.
17928 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17929 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17930 xno | x) enable_libstdcxx_debug_flags= ;;
17931 x-*) ;;
17932 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17933 esac
17934 else
17935 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17940 # Option parsed, now set things appropriately
17941 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17945 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17949 $as_echo_n "checking for additional debug build... " >&6; }
17950 # Check whether --enable-libstdcxx-debug was given.
17951 if test "${enable_libstdcxx_debug+set}" = set; then :
17952 enableval=$enable_libstdcxx_debug;
17953 case "$enableval" in
17954 yes|no) ;;
17955 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17956 esac
17958 else
17959 enable_libstdcxx_debug=no
17963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17964 $as_echo "$enable_libstdcxx_debug" >&6; }
17969 enable_parallel=no;
17971 # See if configured libgomp/omp.h exists. (libgomp may be in
17972 # noconfigdirs but not explicitly disabled.)
17973 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17974 enable_parallel=yes;
17975 else
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17977 $as_echo "$as_me: target-libgomp not built" >&6;}
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17981 $as_echo_n "checking for parallel mode support... " >&6; }
17982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17983 $as_echo "$enable_parallel" >&6; }
17985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17986 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17987 # Check whether --enable-cxx-flags was given.
17988 if test "${enable_cxx_flags+set}" = set; then :
17989 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17990 xno | x) enable_cxx_flags= ;;
17991 x-*) ;;
17992 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17993 esac
17994 else
17995 enable_cxx_flags=
18000 # Run through flags (either default or command-line) and set anything
18001 # extra (e.g., #defines) that must accompany particular g++ options.
18002 if test -n "$enable_cxx_flags"; then
18003 for f in $enable_cxx_flags; do
18004 case "$f" in
18005 -fhonor-std) ;;
18006 -*) ;;
18007 *) # and we're trying to pass /what/ exactly?
18008 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18009 esac
18010 done
18013 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18015 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18019 # Check whether --enable-fully-dynamic-string was given.
18020 if test "${enable_fully_dynamic_string+set}" = set; then :
18021 enableval=$enable_fully_dynamic_string;
18022 case "$enableval" in
18023 yes|no) ;;
18024 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18025 esac
18027 else
18028 enable_fully_dynamic_string=no
18032 if test $enable_fully_dynamic_string = yes; then
18033 enable_fully_dynamic_string_def=1
18034 else
18035 enable_fully_dynamic_string_def=0
18038 cat >>confdefs.h <<_ACEOF
18039 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18040 _ACEOF
18045 # Check whether --enable-extern-template was given.
18046 if test "${enable_extern_template+set}" = set; then :
18047 enableval=$enable_extern_template;
18048 case "$enableval" in
18049 yes|no) ;;
18050 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18051 esac
18053 else
18054 enable_extern_template=yes
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18060 $as_echo_n "checking for extern template support... " >&6; }
18061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18062 $as_echo "$enable_extern_template" >&6; }
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18069 $as_echo_n "checking for custom python install directory... " >&6; }
18071 # Check whether --with-python-dir was given.
18072 if test "${with_python_dir+set}" = set; then :
18073 withval=$with_python_dir; with_python_dir=$withval
18074 else
18075 with_python_dir="no"
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18079 $as_echo "${with_python_dir}" >&6; }
18081 # Needed for installing Python modules during make install.
18082 python_mod_dir="${with_python_dir}"
18087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18088 $as_echo_n "checking for -Werror... " >&6; }
18089 # Check whether --enable-werror was given.
18090 if test "${enable_werror+set}" = set; then :
18091 enableval=$enable_werror;
18092 case "$enableval" in
18093 yes|no) ;;
18094 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18095 esac
18097 else
18098 enable_werror=yes
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18103 $as_echo "$enable_werror" >&6; }
18108 # Check whether --enable-vtable-verify was given.
18109 if test "${enable_vtable_verify+set}" = set; then :
18110 enableval=$enable_vtable_verify;
18111 case "$enableval" in
18112 yes|no) ;;
18113 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18114 esac
18116 else
18117 enable_vtable_verify=no
18122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18123 $as_echo_n "checking for vtable verify support... " >&6; }
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18125 $as_echo "$enable_vtable_verify" >&6; }
18127 vtv_cygmin=no
18128 if test $enable_vtable_verify = yes; then
18129 case ${target_os} in
18130 cygwin*|mingw32*)
18131 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18132 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18133 vtv_cygmin=yes
18135 darwin*)
18136 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18137 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18139 solaris2*)
18140 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18141 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18144 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18145 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18147 esac
18148 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18149 else
18150 VTV_CXXFLAGS=
18151 VTV_PCH_CXXFLAGS=
18152 VTV_CXXLINKFLAGS=
18158 if test x$vtv_cygmin = xyes; then
18159 VTV_CYGMIN_TRUE=
18160 VTV_CYGMIN_FALSE='#'
18161 else
18162 VTV_CYGMIN_TRUE='#'
18163 VTV_CYGMIN_FALSE=
18169 # Checks for operating systems support that doesn't require linking.
18173 ac_ext=cpp
18174 ac_cpp='$CXXCPP $CPPFLAGS'
18175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18180 # and we don't need a declaration for C++14 anyway.
18181 ac_save_CXXFLAGS="$CXXFLAGS"
18182 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18185 $as_echo_n "checking for gets declaration... " >&6; }
18186 if test "${glibcxx_cv_gets+set}" = set; then :
18187 $as_echo_n "(cached) " >&6
18188 else
18190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18191 /* end confdefs.h. */
18192 #include <stdio.h>
18193 namespace test
18195 using ::gets;
18198 _ACEOF
18199 if ac_fn_cxx_try_compile "$LINENO"; then :
18200 glibcxx_cv_gets=yes
18201 else
18202 glibcxx_cv_gets=no
18205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18209 if test $glibcxx_cv_gets = yes; then
18211 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18215 $as_echo "$glibcxx_cv_gets" >&6; }
18217 CXXFLAGS="$ac_save_CXXFLAGS"
18218 ac_ext=c
18219 ac_cpp='$CPP $CPPFLAGS'
18220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18228 ac_ext=cpp
18229 ac_cpp='$CXXCPP $CPPFLAGS'
18230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18234 ac_save_CXXFLAGS="$CXXFLAGS"
18235 CXXFLAGS="$CXXFLAGS -std=c++11"
18237 case "$host" in
18238 *-*-solaris2.*)
18239 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18240 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18242 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18243 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18244 $as_echo_n "(cached) " >&6
18245 else
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <math.h>
18250 #undef isfinite
18251 namespace std {
18252 inline bool isfinite(float __x)
18253 { return __builtin_isfinite(__x); }
18256 _ACEOF
18257 if ac_fn_cxx_try_compile "$LINENO"; then :
18258 glibcxx_cv_math11_overload=no
18259 else
18260 glibcxx_cv_math11_overload=yes
18263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18267 # autoheader cannot handle indented templates.
18270 if test $glibcxx_cv_math11_overload = yes; then
18271 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18275 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18278 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18279 # functions (instead of or as well as the C99 generic macros) then we
18280 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18281 # and must use the ones from <math.h> instead.
18282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18283 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18284 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18285 $as_echo_n "(cached) " >&6
18286 else
18288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18289 /* end confdefs.h. */
18290 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18291 #include <math.h>
18292 #undef isinf
18293 namespace std {
18294 using ::isinf;
18295 bool isinf(float);
18296 bool isinf(long double);
18298 using std::isinf;
18299 bool b = isinf(0.0);
18301 _ACEOF
18302 if ac_fn_cxx_try_compile "$LINENO"; then :
18303 glibcxx_cv_obsolete_isinf=yes
18304 else
18305 glibcxx_cv_obsolete_isinf=no
18308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18312 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18313 if test $glibcxx_cv_obsolete_isinf = yes; then
18315 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18320 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18321 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18322 $as_echo_n "(cached) " >&6
18323 else
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18327 #include <math.h>
18328 #undef isnan
18329 namespace std {
18330 using ::isnan;
18331 bool isnan(float);
18332 bool isnan(long double);
18334 using std::isnan;
18335 bool b = isnan(0.0);
18337 _ACEOF
18338 if ac_fn_cxx_try_compile "$LINENO"; then :
18339 glibcxx_cv_obsolete_isnan=yes
18340 else
18341 glibcxx_cv_obsolete_isnan=no
18344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18348 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18349 if test $glibcxx_cv_obsolete_isnan = yes; then
18351 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18355 esac
18357 CXXFLAGS="$ac_save_CXXFLAGS"
18358 ac_ext=c
18359 ac_cpp='$CPP $CPPFLAGS'
18360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18368 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18369 if test "${glibcxx_cv_system_error1+set}" = set; then :
18370 $as_echo_n "(cached) " >&6
18371 else
18373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18374 /* end confdefs.h. */
18375 #include <errno.h>
18377 main ()
18379 int i = EOWNERDEAD;
18381 return 0;
18383 _ACEOF
18384 if ac_fn_c_try_compile "$LINENO"; then :
18385 glibcxx_cv_system_error1=yes
18386 else
18387 glibcxx_cv_system_error1=no
18389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18394 $as_echo "$glibcxx_cv_system_error1" >&6; }
18395 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18397 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18401 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18402 if test "${glibcxx_cv_system_error2+set}" = set; then :
18403 $as_echo_n "(cached) " >&6
18404 else
18406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18407 /* end confdefs.h. */
18408 #include <errno.h>
18410 main ()
18412 int i = ENOTRECOVERABLE;
18414 return 0;
18416 _ACEOF
18417 if ac_fn_c_try_compile "$LINENO"; then :
18418 glibcxx_cv_system_error2=yes
18419 else
18420 glibcxx_cv_system_error2=no
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18427 $as_echo "$glibcxx_cv_system_error2" >&6; }
18428 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18430 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18434 $as_echo_n "checking for ENOLINK... " >&6; }
18435 if test "${glibcxx_cv_system_error3+set}" = set; then :
18436 $as_echo_n "(cached) " >&6
18437 else
18439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18440 /* end confdefs.h. */
18441 #include <errno.h>
18443 main ()
18445 int i = ENOLINK;
18447 return 0;
18449 _ACEOF
18450 if ac_fn_c_try_compile "$LINENO"; then :
18451 glibcxx_cv_system_error3=yes
18452 else
18453 glibcxx_cv_system_error3=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18460 $as_echo "$glibcxx_cv_system_error3" >&6; }
18461 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18463 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18467 $as_echo_n "checking for EPROTO... " >&6; }
18468 if test "${glibcxx_cv_system_error4+set}" = set; then :
18469 $as_echo_n "(cached) " >&6
18470 else
18472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18473 /* end confdefs.h. */
18474 #include <errno.h>
18476 main ()
18478 int i = EPROTO;
18480 return 0;
18482 _ACEOF
18483 if ac_fn_c_try_compile "$LINENO"; then :
18484 glibcxx_cv_system_error4=yes
18485 else
18486 glibcxx_cv_system_error4=no
18488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18493 $as_echo "$glibcxx_cv_system_error4" >&6; }
18494 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18496 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18500 $as_echo_n "checking for ENODATA... " >&6; }
18501 if test "${glibcxx_cv_system_error5+set}" = set; then :
18502 $as_echo_n "(cached) " >&6
18503 else
18505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18506 /* end confdefs.h. */
18507 #include <errno.h>
18509 main ()
18511 int i = ENODATA;
18513 return 0;
18515 _ACEOF
18516 if ac_fn_c_try_compile "$LINENO"; then :
18517 glibcxx_cv_system_error5=yes
18518 else
18519 glibcxx_cv_system_error5=no
18521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18526 $as_echo "$glibcxx_cv_system_error5" >&6; }
18527 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18529 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18533 $as_echo_n "checking for ENOSR... " >&6; }
18534 if test "${glibcxx_cv_system_error6+set}" = set; then :
18535 $as_echo_n "(cached) " >&6
18536 else
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <errno.h>
18542 main ()
18544 int i = ENOSR;
18546 return 0;
18548 _ACEOF
18549 if ac_fn_c_try_compile "$LINENO"; then :
18550 glibcxx_cv_system_error6=yes
18551 else
18552 glibcxx_cv_system_error6=no
18554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18559 $as_echo "$glibcxx_cv_system_error6" >&6; }
18560 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18562 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18566 $as_echo_n "checking for ENOSTR... " >&6; }
18567 if test "${glibcxx_cv_system_error7+set}" = set; then :
18568 $as_echo_n "(cached) " >&6
18569 else
18571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18572 /* end confdefs.h. */
18573 #include <errno.h>
18575 main ()
18577 int i = ENOSTR;
18579 return 0;
18581 _ACEOF
18582 if ac_fn_c_try_compile "$LINENO"; then :
18583 glibcxx_cv_system_error7=yes
18584 else
18585 glibcxx_cv_system_error7=no
18587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18592 $as_echo "$glibcxx_cv_system_error7" >&6; }
18593 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18595 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18599 $as_echo_n "checking for ETIME... " >&6; }
18600 if test "${glibcxx_cv_system_error8+set}" = set; then :
18601 $as_echo_n "(cached) " >&6
18602 else
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 #include <errno.h>
18608 main ()
18610 int i = ETIME;
18612 return 0;
18614 _ACEOF
18615 if ac_fn_c_try_compile "$LINENO"; then :
18616 glibcxx_cv_system_error8=yes
18617 else
18618 glibcxx_cv_system_error8=no
18620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18625 $as_echo "$glibcxx_cv_system_error8" >&6; }
18626 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18628 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18632 $as_echo_n "checking for EBADMSG... " >&6; }
18633 if test "${glibcxx_cv_system_error9+set}" = set; then :
18634 $as_echo_n "(cached) " >&6
18635 else
18637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18638 /* end confdefs.h. */
18639 #include <errno.h>
18641 main ()
18643 int i = EBADMSG;
18645 return 0;
18647 _ACEOF
18648 if ac_fn_c_try_compile "$LINENO"; then :
18649 glibcxx_cv_system_error9=yes
18650 else
18651 glibcxx_cv_system_error9=no
18653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18658 $as_echo "$glibcxx_cv_system_error9" >&6; }
18659 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18661 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18665 $as_echo_n "checking for ECANCELED... " >&6; }
18666 if test "${glibcxx_cv_system_error10+set}" = set; then :
18667 $as_echo_n "(cached) " >&6
18668 else
18670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18671 /* end confdefs.h. */
18672 #include <errno.h>
18674 main ()
18676 int i = ECANCELED;
18678 return 0;
18680 _ACEOF
18681 if ac_fn_c_try_compile "$LINENO"; then :
18682 glibcxx_cv_system_error10=yes
18683 else
18684 glibcxx_cv_system_error10=no
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18691 $as_echo "$glibcxx_cv_system_error10" >&6; }
18692 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18694 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18698 $as_echo_n "checking for EOVERFLOW... " >&6; }
18699 if test "${glibcxx_cv_system_error11+set}" = set; then :
18700 $as_echo_n "(cached) " >&6
18701 else
18703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18704 /* end confdefs.h. */
18705 #include <errno.h>
18707 main ()
18709 int i = EOVERFLOW;
18711 return 0;
18713 _ACEOF
18714 if ac_fn_c_try_compile "$LINENO"; then :
18715 glibcxx_cv_system_error11=yes
18716 else
18717 glibcxx_cv_system_error11=no
18719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18724 $as_echo "$glibcxx_cv_system_error11" >&6; }
18725 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18727 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18731 $as_echo_n "checking for ENOTSUP... " >&6; }
18732 if test "${glibcxx_cv_system_error12+set}" = set; then :
18733 $as_echo_n "(cached) " >&6
18734 else
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 #include <errno.h>
18740 main ()
18742 int i = ENOTSUP;
18744 return 0;
18746 _ACEOF
18747 if ac_fn_c_try_compile "$LINENO"; then :
18748 glibcxx_cv_system_error12=yes
18749 else
18750 glibcxx_cv_system_error12=no
18752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18757 $as_echo "$glibcxx_cv_system_error12" >&6; }
18758 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18760 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18764 $as_echo_n "checking for EIDRM... " >&6; }
18765 if test "${glibcxx_cv_system_error13+set}" = set; then :
18766 $as_echo_n "(cached) " >&6
18767 else
18769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18770 /* end confdefs.h. */
18771 #include <errno.h>
18773 main ()
18775 int i = EIDRM;
18777 return 0;
18779 _ACEOF
18780 if ac_fn_c_try_compile "$LINENO"; then :
18781 glibcxx_cv_system_error13=yes
18782 else
18783 glibcxx_cv_system_error13=no
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18790 $as_echo "$glibcxx_cv_system_error13" >&6; }
18791 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18793 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18797 $as_echo_n "checking for ETXTBSY... " >&6; }
18798 if test "${glibcxx_cv_system_error14+set}" = set; then :
18799 $as_echo_n "(cached) " >&6
18800 else
18802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18803 /* end confdefs.h. */
18804 #include <errno.h>
18806 main ()
18808 int i = ETXTBSY;
18810 return 0;
18812 _ACEOF
18813 if ac_fn_c_try_compile "$LINENO"; then :
18814 glibcxx_cv_system_error14=yes
18815 else
18816 glibcxx_cv_system_error14=no
18818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18823 $as_echo "$glibcxx_cv_system_error14" >&6; }
18824 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18826 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18830 $as_echo_n "checking for ECHILD... " >&6; }
18831 if test "${glibcxx_cv_system_error15+set}" = set; then :
18832 $as_echo_n "(cached) " >&6
18833 else
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 #include <errno.h>
18839 main ()
18841 int i = ECHILD;
18843 return 0;
18845 _ACEOF
18846 if ac_fn_c_try_compile "$LINENO"; then :
18847 glibcxx_cv_system_error15=yes
18848 else
18849 glibcxx_cv_system_error15=no
18851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18856 $as_echo "$glibcxx_cv_system_error15" >&6; }
18857 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18859 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18863 $as_echo_n "checking for ENOSPC... " >&6; }
18864 if test "${glibcxx_cv_system_error16+set}" = set; then :
18865 $as_echo_n "(cached) " >&6
18866 else
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 #include <errno.h>
18872 main ()
18874 int i = ENOSPC;
18876 return 0;
18878 _ACEOF
18879 if ac_fn_c_try_compile "$LINENO"; then :
18880 glibcxx_cv_system_error16=yes
18881 else
18882 glibcxx_cv_system_error16=no
18884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18889 $as_echo "$glibcxx_cv_system_error16" >&6; }
18890 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18892 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18896 $as_echo_n "checking for EPERM... " >&6; }
18897 if test "${glibcxx_cv_system_error17+set}" = set; then :
18898 $as_echo_n "(cached) " >&6
18899 else
18901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18902 /* end confdefs.h. */
18903 #include <errno.h>
18905 main ()
18907 int i = EPERM;
18909 return 0;
18911 _ACEOF
18912 if ac_fn_c_try_compile "$LINENO"; then :
18913 glibcxx_cv_system_error17=yes
18914 else
18915 glibcxx_cv_system_error17=no
18917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18922 $as_echo "$glibcxx_cv_system_error17" >&6; }
18923 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18925 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18929 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18930 if test "${glibcxx_cv_system_error18+set}" = set; then :
18931 $as_echo_n "(cached) " >&6
18932 else
18934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18935 /* end confdefs.h. */
18936 #include <errno.h>
18938 main ()
18940 int i = ETIMEDOUT;
18942 return 0;
18944 _ACEOF
18945 if ac_fn_c_try_compile "$LINENO"; then :
18946 glibcxx_cv_system_error18=yes
18947 else
18948 glibcxx_cv_system_error18=no
18950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18955 $as_echo "$glibcxx_cv_system_error18" >&6; }
18956 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18958 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18962 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18963 if test "${glibcxx_cv_system_error19+set}" = set; then :
18964 $as_echo_n "(cached) " >&6
18965 else
18967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18968 /* end confdefs.h. */
18969 #include <errno.h>
18971 main ()
18973 int i = EWOULDBLOCK;
18975 return 0;
18977 _ACEOF
18978 if ac_fn_c_try_compile "$LINENO"; then :
18979 glibcxx_cv_system_error19=yes
18980 else
18981 glibcxx_cv_system_error19=no
18983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18988 $as_echo "$glibcxx_cv_system_error19" >&6; }
18989 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18991 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18998 # Test uchar.h.
18999 for ac_header in uchar.h
19000 do :
19001 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19002 if test "x$ac_cv_header_uchar_h" = x""yes; then :
19003 cat >>confdefs.h <<_ACEOF
19004 #define HAVE_UCHAR_H 1
19005 _ACEOF
19006 ac_has_uchar_h=yes
19007 else
19008 ac_has_uchar_h=no
19011 done
19015 ac_ext=cpp
19016 ac_cpp='$CXXCPP $CPPFLAGS'
19017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19021 ac_save_CXXFLAGS="$CXXFLAGS"
19022 CXXFLAGS="$CXXFLAGS -std=c++11"
19024 if test x"$ac_has_uchar_h" = x"yes"; then
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19026 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 #include <uchar.h>
19030 #ifdef __STDC_UTF_16__
19031 long i = __STDC_UTF_16__;
19032 #endif
19033 #ifdef __STDC_UTF_32__
19034 long j = __STDC_UTF_32__;
19035 #endif
19036 namespace test
19038 using ::c16rtomb;
19039 using ::c32rtomb;
19040 using ::mbrtoc16;
19041 using ::mbrtoc32;
19045 main ()
19049 return 0;
19051 _ACEOF
19052 if ac_fn_cxx_try_compile "$LINENO"; then :
19053 ac_c11_uchar_cxx11=yes
19054 else
19055 ac_c11_uchar_cxx11=no
19057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19058 else
19059 ac_c11_uchar_cxx11=no
19061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19062 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19063 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19065 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19069 CXXFLAGS="$ac_save_CXXFLAGS"
19070 ac_ext=c
19071 ac_cpp='$CPP $CPPFLAGS'
19072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19078 # For the streamoff typedef.
19082 ac_ext=cpp
19083 ac_cpp='$CXXCPP $CPPFLAGS'
19084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19090 $as_echo_n "checking for int64_t... " >&6; }
19091 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19092 $as_echo_n "(cached) " >&6
19093 else
19095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19096 /* end confdefs.h. */
19097 #include <stdint.h>
19099 main ()
19101 int64_t var;
19103 return 0;
19105 _ACEOF
19106 if ac_fn_cxx_try_compile "$LINENO"; then :
19107 glibcxx_cv_INT64_T=yes
19108 else
19109 glibcxx_cv_INT64_T=no
19111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 if test $glibcxx_cv_INT64_T = yes; then
19118 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19121 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19124 $as_echo_n "checking for int64_t as long... " >&6; }
19125 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19126 $as_echo_n "(cached) " >&6
19127 else
19129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19130 /* end confdefs.h. */
19131 #include <stdint.h>
19132 template<typename, typename> struct same { enum { value = -1 }; };
19133 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19134 int array[same<int64_t, long>::value];
19136 main ()
19140 return 0;
19142 _ACEOF
19143 if ac_fn_cxx_try_compile "$LINENO"; then :
19144 glibcxx_cv_int64_t_long=yes
19145 else
19146 glibcxx_cv_int64_t_long=no
19148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19153 if test $glibcxx_cv_int64_t_long = yes; then
19155 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19158 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19162 $as_echo_n "checking for int64_t as long long... " >&6; }
19163 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19164 $as_echo_n "(cached) " >&6
19165 else
19167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19168 /* end confdefs.h. */
19169 #include <stdint.h>
19170 template<typename, typename> struct same { enum { value = -1 }; };
19171 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19172 int array[same<int64_t, long long>::value];
19174 main ()
19178 return 0;
19180 _ACEOF
19181 if ac_fn_cxx_try_compile "$LINENO"; then :
19182 glibcxx_cv_int64_t_long_long=yes
19183 else
19184 glibcxx_cv_int64_t_long_long=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19191 if test $glibcxx_cv_int64_t_long_long = yes; then
19193 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19196 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19200 ac_ext=c
19201 ac_cpp='$CPP $CPPFLAGS'
19202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19208 # For LFS support.
19211 ac_ext=cpp
19212 ac_cpp='$CXXCPP $CPPFLAGS'
19213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19217 ac_save_CXXFLAGS="$CXXFLAGS"
19218 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19220 $as_echo_n "checking for LFS support... " >&6; }
19221 if test "${glibcxx_cv_LFS+set}" = set; then :
19222 $as_echo_n "(cached) " >&6
19223 else
19225 if test x$gcc_no_link = xyes; then
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 #include <unistd.h>
19229 #include <stdio.h>
19230 #include <sys/stat.h>
19233 main ()
19235 FILE* fp;
19236 fopen64("t", "w");
19237 fseeko64(fp, 0, SEEK_CUR);
19238 ftello64(fp);
19239 lseek64(1, 0, SEEK_CUR);
19240 struct stat64 buf;
19241 fstat64(1, &buf);
19243 return 0;
19245 _ACEOF
19246 if ac_fn_cxx_try_compile "$LINENO"; then :
19247 glibcxx_cv_LFS=yes
19248 else
19249 glibcxx_cv_LFS=no
19251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19252 else
19253 if test x$gcc_no_link = xyes; then
19254 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 #include <unistd.h>
19259 #include <stdio.h>
19260 #include <sys/stat.h>
19263 main ()
19265 FILE* fp;
19266 fopen64("t", "w");
19267 fseeko64(fp, 0, SEEK_CUR);
19268 ftello64(fp);
19269 lseek64(1, 0, SEEK_CUR);
19270 struct stat64 buf;
19271 fstat64(1, &buf);
19273 return 0;
19275 _ACEOF
19276 if ac_fn_cxx_try_link "$LINENO"; then :
19277 glibcxx_cv_LFS=yes
19278 else
19279 glibcxx_cv_LFS=no
19281 rm -f core conftest.err conftest.$ac_objext \
19282 conftest$ac_exeext conftest.$ac_ext
19287 if test $glibcxx_cv_LFS = yes; then
19289 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19293 $as_echo "$glibcxx_cv_LFS" >&6; }
19294 CXXFLAGS="$ac_save_CXXFLAGS"
19295 ac_ext=c
19296 ac_cpp='$CPP $CPPFLAGS'
19297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19303 # For showmanyc_helper().
19304 for ac_header in sys/ioctl.h sys/filio.h
19305 do :
19306 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19307 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19308 eval as_val=\$$as_ac_Header
19309 if test "x$as_val" = x""yes; then :
19310 cat >>confdefs.h <<_ACEOF
19311 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19312 _ACEOF
19316 done
19321 ac_ext=cpp
19322 ac_cpp='$CXXCPP $CPPFLAGS'
19323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19327 ac_save_CXXFLAGS="$CXXFLAGS"
19328 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19331 $as_echo_n "checking for poll... " >&6; }
19332 if test "${glibcxx_cv_POLL+set}" = set; then :
19333 $as_echo_n "(cached) " >&6
19334 else
19336 if test x$gcc_no_link = xyes; then
19337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19338 /* end confdefs.h. */
19339 #include <poll.h>
19341 main ()
19343 struct pollfd pfd[1];
19344 pfd[0].events = POLLIN;
19345 poll(pfd, 1, 0);
19347 return 0;
19349 _ACEOF
19350 if ac_fn_cxx_try_compile "$LINENO"; then :
19351 glibcxx_cv_POLL=yes
19352 else
19353 glibcxx_cv_POLL=no
19355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19356 else
19357 if test x$gcc_no_link = xyes; then
19358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19361 /* end confdefs.h. */
19362 #include <poll.h>
19364 main ()
19366 struct pollfd pfd[1];
19367 pfd[0].events = POLLIN;
19368 poll(pfd, 1, 0);
19370 return 0;
19372 _ACEOF
19373 if ac_fn_cxx_try_link "$LINENO"; then :
19374 glibcxx_cv_POLL=yes
19375 else
19376 glibcxx_cv_POLL=no
19378 rm -f core conftest.err conftest.$ac_objext \
19379 conftest$ac_exeext conftest.$ac_ext
19384 if test $glibcxx_cv_POLL = yes; then
19386 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19390 $as_echo "$glibcxx_cv_POLL" >&6; }
19392 CXXFLAGS="$ac_save_CXXFLAGS"
19393 ac_ext=c
19394 ac_cpp='$CPP $CPPFLAGS'
19395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19403 ac_ext=cpp
19404 ac_cpp='$CXXCPP $CPPFLAGS'
19405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19409 ac_save_CXXFLAGS="$CXXFLAGS"
19410 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19413 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19414 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19415 $as_echo_n "(cached) " >&6
19416 else
19418 if test x$gcc_no_link = xyes; then
19419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420 /* end confdefs.h. */
19421 #include <sys/stat.h>
19423 main ()
19425 struct stat buffer;
19426 fstat(0, &buffer);
19427 S_ISREG(buffer.st_mode);
19429 return 0;
19431 _ACEOF
19432 if ac_fn_cxx_try_compile "$LINENO"; then :
19433 glibcxx_cv_S_ISREG=yes
19434 else
19435 glibcxx_cv_S_ISREG=no
19437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19438 else
19439 if test x$gcc_no_link = xyes; then
19440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19443 /* end confdefs.h. */
19444 #include <sys/stat.h>
19446 main ()
19448 struct stat buffer;
19449 fstat(0, &buffer);
19450 S_ISREG(buffer.st_mode);
19452 return 0;
19454 _ACEOF
19455 if ac_fn_cxx_try_link "$LINENO"; then :
19456 glibcxx_cv_S_ISREG=yes
19457 else
19458 glibcxx_cv_S_ISREG=no
19460 rm -f core conftest.err conftest.$ac_objext \
19461 conftest$ac_exeext conftest.$ac_ext
19466 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19467 $as_echo_n "(cached) " >&6
19468 else
19470 if test x$gcc_no_link = xyes; then
19471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19472 /* end confdefs.h. */
19473 #include <sys/stat.h>
19475 main ()
19477 struct stat buffer;
19478 fstat(0, &buffer);
19479 S_IFREG & buffer.st_mode;
19481 return 0;
19483 _ACEOF
19484 if ac_fn_cxx_try_compile "$LINENO"; then :
19485 glibcxx_cv_S_IFREG=yes
19486 else
19487 glibcxx_cv_S_IFREG=no
19489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19490 else
19491 if test x$gcc_no_link = xyes; then
19492 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #include <sys/stat.h>
19498 main ()
19500 struct stat buffer;
19501 fstat(0, &buffer);
19502 S_IFREG & buffer.st_mode;
19504 return 0;
19506 _ACEOF
19507 if ac_fn_cxx_try_link "$LINENO"; then :
19508 glibcxx_cv_S_IFREG=yes
19509 else
19510 glibcxx_cv_S_IFREG=no
19512 rm -f core conftest.err conftest.$ac_objext \
19513 conftest$ac_exeext conftest.$ac_ext
19518 res=no
19519 if test $glibcxx_cv_S_ISREG = yes; then
19521 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19523 res=S_ISREG
19524 elif test $glibcxx_cv_S_IFREG = yes; then
19526 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19528 res=S_IFREG
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19531 $as_echo "$res" >&6; }
19533 CXXFLAGS="$ac_save_CXXFLAGS"
19534 ac_ext=c
19535 ac_cpp='$CPP $CPPFLAGS'
19536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19542 # For xsputn_2().
19543 for ac_header in sys/uio.h
19544 do :
19545 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19546 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19547 cat >>confdefs.h <<_ACEOF
19548 #define HAVE_SYS_UIO_H 1
19549 _ACEOF
19553 done
19558 ac_ext=cpp
19559 ac_cpp='$CXXCPP $CPPFLAGS'
19560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19564 ac_save_CXXFLAGS="$CXXFLAGS"
19565 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19568 $as_echo_n "checking for writev... " >&6; }
19569 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19570 $as_echo_n "(cached) " >&6
19571 else
19573 if test x$gcc_no_link = xyes; then
19574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19575 /* end confdefs.h. */
19576 #include <sys/uio.h>
19578 main ()
19580 struct iovec iov[2];
19581 writev(0, iov, 0);
19583 return 0;
19585 _ACEOF
19586 if ac_fn_cxx_try_compile "$LINENO"; then :
19587 glibcxx_cv_WRITEV=yes
19588 else
19589 glibcxx_cv_WRITEV=no
19591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19592 else
19593 if test x$gcc_no_link = xyes; then
19594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19597 /* end confdefs.h. */
19598 #include <sys/uio.h>
19600 main ()
19602 struct iovec iov[2];
19603 writev(0, iov, 0);
19605 return 0;
19607 _ACEOF
19608 if ac_fn_cxx_try_link "$LINENO"; then :
19609 glibcxx_cv_WRITEV=yes
19610 else
19611 glibcxx_cv_WRITEV=no
19613 rm -f core conftest.err conftest.$ac_objext \
19614 conftest$ac_exeext conftest.$ac_ext
19619 if test $glibcxx_cv_WRITEV = yes; then
19621 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19625 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19627 CXXFLAGS="$ac_save_CXXFLAGS"
19628 ac_ext=c
19629 ac_cpp='$CPP $CPPFLAGS'
19630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19636 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19637 # so that the check is done with the C compiler (not C++).
19638 # Checking with C++ can break a canadian cross build if either
19639 # file does not exist in C but does in C++.
19640 for ac_header in fenv.h complex.h
19641 do :
19642 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19643 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19644 eval as_val=\$$as_ac_Header
19645 if test "x$as_val" = x""yes; then :
19646 cat >>confdefs.h <<_ACEOF
19647 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19648 _ACEOF
19652 done
19655 # For C99 support to TR1.
19659 ac_ext=cpp
19660 ac_cpp='$CXXCPP $CPPFLAGS'
19661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19666 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19667 # undefined and fake C99 facilities may be spuriously enabled.
19668 ac_save_CXXFLAGS="$CXXFLAGS"
19669 CXXFLAGS="$CXXFLAGS -std=c++98"
19671 # Check for the existence of <complex.h> complex math functions used
19672 # by tr1/complex.
19673 for ac_header in complex.h
19674 do :
19675 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19676 if test "x$ac_cv_header_complex_h" = x""yes; then :
19677 cat >>confdefs.h <<_ACEOF
19678 #define HAVE_COMPLEX_H 1
19679 _ACEOF
19680 ac_has_complex_h=yes
19681 else
19682 ac_has_complex_h=no
19685 done
19687 ac_c99_complex_tr1=no;
19688 if test x"$ac_has_complex_h" = x"yes"; then
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19690 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19693 #include <complex.h>
19695 main ()
19697 typedef __complex__ float float_type; float_type tmpf;
19698 cacosf(tmpf);
19699 casinf(tmpf);
19700 catanf(tmpf);
19701 cacoshf(tmpf);
19702 casinhf(tmpf);
19703 catanhf(tmpf);
19704 typedef __complex__ double double_type; double_type tmpd;
19705 cacos(tmpd);
19706 casin(tmpd);
19707 catan(tmpd);
19708 cacosh(tmpd);
19709 casinh(tmpd);
19710 catanh(tmpd);
19711 typedef __complex__ long double ld_type; ld_type tmpld;
19712 cacosl(tmpld);
19713 casinl(tmpld);
19714 catanl(tmpld);
19715 cacoshl(tmpld);
19716 casinhl(tmpld);
19717 catanhl(tmpld);
19720 return 0;
19722 _ACEOF
19723 if ac_fn_cxx_try_compile "$LINENO"; then :
19724 ac_c99_complex_tr1=yes
19725 else
19726 ac_c99_complex_tr1=no
19728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19731 $as_echo "$ac_c99_complex_tr1" >&6; }
19732 if test x"$ac_c99_complex_tr1" = x"yes"; then
19734 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19738 # Check for the existence of <ctype.h> functions.
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19740 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19741 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19742 $as_echo_n "(cached) " >&6
19743 else
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #include <ctype.h>
19749 main ()
19751 int ch;
19752 int ret;
19753 ret = isblank(ch);
19756 return 0;
19758 _ACEOF
19759 if ac_fn_cxx_try_compile "$LINENO"; then :
19760 glibcxx_cv_c99_ctype_tr1=yes
19761 else
19762 glibcxx_cv_c99_ctype_tr1=no
19764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19769 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19770 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19772 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19776 # Check for the existence of <fenv.h> functions.
19777 for ac_header in fenv.h
19778 do :
19779 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19780 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19781 cat >>confdefs.h <<_ACEOF
19782 #define HAVE_FENV_H 1
19783 _ACEOF
19784 ac_has_fenv_h=yes
19785 else
19786 ac_has_fenv_h=no
19789 done
19791 ac_c99_fenv_tr1=no;
19792 if test x"$ac_has_fenv_h" = x"yes"; then
19793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19794 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19796 /* end confdefs.h. */
19797 #include <fenv.h>
19799 main ()
19801 int except, mode;
19802 fexcept_t* pflag;
19803 fenv_t* penv;
19804 int ret;
19805 ret = feclearexcept(except);
19806 ret = fegetexceptflag(pflag, except);
19807 ret = feraiseexcept(except);
19808 ret = fesetexceptflag(pflag, except);
19809 ret = fetestexcept(except);
19810 ret = fegetround();
19811 ret = fesetround(mode);
19812 ret = fegetenv(penv);
19813 ret = feholdexcept(penv);
19814 ret = fesetenv(penv);
19815 ret = feupdateenv(penv);
19818 return 0;
19820 _ACEOF
19821 if ac_fn_cxx_try_compile "$LINENO"; then :
19822 ac_c99_fenv_tr1=yes
19823 else
19824 ac_c99_fenv_tr1=no
19826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19829 $as_echo "$ac_c99_fenv_tr1" >&6; }
19830 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19832 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19836 # Check for the existence of <stdint.h> types.
19837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19838 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19839 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19840 $as_echo_n "(cached) " >&6
19841 else
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #define __STDC_LIMIT_MACROS
19846 #define __STDC_CONSTANT_MACROS
19847 #include <stdint.h>
19849 main ()
19851 typedef int8_t my_int8_t;
19852 my_int8_t i8 = INT8_MIN;
19853 i8 = INT8_MAX;
19854 typedef int16_t my_int16_t;
19855 my_int16_t i16 = INT16_MIN;
19856 i16 = INT16_MAX;
19857 typedef int32_t my_int32_t;
19858 my_int32_t i32 = INT32_MIN;
19859 i32 = INT32_MAX;
19860 typedef int64_t my_int64_t;
19861 my_int64_t i64 = INT64_MIN;
19862 i64 = INT64_MAX;
19863 typedef int_fast8_t my_int_fast8_t;
19864 my_int_fast8_t if8 = INT_FAST8_MIN;
19865 if8 = INT_FAST8_MAX;
19866 typedef int_fast16_t my_int_fast16_t;
19867 my_int_fast16_t if16 = INT_FAST16_MIN;
19868 if16 = INT_FAST16_MAX;
19869 typedef int_fast32_t my_int_fast32_t;
19870 my_int_fast32_t if32 = INT_FAST32_MIN;
19871 if32 = INT_FAST32_MAX;
19872 typedef int_fast64_t my_int_fast64_t;
19873 my_int_fast64_t if64 = INT_FAST64_MIN;
19874 if64 = INT_FAST64_MAX;
19875 typedef int_least8_t my_int_least8_t;
19876 my_int_least8_t il8 = INT_LEAST8_MIN;
19877 il8 = INT_LEAST8_MAX;
19878 typedef int_least16_t my_int_least16_t;
19879 my_int_least16_t il16 = INT_LEAST16_MIN;
19880 il16 = INT_LEAST16_MAX;
19881 typedef int_least32_t my_int_least32_t;
19882 my_int_least32_t il32 = INT_LEAST32_MIN;
19883 il32 = INT_LEAST32_MAX;
19884 typedef int_least64_t my_int_least64_t;
19885 my_int_least64_t il64 = INT_LEAST64_MIN;
19886 il64 = INT_LEAST64_MAX;
19887 typedef intmax_t my_intmax_t;
19888 my_intmax_t im = INTMAX_MAX;
19889 im = INTMAX_MIN;
19890 typedef intptr_t my_intptr_t;
19891 my_intptr_t ip = INTPTR_MAX;
19892 ip = INTPTR_MIN;
19893 typedef uint8_t my_uint8_t;
19894 my_uint8_t ui8 = UINT8_MAX;
19895 ui8 = UINT8_MAX;
19896 typedef uint16_t my_uint16_t;
19897 my_uint16_t ui16 = UINT16_MAX;
19898 ui16 = UINT16_MAX;
19899 typedef uint32_t my_uint32_t;
19900 my_uint32_t ui32 = UINT32_MAX;
19901 ui32 = UINT32_MAX;
19902 typedef uint64_t my_uint64_t;
19903 my_uint64_t ui64 = UINT64_MAX;
19904 ui64 = UINT64_MAX;
19905 typedef uint_fast8_t my_uint_fast8_t;
19906 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19907 uif8 = UINT_FAST8_MAX;
19908 typedef uint_fast16_t my_uint_fast16_t;
19909 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19910 uif16 = UINT_FAST16_MAX;
19911 typedef uint_fast32_t my_uint_fast32_t;
19912 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19913 uif32 = UINT_FAST32_MAX;
19914 typedef uint_fast64_t my_uint_fast64_t;
19915 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19916 uif64 = UINT_FAST64_MAX;
19917 typedef uint_least8_t my_uint_least8_t;
19918 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19919 uil8 = UINT_LEAST8_MAX;
19920 typedef uint_least16_t my_uint_least16_t;
19921 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19922 uil16 = UINT_LEAST16_MAX;
19923 typedef uint_least32_t my_uint_least32_t;
19924 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19925 uil32 = UINT_LEAST32_MAX;
19926 typedef uint_least64_t my_uint_least64_t;
19927 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19928 uil64 = UINT_LEAST64_MAX;
19929 typedef uintmax_t my_uintmax_t;
19930 my_uintmax_t uim = UINTMAX_MAX;
19931 uim = UINTMAX_MAX;
19932 typedef uintptr_t my_uintptr_t;
19933 my_uintptr_t uip = UINTPTR_MAX;
19934 uip = UINTPTR_MAX;
19937 return 0;
19939 _ACEOF
19940 if ac_fn_cxx_try_compile "$LINENO"; then :
19941 glibcxx_cv_c99_stdint_tr1=yes
19942 else
19943 glibcxx_cv_c99_stdint_tr1=no
19945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19950 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19951 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19953 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19957 # Check for the existence of <math.h> functions.
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19959 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19960 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19961 $as_echo_n "(cached) " >&6
19962 else
19964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19965 /* end confdefs.h. */
19966 #include <math.h>
19968 main ()
19970 typedef double_t my_double_t;
19971 typedef float_t my_float_t;
19972 acosh(0.0);
19973 acoshf(0.0f);
19974 acoshl(0.0l);
19975 asinh(0.0);
19976 asinhf(0.0f);
19977 asinhl(0.0l);
19978 atanh(0.0);
19979 atanhf(0.0f);
19980 atanhl(0.0l);
19981 cbrt(0.0);
19982 cbrtf(0.0f);
19983 cbrtl(0.0l);
19984 copysign(0.0, 0.0);
19985 copysignf(0.0f, 0.0f);
19986 copysignl(0.0l, 0.0l);
19987 erf(0.0);
19988 erff(0.0f);
19989 erfl(0.0l);
19990 erfc(0.0);
19991 erfcf(0.0f);
19992 erfcl(0.0l);
19993 exp2(0.0);
19994 exp2f(0.0f);
19995 exp2l(0.0l);
19996 expm1(0.0);
19997 expm1f(0.0f);
19998 expm1l(0.0l);
19999 fdim(0.0, 0.0);
20000 fdimf(0.0f, 0.0f);
20001 fdiml(0.0l, 0.0l);
20002 fma(0.0, 0.0, 0.0);
20003 fmaf(0.0f, 0.0f, 0.0f);
20004 fmal(0.0l, 0.0l, 0.0l);
20005 fmax(0.0, 0.0);
20006 fmaxf(0.0f, 0.0f);
20007 fmaxl(0.0l, 0.0l);
20008 fmin(0.0, 0.0);
20009 fminf(0.0f, 0.0f);
20010 fminl(0.0l, 0.0l);
20011 hypot(0.0, 0.0);
20012 hypotf(0.0f, 0.0f);
20013 hypotl(0.0l, 0.0l);
20014 ilogb(0.0);
20015 ilogbf(0.0f);
20016 ilogbl(0.0l);
20017 lgamma(0.0);
20018 lgammaf(0.0f);
20019 lgammal(0.0l);
20020 llrint(0.0);
20021 llrintf(0.0f);
20022 llrintl(0.0l);
20023 llround(0.0);
20024 llroundf(0.0f);
20025 llroundl(0.0l);
20026 log1p(0.0);
20027 log1pf(0.0f);
20028 log1pl(0.0l);
20029 log2(0.0);
20030 log2f(0.0f);
20031 log2l(0.0l);
20032 logb(0.0);
20033 logbf(0.0f);
20034 logbl(0.0l);
20035 lrint(0.0);
20036 lrintf(0.0f);
20037 lrintl(0.0l);
20038 lround(0.0);
20039 lroundf(0.0f);
20040 lroundl(0.0l);
20041 nan(0);
20042 nanf(0);
20043 nanl(0);
20044 nearbyint(0.0);
20045 nearbyintf(0.0f);
20046 nearbyintl(0.0l);
20047 nextafter(0.0, 0.0);
20048 nextafterf(0.0f, 0.0f);
20049 nextafterl(0.0l, 0.0l);
20050 nexttoward(0.0, 0.0);
20051 nexttowardf(0.0f, 0.0f);
20052 nexttowardl(0.0l, 0.0l);
20053 remainder(0.0, 0.0);
20054 remainderf(0.0f, 0.0f);
20055 remainderl(0.0l, 0.0l);
20056 remquo(0.0, 0.0, 0);
20057 remquof(0.0f, 0.0f, 0);
20058 remquol(0.0l, 0.0l, 0);
20059 rint(0.0);
20060 rintf(0.0f);
20061 rintl(0.0l);
20062 round(0.0);
20063 roundf(0.0f);
20064 roundl(0.0l);
20065 scalbln(0.0, 0l);
20066 scalblnf(0.0f, 0l);
20067 scalblnl(0.0l, 0l);
20068 scalbn(0.0, 0);
20069 scalbnf(0.0f, 0);
20070 scalbnl(0.0l, 0);
20071 tgamma(0.0);
20072 tgammaf(0.0f);
20073 tgammal(0.0l);
20074 trunc(0.0);
20075 truncf(0.0f);
20076 truncl(0.0l);
20079 return 0;
20081 _ACEOF
20082 if ac_fn_cxx_try_compile "$LINENO"; then :
20083 glibcxx_cv_c99_math_tr1=yes
20084 else
20085 glibcxx_cv_c99_math_tr1=no
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20092 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20093 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20095 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20099 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20100 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20101 ac_c99_inttypes_tr1=no;
20102 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20104 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20106 /* end confdefs.h. */
20107 #include <inttypes.h>
20109 main ()
20111 intmax_t i, numer, denom, base;
20112 const char* s;
20113 char** endptr;
20114 intmax_t ret = imaxabs(i);
20115 imaxdiv_t dret = imaxdiv(numer, denom);
20116 ret = strtoimax(s, endptr, base);
20117 uintmax_t uret = strtoumax(s, endptr, base);
20120 return 0;
20122 _ACEOF
20123 if ac_fn_cxx_try_compile "$LINENO"; then :
20124 ac_c99_inttypes_tr1=yes
20125 else
20126 ac_c99_inttypes_tr1=no
20128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20131 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20132 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20134 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20138 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20139 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20140 ac_c99_inttypes_wchar_t_tr1=no;
20141 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20143 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20145 /* end confdefs.h. */
20146 #include <inttypes.h>
20148 main ()
20150 intmax_t base;
20151 const wchar_t* s;
20152 wchar_t** endptr;
20153 intmax_t ret = wcstoimax(s, endptr, base);
20154 uintmax_t uret = wcstoumax(s, endptr, base);
20157 return 0;
20159 _ACEOF
20160 if ac_fn_cxx_try_compile "$LINENO"; then :
20161 ac_c99_inttypes_wchar_t_tr1=yes
20162 else
20163 ac_c99_inttypes_wchar_t_tr1=no
20165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20168 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20169 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20171 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20175 # Check for the existence of the <stdbool.h> header.
20176 for ac_header in stdbool.h
20177 do :
20178 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20179 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20180 cat >>confdefs.h <<_ACEOF
20181 #define HAVE_STDBOOL_H 1
20182 _ACEOF
20186 done
20189 # Check for the existence of the <stdalign.h> header.
20190 for ac_header in stdalign.h
20191 do :
20192 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20193 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20194 cat >>confdefs.h <<_ACEOF
20195 #define HAVE_STDALIGN_H 1
20196 _ACEOF
20200 done
20203 CXXFLAGS="$ac_save_CXXFLAGS"
20204 ac_ext=c
20205 ac_cpp='$CPP $CPPFLAGS'
20206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20212 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20216 $as_echo_n "checking for the value of EOF... " >&6; }
20217 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20221 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20223 else
20224 as_fn_error "computing EOF failed" "$LINENO" 5
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20230 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20232 cat >>confdefs.h <<_ACEOF
20233 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20234 _ACEOF
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20238 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20239 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20240 $as_echo_n "(cached) " >&6
20241 else
20243 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20245 else
20246 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20252 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20254 cat >>confdefs.h <<_ACEOF
20255 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20256 _ACEOF
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20260 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20261 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20262 $as_echo_n "(cached) " >&6
20263 else
20265 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20267 else
20268 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20274 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20276 cat >>confdefs.h <<_ACEOF
20277 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20278 _ACEOF
20282 # For gettimeofday support.
20285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20286 $as_echo_n "checking for gettimeofday... " >&6; }
20289 ac_ext=cpp
20290 ac_cpp='$CXXCPP $CPPFLAGS'
20291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20295 ac_save_CXXFLAGS="$CXXFLAGS"
20296 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20298 ac_has_gettimeofday=no;
20299 for ac_header in sys/time.h
20300 do :
20301 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20302 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20303 cat >>confdefs.h <<_ACEOF
20304 #define HAVE_SYS_TIME_H 1
20305 _ACEOF
20306 ac_has_sys_time_h=yes
20307 else
20308 ac_has_sys_time_h=no
20311 done
20313 if test x"$ac_has_sys_time_h" = x"yes"; then
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20315 $as_echo_n "checking for gettimeofday... " >&6; }
20316 if test x$gcc_no_link = xyes; then
20317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20318 /* end confdefs.h. */
20319 #include <sys/time.h>
20321 main ()
20323 timeval tv; gettimeofday(&tv, 0);
20325 return 0;
20327 _ACEOF
20328 if ac_fn_cxx_try_compile "$LINENO"; then :
20329 ac_has_gettimeofday=yes
20330 else
20331 ac_has_gettimeofday=no
20333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20334 else
20335 if test x$gcc_no_link = xyes; then
20336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20339 /* end confdefs.h. */
20340 #include <sys/time.h>
20342 main ()
20344 timeval tv; gettimeofday(&tv, 0);
20346 return 0;
20348 _ACEOF
20349 if ac_fn_cxx_try_link "$LINENO"; then :
20350 ac_has_gettimeofday=yes
20351 else
20352 ac_has_gettimeofday=no
20354 rm -f core conftest.err conftest.$ac_objext \
20355 conftest$ac_exeext conftest.$ac_ext
20358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20359 $as_echo "$ac_has_gettimeofday" >&6; }
20362 if test x"$ac_has_gettimeofday" = x"yes"; then
20364 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20368 CXXFLAGS="$ac_save_CXXFLAGS"
20369 ac_ext=c
20370 ac_cpp='$CPP $CPPFLAGS'
20371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20377 # For clock_gettime, nanosleep and sched_yield support.
20380 # Check whether --enable-libstdcxx-time was given.
20381 if test "${enable_libstdcxx_time+set}" = set; then :
20382 enableval=$enable_libstdcxx_time;
20383 case "$enableval" in
20384 yes|no|rt) ;;
20385 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20386 esac
20388 else
20389 enable_libstdcxx_time=auto
20395 ac_ext=cpp
20396 ac_cpp='$CXXCPP $CPPFLAGS'
20397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20401 ac_save_CXXFLAGS="$CXXFLAGS"
20402 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20403 ac_save_LIBS="$LIBS"
20405 ac_has_clock_monotonic=no
20406 ac_has_clock_realtime=no
20407 ac_has_nanosleep=no
20408 ac_has_sched_yield=no
20410 if test x"$enable_libstdcxx_time" = x"auto"; then
20412 case "${target_os}" in
20413 cygwin*)
20414 ac_has_nanosleep=yes
20416 darwin*)
20417 ac_has_nanosleep=yes
20418 ac_has_sched_yield=yes
20420 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20422 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20425 #include <features.h>
20427 main ()
20430 #if ! __GLIBC_PREREQ(2, 17)
20431 #error
20432 #endif
20435 return 0;
20437 _ACEOF
20438 if ac_fn_cxx_try_compile "$LINENO"; then :
20439 glibcxx_glibc217=yes
20440 else
20441 glibcxx_glibc217=no
20443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20445 $as_echo "$glibcxx_glibc217" >&6; }
20447 if test x"$glibcxx_glibc217" = x"yes"; then
20448 ac_has_clock_monotonic=yes
20449 ac_has_clock_realtime=yes
20451 ac_has_nanosleep=yes
20452 ac_has_sched_yield=yes
20454 freebsd*|netbsd*|dragonfly*)
20455 ac_has_clock_monotonic=yes
20456 ac_has_clock_realtime=yes
20457 ac_has_nanosleep=yes
20458 ac_has_sched_yield=yes
20460 openbsd*)
20461 ac_has_clock_monotonic=yes
20462 ac_has_clock_realtime=yes
20463 ac_has_nanosleep=yes
20465 solaris*)
20466 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20467 ac_has_clock_monotonic=yes
20468 ac_has_clock_realtime=yes
20469 ac_has_nanosleep=yes
20470 ac_has_sched_yield=yes
20472 esac
20474 elif test x"$enable_libstdcxx_time" != x"no"; then
20476 if test x"$enable_libstdcxx_time" = x"rt"; then
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20478 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20479 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20480 $as_echo_n "(cached) " >&6
20481 else
20482 ac_func_search_save_LIBS=$LIBS
20483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20486 /* Override any GCC internal prototype to avoid an error.
20487 Use char because int might match the return type of a GCC
20488 builtin and then its argument prototype would still apply. */
20489 #ifdef __cplusplus
20490 extern "C"
20491 #endif
20492 char clock_gettime ();
20494 main ()
20496 return clock_gettime ();
20498 return 0;
20500 _ACEOF
20501 for ac_lib in '' rt posix4; do
20502 if test -z "$ac_lib"; then
20503 ac_res="none required"
20504 else
20505 ac_res=-l$ac_lib
20506 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20508 if test x$gcc_no_link = xyes; then
20509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20511 if ac_fn_cxx_try_link "$LINENO"; then :
20512 ac_cv_search_clock_gettime=$ac_res
20514 rm -f core conftest.err conftest.$ac_objext \
20515 conftest$ac_exeext
20516 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20517 break
20519 done
20520 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20522 else
20523 ac_cv_search_clock_gettime=no
20525 rm conftest.$ac_ext
20526 LIBS=$ac_func_search_save_LIBS
20528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20529 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20530 ac_res=$ac_cv_search_clock_gettime
20531 if test "$ac_res" != no; then :
20532 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20537 $as_echo_n "checking for library containing nanosleep... " >&6; }
20538 if test "${ac_cv_search_nanosleep+set}" = set; then :
20539 $as_echo_n "(cached) " >&6
20540 else
20541 ac_func_search_save_LIBS=$LIBS
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20545 /* Override any GCC internal prototype to avoid an error.
20546 Use char because int might match the return type of a GCC
20547 builtin and then its argument prototype would still apply. */
20548 #ifdef __cplusplus
20549 extern "C"
20550 #endif
20551 char nanosleep ();
20553 main ()
20555 return nanosleep ();
20557 return 0;
20559 _ACEOF
20560 for ac_lib in '' rt posix4; do
20561 if test -z "$ac_lib"; then
20562 ac_res="none required"
20563 else
20564 ac_res=-l$ac_lib
20565 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20567 if test x$gcc_no_link = xyes; then
20568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20570 if ac_fn_cxx_try_link "$LINENO"; then :
20571 ac_cv_search_nanosleep=$ac_res
20573 rm -f core conftest.err conftest.$ac_objext \
20574 conftest$ac_exeext
20575 if test "${ac_cv_search_nanosleep+set}" = set; then :
20576 break
20578 done
20579 if test "${ac_cv_search_nanosleep+set}" = set; then :
20581 else
20582 ac_cv_search_nanosleep=no
20584 rm conftest.$ac_ext
20585 LIBS=$ac_func_search_save_LIBS
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20588 $as_echo "$ac_cv_search_nanosleep" >&6; }
20589 ac_res=$ac_cv_search_nanosleep
20590 if test "$ac_res" != no; then :
20591 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20595 else
20596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20597 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20598 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20599 $as_echo_n "(cached) " >&6
20600 else
20601 ac_func_search_save_LIBS=$LIBS
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20605 /* Override any GCC internal prototype to avoid an error.
20606 Use char because int might match the return type of a GCC
20607 builtin and then its argument prototype would still apply. */
20608 #ifdef __cplusplus
20609 extern "C"
20610 #endif
20611 char clock_gettime ();
20613 main ()
20615 return clock_gettime ();
20617 return 0;
20619 _ACEOF
20620 for ac_lib in '' posix4; do
20621 if test -z "$ac_lib"; then
20622 ac_res="none required"
20623 else
20624 ac_res=-l$ac_lib
20625 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20627 if test x$gcc_no_link = xyes; then
20628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20630 if ac_fn_cxx_try_link "$LINENO"; then :
20631 ac_cv_search_clock_gettime=$ac_res
20633 rm -f core conftest.err conftest.$ac_objext \
20634 conftest$ac_exeext
20635 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20636 break
20638 done
20639 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20641 else
20642 ac_cv_search_clock_gettime=no
20644 rm conftest.$ac_ext
20645 LIBS=$ac_func_search_save_LIBS
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20648 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20649 ac_res=$ac_cv_search_clock_gettime
20650 if test "$ac_res" != no; then :
20651 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20656 $as_echo_n "checking for library containing nanosleep... " >&6; }
20657 if test "${ac_cv_search_nanosleep+set}" = set; then :
20658 $as_echo_n "(cached) " >&6
20659 else
20660 ac_func_search_save_LIBS=$LIBS
20661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20662 /* end confdefs.h. */
20664 /* Override any GCC internal prototype to avoid an error.
20665 Use char because int might match the return type of a GCC
20666 builtin and then its argument prototype would still apply. */
20667 #ifdef __cplusplus
20668 extern "C"
20669 #endif
20670 char nanosleep ();
20672 main ()
20674 return nanosleep ();
20676 return 0;
20678 _ACEOF
20679 for ac_lib in '' posix4; do
20680 if test -z "$ac_lib"; then
20681 ac_res="none required"
20682 else
20683 ac_res=-l$ac_lib
20684 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20686 if test x$gcc_no_link = xyes; then
20687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20689 if ac_fn_cxx_try_link "$LINENO"; then :
20690 ac_cv_search_nanosleep=$ac_res
20692 rm -f core conftest.err conftest.$ac_objext \
20693 conftest$ac_exeext
20694 if test "${ac_cv_search_nanosleep+set}" = set; then :
20695 break
20697 done
20698 if test "${ac_cv_search_nanosleep+set}" = set; then :
20700 else
20701 ac_cv_search_nanosleep=no
20703 rm conftest.$ac_ext
20704 LIBS=$ac_func_search_save_LIBS
20706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20707 $as_echo "$ac_cv_search_nanosleep" >&6; }
20708 ac_res=$ac_cv_search_nanosleep
20709 if test "$ac_res" != no; then :
20710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20716 case "$ac_cv_search_clock_gettime" in
20717 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20719 esac
20720 case "$ac_cv_search_nanosleep" in
20721 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20723 esac
20725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20726 $as_echo_n "checking for library containing sched_yield... " >&6; }
20727 if test "${ac_cv_search_sched_yield+set}" = set; then :
20728 $as_echo_n "(cached) " >&6
20729 else
20730 ac_func_search_save_LIBS=$LIBS
20731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20732 /* end confdefs.h. */
20734 /* Override any GCC internal prototype to avoid an error.
20735 Use char because int might match the return type of a GCC
20736 builtin and then its argument prototype would still apply. */
20737 #ifdef __cplusplus
20738 extern "C"
20739 #endif
20740 char sched_yield ();
20742 main ()
20744 return sched_yield ();
20746 return 0;
20748 _ACEOF
20749 for ac_lib in '' rt posix4; do
20750 if test -z "$ac_lib"; then
20751 ac_res="none required"
20752 else
20753 ac_res=-l$ac_lib
20754 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20756 if test x$gcc_no_link = xyes; then
20757 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20759 if ac_fn_cxx_try_link "$LINENO"; then :
20760 ac_cv_search_sched_yield=$ac_res
20762 rm -f core conftest.err conftest.$ac_objext \
20763 conftest$ac_exeext
20764 if test "${ac_cv_search_sched_yield+set}" = set; then :
20765 break
20767 done
20768 if test "${ac_cv_search_sched_yield+set}" = set; then :
20770 else
20771 ac_cv_search_sched_yield=no
20773 rm conftest.$ac_ext
20774 LIBS=$ac_func_search_save_LIBS
20776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20777 $as_echo "$ac_cv_search_sched_yield" >&6; }
20778 ac_res=$ac_cv_search_sched_yield
20779 if test "$ac_res" != no; then :
20780 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20785 case "$ac_cv_search_sched_yield" in
20786 -lposix4*)
20787 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20788 ac_has_sched_yield=yes
20790 -lrt*)
20791 if test x"$enable_libstdcxx_time" = x"rt"; then
20792 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20793 ac_has_sched_yield=yes
20797 ac_has_sched_yield=yes
20799 esac
20801 for ac_header in unistd.h
20802 do :
20803 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20804 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20805 cat >>confdefs.h <<_ACEOF
20806 #define HAVE_UNISTD_H 1
20807 _ACEOF
20808 ac_has_unistd_h=yes
20809 else
20810 ac_has_unistd_h=no
20813 done
20816 if test x"$ac_has_unistd_h" = x"yes"; then
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20818 $as_echo_n "checking for monotonic clock... " >&6; }
20819 if test x$gcc_no_link = xyes; then
20820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20823 /* end confdefs.h. */
20824 #include <unistd.h>
20825 #include <time.h>
20828 main ()
20830 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20831 timespec tp;
20832 #endif
20833 clock_gettime(CLOCK_MONOTONIC, &tp);
20836 return 0;
20838 _ACEOF
20839 if ac_fn_cxx_try_link "$LINENO"; then :
20840 ac_has_clock_monotonic=yes
20841 else
20842 ac_has_clock_monotonic=no
20844 rm -f core conftest.err conftest.$ac_objext \
20845 conftest$ac_exeext conftest.$ac_ext
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20848 $as_echo "$ac_has_clock_monotonic" >&6; }
20850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20851 $as_echo_n "checking for realtime clock... " >&6; }
20852 if test x$gcc_no_link = xyes; then
20853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857 #include <unistd.h>
20858 #include <time.h>
20861 main ()
20863 #if _POSIX_TIMERS > 0
20864 timespec tp;
20865 #endif
20866 clock_gettime(CLOCK_REALTIME, &tp);
20869 return 0;
20871 _ACEOF
20872 if ac_fn_cxx_try_link "$LINENO"; then :
20873 ac_has_clock_realtime=yes
20874 else
20875 ac_has_clock_realtime=no
20877 rm -f core conftest.err conftest.$ac_objext \
20878 conftest$ac_exeext conftest.$ac_ext
20880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20881 $as_echo "$ac_has_clock_realtime" >&6; }
20883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20884 $as_echo_n "checking for nanosleep... " >&6; }
20885 if test x$gcc_no_link = xyes; then
20886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20889 /* end confdefs.h. */
20890 #include <unistd.h>
20891 #include <time.h>
20894 main ()
20896 #if _POSIX_TIMERS > 0
20897 timespec tp;
20898 #endif
20899 nanosleep(&tp, 0);
20902 return 0;
20904 _ACEOF
20905 if ac_fn_cxx_try_link "$LINENO"; then :
20906 ac_has_nanosleep=yes
20907 else
20908 ac_has_nanosleep=no
20910 rm -f core conftest.err conftest.$ac_objext \
20911 conftest$ac_exeext conftest.$ac_ext
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20914 $as_echo "$ac_has_nanosleep" >&6; }
20918 if test x"$ac_has_clock_monotonic" != x"yes"; then
20919 case ${target_os} in
20920 linux*)
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20922 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20924 /* end confdefs.h. */
20925 #include <unistd.h>
20926 #include <time.h>
20927 #include <sys/syscall.h>
20930 main ()
20932 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20933 timespec tp;
20934 #endif
20935 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20936 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20939 return 0;
20941 _ACEOF
20942 if ac_fn_cxx_try_compile "$LINENO"; then :
20943 ac_has_clock_monotonic_syscall=yes
20944 else
20945 ac_has_clock_monotonic_syscall=no
20947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20949 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20950 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20952 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20954 ac_has_clock_monotonic=yes
20955 ac_has_clock_realtime=yes
20956 fi;;
20957 esac
20960 if test x"$ac_has_clock_monotonic" = x"yes"; then
20962 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20966 if test x"$ac_has_clock_realtime" = x"yes"; then
20968 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20972 if test x"$ac_has_sched_yield" = x"yes"; then
20974 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20978 if test x"$ac_has_nanosleep" = x"yes"; then
20980 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20982 else
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20984 $as_echo_n "checking for sleep... " >&6; }
20985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20986 /* end confdefs.h. */
20987 #include <unistd.h>
20989 main ()
20991 sleep(1)
20993 return 0;
20995 _ACEOF
20996 if ac_fn_cxx_try_compile "$LINENO"; then :
20997 ac_has_sleep=yes
20998 else
20999 ac_has_sleep=no
21001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21002 if test x"$ac_has_sleep" = x"yes"; then
21004 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21008 $as_echo "$ac_has_sleep" >&6; }
21009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21010 $as_echo_n "checking for usleep... " >&6; }
21011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21012 /* end confdefs.h. */
21013 #include <unistd.h>
21015 main ()
21017 sleep(1);
21018 usleep(100);
21020 return 0;
21022 _ACEOF
21023 if ac_fn_cxx_try_compile "$LINENO"; then :
21024 ac_has_usleep=yes
21025 else
21026 ac_has_usleep=no
21028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21029 if test x"$ac_has_usleep" = x"yes"; then
21031 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21035 $as_echo "$ac_has_usleep" >&6; }
21038 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21040 $as_echo_n "checking for Sleep... " >&6; }
21041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21042 /* end confdefs.h. */
21043 #include <windows.h>
21045 main ()
21047 Sleep(1)
21049 return 0;
21051 _ACEOF
21052 if ac_fn_cxx_try_compile "$LINENO"; then :
21053 ac_has_win32_sleep=yes
21054 else
21055 ac_has_win32_sleep=no
21057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21058 if test x"$ac_has_win32_sleep" = x"yes"; then
21060 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21064 $as_echo "$ac_has_win32_sleep" >&6; }
21069 CXXFLAGS="$ac_save_CXXFLAGS"
21070 LIBS="$ac_save_LIBS"
21071 ac_ext=c
21072 ac_cpp='$CPP $CPPFLAGS'
21073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21079 # Check for tmpnam which is obsolescent in POSIX.1-2008
21081 ac_ext=cpp
21082 ac_cpp='$CXXCPP $CPPFLAGS'
21083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21087 ac_save_CXXFLAGS="$CXXFLAGS"
21088 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21090 $as_echo_n "checking for tmpnam... " >&6; }
21091 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21092 $as_echo_n "(cached) " >&6
21093 else
21094 if test x$gcc_no_link = xyes; then
21095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21096 /* end confdefs.h. */
21097 #include <stdio.h>
21099 main ()
21101 char *tmp = tmpnam(NULL);
21103 return 0;
21105 _ACEOF
21106 if ac_fn_cxx_try_compile "$LINENO"; then :
21107 glibcxx_cv_TMPNAM=yes
21108 else
21109 glibcxx_cv_TMPNAM=no
21111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112 else
21113 if test x$gcc_no_link = xyes; then
21114 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21117 /* end confdefs.h. */
21118 #include <stdio.h>
21120 main ()
21122 char *tmp = tmpnam(NULL);
21124 return 0;
21126 _ACEOF
21127 if ac_fn_cxx_try_link "$LINENO"; then :
21128 glibcxx_cv_TMPNAM=yes
21129 else
21130 glibcxx_cv_TMPNAM=no
21132 rm -f core conftest.err conftest.$ac_objext \
21133 conftest$ac_exeext conftest.$ac_ext
21138 if test $glibcxx_cv_TMPNAM = yes; then
21140 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21144 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21145 CXXFLAGS="$ac_save_CXXFLAGS"
21146 ac_ext=c
21147 ac_cpp='$CPP $CPPFLAGS'
21148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21155 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21156 if test "x$ac_cv_header_locale_h" = x""yes; then :
21158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21159 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21160 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21161 $as_echo_n "(cached) " >&6
21162 else
21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21165 #include <locale.h>
21167 main ()
21169 return LC_MESSAGES
21171 return 0;
21173 _ACEOF
21174 if ac_fn_c_try_compile "$LINENO"; then :
21175 ac_cv_val_LC_MESSAGES=yes
21176 else
21177 ac_cv_val_LC_MESSAGES=no
21179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21182 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21183 if test $ac_cv_val_LC_MESSAGES = yes; then
21185 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21194 # For hardware_concurrency
21195 for ac_header in sys/sysinfo.h
21196 do :
21197 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21198 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE_SYS_SYSINFO_H 1
21201 _ACEOF
21205 done
21210 ac_ext=cpp
21211 ac_cpp='$CXXCPP $CPPFLAGS'
21212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21216 ac_save_CXXFLAGS="$CXXFLAGS"
21217 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21220 $as_echo_n "checking for get_nprocs... " >&6; }
21221 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21222 $as_echo_n "(cached) " >&6
21223 else
21225 if test x$gcc_no_link = xyes; then
21226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21227 /* end confdefs.h. */
21228 #include <sys/sysinfo.h>
21230 main ()
21232 int n = get_nprocs();
21234 return 0;
21236 _ACEOF
21237 if ac_fn_cxx_try_compile "$LINENO"; then :
21238 glibcxx_cv_GET_NPROCS=yes
21239 else
21240 glibcxx_cv_GET_NPROCS=no
21242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21243 else
21244 if test x$gcc_no_link = xyes; then
21245 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21248 /* end confdefs.h. */
21249 #include <sys/sysinfo.h>
21251 main ()
21253 int n = get_nprocs();
21255 return 0;
21257 _ACEOF
21258 if ac_fn_cxx_try_link "$LINENO"; then :
21259 glibcxx_cv_GET_NPROCS=yes
21260 else
21261 glibcxx_cv_GET_NPROCS=no
21263 rm -f core conftest.err conftest.$ac_objext \
21264 conftest$ac_exeext conftest.$ac_ext
21269 if test $glibcxx_cv_GET_NPROCS = yes; then
21271 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21275 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21277 CXXFLAGS="$ac_save_CXXFLAGS"
21278 ac_ext=c
21279 ac_cpp='$CPP $CPPFLAGS'
21280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21285 for ac_header in unistd.h
21286 do :
21287 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21288 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21289 cat >>confdefs.h <<_ACEOF
21290 #define HAVE_UNISTD_H 1
21291 _ACEOF
21295 done
21300 ac_ext=cpp
21301 ac_cpp='$CXXCPP $CPPFLAGS'
21302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21306 ac_save_CXXFLAGS="$CXXFLAGS"
21307 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21310 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21311 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21312 $as_echo_n "(cached) " >&6
21313 else
21315 if test x$gcc_no_link = xyes; then
21316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21317 /* end confdefs.h. */
21318 #include <unistd.h>
21320 main ()
21322 int n = sysconf(_SC_NPROCESSORS_ONLN);
21324 return 0;
21326 _ACEOF
21327 if ac_fn_cxx_try_compile "$LINENO"; then :
21328 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21329 else
21330 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21333 else
21334 if test x$gcc_no_link = xyes; then
21335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21338 /* end confdefs.h. */
21339 #include <unistd.h>
21341 main ()
21343 int n = sysconf(_SC_NPROCESSORS_ONLN);
21345 return 0;
21347 _ACEOF
21348 if ac_fn_cxx_try_link "$LINENO"; then :
21349 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21350 else
21351 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21353 rm -f core conftest.err conftest.$ac_objext \
21354 conftest$ac_exeext conftest.$ac_ext
21359 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21361 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21365 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21367 CXXFLAGS="$ac_save_CXXFLAGS"
21368 ac_ext=c
21369 ac_cpp='$CPP $CPPFLAGS'
21370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21378 ac_ext=cpp
21379 ac_cpp='$CXXCPP $CPPFLAGS'
21380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21384 ac_save_CXXFLAGS="$CXXFLAGS"
21385 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21388 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21389 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21390 $as_echo_n "(cached) " >&6
21391 else
21393 if test x$gcc_no_link = xyes; then
21394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21395 /* end confdefs.h. */
21396 #include <unistd.h>
21398 main ()
21400 int n = sysconf(_SC_NPROC_ONLN);
21402 return 0;
21404 _ACEOF
21405 if ac_fn_cxx_try_compile "$LINENO"; then :
21406 glibcxx_cv_SC_NPROC_ONLN=yes
21407 else
21408 glibcxx_cv_SC_NPROC_ONLN=no
21410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21411 else
21412 if test x$gcc_no_link = xyes; then
21413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21416 /* end confdefs.h. */
21417 #include <unistd.h>
21419 main ()
21421 int n = sysconf(_SC_NPROC_ONLN);
21423 return 0;
21425 _ACEOF
21426 if ac_fn_cxx_try_link "$LINENO"; then :
21427 glibcxx_cv_SC_NPROC_ONLN=yes
21428 else
21429 glibcxx_cv_SC_NPROC_ONLN=no
21431 rm -f core conftest.err conftest.$ac_objext \
21432 conftest$ac_exeext conftest.$ac_ext
21437 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21439 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21443 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21445 CXXFLAGS="$ac_save_CXXFLAGS"
21446 ac_ext=c
21447 ac_cpp='$CPP $CPPFLAGS'
21448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21456 ac_ext=cpp
21457 ac_cpp='$CXXCPP $CPPFLAGS'
21458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21462 ac_save_CXXFLAGS="$CXXFLAGS"
21463 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21466 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21467 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21468 $as_echo_n "(cached) " >&6
21469 else
21471 if test x$gcc_no_link = xyes; then
21472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21473 /* end confdefs.h. */
21474 #include <pthread.h>
21476 main ()
21478 int n = pthread_num_processors_np();
21480 return 0;
21482 _ACEOF
21483 if ac_fn_cxx_try_compile "$LINENO"; then :
21484 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21485 else
21486 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21489 else
21490 if test x$gcc_no_link = xyes; then
21491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21494 /* end confdefs.h. */
21495 #include <pthread.h>
21497 main ()
21499 int n = pthread_num_processors_np();
21501 return 0;
21503 _ACEOF
21504 if ac_fn_cxx_try_link "$LINENO"; then :
21505 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21506 else
21507 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21509 rm -f core conftest.err conftest.$ac_objext \
21510 conftest$ac_exeext conftest.$ac_ext
21515 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21517 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21521 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21523 CXXFLAGS="$ac_save_CXXFLAGS"
21524 ac_ext=c
21525 ac_cpp='$CPP $CPPFLAGS'
21526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21534 ac_ext=cpp
21535 ac_cpp='$CXXCPP $CPPFLAGS'
21536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21540 ac_save_CXXFLAGS="$CXXFLAGS"
21541 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21544 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21545 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21546 $as_echo_n "(cached) " >&6
21547 else
21549 if test x$gcc_no_link = xyes; then
21550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21551 /* end confdefs.h. */
21553 #include <stddef.h>
21554 #include <sys/sysctl.h>
21557 main ()
21560 int count;
21561 size_t size = sizeof(count);
21562 int mib[] = { CTL_HW, HW_NCPU };
21563 sysctl(mib, 2, &count, &size, NULL, 0);
21566 return 0;
21568 _ACEOF
21569 if ac_fn_cxx_try_compile "$LINENO"; then :
21570 glibcxx_cv_SYSCTL_HW_NCPU=yes
21571 else
21572 glibcxx_cv_SYSCTL_HW_NCPU=no
21574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21575 else
21576 if test x$gcc_no_link = xyes; then
21577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21580 /* end confdefs.h. */
21582 #include <stddef.h>
21583 #include <sys/sysctl.h>
21586 main ()
21589 int count;
21590 size_t size = sizeof(count);
21591 int mib[] = { CTL_HW, HW_NCPU };
21592 sysctl(mib, 2, &count, &size, NULL, 0);
21595 return 0;
21597 _ACEOF
21598 if ac_fn_cxx_try_link "$LINENO"; then :
21599 glibcxx_cv_SYSCTL_HW_NCPU=yes
21600 else
21601 glibcxx_cv_SYSCTL_HW_NCPU=no
21603 rm -f core conftest.err conftest.$ac_objext \
21604 conftest$ac_exeext conftest.$ac_ext
21609 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21611 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21615 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21617 CXXFLAGS="$ac_save_CXXFLAGS"
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21627 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21628 # Note that this test has to be run with the C language.
21629 # Otherwise, sdt.h will try to include some headers from
21630 # libstdc++ itself.
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21638 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21639 $as_echo_n "(cached) " >&6
21640 else
21642 # Because we have to run the test in C, we use grep rather
21643 # than the compiler to check for the bug. The bug is that
21644 # were strings without trailing whitespace, causing g++
21645 # to look for operator"". The pattern searches for the fixed
21646 # output.
21647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21648 /* end confdefs.h. */
21650 #include <sys/sdt.h>
21651 int f() { STAP_PROBE(hi, bob); }
21653 _ACEOF
21654 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21655 $EGREP " \",\" " >/dev/null 2>&1; then :
21656 glibcxx_cv_sys_sdt_h=yes
21657 else
21658 glibcxx_cv_sys_sdt_h=no
21660 rm -f conftest*
21665 ac_ext=c
21666 ac_cpp='$CPP $CPPFLAGS'
21667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21671 if test $glibcxx_cv_sys_sdt_h = yes; then
21673 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21677 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21680 # Check for available headers.
21681 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21682 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21683 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21684 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21685 wchar.h wctype.h
21686 do :
21687 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21688 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21689 eval as_val=\$$as_ac_Header
21690 if test "x$as_val" = x""yes; then :
21691 cat >>confdefs.h <<_ACEOF
21692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21693 _ACEOF
21697 done
21700 # Only do link tests if native. Else, hardcode.
21701 if $GLIBCXX_IS_NATIVE; then
21703 # We can do more elaborate tests that assume a working linker.
21704 CANADIAN=no
21708 # Check whether --with-gnu-ld was given.
21709 if test "${with_gnu_ld+set}" = set; then :
21710 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21711 else
21712 with_gnu_ld=no
21715 ac_prog=ld
21716 if test "$GCC" = yes; then
21717 # Check if gcc -print-prog-name=ld gives a path.
21718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21719 $as_echo_n "checking for ld used by $CC... " >&6; }
21720 case $host in
21721 *-*-mingw*)
21722 # gcc leaves a trailing carriage return which upsets mingw
21723 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21725 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21726 esac
21727 case $ac_prog in
21728 # Accept absolute paths.
21729 [\\/]* | ?:[\\/]*)
21730 re_direlt='/[^/][^/]*/\.\./'
21731 # Canonicalize the pathname of ld
21732 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21733 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21734 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21735 done
21736 test -z "$LD" && LD="$ac_prog"
21739 # If it fails, then pretend we aren't using GCC.
21740 ac_prog=ld
21743 # If it is relative, then search for the first ld in PATH.
21744 with_gnu_ld=unknown
21746 esac
21747 elif test "$with_gnu_ld" = yes; then
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21749 $as_echo_n "checking for GNU ld... " >&6; }
21750 else
21751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21752 $as_echo_n "checking for non-GNU ld... " >&6; }
21754 if test "${lt_cv_path_LD+set}" = set; then :
21755 $as_echo_n "(cached) " >&6
21756 else
21757 if test -z "$LD"; then
21758 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21759 for ac_dir in $PATH; do
21760 IFS="$lt_save_ifs"
21761 test -z "$ac_dir" && ac_dir=.
21762 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21763 lt_cv_path_LD="$ac_dir/$ac_prog"
21764 # Check to see if the program is GNU ld. I'd rather use --version,
21765 # but apparently some variants of GNU ld only accept -v.
21766 # Break only if it was the GNU/non-GNU ld that we prefer.
21767 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21768 *GNU* | *'with BFD'*)
21769 test "$with_gnu_ld" != no && break
21772 test "$with_gnu_ld" != yes && break
21774 esac
21776 done
21777 IFS="$lt_save_ifs"
21778 else
21779 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21783 LD="$lt_cv_path_LD"
21784 if test -n "$LD"; then
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21786 $as_echo "$LD" >&6; }
21787 else
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21789 $as_echo "no" >&6; }
21791 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21793 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21794 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21795 $as_echo_n "(cached) " >&6
21796 else
21797 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21798 case `$LD -v 2>&1 </dev/null` in
21799 *GNU* | *'with BFD'*)
21800 lt_cv_prog_gnu_ld=yes
21803 lt_cv_prog_gnu_ld=no
21805 esac
21807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21808 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21809 with_gnu_ld=$lt_cv_prog_gnu_ld
21817 # If we're not using GNU ld, then there's no point in even trying these
21818 # tests. Check for that first. We should have already tested for gld
21819 # by now (in libtool), but require it now just to be safe...
21820 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21821 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21825 # The name set by libtool depends on the version of libtool. Shame on us
21826 # for depending on an impl detail, but c'est la vie. Older versions used
21827 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21828 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21829 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21830 # set (hence we're using an older libtool), then set it.
21831 if test x${with_gnu_ld+set} != xset; then
21832 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21833 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21834 with_gnu_ld=no
21835 else
21836 with_gnu_ld=$ac_cv_prog_gnu_ld
21840 # Start by getting the version number. I think the libtool test already
21841 # does some of this, but throws away the result.
21842 glibcxx_ld_is_gold=no
21843 if test x"$with_gnu_ld" = x"yes"; then
21844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21845 $as_echo_n "checking for ld version... " >&6; }
21847 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21848 glibcxx_ld_is_gold=yes
21850 ldver=`$LD --version 2>/dev/null |
21851 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'`
21853 glibcxx_gnu_ld_version=`echo $ldver | \
21854 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21856 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21859 # Set --gc-sections.
21860 glibcxx_have_gc_sections=no
21861 if test "$glibcxx_ld_is_gold" = "yes"; then
21862 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21863 glibcxx_have_gc_sections=yes
21865 else
21866 glibcxx_gcsections_min_ld=21602
21867 if test x"$with_gnu_ld" = x"yes" &&
21868 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21869 glibcxx_have_gc_sections=yes
21872 if test "$glibcxx_have_gc_sections" = "yes"; then
21873 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21874 # NB: This flag only works reliably after 2.16.1. Configure tests
21875 # for this are difficult, so hard wire a value that should work.
21877 ac_test_CFLAGS="${CFLAGS+set}"
21878 ac_save_CFLAGS="$CFLAGS"
21879 CFLAGS='-Wl,--gc-sections'
21881 # Check for -Wl,--gc-sections
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21883 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21884 if test x$gcc_no_link = xyes; then
21885 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21888 /* end confdefs.h. */
21889 int one(void) { return 1; }
21890 int two(void) { return 2; }
21893 main ()
21895 two();
21897 return 0;
21899 _ACEOF
21900 if ac_fn_c_try_link "$LINENO"; then :
21901 ac_gcsections=yes
21902 else
21903 ac_gcsections=no
21905 rm -f core conftest.err conftest.$ac_objext \
21906 conftest$ac_exeext conftest.$ac_ext
21907 if test "$ac_gcsections" = "yes"; then
21908 rm -f conftest.c
21909 touch conftest.c
21910 if $CC -c conftest.c; then
21911 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21912 grep "Warning: gc-sections option ignored" > /dev/null; then
21913 ac_gcsections=no
21916 rm -f conftest.c conftest.o conftest
21918 if test "$ac_gcsections" = "yes"; then
21919 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21922 $as_echo "$ac_gcsections" >&6; }
21924 if test "$ac_test_CFLAGS" = set; then
21925 CFLAGS="$ac_save_CFLAGS"
21926 else
21927 # this is the suspicious part
21928 CFLAGS=''
21932 # Set -z,relro.
21933 # Note this is only for shared objects.
21934 ac_ld_relro=no
21935 if test x"$with_gnu_ld" = x"yes"; then
21936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21937 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21938 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21939 if test -n "$cxx_z_relo"; then
21940 OPT_LDFLAGS="-Wl,-z,relro"
21941 ac_ld_relro=yes
21943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21944 $as_echo "$ac_ld_relro" >&6; }
21947 # Set linker optimization flags.
21948 if test x"$with_gnu_ld" = x"yes"; then
21949 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21956 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21957 ac_save_CXXFLAGS="$CXXFLAGS"
21958 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21961 $as_echo_n "checking for sin in -lm... " >&6; }
21962 if test "${ac_cv_lib_m_sin+set}" = set; then :
21963 $as_echo_n "(cached) " >&6
21964 else
21965 ac_check_lib_save_LIBS=$LIBS
21966 LIBS="-lm $LIBS"
21967 if test x$gcc_no_link = xyes; then
21968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21971 /* end confdefs.h. */
21973 /* Override any GCC internal prototype to avoid an error.
21974 Use char because int might match the return type of a GCC
21975 builtin and then its argument prototype would still apply. */
21976 #ifdef __cplusplus
21977 extern "C"
21978 #endif
21979 char sin ();
21981 main ()
21983 return sin ();
21985 return 0;
21987 _ACEOF
21988 if ac_fn_c_try_link "$LINENO"; then :
21989 ac_cv_lib_m_sin=yes
21990 else
21991 ac_cv_lib_m_sin=no
21993 rm -f core conftest.err conftest.$ac_objext \
21994 conftest$ac_exeext conftest.$ac_ext
21995 LIBS=$ac_check_lib_save_LIBS
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21998 $as_echo "$ac_cv_lib_m_sin" >&6; }
21999 if test "x$ac_cv_lib_m_sin" = x""yes; then :
22000 libm="-lm"
22003 ac_save_LIBS="$LIBS"
22004 LIBS="$LIBS $libm"
22008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22009 $as_echo_n "checking for isinf declaration... " >&6; }
22010 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22011 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22012 $as_echo_n "(cached) " >&6
22013 else
22016 ac_ext=cpp
22017 ac_cpp='$CXXCPP $CPPFLAGS'
22018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22023 /* end confdefs.h. */
22024 #include <math.h>
22025 #ifdef HAVE_IEEEFP_H
22026 #include <ieeefp.h>
22027 #endif
22030 main ()
22032 isinf(0);
22034 return 0;
22036 _ACEOF
22037 if ac_fn_cxx_try_compile "$LINENO"; then :
22038 glibcxx_cv_func_isinf_use=yes
22039 else
22040 glibcxx_cv_func_isinf_use=no
22042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22043 ac_ext=c
22044 ac_cpp='$CPP $CPPFLAGS'
22045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22054 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22056 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22057 for ac_func in isinf
22058 do :
22059 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22060 if test "x$ac_cv_func_isinf" = x""yes; then :
22061 cat >>confdefs.h <<_ACEOF
22062 #define HAVE_ISINF 1
22063 _ACEOF
22066 done
22068 else
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22071 $as_echo_n "checking for _isinf declaration... " >&6; }
22072 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22073 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22074 $as_echo_n "(cached) " >&6
22075 else
22078 ac_ext=cpp
22079 ac_cpp='$CXXCPP $CPPFLAGS'
22080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22085 /* end confdefs.h. */
22086 #include <math.h>
22087 #ifdef HAVE_IEEEFP_H
22088 #include <ieeefp.h>
22089 #endif
22092 main ()
22094 _isinf(0);
22096 return 0;
22098 _ACEOF
22099 if ac_fn_cxx_try_compile "$LINENO"; then :
22100 glibcxx_cv_func__isinf_use=yes
22101 else
22102 glibcxx_cv_func__isinf_use=no
22104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22105 ac_ext=c
22106 ac_cpp='$CPP $CPPFLAGS'
22107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22116 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22118 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22119 for ac_func in _isinf
22120 do :
22121 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22122 if test "x$ac_cv_func__isinf" = x""yes; then :
22123 cat >>confdefs.h <<_ACEOF
22124 #define HAVE__ISINF 1
22125 _ACEOF
22128 done
22137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22138 $as_echo_n "checking for isnan declaration... " >&6; }
22139 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22140 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22141 $as_echo_n "(cached) " >&6
22142 else
22145 ac_ext=cpp
22146 ac_cpp='$CXXCPP $CPPFLAGS'
22147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22153 #include <math.h>
22154 #ifdef HAVE_IEEEFP_H
22155 #include <ieeefp.h>
22156 #endif
22159 main ()
22161 isnan(0);
22163 return 0;
22165 _ACEOF
22166 if ac_fn_cxx_try_compile "$LINENO"; then :
22167 glibcxx_cv_func_isnan_use=yes
22168 else
22169 glibcxx_cv_func_isnan_use=no
22171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22172 ac_ext=c
22173 ac_cpp='$CPP $CPPFLAGS'
22174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22183 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22185 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22186 for ac_func in isnan
22187 do :
22188 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22189 if test "x$ac_cv_func_isnan" = x""yes; then :
22190 cat >>confdefs.h <<_ACEOF
22191 #define HAVE_ISNAN 1
22192 _ACEOF
22195 done
22197 else
22199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22200 $as_echo_n "checking for _isnan declaration... " >&6; }
22201 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22202 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22203 $as_echo_n "(cached) " >&6
22204 else
22207 ac_ext=cpp
22208 ac_cpp='$CXXCPP $CPPFLAGS'
22209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22214 /* end confdefs.h. */
22215 #include <math.h>
22216 #ifdef HAVE_IEEEFP_H
22217 #include <ieeefp.h>
22218 #endif
22221 main ()
22223 _isnan(0);
22225 return 0;
22227 _ACEOF
22228 if ac_fn_cxx_try_compile "$LINENO"; then :
22229 glibcxx_cv_func__isnan_use=yes
22230 else
22231 glibcxx_cv_func__isnan_use=no
22233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22234 ac_ext=c
22235 ac_cpp='$CPP $CPPFLAGS'
22236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22245 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22247 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22248 for ac_func in _isnan
22249 do :
22250 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22251 if test "x$ac_cv_func__isnan" = x""yes; then :
22252 cat >>confdefs.h <<_ACEOF
22253 #define HAVE__ISNAN 1
22254 _ACEOF
22257 done
22266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22267 $as_echo_n "checking for finite declaration... " >&6; }
22268 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22269 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22270 $as_echo_n "(cached) " >&6
22271 else
22274 ac_ext=cpp
22275 ac_cpp='$CXXCPP $CPPFLAGS'
22276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22281 /* end confdefs.h. */
22282 #include <math.h>
22283 #ifdef HAVE_IEEEFP_H
22284 #include <ieeefp.h>
22285 #endif
22288 main ()
22290 finite(0);
22292 return 0;
22294 _ACEOF
22295 if ac_fn_cxx_try_compile "$LINENO"; then :
22296 glibcxx_cv_func_finite_use=yes
22297 else
22298 glibcxx_cv_func_finite_use=no
22300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22301 ac_ext=c
22302 ac_cpp='$CPP $CPPFLAGS'
22303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22312 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22314 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22315 for ac_func in finite
22316 do :
22317 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22318 if test "x$ac_cv_func_finite" = x""yes; then :
22319 cat >>confdefs.h <<_ACEOF
22320 #define HAVE_FINITE 1
22321 _ACEOF
22324 done
22326 else
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22329 $as_echo_n "checking for _finite declaration... " >&6; }
22330 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22331 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22332 $as_echo_n "(cached) " >&6
22333 else
22336 ac_ext=cpp
22337 ac_cpp='$CXXCPP $CPPFLAGS'
22338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22343 /* end confdefs.h. */
22344 #include <math.h>
22345 #ifdef HAVE_IEEEFP_H
22346 #include <ieeefp.h>
22347 #endif
22350 main ()
22352 _finite(0);
22354 return 0;
22356 _ACEOF
22357 if ac_fn_cxx_try_compile "$LINENO"; then :
22358 glibcxx_cv_func__finite_use=yes
22359 else
22360 glibcxx_cv_func__finite_use=no
22362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22363 ac_ext=c
22364 ac_cpp='$CPP $CPPFLAGS'
22365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22374 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22376 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22377 for ac_func in _finite
22378 do :
22379 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22380 if test "x$ac_cv_func__finite" = x""yes; then :
22381 cat >>confdefs.h <<_ACEOF
22382 #define HAVE__FINITE 1
22383 _ACEOF
22386 done
22395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22396 $as_echo_n "checking for sincos declaration... " >&6; }
22397 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22398 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22399 $as_echo_n "(cached) " >&6
22400 else
22403 ac_ext=cpp
22404 ac_cpp='$CXXCPP $CPPFLAGS'
22405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22410 /* end confdefs.h. */
22411 #include <math.h>
22413 main ()
22415 sincos(0, 0, 0);
22417 return 0;
22419 _ACEOF
22420 if ac_fn_cxx_try_compile "$LINENO"; then :
22421 glibcxx_cv_func_sincos_use=yes
22422 else
22423 glibcxx_cv_func_sincos_use=no
22425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 ac_ext=c
22427 ac_cpp='$CPP $CPPFLAGS'
22428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22437 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22439 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22440 for ac_func in sincos
22441 do :
22442 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22443 if test "x$ac_cv_func_sincos" = x""yes; then :
22444 cat >>confdefs.h <<_ACEOF
22445 #define HAVE_SINCOS 1
22446 _ACEOF
22449 done
22451 else
22453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22454 $as_echo_n "checking for _sincos declaration... " >&6; }
22455 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22456 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22457 $as_echo_n "(cached) " >&6
22458 else
22461 ac_ext=cpp
22462 ac_cpp='$CXXCPP $CPPFLAGS'
22463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22468 /* end confdefs.h. */
22469 #include <math.h>
22471 main ()
22473 _sincos(0, 0, 0);
22475 return 0;
22477 _ACEOF
22478 if ac_fn_cxx_try_compile "$LINENO"; then :
22479 glibcxx_cv_func__sincos_use=yes
22480 else
22481 glibcxx_cv_func__sincos_use=no
22483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22484 ac_ext=c
22485 ac_cpp='$CPP $CPPFLAGS'
22486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22495 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22497 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22498 for ac_func in _sincos
22499 do :
22500 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22501 if test "x$ac_cv_func__sincos" = x""yes; then :
22502 cat >>confdefs.h <<_ACEOF
22503 #define HAVE__SINCOS 1
22504 _ACEOF
22507 done
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22517 $as_echo_n "checking for fpclass declaration... " >&6; }
22518 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22519 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22520 $as_echo_n "(cached) " >&6
22521 else
22524 ac_ext=cpp
22525 ac_cpp='$CXXCPP $CPPFLAGS'
22526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22531 /* end confdefs.h. */
22532 #include <math.h>
22533 #ifdef HAVE_IEEEFP_H
22534 #include <ieeefp.h>
22535 #endif
22538 main ()
22540 fpclass(0);
22542 return 0;
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546 glibcxx_cv_func_fpclass_use=yes
22547 else
22548 glibcxx_cv_func_fpclass_use=no
22550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22551 ac_ext=c
22552 ac_cpp='$CPP $CPPFLAGS'
22553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22562 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22564 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22565 for ac_func in fpclass
22566 do :
22567 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22568 if test "x$ac_cv_func_fpclass" = x""yes; then :
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE_FPCLASS 1
22571 _ACEOF
22574 done
22576 else
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22579 $as_echo_n "checking for _fpclass declaration... " >&6; }
22580 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22581 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22595 #ifdef HAVE_IEEEFP_H
22596 #include <ieeefp.h>
22597 #endif
22600 main ()
22602 _fpclass(0);
22604 return 0;
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func__fpclass_use=yes
22609 else
22610 glibcxx_cv_func__fpclass_use=no
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22624 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22626 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22627 for ac_func in _fpclass
22628 do :
22629 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22630 if test "x$ac_cv_func__fpclass" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE__FPCLASS 1
22633 _ACEOF
22636 done
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22646 $as_echo_n "checking for qfpclass declaration... " >&6; }
22647 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22648 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22649 $as_echo_n "(cached) " >&6
22650 else
22653 ac_ext=cpp
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22660 /* end confdefs.h. */
22661 #include <math.h>
22662 #ifdef HAVE_IEEEFP_H
22663 #include <ieeefp.h>
22664 #endif
22667 main ()
22669 qfpclass(0);
22671 return 0;
22673 _ACEOF
22674 if ac_fn_cxx_try_compile "$LINENO"; then :
22675 glibcxx_cv_func_qfpclass_use=yes
22676 else
22677 glibcxx_cv_func_qfpclass_use=no
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 ac_ext=c
22681 ac_cpp='$CPP $CPPFLAGS'
22682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22691 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22693 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22694 for ac_func in qfpclass
22695 do :
22696 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22697 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22698 cat >>confdefs.h <<_ACEOF
22699 #define HAVE_QFPCLASS 1
22700 _ACEOF
22703 done
22705 else
22707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22708 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22709 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22710 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22711 $as_echo_n "(cached) " >&6
22712 else
22715 ac_ext=cpp
22716 ac_cpp='$CXXCPP $CPPFLAGS'
22717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22722 /* end confdefs.h. */
22723 #include <math.h>
22724 #ifdef HAVE_IEEEFP_H
22725 #include <ieeefp.h>
22726 #endif
22729 main ()
22731 _qfpclass(0);
22733 return 0;
22735 _ACEOF
22736 if ac_fn_cxx_try_compile "$LINENO"; then :
22737 glibcxx_cv_func__qfpclass_use=yes
22738 else
22739 glibcxx_cv_func__qfpclass_use=no
22741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22742 ac_ext=c
22743 ac_cpp='$CPP $CPPFLAGS'
22744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22753 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22755 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22756 for ac_func in _qfpclass
22757 do :
22758 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22759 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22760 cat >>confdefs.h <<_ACEOF
22761 #define HAVE__QFPCLASS 1
22762 _ACEOF
22765 done
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22775 $as_echo_n "checking for hypot declaration... " >&6; }
22776 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22777 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22778 $as_echo_n "(cached) " >&6
22779 else
22782 ac_ext=cpp
22783 ac_cpp='$CXXCPP $CPPFLAGS'
22784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22789 /* end confdefs.h. */
22790 #include <math.h>
22792 main ()
22794 hypot(0, 0);
22796 return 0;
22798 _ACEOF
22799 if ac_fn_cxx_try_compile "$LINENO"; then :
22800 glibcxx_cv_func_hypot_use=yes
22801 else
22802 glibcxx_cv_func_hypot_use=no
22804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22805 ac_ext=c
22806 ac_cpp='$CPP $CPPFLAGS'
22807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22816 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22818 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22819 for ac_func in hypot
22820 do :
22821 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22822 if test "x$ac_cv_func_hypot" = x""yes; then :
22823 cat >>confdefs.h <<_ACEOF
22824 #define HAVE_HYPOT 1
22825 _ACEOF
22828 done
22830 else
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22833 $as_echo_n "checking for _hypot declaration... " >&6; }
22834 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22835 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22836 $as_echo_n "(cached) " >&6
22837 else
22840 ac_ext=cpp
22841 ac_cpp='$CXXCPP $CPPFLAGS'
22842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22848 #include <math.h>
22850 main ()
22852 _hypot(0, 0);
22854 return 0;
22856 _ACEOF
22857 if ac_fn_cxx_try_compile "$LINENO"; then :
22858 glibcxx_cv_func__hypot_use=yes
22859 else
22860 glibcxx_cv_func__hypot_use=no
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 ac_ext=c
22864 ac_cpp='$CPP $CPPFLAGS'
22865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22874 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22876 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22877 for ac_func in _hypot
22878 do :
22879 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22880 if test "x$ac_cv_func__hypot" = x""yes; then :
22881 cat >>confdefs.h <<_ACEOF
22882 #define HAVE__HYPOT 1
22883 _ACEOF
22886 done
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22896 $as_echo_n "checking for float trig functions... " >&6; }
22897 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22898 $as_echo_n "(cached) " >&6
22899 else
22902 ac_ext=cpp
22903 ac_cpp='$CXXCPP $CPPFLAGS'
22904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22909 /* end confdefs.h. */
22910 #include <math.h>
22912 main ()
22914 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22916 return 0;
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func_float_trig_use=yes
22921 else
22922 glibcxx_cv_func_float_trig_use=no
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 ac_ext=c
22926 ac_cpp='$CPP $CPPFLAGS'
22927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22934 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22935 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22936 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22937 do :
22938 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22939 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22940 eval as_val=\$$as_ac_var
22941 if test "x$as_val" = x""yes; then :
22942 cat >>confdefs.h <<_ACEOF
22943 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22944 _ACEOF
22947 done
22949 else
22950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22951 $as_echo_n "checking for _float trig functions... " >&6; }
22952 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22967 main ()
22969 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22971 return 0;
22973 _ACEOF
22974 if ac_fn_cxx_try_compile "$LINENO"; then :
22975 glibcxx_cv_func__float_trig_use=yes
22976 else
22977 glibcxx_cv_func__float_trig_use=no
22979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22980 ac_ext=c
22981 ac_cpp='$CPP $CPPFLAGS'
22982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22989 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22990 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22991 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22992 do :
22993 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22994 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22995 eval as_val=\$$as_ac_var
22996 if test "x$as_val" = x""yes; then :
22997 cat >>confdefs.h <<_ACEOF
22998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22999 _ACEOF
23002 done
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23012 $as_echo_n "checking for float round functions... " >&6; }
23013 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23014 $as_echo_n "(cached) " >&6
23015 else
23018 ac_ext=cpp
23019 ac_cpp='$CXXCPP $CPPFLAGS'
23020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23025 /* end confdefs.h. */
23026 #include <math.h>
23028 main ()
23030 ceilf (0); floorf (0);
23032 return 0;
23034 _ACEOF
23035 if ac_fn_cxx_try_compile "$LINENO"; then :
23036 glibcxx_cv_func_float_round_use=yes
23037 else
23038 glibcxx_cv_func_float_round_use=no
23040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23041 ac_ext=c
23042 ac_cpp='$CPP $CPPFLAGS'
23043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23050 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23051 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23052 for ac_func in ceilf floorf
23053 do :
23054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23056 eval as_val=\$$as_ac_var
23057 if test "x$as_val" = x""yes; then :
23058 cat >>confdefs.h <<_ACEOF
23059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23060 _ACEOF
23063 done
23065 else
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23067 $as_echo_n "checking for _float round functions... " >&6; }
23068 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23069 $as_echo_n "(cached) " >&6
23070 else
23073 ac_ext=cpp
23074 ac_cpp='$CXXCPP $CPPFLAGS'
23075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23080 /* end confdefs.h. */
23081 #include <math.h>
23083 main ()
23085 _ceilf (0); _floorf (0);
23087 return 0;
23089 _ACEOF
23090 if ac_fn_cxx_try_compile "$LINENO"; then :
23091 glibcxx_cv_func__float_round_use=yes
23092 else
23093 glibcxx_cv_func__float_round_use=no
23095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23096 ac_ext=c
23097 ac_cpp='$CPP $CPPFLAGS'
23098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23105 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23106 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23107 for ac_func in _ceilf _floorf
23108 do :
23109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23111 eval as_val=\$$as_ac_var
23112 if test "x$as_val" = x""yes; then :
23113 cat >>confdefs.h <<_ACEOF
23114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23115 _ACEOF
23118 done
23128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23129 $as_echo_n "checking for expf declaration... " >&6; }
23130 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23131 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23132 $as_echo_n "(cached) " >&6
23133 else
23136 ac_ext=cpp
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23143 /* end confdefs.h. */
23144 #include <math.h>
23145 #ifdef HAVE_IEEEFP_H
23146 #include <ieeefp.h>
23147 #endif
23150 main ()
23152 expf(0);
23154 return 0;
23156 _ACEOF
23157 if ac_fn_cxx_try_compile "$LINENO"; then :
23158 glibcxx_cv_func_expf_use=yes
23159 else
23160 glibcxx_cv_func_expf_use=no
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 ac_ext=c
23164 ac_cpp='$CPP $CPPFLAGS'
23165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23174 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23176 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23177 for ac_func in expf
23178 do :
23179 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23180 if test "x$ac_cv_func_expf" = x""yes; then :
23181 cat >>confdefs.h <<_ACEOF
23182 #define HAVE_EXPF 1
23183 _ACEOF
23186 done
23188 else
23190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23191 $as_echo_n "checking for _expf declaration... " >&6; }
23192 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23193 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23194 $as_echo_n "(cached) " >&6
23195 else
23198 ac_ext=cpp
23199 ac_cpp='$CXXCPP $CPPFLAGS'
23200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23205 /* end confdefs.h. */
23206 #include <math.h>
23207 #ifdef HAVE_IEEEFP_H
23208 #include <ieeefp.h>
23209 #endif
23212 main ()
23214 _expf(0);
23216 return 0;
23218 _ACEOF
23219 if ac_fn_cxx_try_compile "$LINENO"; then :
23220 glibcxx_cv_func__expf_use=yes
23221 else
23222 glibcxx_cv_func__expf_use=no
23224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23225 ac_ext=c
23226 ac_cpp='$CPP $CPPFLAGS'
23227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23236 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23238 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23239 for ac_func in _expf
23240 do :
23241 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23242 if test "x$ac_cv_func__expf" = x""yes; then :
23243 cat >>confdefs.h <<_ACEOF
23244 #define HAVE__EXPF 1
23245 _ACEOF
23248 done
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23258 $as_echo_n "checking for isnanf declaration... " >&6; }
23259 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23260 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23261 $as_echo_n "(cached) " >&6
23262 else
23265 ac_ext=cpp
23266 ac_cpp='$CXXCPP $CPPFLAGS'
23267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h. */
23273 #include <math.h>
23274 #ifdef HAVE_IEEEFP_H
23275 #include <ieeefp.h>
23276 #endif
23279 main ()
23281 isnanf(0);
23283 return 0;
23285 _ACEOF
23286 if ac_fn_cxx_try_compile "$LINENO"; then :
23287 glibcxx_cv_func_isnanf_use=yes
23288 else
23289 glibcxx_cv_func_isnanf_use=no
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23292 ac_ext=c
23293 ac_cpp='$CPP $CPPFLAGS'
23294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23303 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23305 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23306 for ac_func in isnanf
23307 do :
23308 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23309 if test "x$ac_cv_func_isnanf" = x""yes; then :
23310 cat >>confdefs.h <<_ACEOF
23311 #define HAVE_ISNANF 1
23312 _ACEOF
23315 done
23317 else
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23320 $as_echo_n "checking for _isnanf declaration... " >&6; }
23321 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23322 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23323 $as_echo_n "(cached) " >&6
23324 else
23327 ac_ext=cpp
23328 ac_cpp='$CXXCPP $CPPFLAGS'
23329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23334 /* end confdefs.h. */
23335 #include <math.h>
23336 #ifdef HAVE_IEEEFP_H
23337 #include <ieeefp.h>
23338 #endif
23341 main ()
23343 _isnanf(0);
23345 return 0;
23347 _ACEOF
23348 if ac_fn_cxx_try_compile "$LINENO"; then :
23349 glibcxx_cv_func__isnanf_use=yes
23350 else
23351 glibcxx_cv_func__isnanf_use=no
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354 ac_ext=c
23355 ac_cpp='$CPP $CPPFLAGS'
23356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23365 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23367 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23368 for ac_func in _isnanf
23369 do :
23370 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23371 if test "x$ac_cv_func__isnanf" = x""yes; then :
23372 cat >>confdefs.h <<_ACEOF
23373 #define HAVE__ISNANF 1
23374 _ACEOF
23377 done
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23387 $as_echo_n "checking for isinff declaration... " >&6; }
23388 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23389 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
23390 $as_echo_n "(cached) " >&6
23391 else
23394 ac_ext=cpp
23395 ac_cpp='$CXXCPP $CPPFLAGS'
23396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23402 #include <math.h>
23403 #ifdef HAVE_IEEEFP_H
23404 #include <ieeefp.h>
23405 #endif
23408 main ()
23410 isinff(0);
23412 return 0;
23414 _ACEOF
23415 if ac_fn_cxx_try_compile "$LINENO"; then :
23416 glibcxx_cv_func_isinff_use=yes
23417 else
23418 glibcxx_cv_func_isinff_use=no
23420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23421 ac_ext=c
23422 ac_cpp='$CPP $CPPFLAGS'
23423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23432 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23434 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23435 for ac_func in isinff
23436 do :
23437 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23438 if test "x$ac_cv_func_isinff" = x""yes; then :
23439 cat >>confdefs.h <<_ACEOF
23440 #define HAVE_ISINFF 1
23441 _ACEOF
23444 done
23446 else
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23449 $as_echo_n "checking for _isinff declaration... " >&6; }
23450 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23451 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23452 $as_echo_n "(cached) " >&6
23453 else
23456 ac_ext=cpp
23457 ac_cpp='$CXXCPP $CPPFLAGS'
23458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23463 /* end confdefs.h. */
23464 #include <math.h>
23465 #ifdef HAVE_IEEEFP_H
23466 #include <ieeefp.h>
23467 #endif
23470 main ()
23472 _isinff(0);
23474 return 0;
23476 _ACEOF
23477 if ac_fn_cxx_try_compile "$LINENO"; then :
23478 glibcxx_cv_func__isinff_use=yes
23479 else
23480 glibcxx_cv_func__isinff_use=no
23482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23483 ac_ext=c
23484 ac_cpp='$CPP $CPPFLAGS'
23485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23494 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23496 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23497 for ac_func in _isinff
23498 do :
23499 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23500 if test "x$ac_cv_func__isinff" = x""yes; then :
23501 cat >>confdefs.h <<_ACEOF
23502 #define HAVE__ISINFF 1
23503 _ACEOF
23506 done
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23516 $as_echo_n "checking for atan2f declaration... " >&6; }
23517 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23518 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
23519 $as_echo_n "(cached) " >&6
23520 else
23523 ac_ext=cpp
23524 ac_cpp='$CXXCPP $CPPFLAGS'
23525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23530 /* end confdefs.h. */
23531 #include <math.h>
23533 main ()
23535 atan2f(0, 0);
23537 return 0;
23539 _ACEOF
23540 if ac_fn_cxx_try_compile "$LINENO"; then :
23541 glibcxx_cv_func_atan2f_use=yes
23542 else
23543 glibcxx_cv_func_atan2f_use=no
23545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23546 ac_ext=c
23547 ac_cpp='$CPP $CPPFLAGS'
23548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23557 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23559 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23560 for ac_func in atan2f
23561 do :
23562 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23563 if test "x$ac_cv_func_atan2f" = x""yes; then :
23564 cat >>confdefs.h <<_ACEOF
23565 #define HAVE_ATAN2F 1
23566 _ACEOF
23569 done
23571 else
23573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23574 $as_echo_n "checking for _atan2f declaration... " >&6; }
23575 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23576 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23577 $as_echo_n "(cached) " >&6
23578 else
23581 ac_ext=cpp
23582 ac_cpp='$CXXCPP $CPPFLAGS'
23583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23588 /* end confdefs.h. */
23589 #include <math.h>
23591 main ()
23593 _atan2f(0, 0);
23595 return 0;
23597 _ACEOF
23598 if ac_fn_cxx_try_compile "$LINENO"; then :
23599 glibcxx_cv_func__atan2f_use=yes
23600 else
23601 glibcxx_cv_func__atan2f_use=no
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 ac_ext=c
23605 ac_cpp='$CPP $CPPFLAGS'
23606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23615 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23617 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23618 for ac_func in _atan2f
23619 do :
23620 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23621 if test "x$ac_cv_func__atan2f" = x""yes; then :
23622 cat >>confdefs.h <<_ACEOF
23623 #define HAVE__ATAN2F 1
23624 _ACEOF
23627 done
23636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23637 $as_echo_n "checking for fabsf declaration... " >&6; }
23638 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23639 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23640 $as_echo_n "(cached) " >&6
23641 else
23644 ac_ext=cpp
23645 ac_cpp='$CXXCPP $CPPFLAGS'
23646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23651 /* end confdefs.h. */
23652 #include <math.h>
23653 #ifdef HAVE_IEEEFP_H
23654 #include <ieeefp.h>
23655 #endif
23658 main ()
23660 fabsf(0);
23662 return 0;
23664 _ACEOF
23665 if ac_fn_cxx_try_compile "$LINENO"; then :
23666 glibcxx_cv_func_fabsf_use=yes
23667 else
23668 glibcxx_cv_func_fabsf_use=no
23670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23671 ac_ext=c
23672 ac_cpp='$CPP $CPPFLAGS'
23673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23682 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23684 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23685 for ac_func in fabsf
23686 do :
23687 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23688 if test "x$ac_cv_func_fabsf" = x""yes; then :
23689 cat >>confdefs.h <<_ACEOF
23690 #define HAVE_FABSF 1
23691 _ACEOF
23694 done
23696 else
23698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23699 $as_echo_n "checking for _fabsf declaration... " >&6; }
23700 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23701 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23702 $as_echo_n "(cached) " >&6
23703 else
23706 ac_ext=cpp
23707 ac_cpp='$CXXCPP $CPPFLAGS'
23708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23713 /* end confdefs.h. */
23714 #include <math.h>
23715 #ifdef HAVE_IEEEFP_H
23716 #include <ieeefp.h>
23717 #endif
23720 main ()
23722 _fabsf(0);
23724 return 0;
23726 _ACEOF
23727 if ac_fn_cxx_try_compile "$LINENO"; then :
23728 glibcxx_cv_func__fabsf_use=yes
23729 else
23730 glibcxx_cv_func__fabsf_use=no
23732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23733 ac_ext=c
23734 ac_cpp='$CPP $CPPFLAGS'
23735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23744 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23746 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23747 for ac_func in _fabsf
23748 do :
23749 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23750 if test "x$ac_cv_func__fabsf" = x""yes; then :
23751 cat >>confdefs.h <<_ACEOF
23752 #define HAVE__FABSF 1
23753 _ACEOF
23756 done
23765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23766 $as_echo_n "checking for fmodf declaration... " >&6; }
23767 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23768 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23769 $as_echo_n "(cached) " >&6
23770 else
23773 ac_ext=cpp
23774 ac_cpp='$CXXCPP $CPPFLAGS'
23775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23780 /* end confdefs.h. */
23781 #include <math.h>
23783 main ()
23785 fmodf(0, 0);
23787 return 0;
23789 _ACEOF
23790 if ac_fn_cxx_try_compile "$LINENO"; then :
23791 glibcxx_cv_func_fmodf_use=yes
23792 else
23793 glibcxx_cv_func_fmodf_use=no
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 ac_ext=c
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23807 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23809 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23810 for ac_func in fmodf
23811 do :
23812 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23813 if test "x$ac_cv_func_fmodf" = x""yes; then :
23814 cat >>confdefs.h <<_ACEOF
23815 #define HAVE_FMODF 1
23816 _ACEOF
23819 done
23821 else
23823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23824 $as_echo_n "checking for _fmodf declaration... " >&6; }
23825 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23826 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23827 $as_echo_n "(cached) " >&6
23828 else
23831 ac_ext=cpp
23832 ac_cpp='$CXXCPP $CPPFLAGS'
23833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23838 /* end confdefs.h. */
23839 #include <math.h>
23841 main ()
23843 _fmodf(0, 0);
23845 return 0;
23847 _ACEOF
23848 if ac_fn_cxx_try_compile "$LINENO"; then :
23849 glibcxx_cv_func__fmodf_use=yes
23850 else
23851 glibcxx_cv_func__fmodf_use=no
23853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 ac_ext=c
23855 ac_cpp='$CPP $CPPFLAGS'
23856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23865 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23867 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23868 for ac_func in _fmodf
23869 do :
23870 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23871 if test "x$ac_cv_func__fmodf" = x""yes; then :
23872 cat >>confdefs.h <<_ACEOF
23873 #define HAVE__FMODF 1
23874 _ACEOF
23877 done
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23887 $as_echo_n "checking for frexpf declaration... " >&6; }
23888 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23889 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23890 $as_echo_n "(cached) " >&6
23891 else
23894 ac_ext=cpp
23895 ac_cpp='$CXXCPP $CPPFLAGS'
23896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23901 /* end confdefs.h. */
23902 #include <math.h>
23904 main ()
23906 frexpf(0, 0);
23908 return 0;
23910 _ACEOF
23911 if ac_fn_cxx_try_compile "$LINENO"; then :
23912 glibcxx_cv_func_frexpf_use=yes
23913 else
23914 glibcxx_cv_func_frexpf_use=no
23916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23917 ac_ext=c
23918 ac_cpp='$CPP $CPPFLAGS'
23919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23928 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23930 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23931 for ac_func in frexpf
23932 do :
23933 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23934 if test "x$ac_cv_func_frexpf" = x""yes; then :
23935 cat >>confdefs.h <<_ACEOF
23936 #define HAVE_FREXPF 1
23937 _ACEOF
23940 done
23942 else
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23945 $as_echo_n "checking for _frexpf declaration... " >&6; }
23946 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23947 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23962 main ()
23964 _frexpf(0, 0);
23966 return 0;
23968 _ACEOF
23969 if ac_fn_cxx_try_compile "$LINENO"; then :
23970 glibcxx_cv_func__frexpf_use=yes
23971 else
23972 glibcxx_cv_func__frexpf_use=no
23974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23975 ac_ext=c
23976 ac_cpp='$CPP $CPPFLAGS'
23977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23986 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23988 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23989 for ac_func in _frexpf
23990 do :
23991 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23992 if test "x$ac_cv_func__frexpf" = x""yes; then :
23993 cat >>confdefs.h <<_ACEOF
23994 #define HAVE__FREXPF 1
23995 _ACEOF
23998 done
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24008 $as_echo_n "checking for hypotf declaration... " >&6; }
24009 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24010 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24011 $as_echo_n "(cached) " >&6
24012 else
24015 ac_ext=cpp
24016 ac_cpp='$CXXCPP $CPPFLAGS'
24017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24022 /* end confdefs.h. */
24023 #include <math.h>
24025 main ()
24027 hypotf(0, 0);
24029 return 0;
24031 _ACEOF
24032 if ac_fn_cxx_try_compile "$LINENO"; then :
24033 glibcxx_cv_func_hypotf_use=yes
24034 else
24035 glibcxx_cv_func_hypotf_use=no
24037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24038 ac_ext=c
24039 ac_cpp='$CPP $CPPFLAGS'
24040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24049 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24051 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24052 for ac_func in hypotf
24053 do :
24054 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24055 if test "x$ac_cv_func_hypotf" = x""yes; then :
24056 cat >>confdefs.h <<_ACEOF
24057 #define HAVE_HYPOTF 1
24058 _ACEOF
24061 done
24063 else
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24066 $as_echo_n "checking for _hypotf declaration... " >&6; }
24067 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24068 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24069 $as_echo_n "(cached) " >&6
24070 else
24073 ac_ext=cpp
24074 ac_cpp='$CXXCPP $CPPFLAGS'
24075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24081 #include <math.h>
24083 main ()
24085 _hypotf(0, 0);
24087 return 0;
24089 _ACEOF
24090 if ac_fn_cxx_try_compile "$LINENO"; then :
24091 glibcxx_cv_func__hypotf_use=yes
24092 else
24093 glibcxx_cv_func__hypotf_use=no
24095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24096 ac_ext=c
24097 ac_cpp='$CPP $CPPFLAGS'
24098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24107 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24109 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24110 for ac_func in _hypotf
24111 do :
24112 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24113 if test "x$ac_cv_func__hypotf" = x""yes; then :
24114 cat >>confdefs.h <<_ACEOF
24115 #define HAVE__HYPOTF 1
24116 _ACEOF
24119 done
24128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24129 $as_echo_n "checking for ldexpf declaration... " >&6; }
24130 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24131 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24132 $as_echo_n "(cached) " >&6
24133 else
24136 ac_ext=cpp
24137 ac_cpp='$CXXCPP $CPPFLAGS'
24138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24143 /* end confdefs.h. */
24144 #include <math.h>
24146 main ()
24148 ldexpf(0, 0);
24150 return 0;
24152 _ACEOF
24153 if ac_fn_cxx_try_compile "$LINENO"; then :
24154 glibcxx_cv_func_ldexpf_use=yes
24155 else
24156 glibcxx_cv_func_ldexpf_use=no
24158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24159 ac_ext=c
24160 ac_cpp='$CPP $CPPFLAGS'
24161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24170 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24172 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24173 for ac_func in ldexpf
24174 do :
24175 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24176 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24177 cat >>confdefs.h <<_ACEOF
24178 #define HAVE_LDEXPF 1
24179 _ACEOF
24182 done
24184 else
24186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24187 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24188 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24189 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24190 $as_echo_n "(cached) " >&6
24191 else
24194 ac_ext=cpp
24195 ac_cpp='$CXXCPP $CPPFLAGS'
24196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24201 /* end confdefs.h. */
24202 #include <math.h>
24204 main ()
24206 _ldexpf(0, 0);
24208 return 0;
24210 _ACEOF
24211 if ac_fn_cxx_try_compile "$LINENO"; then :
24212 glibcxx_cv_func__ldexpf_use=yes
24213 else
24214 glibcxx_cv_func__ldexpf_use=no
24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217 ac_ext=c
24218 ac_cpp='$CPP $CPPFLAGS'
24219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24228 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24230 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24231 for ac_func in _ldexpf
24232 do :
24233 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24234 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24235 cat >>confdefs.h <<_ACEOF
24236 #define HAVE__LDEXPF 1
24237 _ACEOF
24240 done
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24250 $as_echo_n "checking for logf declaration... " >&6; }
24251 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24252 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24253 $as_echo_n "(cached) " >&6
24254 else
24257 ac_ext=cpp
24258 ac_cpp='$CXXCPP $CPPFLAGS'
24259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h. */
24265 #include <math.h>
24266 #ifdef HAVE_IEEEFP_H
24267 #include <ieeefp.h>
24268 #endif
24271 main ()
24273 logf(0);
24275 return 0;
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func_logf_use=yes
24280 else
24281 glibcxx_cv_func_logf_use=no
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24295 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24297 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24298 for ac_func in logf
24299 do :
24300 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24301 if test "x$ac_cv_func_logf" = x""yes; then :
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE_LOGF 1
24304 _ACEOF
24307 done
24309 else
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24312 $as_echo_n "checking for _logf declaration... " >&6; }
24313 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24314 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24315 $as_echo_n "(cached) " >&6
24316 else
24319 ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327 #include <math.h>
24328 #ifdef HAVE_IEEEFP_H
24329 #include <ieeefp.h>
24330 #endif
24333 main ()
24335 _logf(0);
24337 return 0;
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func__logf_use=yes
24342 else
24343 glibcxx_cv_func__logf_use=no
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24357 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24359 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24360 for ac_func in _logf
24361 do :
24362 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24363 if test "x$ac_cv_func__logf" = x""yes; then :
24364 cat >>confdefs.h <<_ACEOF
24365 #define HAVE__LOGF 1
24366 _ACEOF
24369 done
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24379 $as_echo_n "checking for log10f declaration... " >&6; }
24380 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24381 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
24382 $as_echo_n "(cached) " >&6
24383 else
24386 ac_ext=cpp
24387 ac_cpp='$CXXCPP $CPPFLAGS'
24388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24393 /* end confdefs.h. */
24394 #include <math.h>
24395 #ifdef HAVE_IEEEFP_H
24396 #include <ieeefp.h>
24397 #endif
24400 main ()
24402 log10f(0);
24404 return 0;
24406 _ACEOF
24407 if ac_fn_cxx_try_compile "$LINENO"; then :
24408 glibcxx_cv_func_log10f_use=yes
24409 else
24410 glibcxx_cv_func_log10f_use=no
24412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24413 ac_ext=c
24414 ac_cpp='$CPP $CPPFLAGS'
24415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24424 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24426 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24427 for ac_func in log10f
24428 do :
24429 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24430 if test "x$ac_cv_func_log10f" = x""yes; then :
24431 cat >>confdefs.h <<_ACEOF
24432 #define HAVE_LOG10F 1
24433 _ACEOF
24436 done
24438 else
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24441 $as_echo_n "checking for _log10f declaration... " >&6; }
24442 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24443 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24444 $as_echo_n "(cached) " >&6
24445 else
24448 ac_ext=cpp
24449 ac_cpp='$CXXCPP $CPPFLAGS'
24450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24455 /* end confdefs.h. */
24456 #include <math.h>
24457 #ifdef HAVE_IEEEFP_H
24458 #include <ieeefp.h>
24459 #endif
24462 main ()
24464 _log10f(0);
24466 return 0;
24468 _ACEOF
24469 if ac_fn_cxx_try_compile "$LINENO"; then :
24470 glibcxx_cv_func__log10f_use=yes
24471 else
24472 glibcxx_cv_func__log10f_use=no
24474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24475 ac_ext=c
24476 ac_cpp='$CPP $CPPFLAGS'
24477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24486 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24488 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24489 for ac_func in _log10f
24490 do :
24491 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24492 if test "x$ac_cv_func__log10f" = x""yes; then :
24493 cat >>confdefs.h <<_ACEOF
24494 #define HAVE__LOG10F 1
24495 _ACEOF
24498 done
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24508 $as_echo_n "checking for modff declaration... " >&6; }
24509 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24510 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24511 $as_echo_n "(cached) " >&6
24512 else
24515 ac_ext=cpp
24516 ac_cpp='$CXXCPP $CPPFLAGS'
24517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24522 /* end confdefs.h. */
24523 #include <math.h>
24525 main ()
24527 modff(0, 0);
24529 return 0;
24531 _ACEOF
24532 if ac_fn_cxx_try_compile "$LINENO"; then :
24533 glibcxx_cv_func_modff_use=yes
24534 else
24535 glibcxx_cv_func_modff_use=no
24537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24538 ac_ext=c
24539 ac_cpp='$CPP $CPPFLAGS'
24540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24549 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24551 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24552 for ac_func in modff
24553 do :
24554 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24555 if test "x$ac_cv_func_modff" = x""yes; then :
24556 cat >>confdefs.h <<_ACEOF
24557 #define HAVE_MODFF 1
24558 _ACEOF
24561 done
24563 else
24565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24566 $as_echo_n "checking for _modff declaration... " >&6; }
24567 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24568 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24569 $as_echo_n "(cached) " >&6
24570 else
24573 ac_ext=cpp
24574 ac_cpp='$CXXCPP $CPPFLAGS'
24575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24580 /* end confdefs.h. */
24581 #include <math.h>
24583 main ()
24585 _modff(0, 0);
24587 return 0;
24589 _ACEOF
24590 if ac_fn_cxx_try_compile "$LINENO"; then :
24591 glibcxx_cv_func__modff_use=yes
24592 else
24593 glibcxx_cv_func__modff_use=no
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 ac_ext=c
24597 ac_cpp='$CPP $CPPFLAGS'
24598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24607 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24609 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24610 for ac_func in _modff
24611 do :
24612 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24613 if test "x$ac_cv_func__modff" = x""yes; then :
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE__MODFF 1
24616 _ACEOF
24619 done
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24629 $as_echo_n "checking for modf declaration... " >&6; }
24630 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24631 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24632 $as_echo_n "(cached) " >&6
24633 else
24636 ac_ext=cpp
24637 ac_cpp='$CXXCPP $CPPFLAGS'
24638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24643 /* end confdefs.h. */
24644 #include <math.h>
24646 main ()
24648 modf(0, 0);
24650 return 0;
24652 _ACEOF
24653 if ac_fn_cxx_try_compile "$LINENO"; then :
24654 glibcxx_cv_func_modf_use=yes
24655 else
24656 glibcxx_cv_func_modf_use=no
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659 ac_ext=c
24660 ac_cpp='$CPP $CPPFLAGS'
24661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24670 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24672 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24673 for ac_func in modf
24674 do :
24675 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24676 if test "x$ac_cv_func_modf" = x""yes; then :
24677 cat >>confdefs.h <<_ACEOF
24678 #define HAVE_MODF 1
24679 _ACEOF
24682 done
24684 else
24686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24687 $as_echo_n "checking for _modf declaration... " >&6; }
24688 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24689 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24690 $as_echo_n "(cached) " >&6
24691 else
24694 ac_ext=cpp
24695 ac_cpp='$CXXCPP $CPPFLAGS'
24696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24701 /* end confdefs.h. */
24702 #include <math.h>
24704 main ()
24706 _modf(0, 0);
24708 return 0;
24710 _ACEOF
24711 if ac_fn_cxx_try_compile "$LINENO"; then :
24712 glibcxx_cv_func__modf_use=yes
24713 else
24714 glibcxx_cv_func__modf_use=no
24716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24717 ac_ext=c
24718 ac_cpp='$CPP $CPPFLAGS'
24719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24728 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24730 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24731 for ac_func in _modf
24732 do :
24733 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24734 if test "x$ac_cv_func__modf" = x""yes; then :
24735 cat >>confdefs.h <<_ACEOF
24736 #define HAVE__MODF 1
24737 _ACEOF
24740 done
24749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24750 $as_echo_n "checking for powf declaration... " >&6; }
24751 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24752 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24753 $as_echo_n "(cached) " >&6
24754 else
24757 ac_ext=cpp
24758 ac_cpp='$CXXCPP $CPPFLAGS'
24759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24764 /* end confdefs.h. */
24765 #include <math.h>
24767 main ()
24769 powf(0, 0);
24771 return 0;
24773 _ACEOF
24774 if ac_fn_cxx_try_compile "$LINENO"; then :
24775 glibcxx_cv_func_powf_use=yes
24776 else
24777 glibcxx_cv_func_powf_use=no
24779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24780 ac_ext=c
24781 ac_cpp='$CPP $CPPFLAGS'
24782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24791 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24793 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24794 for ac_func in powf
24795 do :
24796 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24797 if test "x$ac_cv_func_powf" = x""yes; then :
24798 cat >>confdefs.h <<_ACEOF
24799 #define HAVE_POWF 1
24800 _ACEOF
24803 done
24805 else
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24808 $as_echo_n "checking for _powf declaration... " >&6; }
24809 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24810 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24811 $as_echo_n "(cached) " >&6
24812 else
24815 ac_ext=cpp
24816 ac_cpp='$CXXCPP $CPPFLAGS'
24817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822 /* end confdefs.h. */
24823 #include <math.h>
24825 main ()
24827 _powf(0, 0);
24829 return 0;
24831 _ACEOF
24832 if ac_fn_cxx_try_compile "$LINENO"; then :
24833 glibcxx_cv_func__powf_use=yes
24834 else
24835 glibcxx_cv_func__powf_use=no
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 ac_ext=c
24839 ac_cpp='$CPP $CPPFLAGS'
24840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24849 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24851 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24852 for ac_func in _powf
24853 do :
24854 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24855 if test "x$ac_cv_func__powf" = x""yes; then :
24856 cat >>confdefs.h <<_ACEOF
24857 #define HAVE__POWF 1
24858 _ACEOF
24861 done
24870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24871 $as_echo_n "checking for sqrtf declaration... " >&6; }
24872 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24873 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24874 $as_echo_n "(cached) " >&6
24875 else
24878 ac_ext=cpp
24879 ac_cpp='$CXXCPP $CPPFLAGS'
24880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24885 /* end confdefs.h. */
24886 #include <math.h>
24887 #ifdef HAVE_IEEEFP_H
24888 #include <ieeefp.h>
24889 #endif
24892 main ()
24894 sqrtf(0);
24896 return 0;
24898 _ACEOF
24899 if ac_fn_cxx_try_compile "$LINENO"; then :
24900 glibcxx_cv_func_sqrtf_use=yes
24901 else
24902 glibcxx_cv_func_sqrtf_use=no
24904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24905 ac_ext=c
24906 ac_cpp='$CPP $CPPFLAGS'
24907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24916 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24918 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24919 for ac_func in sqrtf
24920 do :
24921 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24922 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24923 cat >>confdefs.h <<_ACEOF
24924 #define HAVE_SQRTF 1
24925 _ACEOF
24928 done
24930 else
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24933 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24934 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24935 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24949 #ifdef HAVE_IEEEFP_H
24950 #include <ieeefp.h>
24951 #endif
24954 main ()
24956 _sqrtf(0);
24958 return 0;
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func__sqrtf_use=yes
24963 else
24964 glibcxx_cv_func__sqrtf_use=no
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24978 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24980 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24981 for ac_func in _sqrtf
24982 do :
24983 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24984 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE__SQRTF 1
24987 _ACEOF
24990 done
24999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25000 $as_echo_n "checking for sincosf declaration... " >&6; }
25001 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25002 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
25003 $as_echo_n "(cached) " >&6
25004 else
25007 ac_ext=cpp
25008 ac_cpp='$CXXCPP $CPPFLAGS'
25009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25014 /* end confdefs.h. */
25015 #include <math.h>
25017 main ()
25019 sincosf(0, 0, 0);
25021 return 0;
25023 _ACEOF
25024 if ac_fn_cxx_try_compile "$LINENO"; then :
25025 glibcxx_cv_func_sincosf_use=yes
25026 else
25027 glibcxx_cv_func_sincosf_use=no
25029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25030 ac_ext=c
25031 ac_cpp='$CPP $CPPFLAGS'
25032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25041 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25043 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25044 for ac_func in sincosf
25045 do :
25046 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25047 if test "x$ac_cv_func_sincosf" = x""yes; then :
25048 cat >>confdefs.h <<_ACEOF
25049 #define HAVE_SINCOSF 1
25050 _ACEOF
25053 done
25055 else
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25058 $as_echo_n "checking for _sincosf declaration... " >&6; }
25059 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25060 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25061 $as_echo_n "(cached) " >&6
25062 else
25065 ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h. */
25073 #include <math.h>
25075 main ()
25077 _sincosf(0, 0, 0);
25079 return 0;
25081 _ACEOF
25082 if ac_fn_cxx_try_compile "$LINENO"; then :
25083 glibcxx_cv_func__sincosf_use=yes
25084 else
25085 glibcxx_cv_func__sincosf_use=no
25087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 ac_ext=c
25089 ac_cpp='$CPP $CPPFLAGS'
25090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25099 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25101 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25102 for ac_func in _sincosf
25103 do :
25104 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25105 if test "x$ac_cv_func__sincosf" = x""yes; then :
25106 cat >>confdefs.h <<_ACEOF
25107 #define HAVE__SINCOSF 1
25108 _ACEOF
25111 done
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25121 $as_echo_n "checking for finitef declaration... " >&6; }
25122 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25123 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25124 $as_echo_n "(cached) " >&6
25125 else
25128 ac_ext=cpp
25129 ac_cpp='$CXXCPP $CPPFLAGS'
25130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25135 /* end confdefs.h. */
25136 #include <math.h>
25137 #ifdef HAVE_IEEEFP_H
25138 #include <ieeefp.h>
25139 #endif
25142 main ()
25144 finitef(0);
25146 return 0;
25148 _ACEOF
25149 if ac_fn_cxx_try_compile "$LINENO"; then :
25150 glibcxx_cv_func_finitef_use=yes
25151 else
25152 glibcxx_cv_func_finitef_use=no
25154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25155 ac_ext=c
25156 ac_cpp='$CPP $CPPFLAGS'
25157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25166 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25168 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25169 for ac_func in finitef
25170 do :
25171 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25172 if test "x$ac_cv_func_finitef" = x""yes; then :
25173 cat >>confdefs.h <<_ACEOF
25174 #define HAVE_FINITEF 1
25175 _ACEOF
25178 done
25180 else
25182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25183 $as_echo_n "checking for _finitef declaration... " >&6; }
25184 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25185 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25186 $as_echo_n "(cached) " >&6
25187 else
25190 ac_ext=cpp
25191 ac_cpp='$CXXCPP $CPPFLAGS'
25192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25197 /* end confdefs.h. */
25198 #include <math.h>
25199 #ifdef HAVE_IEEEFP_H
25200 #include <ieeefp.h>
25201 #endif
25204 main ()
25206 _finitef(0);
25208 return 0;
25210 _ACEOF
25211 if ac_fn_cxx_try_compile "$LINENO"; then :
25212 glibcxx_cv_func__finitef_use=yes
25213 else
25214 glibcxx_cv_func__finitef_use=no
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 ac_ext=c
25218 ac_cpp='$CPP $CPPFLAGS'
25219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25228 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25230 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25231 for ac_func in _finitef
25232 do :
25233 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25234 if test "x$ac_cv_func__finitef" = x""yes; then :
25235 cat >>confdefs.h <<_ACEOF
25236 #define HAVE__FINITEF 1
25237 _ACEOF
25240 done
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25250 $as_echo_n "checking for long double trig functions... " >&6; }
25251 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25252 $as_echo_n "(cached) " >&6
25253 else
25256 ac_ext=cpp
25257 ac_cpp='$CXXCPP $CPPFLAGS'
25258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25263 /* end confdefs.h. */
25264 #include <math.h>
25266 main ()
25268 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25270 return 0;
25272 _ACEOF
25273 if ac_fn_cxx_try_compile "$LINENO"; then :
25274 glibcxx_cv_func_long_double_trig_use=yes
25275 else
25276 glibcxx_cv_func_long_double_trig_use=no
25278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25279 ac_ext=c
25280 ac_cpp='$CPP $CPPFLAGS'
25281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25288 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25289 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25290 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25291 do :
25292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25294 eval as_val=\$$as_ac_var
25295 if test "x$as_val" = x""yes; then :
25296 cat >>confdefs.h <<_ACEOF
25297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25298 _ACEOF
25301 done
25303 else
25304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25305 $as_echo_n "checking for _long double trig functions... " >&6; }
25306 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25311 ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25319 #include <math.h>
25321 main ()
25323 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25325 return 0;
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func__long_double_trig_use=yes
25330 else
25331 glibcxx_cv_func__long_double_trig_use=no
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25343 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25344 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25345 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25346 do :
25347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25349 eval as_val=\$$as_ac_var
25350 if test "x$as_val" = x""yes; then :
25351 cat >>confdefs.h <<_ACEOF
25352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25353 _ACEOF
25356 done
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25366 $as_echo_n "checking for long double round functions... " >&6; }
25367 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25368 $as_echo_n "(cached) " >&6
25369 else
25372 ac_ext=cpp
25373 ac_cpp='$CXXCPP $CPPFLAGS'
25374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25379 /* end confdefs.h. */
25380 #include <math.h>
25382 main ()
25384 ceill (0); floorl (0);
25386 return 0;
25388 _ACEOF
25389 if ac_fn_cxx_try_compile "$LINENO"; then :
25390 glibcxx_cv_func_long_double_round_use=yes
25391 else
25392 glibcxx_cv_func_long_double_round_use=no
25394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 ac_ext=c
25396 ac_cpp='$CPP $CPPFLAGS'
25397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25404 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25405 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25406 for ac_func in ceill floorl
25407 do :
25408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25410 eval as_val=\$$as_ac_var
25411 if test "x$as_val" = x""yes; then :
25412 cat >>confdefs.h <<_ACEOF
25413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25414 _ACEOF
25417 done
25419 else
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25421 $as_echo_n "checking for _long double round functions... " >&6; }
25422 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25423 $as_echo_n "(cached) " >&6
25424 else
25427 ac_ext=cpp
25428 ac_cpp='$CXXCPP $CPPFLAGS'
25429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25434 /* end confdefs.h. */
25435 #include <math.h>
25437 main ()
25439 _ceill (0); _floorl (0);
25441 return 0;
25443 _ACEOF
25444 if ac_fn_cxx_try_compile "$LINENO"; then :
25445 glibcxx_cv_func__long_double_round_use=yes
25446 else
25447 glibcxx_cv_func__long_double_round_use=no
25449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25450 ac_ext=c
25451 ac_cpp='$CPP $CPPFLAGS'
25452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25459 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25460 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25461 for ac_func in _ceill _floorl
25462 do :
25463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25465 eval as_val=\$$as_ac_var
25466 if test "x$as_val" = x""yes; then :
25467 cat >>confdefs.h <<_ACEOF
25468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25469 _ACEOF
25472 done
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25483 $as_echo_n "checking for isnanl declaration... " >&6; }
25484 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25485 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25486 $as_echo_n "(cached) " >&6
25487 else
25490 ac_ext=cpp
25491 ac_cpp='$CXXCPP $CPPFLAGS'
25492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25497 /* end confdefs.h. */
25498 #include <math.h>
25499 #ifdef HAVE_IEEEFP_H
25500 #include <ieeefp.h>
25501 #endif
25504 main ()
25506 isnanl(0);
25508 return 0;
25510 _ACEOF
25511 if ac_fn_cxx_try_compile "$LINENO"; then :
25512 glibcxx_cv_func_isnanl_use=yes
25513 else
25514 glibcxx_cv_func_isnanl_use=no
25516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25517 ac_ext=c
25518 ac_cpp='$CPP $CPPFLAGS'
25519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25528 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25530 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25531 for ac_func in isnanl
25532 do :
25533 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25534 if test "x$ac_cv_func_isnanl" = x""yes; then :
25535 cat >>confdefs.h <<_ACEOF
25536 #define HAVE_ISNANL 1
25537 _ACEOF
25540 done
25542 else
25544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25545 $as_echo_n "checking for _isnanl declaration... " >&6; }
25546 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25547 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25548 $as_echo_n "(cached) " >&6
25549 else
25552 ac_ext=cpp
25553 ac_cpp='$CXXCPP $CPPFLAGS'
25554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25559 /* end confdefs.h. */
25560 #include <math.h>
25561 #ifdef HAVE_IEEEFP_H
25562 #include <ieeefp.h>
25563 #endif
25566 main ()
25568 _isnanl(0);
25570 return 0;
25572 _ACEOF
25573 if ac_fn_cxx_try_compile "$LINENO"; then :
25574 glibcxx_cv_func__isnanl_use=yes
25575 else
25576 glibcxx_cv_func__isnanl_use=no
25578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25579 ac_ext=c
25580 ac_cpp='$CPP $CPPFLAGS'
25581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25590 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25592 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25593 for ac_func in _isnanl
25594 do :
25595 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25596 if test "x$ac_cv_func__isnanl" = x""yes; then :
25597 cat >>confdefs.h <<_ACEOF
25598 #define HAVE__ISNANL 1
25599 _ACEOF
25602 done
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25612 $as_echo_n "checking for isinfl declaration... " >&6; }
25613 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25614 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25615 $as_echo_n "(cached) " >&6
25616 else
25619 ac_ext=cpp
25620 ac_cpp='$CXXCPP $CPPFLAGS'
25621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25627 #include <math.h>
25628 #ifdef HAVE_IEEEFP_H
25629 #include <ieeefp.h>
25630 #endif
25633 main ()
25635 isinfl(0);
25637 return 0;
25639 _ACEOF
25640 if ac_fn_cxx_try_compile "$LINENO"; then :
25641 glibcxx_cv_func_isinfl_use=yes
25642 else
25643 glibcxx_cv_func_isinfl_use=no
25645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 ac_ext=c
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25657 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25659 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25660 for ac_func in isinfl
25661 do :
25662 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25663 if test "x$ac_cv_func_isinfl" = x""yes; then :
25664 cat >>confdefs.h <<_ACEOF
25665 #define HAVE_ISINFL 1
25666 _ACEOF
25669 done
25671 else
25673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25674 $as_echo_n "checking for _isinfl declaration... " >&6; }
25675 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25676 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25677 $as_echo_n "(cached) " >&6
25678 else
25681 ac_ext=cpp
25682 ac_cpp='$CXXCPP $CPPFLAGS'
25683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25688 /* end confdefs.h. */
25689 #include <math.h>
25690 #ifdef HAVE_IEEEFP_H
25691 #include <ieeefp.h>
25692 #endif
25695 main ()
25697 _isinfl(0);
25699 return 0;
25701 _ACEOF
25702 if ac_fn_cxx_try_compile "$LINENO"; then :
25703 glibcxx_cv_func__isinfl_use=yes
25704 else
25705 glibcxx_cv_func__isinfl_use=no
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708 ac_ext=c
25709 ac_cpp='$CPP $CPPFLAGS'
25710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25719 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25721 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25722 for ac_func in _isinfl
25723 do :
25724 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25725 if test "x$ac_cv_func__isinfl" = x""yes; then :
25726 cat >>confdefs.h <<_ACEOF
25727 #define HAVE__ISINFL 1
25728 _ACEOF
25731 done
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25741 $as_echo_n "checking for atan2l declaration... " >&6; }
25742 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25743 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
25744 $as_echo_n "(cached) " >&6
25745 else
25748 ac_ext=cpp
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25755 /* end confdefs.h. */
25756 #include <math.h>
25758 main ()
25760 atan2l(0, 0);
25762 return 0;
25764 _ACEOF
25765 if ac_fn_cxx_try_compile "$LINENO"; then :
25766 glibcxx_cv_func_atan2l_use=yes
25767 else
25768 glibcxx_cv_func_atan2l_use=no
25770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25771 ac_ext=c
25772 ac_cpp='$CPP $CPPFLAGS'
25773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25782 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25784 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25785 for ac_func in atan2l
25786 do :
25787 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25788 if test "x$ac_cv_func_atan2l" = x""yes; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define HAVE_ATAN2L 1
25791 _ACEOF
25794 done
25796 else
25798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25799 $as_echo_n "checking for _atan2l declaration... " >&6; }
25800 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25801 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25802 $as_echo_n "(cached) " >&6
25803 else
25806 ac_ext=cpp
25807 ac_cpp='$CXXCPP $CPPFLAGS'
25808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25813 /* end confdefs.h. */
25814 #include <math.h>
25816 main ()
25818 _atan2l(0, 0);
25820 return 0;
25822 _ACEOF
25823 if ac_fn_cxx_try_compile "$LINENO"; then :
25824 glibcxx_cv_func__atan2l_use=yes
25825 else
25826 glibcxx_cv_func__atan2l_use=no
25828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25829 ac_ext=c
25830 ac_cpp='$CPP $CPPFLAGS'
25831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25840 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25842 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25843 for ac_func in _atan2l
25844 do :
25845 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25846 if test "x$ac_cv_func__atan2l" = x""yes; then :
25847 cat >>confdefs.h <<_ACEOF
25848 #define HAVE__ATAN2L 1
25849 _ACEOF
25852 done
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25862 $as_echo_n "checking for expl declaration... " >&6; }
25863 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25864 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25878 #ifdef HAVE_IEEEFP_H
25879 #include <ieeefp.h>
25880 #endif
25883 main ()
25885 expl(0);
25887 return 0;
25889 _ACEOF
25890 if ac_fn_cxx_try_compile "$LINENO"; then :
25891 glibcxx_cv_func_expl_use=yes
25892 else
25893 glibcxx_cv_func_expl_use=no
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25896 ac_ext=c
25897 ac_cpp='$CPP $CPPFLAGS'
25898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25907 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25909 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25910 for ac_func in expl
25911 do :
25912 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25913 if test "x$ac_cv_func_expl" = x""yes; then :
25914 cat >>confdefs.h <<_ACEOF
25915 #define HAVE_EXPL 1
25916 _ACEOF
25919 done
25921 else
25923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25924 $as_echo_n "checking for _expl declaration... " >&6; }
25925 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25926 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25927 $as_echo_n "(cached) " >&6
25928 else
25931 ac_ext=cpp
25932 ac_cpp='$CXXCPP $CPPFLAGS'
25933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25938 /* end confdefs.h. */
25939 #include <math.h>
25940 #ifdef HAVE_IEEEFP_H
25941 #include <ieeefp.h>
25942 #endif
25945 main ()
25947 _expl(0);
25949 return 0;
25951 _ACEOF
25952 if ac_fn_cxx_try_compile "$LINENO"; then :
25953 glibcxx_cv_func__expl_use=yes
25954 else
25955 glibcxx_cv_func__expl_use=no
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25958 ac_ext=c
25959 ac_cpp='$CPP $CPPFLAGS'
25960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25969 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25971 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25972 for ac_func in _expl
25973 do :
25974 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25975 if test "x$ac_cv_func__expl" = x""yes; then :
25976 cat >>confdefs.h <<_ACEOF
25977 #define HAVE__EXPL 1
25978 _ACEOF
25981 done
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25991 $as_echo_n "checking for fabsl declaration... " >&6; }
25992 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25993 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25994 $as_echo_n "(cached) " >&6
25995 else
25998 ac_ext=cpp
25999 ac_cpp='$CXXCPP $CPPFLAGS'
26000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26005 /* end confdefs.h. */
26006 #include <math.h>
26007 #ifdef HAVE_IEEEFP_H
26008 #include <ieeefp.h>
26009 #endif
26012 main ()
26014 fabsl(0);
26016 return 0;
26018 _ACEOF
26019 if ac_fn_cxx_try_compile "$LINENO"; then :
26020 glibcxx_cv_func_fabsl_use=yes
26021 else
26022 glibcxx_cv_func_fabsl_use=no
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025 ac_ext=c
26026 ac_cpp='$CPP $CPPFLAGS'
26027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26036 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26038 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26039 for ac_func in fabsl
26040 do :
26041 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26042 if test "x$ac_cv_func_fabsl" = x""yes; then :
26043 cat >>confdefs.h <<_ACEOF
26044 #define HAVE_FABSL 1
26045 _ACEOF
26048 done
26050 else
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26053 $as_echo_n "checking for _fabsl declaration... " >&6; }
26054 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26055 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26056 $as_echo_n "(cached) " >&6
26057 else
26060 ac_ext=cpp
26061 ac_cpp='$CXXCPP $CPPFLAGS'
26062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26068 #include <math.h>
26069 #ifdef HAVE_IEEEFP_H
26070 #include <ieeefp.h>
26071 #endif
26074 main ()
26076 _fabsl(0);
26078 return 0;
26080 _ACEOF
26081 if ac_fn_cxx_try_compile "$LINENO"; then :
26082 glibcxx_cv_func__fabsl_use=yes
26083 else
26084 glibcxx_cv_func__fabsl_use=no
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26098 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26100 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26101 for ac_func in _fabsl
26102 do :
26103 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26104 if test "x$ac_cv_func__fabsl" = x""yes; then :
26105 cat >>confdefs.h <<_ACEOF
26106 #define HAVE__FABSL 1
26107 _ACEOF
26110 done
26119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26120 $as_echo_n "checking for fmodl declaration... " >&6; }
26121 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26122 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26123 $as_echo_n "(cached) " >&6
26124 else
26127 ac_ext=cpp
26128 ac_cpp='$CXXCPP $CPPFLAGS'
26129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26134 /* end confdefs.h. */
26135 #include <math.h>
26137 main ()
26139 fmodl(0, 0);
26141 return 0;
26143 _ACEOF
26144 if ac_fn_cxx_try_compile "$LINENO"; then :
26145 glibcxx_cv_func_fmodl_use=yes
26146 else
26147 glibcxx_cv_func_fmodl_use=no
26149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26150 ac_ext=c
26151 ac_cpp='$CPP $CPPFLAGS'
26152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26161 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26163 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26164 for ac_func in fmodl
26165 do :
26166 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26167 if test "x$ac_cv_func_fmodl" = x""yes; then :
26168 cat >>confdefs.h <<_ACEOF
26169 #define HAVE_FMODL 1
26170 _ACEOF
26173 done
26175 else
26177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26178 $as_echo_n "checking for _fmodl declaration... " >&6; }
26179 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26180 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26181 $as_echo_n "(cached) " >&6
26182 else
26185 ac_ext=cpp
26186 ac_cpp='$CXXCPP $CPPFLAGS'
26187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26192 /* end confdefs.h. */
26193 #include <math.h>
26195 main ()
26197 _fmodl(0, 0);
26199 return 0;
26201 _ACEOF
26202 if ac_fn_cxx_try_compile "$LINENO"; then :
26203 glibcxx_cv_func__fmodl_use=yes
26204 else
26205 glibcxx_cv_func__fmodl_use=no
26207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26208 ac_ext=c
26209 ac_cpp='$CPP $CPPFLAGS'
26210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26219 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26221 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26222 for ac_func in _fmodl
26223 do :
26224 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26225 if test "x$ac_cv_func__fmodl" = x""yes; then :
26226 cat >>confdefs.h <<_ACEOF
26227 #define HAVE__FMODL 1
26228 _ACEOF
26231 done
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26241 $as_echo_n "checking for frexpl declaration... " >&6; }
26242 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26243 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26248 ac_ext=cpp
26249 ac_cpp='$CXXCPP $CPPFLAGS'
26250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 #include <math.h>
26258 main ()
26260 frexpl(0, 0);
26262 return 0;
26264 _ACEOF
26265 if ac_fn_cxx_try_compile "$LINENO"; then :
26266 glibcxx_cv_func_frexpl_use=yes
26267 else
26268 glibcxx_cv_func_frexpl_use=no
26270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26271 ac_ext=c
26272 ac_cpp='$CPP $CPPFLAGS'
26273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26282 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26284 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26285 for ac_func in frexpl
26286 do :
26287 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26288 if test "x$ac_cv_func_frexpl" = x""yes; then :
26289 cat >>confdefs.h <<_ACEOF
26290 #define HAVE_FREXPL 1
26291 _ACEOF
26294 done
26296 else
26298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26299 $as_echo_n "checking for _frexpl declaration... " >&6; }
26300 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26301 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26302 $as_echo_n "(cached) " >&6
26303 else
26306 ac_ext=cpp
26307 ac_cpp='$CXXCPP $CPPFLAGS'
26308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26313 /* end confdefs.h. */
26314 #include <math.h>
26316 main ()
26318 _frexpl(0, 0);
26320 return 0;
26322 _ACEOF
26323 if ac_fn_cxx_try_compile "$LINENO"; then :
26324 glibcxx_cv_func__frexpl_use=yes
26325 else
26326 glibcxx_cv_func__frexpl_use=no
26328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26329 ac_ext=c
26330 ac_cpp='$CPP $CPPFLAGS'
26331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26340 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26342 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26343 for ac_func in _frexpl
26344 do :
26345 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26346 if test "x$ac_cv_func__frexpl" = x""yes; then :
26347 cat >>confdefs.h <<_ACEOF
26348 #define HAVE__FREXPL 1
26349 _ACEOF
26352 done
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26362 $as_echo_n "checking for hypotl declaration... " >&6; }
26363 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26364 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26365 $as_echo_n "(cached) " >&6
26366 else
26369 ac_ext=cpp
26370 ac_cpp='$CXXCPP $CPPFLAGS'
26371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26376 /* end confdefs.h. */
26377 #include <math.h>
26379 main ()
26381 hypotl(0, 0);
26383 return 0;
26385 _ACEOF
26386 if ac_fn_cxx_try_compile "$LINENO"; then :
26387 glibcxx_cv_func_hypotl_use=yes
26388 else
26389 glibcxx_cv_func_hypotl_use=no
26391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26392 ac_ext=c
26393 ac_cpp='$CPP $CPPFLAGS'
26394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26403 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26405 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26406 for ac_func in hypotl
26407 do :
26408 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26409 if test "x$ac_cv_func_hypotl" = x""yes; then :
26410 cat >>confdefs.h <<_ACEOF
26411 #define HAVE_HYPOTL 1
26412 _ACEOF
26415 done
26417 else
26419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26420 $as_echo_n "checking for _hypotl declaration... " >&6; }
26421 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26422 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26423 $as_echo_n "(cached) " >&6
26424 else
26427 ac_ext=cpp
26428 ac_cpp='$CXXCPP $CPPFLAGS'
26429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26434 /* end confdefs.h. */
26435 #include <math.h>
26437 main ()
26439 _hypotl(0, 0);
26441 return 0;
26443 _ACEOF
26444 if ac_fn_cxx_try_compile "$LINENO"; then :
26445 glibcxx_cv_func__hypotl_use=yes
26446 else
26447 glibcxx_cv_func__hypotl_use=no
26449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 ac_ext=c
26451 ac_cpp='$CPP $CPPFLAGS'
26452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26461 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26463 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26464 for ac_func in _hypotl
26465 do :
26466 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26467 if test "x$ac_cv_func__hypotl" = x""yes; then :
26468 cat >>confdefs.h <<_ACEOF
26469 #define HAVE__HYPOTL 1
26470 _ACEOF
26473 done
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26483 $as_echo_n "checking for ldexpl declaration... " >&6; }
26484 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26485 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26486 $as_echo_n "(cached) " >&6
26487 else
26490 ac_ext=cpp
26491 ac_cpp='$CXXCPP $CPPFLAGS'
26492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h. */
26498 #include <math.h>
26500 main ()
26502 ldexpl(0, 0);
26504 return 0;
26506 _ACEOF
26507 if ac_fn_cxx_try_compile "$LINENO"; then :
26508 glibcxx_cv_func_ldexpl_use=yes
26509 else
26510 glibcxx_cv_func_ldexpl_use=no
26512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26513 ac_ext=c
26514 ac_cpp='$CPP $CPPFLAGS'
26515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26524 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26526 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26527 for ac_func in ldexpl
26528 do :
26529 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26530 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26531 cat >>confdefs.h <<_ACEOF
26532 #define HAVE_LDEXPL 1
26533 _ACEOF
26536 done
26538 else
26540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26541 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26542 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26543 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26544 $as_echo_n "(cached) " >&6
26545 else
26548 ac_ext=cpp
26549 ac_cpp='$CXXCPP $CPPFLAGS'
26550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26555 /* end confdefs.h. */
26556 #include <math.h>
26558 main ()
26560 _ldexpl(0, 0);
26562 return 0;
26564 _ACEOF
26565 if ac_fn_cxx_try_compile "$LINENO"; then :
26566 glibcxx_cv_func__ldexpl_use=yes
26567 else
26568 glibcxx_cv_func__ldexpl_use=no
26570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26571 ac_ext=c
26572 ac_cpp='$CPP $CPPFLAGS'
26573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26582 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26584 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26585 for ac_func in _ldexpl
26586 do :
26587 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26588 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26589 cat >>confdefs.h <<_ACEOF
26590 #define HAVE__LDEXPL 1
26591 _ACEOF
26594 done
26603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26604 $as_echo_n "checking for logl declaration... " >&6; }
26605 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26606 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26607 $as_echo_n "(cached) " >&6
26608 else
26611 ac_ext=cpp
26612 ac_cpp='$CXXCPP $CPPFLAGS'
26613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26618 /* end confdefs.h. */
26619 #include <math.h>
26620 #ifdef HAVE_IEEEFP_H
26621 #include <ieeefp.h>
26622 #endif
26625 main ()
26627 logl(0);
26629 return 0;
26631 _ACEOF
26632 if ac_fn_cxx_try_compile "$LINENO"; then :
26633 glibcxx_cv_func_logl_use=yes
26634 else
26635 glibcxx_cv_func_logl_use=no
26637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26638 ac_ext=c
26639 ac_cpp='$CPP $CPPFLAGS'
26640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26649 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26651 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26652 for ac_func in logl
26653 do :
26654 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26655 if test "x$ac_cv_func_logl" = x""yes; then :
26656 cat >>confdefs.h <<_ACEOF
26657 #define HAVE_LOGL 1
26658 _ACEOF
26661 done
26663 else
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26666 $as_echo_n "checking for _logl declaration... " >&6; }
26667 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26668 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26669 $as_echo_n "(cached) " >&6
26670 else
26673 ac_ext=cpp
26674 ac_cpp='$CXXCPP $CPPFLAGS'
26675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26680 /* end confdefs.h. */
26681 #include <math.h>
26682 #ifdef HAVE_IEEEFP_H
26683 #include <ieeefp.h>
26684 #endif
26687 main ()
26689 _logl(0);
26691 return 0;
26693 _ACEOF
26694 if ac_fn_cxx_try_compile "$LINENO"; then :
26695 glibcxx_cv_func__logl_use=yes
26696 else
26697 glibcxx_cv_func__logl_use=no
26699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26700 ac_ext=c
26701 ac_cpp='$CPP $CPPFLAGS'
26702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26711 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26713 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26714 for ac_func in _logl
26715 do :
26716 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26717 if test "x$ac_cv_func__logl" = x""yes; then :
26718 cat >>confdefs.h <<_ACEOF
26719 #define HAVE__LOGL 1
26720 _ACEOF
26723 done
26732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26733 $as_echo_n "checking for log10l declaration... " >&6; }
26734 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26735 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26736 $as_echo_n "(cached) " >&6
26737 else
26740 ac_ext=cpp
26741 ac_cpp='$CXXCPP $CPPFLAGS'
26742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26747 /* end confdefs.h. */
26748 #include <math.h>
26749 #ifdef HAVE_IEEEFP_H
26750 #include <ieeefp.h>
26751 #endif
26754 main ()
26756 log10l(0);
26758 return 0;
26760 _ACEOF
26761 if ac_fn_cxx_try_compile "$LINENO"; then :
26762 glibcxx_cv_func_log10l_use=yes
26763 else
26764 glibcxx_cv_func_log10l_use=no
26766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26767 ac_ext=c
26768 ac_cpp='$CPP $CPPFLAGS'
26769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26778 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26780 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26781 for ac_func in log10l
26782 do :
26783 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26784 if test "x$ac_cv_func_log10l" = x""yes; then :
26785 cat >>confdefs.h <<_ACEOF
26786 #define HAVE_LOG10L 1
26787 _ACEOF
26790 done
26792 else
26794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26795 $as_echo_n "checking for _log10l declaration... " >&6; }
26796 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26797 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26798 $as_echo_n "(cached) " >&6
26799 else
26802 ac_ext=cpp
26803 ac_cpp='$CXXCPP $CPPFLAGS'
26804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26809 /* end confdefs.h. */
26810 #include <math.h>
26811 #ifdef HAVE_IEEEFP_H
26812 #include <ieeefp.h>
26813 #endif
26816 main ()
26818 _log10l(0);
26820 return 0;
26822 _ACEOF
26823 if ac_fn_cxx_try_compile "$LINENO"; then :
26824 glibcxx_cv_func__log10l_use=yes
26825 else
26826 glibcxx_cv_func__log10l_use=no
26828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26829 ac_ext=c
26830 ac_cpp='$CPP $CPPFLAGS'
26831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26840 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26842 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26843 for ac_func in _log10l
26844 do :
26845 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26846 if test "x$ac_cv_func__log10l" = x""yes; then :
26847 cat >>confdefs.h <<_ACEOF
26848 #define HAVE__LOG10L 1
26849 _ACEOF
26852 done
26861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26862 $as_echo_n "checking for modfl declaration... " >&6; }
26863 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26864 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26865 $as_echo_n "(cached) " >&6
26866 else
26869 ac_ext=cpp
26870 ac_cpp='$CXXCPP $CPPFLAGS'
26871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26876 /* end confdefs.h. */
26877 #include <math.h>
26879 main ()
26881 modfl(0, 0);
26883 return 0;
26885 _ACEOF
26886 if ac_fn_cxx_try_compile "$LINENO"; then :
26887 glibcxx_cv_func_modfl_use=yes
26888 else
26889 glibcxx_cv_func_modfl_use=no
26891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26892 ac_ext=c
26893 ac_cpp='$CPP $CPPFLAGS'
26894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26903 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26905 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26906 for ac_func in modfl
26907 do :
26908 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26909 if test "x$ac_cv_func_modfl" = x""yes; then :
26910 cat >>confdefs.h <<_ACEOF
26911 #define HAVE_MODFL 1
26912 _ACEOF
26915 done
26917 else
26919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26920 $as_echo_n "checking for _modfl declaration... " >&6; }
26921 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26922 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26923 $as_echo_n "(cached) " >&6
26924 else
26927 ac_ext=cpp
26928 ac_cpp='$CXXCPP $CPPFLAGS'
26929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26934 /* end confdefs.h. */
26935 #include <math.h>
26937 main ()
26939 _modfl(0, 0);
26941 return 0;
26943 _ACEOF
26944 if ac_fn_cxx_try_compile "$LINENO"; then :
26945 glibcxx_cv_func__modfl_use=yes
26946 else
26947 glibcxx_cv_func__modfl_use=no
26949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26950 ac_ext=c
26951 ac_cpp='$CPP $CPPFLAGS'
26952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26961 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26963 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26964 for ac_func in _modfl
26965 do :
26966 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26967 if test "x$ac_cv_func__modfl" = x""yes; then :
26968 cat >>confdefs.h <<_ACEOF
26969 #define HAVE__MODFL 1
26970 _ACEOF
26973 done
26982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26983 $as_echo_n "checking for powl declaration... " >&6; }
26984 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26985 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26986 $as_echo_n "(cached) " >&6
26987 else
26990 ac_ext=cpp
26991 ac_cpp='$CXXCPP $CPPFLAGS'
26992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26997 /* end confdefs.h. */
26998 #include <math.h>
27000 main ()
27002 powl(0, 0);
27004 return 0;
27006 _ACEOF
27007 if ac_fn_cxx_try_compile "$LINENO"; then :
27008 glibcxx_cv_func_powl_use=yes
27009 else
27010 glibcxx_cv_func_powl_use=no
27012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27013 ac_ext=c
27014 ac_cpp='$CPP $CPPFLAGS'
27015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27024 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27026 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27027 for ac_func in powl
27028 do :
27029 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27030 if test "x$ac_cv_func_powl" = x""yes; then :
27031 cat >>confdefs.h <<_ACEOF
27032 #define HAVE_POWL 1
27033 _ACEOF
27036 done
27038 else
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27041 $as_echo_n "checking for _powl declaration... " >&6; }
27042 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27043 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27044 $as_echo_n "(cached) " >&6
27045 else
27048 ac_ext=cpp
27049 ac_cpp='$CXXCPP $CPPFLAGS'
27050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27055 /* end confdefs.h. */
27056 #include <math.h>
27058 main ()
27060 _powl(0, 0);
27062 return 0;
27064 _ACEOF
27065 if ac_fn_cxx_try_compile "$LINENO"; then :
27066 glibcxx_cv_func__powl_use=yes
27067 else
27068 glibcxx_cv_func__powl_use=no
27070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27071 ac_ext=c
27072 ac_cpp='$CPP $CPPFLAGS'
27073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27082 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27084 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27085 for ac_func in _powl
27086 do :
27087 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27088 if test "x$ac_cv_func__powl" = x""yes; then :
27089 cat >>confdefs.h <<_ACEOF
27090 #define HAVE__POWL 1
27091 _ACEOF
27094 done
27103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27104 $as_echo_n "checking for sqrtl declaration... " >&6; }
27105 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27106 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27107 $as_echo_n "(cached) " >&6
27108 else
27111 ac_ext=cpp
27112 ac_cpp='$CXXCPP $CPPFLAGS'
27113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27118 /* end confdefs.h. */
27119 #include <math.h>
27120 #ifdef HAVE_IEEEFP_H
27121 #include <ieeefp.h>
27122 #endif
27125 main ()
27127 sqrtl(0);
27129 return 0;
27131 _ACEOF
27132 if ac_fn_cxx_try_compile "$LINENO"; then :
27133 glibcxx_cv_func_sqrtl_use=yes
27134 else
27135 glibcxx_cv_func_sqrtl_use=no
27137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27138 ac_ext=c
27139 ac_cpp='$CPP $CPPFLAGS'
27140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27149 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27151 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27152 for ac_func in sqrtl
27153 do :
27154 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27155 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27156 cat >>confdefs.h <<_ACEOF
27157 #define HAVE_SQRTL 1
27158 _ACEOF
27161 done
27163 else
27165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27166 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27167 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27168 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27169 $as_echo_n "(cached) " >&6
27170 else
27173 ac_ext=cpp
27174 ac_cpp='$CXXCPP $CPPFLAGS'
27175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27180 /* end confdefs.h. */
27181 #include <math.h>
27182 #ifdef HAVE_IEEEFP_H
27183 #include <ieeefp.h>
27184 #endif
27187 main ()
27189 _sqrtl(0);
27191 return 0;
27193 _ACEOF
27194 if ac_fn_cxx_try_compile "$LINENO"; then :
27195 glibcxx_cv_func__sqrtl_use=yes
27196 else
27197 glibcxx_cv_func__sqrtl_use=no
27199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27200 ac_ext=c
27201 ac_cpp='$CPP $CPPFLAGS'
27202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27211 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27213 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27214 for ac_func in _sqrtl
27215 do :
27216 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27217 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27218 cat >>confdefs.h <<_ACEOF
27219 #define HAVE__SQRTL 1
27220 _ACEOF
27223 done
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27233 $as_echo_n "checking for sincosl declaration... " >&6; }
27234 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27235 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27236 $as_echo_n "(cached) " >&6
27237 else
27240 ac_ext=cpp
27241 ac_cpp='$CXXCPP $CPPFLAGS'
27242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27247 /* end confdefs.h. */
27248 #include <math.h>
27250 main ()
27252 sincosl(0, 0, 0);
27254 return 0;
27256 _ACEOF
27257 if ac_fn_cxx_try_compile "$LINENO"; then :
27258 glibcxx_cv_func_sincosl_use=yes
27259 else
27260 glibcxx_cv_func_sincosl_use=no
27262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27263 ac_ext=c
27264 ac_cpp='$CPP $CPPFLAGS'
27265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27274 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27276 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27277 for ac_func in sincosl
27278 do :
27279 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27280 if test "x$ac_cv_func_sincosl" = x""yes; then :
27281 cat >>confdefs.h <<_ACEOF
27282 #define HAVE_SINCOSL 1
27283 _ACEOF
27286 done
27288 else
27290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27291 $as_echo_n "checking for _sincosl declaration... " >&6; }
27292 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27293 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27294 $as_echo_n "(cached) " >&6
27295 else
27298 ac_ext=cpp
27299 ac_cpp='$CXXCPP $CPPFLAGS'
27300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27305 /* end confdefs.h. */
27306 #include <math.h>
27308 main ()
27310 _sincosl(0, 0, 0);
27312 return 0;
27314 _ACEOF
27315 if ac_fn_cxx_try_compile "$LINENO"; then :
27316 glibcxx_cv_func__sincosl_use=yes
27317 else
27318 glibcxx_cv_func__sincosl_use=no
27320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27321 ac_ext=c
27322 ac_cpp='$CPP $CPPFLAGS'
27323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27332 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27334 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27335 for ac_func in _sincosl
27336 do :
27337 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27338 if test "x$ac_cv_func__sincosl" = x""yes; then :
27339 cat >>confdefs.h <<_ACEOF
27340 #define HAVE__SINCOSL 1
27341 _ACEOF
27344 done
27353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27354 $as_echo_n "checking for finitel declaration... " >&6; }
27355 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27356 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27357 $as_echo_n "(cached) " >&6
27358 else
27361 ac_ext=cpp
27362 ac_cpp='$CXXCPP $CPPFLAGS'
27363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27368 /* end confdefs.h. */
27369 #include <math.h>
27370 #ifdef HAVE_IEEEFP_H
27371 #include <ieeefp.h>
27372 #endif
27375 main ()
27377 finitel(0);
27379 return 0;
27381 _ACEOF
27382 if ac_fn_cxx_try_compile "$LINENO"; then :
27383 glibcxx_cv_func_finitel_use=yes
27384 else
27385 glibcxx_cv_func_finitel_use=no
27387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 ac_ext=c
27389 ac_cpp='$CPP $CPPFLAGS'
27390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27399 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27401 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27402 for ac_func in finitel
27403 do :
27404 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27405 if test "x$ac_cv_func_finitel" = x""yes; then :
27406 cat >>confdefs.h <<_ACEOF
27407 #define HAVE_FINITEL 1
27408 _ACEOF
27411 done
27413 else
27415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27416 $as_echo_n "checking for _finitel declaration... " >&6; }
27417 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27418 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27419 $as_echo_n "(cached) " >&6
27420 else
27423 ac_ext=cpp
27424 ac_cpp='$CXXCPP $CPPFLAGS'
27425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27430 /* end confdefs.h. */
27431 #include <math.h>
27432 #ifdef HAVE_IEEEFP_H
27433 #include <ieeefp.h>
27434 #endif
27437 main ()
27439 _finitel(0);
27441 return 0;
27443 _ACEOF
27444 if ac_fn_cxx_try_compile "$LINENO"; then :
27445 glibcxx_cv_func__finitel_use=yes
27446 else
27447 glibcxx_cv_func__finitel_use=no
27449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27450 ac_ext=c
27451 ac_cpp='$CPP $CPPFLAGS'
27452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27461 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27463 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27464 for ac_func in _finitel
27465 do :
27466 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27467 if test "x$ac_cv_func__finitel" = x""yes; then :
27468 cat >>confdefs.h <<_ACEOF
27469 #define HAVE__FINITEL 1
27470 _ACEOF
27473 done
27481 LIBS="$ac_save_LIBS"
27482 CXXFLAGS="$ac_save_CXXFLAGS"
27485 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27486 ac_save_CXXFLAGS="$CXXFLAGS"
27487 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27491 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27492 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27493 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27494 $as_echo_n "(cached) " >&6
27495 else
27498 ac_ext=cpp
27499 ac_cpp='$CXXCPP $CPPFLAGS'
27500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27505 /* end confdefs.h. */
27506 #include <stdlib.h>
27508 main ()
27510 at_quick_exit(0);
27512 return 0;
27514 _ACEOF
27515 if ac_fn_cxx_try_compile "$LINENO"; then :
27516 glibcxx_cv_func_at_quick_exit_use=yes
27517 else
27518 glibcxx_cv_func_at_quick_exit_use=no
27520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27521 ac_ext=c
27522 ac_cpp='$CPP $CPPFLAGS'
27523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27532 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27533 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27534 for ac_func in at_quick_exit
27535 do :
27536 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27537 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27538 cat >>confdefs.h <<_ACEOF
27539 #define HAVE_AT_QUICK_EXIT 1
27540 _ACEOF
27543 done
27548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27549 $as_echo_n "checking for quick_exit declaration... " >&6; }
27550 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27551 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27552 $as_echo_n "(cached) " >&6
27553 else
27556 ac_ext=cpp
27557 ac_cpp='$CXXCPP $CPPFLAGS'
27558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27563 /* end confdefs.h. */
27564 #include <stdlib.h>
27566 main ()
27568 quick_exit(0);
27570 return 0;
27572 _ACEOF
27573 if ac_fn_cxx_try_compile "$LINENO"; then :
27574 glibcxx_cv_func_quick_exit_use=yes
27575 else
27576 glibcxx_cv_func_quick_exit_use=no
27578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27579 ac_ext=c
27580 ac_cpp='$CPP $CPPFLAGS'
27581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27590 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27591 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27592 for ac_func in quick_exit
27593 do :
27594 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27595 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27596 cat >>confdefs.h <<_ACEOF
27597 #define HAVE_QUICK_EXIT 1
27598 _ACEOF
27601 done
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27607 $as_echo_n "checking for strtold declaration... " >&6; }
27608 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27609 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27610 $as_echo_n "(cached) " >&6
27611 else
27614 ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h. */
27622 #include <stdlib.h>
27624 main ()
27626 strtold(0, 0);
27628 return 0;
27630 _ACEOF
27631 if ac_fn_cxx_try_compile "$LINENO"; then :
27632 glibcxx_cv_func_strtold_use=yes
27633 else
27634 glibcxx_cv_func_strtold_use=no
27636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27637 ac_ext=c
27638 ac_cpp='$CPP $CPPFLAGS'
27639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27648 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27649 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27650 for ac_func in strtold
27651 do :
27652 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27653 if test "x$ac_cv_func_strtold" = x""yes; then :
27654 cat >>confdefs.h <<_ACEOF
27655 #define HAVE_STRTOLD 1
27656 _ACEOF
27659 done
27666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27667 $as_echo_n "checking for strtof declaration... " >&6; }
27668 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27669 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27670 $as_echo_n "(cached) " >&6
27671 else
27674 ac_ext=cpp
27675 ac_cpp='$CXXCPP $CPPFLAGS'
27676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27681 /* end confdefs.h. */
27682 #include <stdlib.h>
27684 main ()
27686 strtof(0, 0);
27688 return 0;
27690 _ACEOF
27691 if ac_fn_cxx_try_compile "$LINENO"; then :
27692 glibcxx_cv_func_strtof_use=yes
27693 else
27694 glibcxx_cv_func_strtof_use=no
27696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27697 ac_ext=c
27698 ac_cpp='$CPP $CPPFLAGS'
27699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27708 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27709 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27710 for ac_func in strtof
27711 do :
27712 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27713 if test "x$ac_cv_func_strtof" = x""yes; then :
27714 cat >>confdefs.h <<_ACEOF
27715 #define HAVE_STRTOF 1
27716 _ACEOF
27719 done
27726 CXXFLAGS="$ac_save_CXXFLAGS"
27729 # For /dev/random and /dev/urandom for TR1.
27732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27733 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27734 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27735 $as_echo_n "(cached) " >&6
27736 else
27738 if test -r /dev/random && test -r /dev/urandom; then
27739 ## For MSys environment the test above is detect as false-positive
27740 ## on mingw-targets. So disable it explicit for them.
27741 case ${target_os} in
27742 *mingw*) glibcxx_cv_random_tr1=no ;;
27743 *) glibcxx_cv_random_tr1=yes ;;
27744 esac
27745 else
27746 glibcxx_cv_random_tr1=no;
27751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27752 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27754 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27756 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27762 # For TLS support.
27765 # Check whether --enable-tls was given.
27766 if test "${enable_tls+set}" = set; then :
27767 enableval=$enable_tls;
27768 case "$enableval" in
27769 yes|no) ;;
27770 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27771 esac
27773 else
27774 enable_tls=yes
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27779 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27780 if test "${gcc_cv_have_tls+set}" = set; then :
27781 $as_echo_n "(cached) " >&6
27782 else
27784 if test "$cross_compiling" = yes; then :
27785 if test x$gcc_no_link = xyes; then
27786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27789 /* end confdefs.h. */
27790 __thread int a; int b; int main() { return a = b; }
27791 _ACEOF
27792 if ac_fn_c_try_link "$LINENO"; then :
27793 chktls_save_LDFLAGS="$LDFLAGS"
27794 case $host in
27795 *-*-linux*)
27796 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27798 esac
27799 chktls_save_CFLAGS="$CFLAGS"
27800 CFLAGS="-fPIC $CFLAGS"
27801 if test x$gcc_no_link = xyes; then
27802 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27805 /* end confdefs.h. */
27806 int f() { return 0; }
27807 _ACEOF
27808 if ac_fn_c_try_link "$LINENO"; then :
27809 if test x$gcc_no_link = xyes; then
27810 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27813 /* end confdefs.h. */
27814 __thread int a; int b; int f() { return a = b; }
27815 _ACEOF
27816 if ac_fn_c_try_link "$LINENO"; then :
27817 gcc_cv_have_tls=yes
27818 else
27819 gcc_cv_have_tls=no
27821 rm -f core conftest.err conftest.$ac_objext \
27822 conftest$ac_exeext conftest.$ac_ext
27823 else
27824 gcc_cv_have_tls=yes
27826 rm -f core conftest.err conftest.$ac_objext \
27827 conftest$ac_exeext conftest.$ac_ext
27828 CFLAGS="$chktls_save_CFLAGS"
27829 LDFLAGS="$chktls_save_LDFLAGS"
27830 else
27831 gcc_cv_have_tls=no
27833 rm -f core conftest.err conftest.$ac_objext \
27834 conftest$ac_exeext conftest.$ac_ext
27837 else
27838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27839 /* end confdefs.h. */
27840 __thread int a; int b; int main() { return a = b; }
27841 _ACEOF
27842 if ac_fn_c_try_run "$LINENO"; then :
27843 chktls_save_LDFLAGS="$LDFLAGS"
27844 LDFLAGS="-static $LDFLAGS"
27845 if test x$gcc_no_link = xyes; then
27846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27849 /* end confdefs.h. */
27850 int main() { return 0; }
27851 _ACEOF
27852 if ac_fn_c_try_link "$LINENO"; then :
27853 if test "$cross_compiling" = yes; then :
27854 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27856 as_fn_error "cannot run test program while cross compiling
27857 See \`config.log' for more details." "$LINENO" 5; }
27858 else
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861 __thread int a; int b; int main() { return a = b; }
27862 _ACEOF
27863 if ac_fn_c_try_run "$LINENO"; then :
27864 gcc_cv_have_tls=yes
27865 else
27866 gcc_cv_have_tls=no
27868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27869 conftest.$ac_objext conftest.beam conftest.$ac_ext
27872 else
27873 gcc_cv_have_tls=yes
27875 rm -f core conftest.err conftest.$ac_objext \
27876 conftest$ac_exeext conftest.$ac_ext
27877 LDFLAGS="$chktls_save_LDFLAGS"
27878 if test $gcc_cv_have_tls = yes; then
27879 chktls_save_CFLAGS="$CFLAGS"
27880 thread_CFLAGS=failed
27881 for flag in '' '-pthread' '-lpthread'; do
27882 CFLAGS="$flag $chktls_save_CFLAGS"
27883 if test x$gcc_no_link = xyes; then
27884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27887 /* end confdefs.h. */
27888 #include <pthread.h>
27889 void *g(void *d) { return NULL; }
27891 main ()
27893 pthread_t t; pthread_create(&t,NULL,g,NULL);
27895 return 0;
27897 _ACEOF
27898 if ac_fn_c_try_link "$LINENO"; then :
27899 thread_CFLAGS="$flag"
27901 rm -f core conftest.err conftest.$ac_objext \
27902 conftest$ac_exeext conftest.$ac_ext
27903 if test "X$thread_CFLAGS" != Xfailed; then
27904 break
27906 done
27907 CFLAGS="$chktls_save_CFLAGS"
27908 if test "X$thread_CFLAGS" != Xfailed; then
27909 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27910 if test "$cross_compiling" = yes; then :
27911 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27912 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27913 as_fn_error "cannot run test program while cross compiling
27914 See \`config.log' for more details." "$LINENO" 5; }
27915 else
27916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27917 /* end confdefs.h. */
27918 #include <pthread.h>
27919 __thread int a;
27920 static int *volatile a_in_other_thread;
27921 static void *
27922 thread_func (void *arg)
27924 a_in_other_thread = &a;
27925 return (void *)0;
27928 main ()
27930 pthread_t thread;
27931 void *thread_retval;
27932 int *volatile a_in_main_thread;
27933 a_in_main_thread = &a;
27934 if (pthread_create (&thread, (pthread_attr_t *)0,
27935 thread_func, (void *)0))
27936 return 0;
27937 if (pthread_join (thread, &thread_retval))
27938 return 0;
27939 return (a_in_other_thread == a_in_main_thread);
27941 return 0;
27943 _ACEOF
27944 if ac_fn_c_try_run "$LINENO"; then :
27945 gcc_cv_have_tls=yes
27946 else
27947 gcc_cv_have_tls=no
27949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27950 conftest.$ac_objext conftest.beam conftest.$ac_ext
27953 CFLAGS="$chktls_save_CFLAGS"
27956 else
27957 gcc_cv_have_tls=no
27959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27960 conftest.$ac_objext conftest.beam conftest.$ac_ext
27964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27965 $as_echo "$gcc_cv_have_tls" >&6; }
27966 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27968 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27972 for ac_func in __cxa_thread_atexit_impl
27973 do :
27974 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27975 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27976 cat >>confdefs.h <<_ACEOF
27977 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27978 _ACEOF
27981 done
27983 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
27984 do :
27985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27987 eval as_val=\$$as_ac_var
27988 if test "x$as_val" = x""yes; then :
27989 cat >>confdefs.h <<_ACEOF
27990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27991 _ACEOF
27994 done
27997 # For iconv support.
27999 if test "X$prefix" = "XNONE"; then
28000 acl_final_prefix="$ac_default_prefix"
28001 else
28002 acl_final_prefix="$prefix"
28004 if test "X$exec_prefix" = "XNONE"; then
28005 acl_final_exec_prefix='${prefix}'
28006 else
28007 acl_final_exec_prefix="$exec_prefix"
28009 acl_save_prefix="$prefix"
28010 prefix="$acl_final_prefix"
28011 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28012 prefix="$acl_save_prefix"
28015 # Check whether --with-gnu-ld was given.
28016 if test "${with_gnu_ld+set}" = set; then :
28017 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28018 else
28019 with_gnu_ld=no
28022 # Prepare PATH_SEPARATOR.
28023 # The user is always right.
28024 if test "${PATH_SEPARATOR+set}" != set; then
28025 echo "#! /bin/sh" >conf$$.sh
28026 echo "exit 0" >>conf$$.sh
28027 chmod +x conf$$.sh
28028 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28029 PATH_SEPARATOR=';'
28030 else
28031 PATH_SEPARATOR=:
28033 rm -f conf$$.sh
28035 ac_prog=ld
28036 if test "$GCC" = yes; then
28037 # Check if gcc -print-prog-name=ld gives a path.
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28039 $as_echo_n "checking for ld used by GCC... " >&6; }
28040 case $host in
28041 *-*-mingw*)
28042 # gcc leaves a trailing carriage return which upsets mingw
28043 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28045 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28046 esac
28047 case $ac_prog in
28048 # Accept absolute paths.
28049 [\\/]* | [A-Za-z]:[\\/]*)
28050 re_direlt='/[^/][^/]*/\.\./'
28051 # Canonicalize the path of ld
28052 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28053 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28054 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28055 done
28056 test -z "$LD" && LD="$ac_prog"
28059 # If it fails, then pretend we aren't using GCC.
28060 ac_prog=ld
28063 # If it is relative, then search for the first ld in PATH.
28064 with_gnu_ld=unknown
28066 esac
28067 elif test "$with_gnu_ld" = yes; then
28068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28069 $as_echo_n "checking for GNU ld... " >&6; }
28070 else
28071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28072 $as_echo_n "checking for non-GNU ld... " >&6; }
28074 if test "${acl_cv_path_LD+set}" = set; then :
28075 $as_echo_n "(cached) " >&6
28076 else
28077 if test -z "$LD"; then
28078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28079 for ac_dir in $PATH; do
28080 test -z "$ac_dir" && ac_dir=.
28081 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28082 acl_cv_path_LD="$ac_dir/$ac_prog"
28083 # Check to see if the program is GNU ld. I'd rather use --version,
28084 # but apparently some GNU ld's only accept -v.
28085 # Break only if it was the GNU/non-GNU ld that we prefer.
28086 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28087 test "$with_gnu_ld" != no && break
28088 else
28089 test "$with_gnu_ld" != yes && break
28092 done
28093 IFS="$ac_save_ifs"
28094 else
28095 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28099 LD="$acl_cv_path_LD"
28100 if test -n "$LD"; then
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28102 $as_echo "$LD" >&6; }
28103 else
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28105 $as_echo "no" >&6; }
28107 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28109 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28110 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28111 $as_echo_n "(cached) " >&6
28112 else
28113 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28114 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28115 acl_cv_prog_gnu_ld=yes
28116 else
28117 acl_cv_prog_gnu_ld=no
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28121 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28122 with_gnu_ld=$acl_cv_prog_gnu_ld
28126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28127 $as_echo_n "checking for shared library run path origin... " >&6; }
28128 if test "${acl_cv_rpath+set}" = set; then :
28129 $as_echo_n "(cached) " >&6
28130 else
28132 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28133 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28134 . ./conftest.sh
28135 rm -f ./conftest.sh
28136 acl_cv_rpath=done
28139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28140 $as_echo "$acl_cv_rpath" >&6; }
28141 wl="$acl_cv_wl"
28142 libext="$acl_cv_libext"
28143 shlibext="$acl_cv_shlibext"
28144 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28145 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28146 hardcode_direct="$acl_cv_hardcode_direct"
28147 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28148 # Check whether --enable-rpath was given.
28149 if test "${enable_rpath+set}" = set; then :
28150 enableval=$enable_rpath; :
28151 else
28152 enable_rpath=yes
28162 use_additional=yes
28164 acl_save_prefix="$prefix"
28165 prefix="$acl_final_prefix"
28166 acl_save_exec_prefix="$exec_prefix"
28167 exec_prefix="$acl_final_exec_prefix"
28169 eval additional_includedir=\"$includedir\"
28170 eval additional_libdir=\"$libdir\"
28172 exec_prefix="$acl_save_exec_prefix"
28173 prefix="$acl_save_prefix"
28176 # Check whether --with-libiconv-prefix was given.
28177 if test "${with_libiconv_prefix+set}" = set; then :
28178 withval=$with_libiconv_prefix;
28179 if test "X$withval" = "Xno"; then
28180 use_additional=no
28181 else
28182 if test "X$withval" = "X"; then
28184 acl_save_prefix="$prefix"
28185 prefix="$acl_final_prefix"
28186 acl_save_exec_prefix="$exec_prefix"
28187 exec_prefix="$acl_final_exec_prefix"
28189 eval additional_includedir=\"$includedir\"
28190 eval additional_libdir=\"$libdir\"
28192 exec_prefix="$acl_save_exec_prefix"
28193 prefix="$acl_save_prefix"
28195 else
28196 additional_includedir="$withval/include"
28197 additional_libdir="$withval/lib"
28203 LIBICONV=
28204 LTLIBICONV=
28205 INCICONV=
28206 rpathdirs=
28207 ltrpathdirs=
28208 names_already_handled=
28209 names_next_round='iconv '
28210 while test -n "$names_next_round"; do
28211 names_this_round="$names_next_round"
28212 names_next_round=
28213 for name in $names_this_round; do
28214 already_handled=
28215 for n in $names_already_handled; do
28216 if test "$n" = "$name"; then
28217 already_handled=yes
28218 break
28220 done
28221 if test -z "$already_handled"; then
28222 names_already_handled="$names_already_handled $name"
28223 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28224 eval value=\"\$HAVE_LIB$uppername\"
28225 if test -n "$value"; then
28226 if test "$value" = yes; then
28227 eval value=\"\$LIB$uppername\"
28228 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28229 eval value=\"\$LTLIB$uppername\"
28230 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28231 else
28234 else
28235 found_dir=
28236 found_la=
28237 found_so=
28238 found_a=
28239 if test $use_additional = yes; then
28240 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28241 found_dir="$additional_libdir"
28242 found_so="$additional_libdir/lib$name.$shlibext"
28243 if test -f "$additional_libdir/lib$name.la"; then
28244 found_la="$additional_libdir/lib$name.la"
28246 else
28247 if test -f "$additional_libdir/lib$name.$libext"; then
28248 found_dir="$additional_libdir"
28249 found_a="$additional_libdir/lib$name.$libext"
28250 if test -f "$additional_libdir/lib$name.la"; then
28251 found_la="$additional_libdir/lib$name.la"
28256 if test "X$found_dir" = "X"; then
28257 for x in $LDFLAGS $LTLIBICONV; do
28259 acl_save_prefix="$prefix"
28260 prefix="$acl_final_prefix"
28261 acl_save_exec_prefix="$exec_prefix"
28262 exec_prefix="$acl_final_exec_prefix"
28263 eval x=\"$x\"
28264 exec_prefix="$acl_save_exec_prefix"
28265 prefix="$acl_save_prefix"
28267 case "$x" in
28268 -L*)
28269 dir=`echo "X$x" | sed -e 's/^X-L//'`
28270 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28271 found_dir="$dir"
28272 found_so="$dir/lib$name.$shlibext"
28273 if test -f "$dir/lib$name.la"; then
28274 found_la="$dir/lib$name.la"
28276 else
28277 if test -f "$dir/lib$name.$libext"; then
28278 found_dir="$dir"
28279 found_a="$dir/lib$name.$libext"
28280 if test -f "$dir/lib$name.la"; then
28281 found_la="$dir/lib$name.la"
28286 esac
28287 if test "X$found_dir" != "X"; then
28288 break
28290 done
28292 if test "X$found_dir" != "X"; then
28293 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28294 if test "X$found_so" != "X"; then
28295 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28296 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28297 else
28298 haveit=
28299 for x in $ltrpathdirs; do
28300 if test "X$x" = "X$found_dir"; then
28301 haveit=yes
28302 break
28304 done
28305 if test -z "$haveit"; then
28306 ltrpathdirs="$ltrpathdirs $found_dir"
28308 if test "$hardcode_direct" = yes; then
28309 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28310 else
28311 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28312 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28313 haveit=
28314 for x in $rpathdirs; do
28315 if test "X$x" = "X$found_dir"; then
28316 haveit=yes
28317 break
28319 done
28320 if test -z "$haveit"; then
28321 rpathdirs="$rpathdirs $found_dir"
28323 else
28324 haveit=
28325 for x in $LDFLAGS $LIBICONV; do
28327 acl_save_prefix="$prefix"
28328 prefix="$acl_final_prefix"
28329 acl_save_exec_prefix="$exec_prefix"
28330 exec_prefix="$acl_final_exec_prefix"
28331 eval x=\"$x\"
28332 exec_prefix="$acl_save_exec_prefix"
28333 prefix="$acl_save_prefix"
28335 if test "X$x" = "X-L$found_dir"; then
28336 haveit=yes
28337 break
28339 done
28340 if test -z "$haveit"; then
28341 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28343 if test "$hardcode_minus_L" != no; then
28344 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28345 else
28346 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28351 else
28352 if test "X$found_a" != "X"; then
28353 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28354 else
28355 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28358 additional_includedir=
28359 case "$found_dir" in
28360 */lib | */lib/)
28361 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28362 additional_includedir="$basedir/include"
28364 esac
28365 if test "X$additional_includedir" != "X"; then
28366 if test "X$additional_includedir" != "X/usr/include"; then
28367 haveit=
28368 if test "X$additional_includedir" = "X/usr/local/include"; then
28369 if test -n "$GCC"; then
28370 case $host_os in
28371 linux*) haveit=yes;;
28372 esac
28375 if test -z "$haveit"; then
28376 for x in $CPPFLAGS $INCICONV; do
28378 acl_save_prefix="$prefix"
28379 prefix="$acl_final_prefix"
28380 acl_save_exec_prefix="$exec_prefix"
28381 exec_prefix="$acl_final_exec_prefix"
28382 eval x=\"$x\"
28383 exec_prefix="$acl_save_exec_prefix"
28384 prefix="$acl_save_prefix"
28386 if test "X$x" = "X-I$additional_includedir"; then
28387 haveit=yes
28388 break
28390 done
28391 if test -z "$haveit"; then
28392 if test -d "$additional_includedir"; then
28393 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28399 if test -n "$found_la"; then
28400 save_libdir="$libdir"
28401 case "$found_la" in
28402 */* | *\\*) . "$found_la" ;;
28403 *) . "./$found_la" ;;
28404 esac
28405 libdir="$save_libdir"
28406 for dep in $dependency_libs; do
28407 case "$dep" in
28408 -L*)
28409 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28410 if test "X$additional_libdir" != "X/usr/lib"; then
28411 haveit=
28412 if test "X$additional_libdir" = "X/usr/local/lib"; then
28413 if test -n "$GCC"; then
28414 case $host_os in
28415 linux*) haveit=yes;;
28416 esac
28419 if test -z "$haveit"; then
28420 haveit=
28421 for x in $LDFLAGS $LIBICONV; do
28423 acl_save_prefix="$prefix"
28424 prefix="$acl_final_prefix"
28425 acl_save_exec_prefix="$exec_prefix"
28426 exec_prefix="$acl_final_exec_prefix"
28427 eval x=\"$x\"
28428 exec_prefix="$acl_save_exec_prefix"
28429 prefix="$acl_save_prefix"
28431 if test "X$x" = "X-L$additional_libdir"; then
28432 haveit=yes
28433 break
28435 done
28436 if test -z "$haveit"; then
28437 if test -d "$additional_libdir"; then
28438 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28441 haveit=
28442 for x in $LDFLAGS $LTLIBICONV; do
28444 acl_save_prefix="$prefix"
28445 prefix="$acl_final_prefix"
28446 acl_save_exec_prefix="$exec_prefix"
28447 exec_prefix="$acl_final_exec_prefix"
28448 eval x=\"$x\"
28449 exec_prefix="$acl_save_exec_prefix"
28450 prefix="$acl_save_prefix"
28452 if test "X$x" = "X-L$additional_libdir"; then
28453 haveit=yes
28454 break
28456 done
28457 if test -z "$haveit"; then
28458 if test -d "$additional_libdir"; then
28459 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28465 -R*)
28466 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28467 if test "$enable_rpath" != no; then
28468 haveit=
28469 for x in $rpathdirs; do
28470 if test "X$x" = "X$dir"; then
28471 haveit=yes
28472 break
28474 done
28475 if test -z "$haveit"; then
28476 rpathdirs="$rpathdirs $dir"
28478 haveit=
28479 for x in $ltrpathdirs; do
28480 if test "X$x" = "X$dir"; then
28481 haveit=yes
28482 break
28484 done
28485 if test -z "$haveit"; then
28486 ltrpathdirs="$ltrpathdirs $dir"
28490 -l*)
28491 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28493 *.la)
28494 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28497 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28498 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28500 esac
28501 done
28503 else
28504 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28505 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28509 done
28510 done
28511 if test "X$rpathdirs" != "X"; then
28512 if test -n "$hardcode_libdir_separator"; then
28513 alldirs=
28514 for found_dir in $rpathdirs; do
28515 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28516 done
28517 acl_save_libdir="$libdir"
28518 libdir="$alldirs"
28519 eval flag=\"$hardcode_libdir_flag_spec\"
28520 libdir="$acl_save_libdir"
28521 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28522 else
28523 for found_dir in $rpathdirs; do
28524 acl_save_libdir="$libdir"
28525 libdir="$found_dir"
28526 eval flag=\"$hardcode_libdir_flag_spec\"
28527 libdir="$acl_save_libdir"
28528 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28529 done
28532 if test "X$ltrpathdirs" != "X"; then
28533 for found_dir in $ltrpathdirs; do
28534 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28535 done
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28545 $as_echo_n "checking for iconv... " >&6; }
28546 if test "${am_cv_func_iconv+set}" = set; then :
28547 $as_echo_n "(cached) " >&6
28548 else
28550 am_cv_func_iconv="no, consider installing GNU libiconv"
28551 am_cv_lib_iconv=no
28552 am_save_CPPFLAGS="$CPPFLAGS"
28553 CPPFLAGS="$CPPFLAGS $INCICONV"
28554 if test x$gcc_no_link = xyes; then
28555 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28558 /* end confdefs.h. */
28559 #include <stdlib.h>
28560 #include <iconv.h>
28562 main ()
28564 iconv_t cd = iconv_open("","");
28565 iconv(cd,NULL,NULL,NULL,NULL);
28566 iconv_close(cd);
28568 return 0;
28570 _ACEOF
28571 if ac_fn_c_try_link "$LINENO"; then :
28572 am_cv_func_iconv=yes
28574 rm -f core conftest.err conftest.$ac_objext \
28575 conftest$ac_exeext conftest.$ac_ext
28576 CPPFLAGS="$am_save_CPPFLAGS"
28578 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28579 for _libs in .libs _libs; do
28580 am_save_CPPFLAGS="$CPPFLAGS"
28581 am_save_LIBS="$LIBS"
28582 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28583 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28584 if test x$gcc_no_link = xyes; then
28585 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28588 /* end confdefs.h. */
28589 #include <stdlib.h>
28590 #include <iconv.h>
28592 main ()
28594 iconv_t cd = iconv_open("","");
28595 iconv(cd,NULL,NULL,NULL,NULL);
28596 iconv_close(cd);
28598 return 0;
28600 _ACEOF
28601 if ac_fn_c_try_link "$LINENO"; then :
28602 INCICONV="-I../libiconv/include"
28603 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28604 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28605 am_cv_lib_iconv=yes
28606 am_cv_func_iconv=yes
28608 rm -f core conftest.err conftest.$ac_objext \
28609 conftest$ac_exeext conftest.$ac_ext
28610 CPPFLAGS="$am_save_CPPFLAGS"
28611 LIBS="$am_save_LIBS"
28612 if test "$am_cv_func_iconv" = "yes"; then
28613 break
28615 done
28618 if test "$am_cv_func_iconv" != yes; then
28619 am_save_CPPFLAGS="$CPPFLAGS"
28620 am_save_LIBS="$LIBS"
28621 CPPFLAGS="$LIBS $INCICONV"
28622 LIBS="$LIBS $LIBICONV"
28623 if test x$gcc_no_link = xyes; then
28624 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28627 /* end confdefs.h. */
28628 #include <stdlib.h>
28629 #include <iconv.h>
28631 main ()
28633 iconv_t cd = iconv_open("","");
28634 iconv(cd,NULL,NULL,NULL,NULL);
28635 iconv_close(cd);
28637 return 0;
28639 _ACEOF
28640 if ac_fn_c_try_link "$LINENO"; then :
28641 am_cv_lib_iconv=yes
28642 am_cv_func_iconv=yes
28644 rm -f core conftest.err conftest.$ac_objext \
28645 conftest$ac_exeext conftest.$ac_ext
28646 CPPFLAGS="$am_save_CPPFLAGS"
28647 LIBS="$am_save_LIBS"
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28652 $as_echo "$am_cv_func_iconv" >&6; }
28653 if test "$am_cv_func_iconv" = yes; then
28655 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28658 if test "$am_cv_lib_iconv" = yes; then
28660 for element in $INCICONV; do
28661 haveit=
28662 for x in $CPPFLAGS; do
28664 acl_save_prefix="$prefix"
28665 prefix="$acl_final_prefix"
28666 acl_save_exec_prefix="$exec_prefix"
28667 exec_prefix="$acl_final_exec_prefix"
28668 eval x=\"$x\"
28669 exec_prefix="$acl_save_exec_prefix"
28670 prefix="$acl_save_prefix"
28672 if test "X$x" = "X$element"; then
28673 haveit=yes
28674 break
28676 done
28677 if test -z "$haveit"; then
28678 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28680 done
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28683 $as_echo_n "checking how to link with libiconv... " >&6; }
28684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28685 $as_echo "$LIBICONV" >&6; }
28686 else
28687 LIBICONV=
28688 LTLIBICONV=
28693 if test "$am_cv_func_iconv" = yes; then
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28695 $as_echo_n "checking for iconv declaration... " >&6; }
28696 if test "${am_cv_proto_iconv+set}" = set; then :
28697 $as_echo_n "(cached) " >&6
28698 else
28700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28701 /* end confdefs.h. */
28703 #include <stdlib.h>
28704 #include <iconv.h>
28705 extern
28706 #ifdef __cplusplus
28708 #endif
28709 #if defined(__STDC__) || defined(__cplusplus)
28710 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28711 #else
28712 size_t iconv();
28713 #endif
28716 main ()
28720 return 0;
28722 _ACEOF
28723 if ac_fn_c_try_compile "$LINENO"; then :
28724 am_cv_proto_iconv_arg1=""
28725 else
28726 am_cv_proto_iconv_arg1="const"
28728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28729 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);"
28732 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28734 }$am_cv_proto_iconv" >&5
28735 $as_echo "${ac_t:-
28736 }$am_cv_proto_iconv" >&6; }
28738 cat >>confdefs.h <<_ACEOF
28739 #define ICONV_CONST $am_cv_proto_iconv_arg1
28740 _ACEOF
28745 else
28747 # This lets us hard-code the functionality we know we'll have in the cross
28748 # target environment. "Let" is a sugar-coated word placed on an especially
28749 # dull and tedious hack, actually.
28751 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28752 # that involve linking, can't be used:
28753 # "cannot open sim-crt0.o"
28754 # "cannot open crt0.o"
28755 # etc. All this is because there currently exists no unified, consistent
28756 # way for top level CC information to be passed down to target directories:
28757 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28758 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28759 # crosses can be removed.
28761 # If Canadian cross, then don't pick up tools from the build directory.
28762 # Used only in GLIBCXX_EXPORT_INCLUDES.
28763 if test -n "$with_cross_host" &&
28764 test x"$build_alias" != x"$with_cross_host" &&
28765 test x"$build" != x"$target";
28766 then
28767 CANADIAN=yes
28768 else
28769 CANADIAN=no
28772 # Construct crosses by hand, eliminating bits that need ld...
28773 # GLIBCXX_CHECK_MATH_SUPPORT
28775 # First, test for "known" system libraries. We may be using newlib even
28776 # on a hosted environment.
28777 if test "x${with_newlib}" = "xyes"; then
28778 os_include_dir="os/newlib"
28779 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28782 # GLIBCXX_CHECK_STDLIB_SUPPORT
28783 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28786 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28788 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28790 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28792 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28794 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28796 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28798 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28800 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28802 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28804 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28806 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28808 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28810 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28812 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28814 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28816 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28818 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28820 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28822 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28824 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28826 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28828 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28831 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28833 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28835 else
28837 # Base decisions on target environment.
28838 case "${host}" in
28839 arm*-*-symbianelf*)
28840 # This is a freestanding configuration; there is nothing to do here.
28843 mips*-sde-elf*)
28844 # These definitions are for the SDE C library rather than newlib.
28845 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28848 # All these tests are for C++; save the language and the compiler flags.
28849 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28850 # found in GLIBCXX_CONFIGURE.
28852 ac_ext=cpp
28853 ac_cpp='$CXXCPP $CPPFLAGS'
28854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28858 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28859 ac_save_CXXFLAGS="$CXXFLAGS"
28861 # Check for maintainer-mode bits.
28862 if test x"$USE_MAINTAINER_MODE" = xno; then
28863 WERROR=''
28864 else
28865 WERROR='-Werror'
28868 # Check for -ffunction-sections -fdata-sections
28869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28870 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28871 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28873 /* end confdefs.h. */
28874 int foo; void bar() { };
28876 main ()
28880 return 0;
28882 _ACEOF
28883 if ac_fn_cxx_try_compile "$LINENO"; then :
28884 ac_fdsections=yes
28885 else
28886 ac_fdsections=no
28888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28889 if test "$ac_test_CXXFLAGS" = set; then
28890 CXXFLAGS="$ac_save_CXXFLAGS"
28891 else
28892 # this is the suspicious part
28893 CXXFLAGS=''
28895 if test x"$ac_fdsections" = x"yes"; then
28896 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28899 $as_echo "$ac_fdsections" >&6; }
28901 ac_ext=c
28902 ac_cpp='$CPP $CPPFLAGS'
28903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28911 # If we're not using GNU ld, then there's no point in even trying these
28912 # tests. Check for that first. We should have already tested for gld
28913 # by now (in libtool), but require it now just to be safe...
28914 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28915 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28919 # The name set by libtool depends on the version of libtool. Shame on us
28920 # for depending on an impl detail, but c'est la vie. Older versions used
28921 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28922 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28923 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28924 # set (hence we're using an older libtool), then set it.
28925 if test x${with_gnu_ld+set} != xset; then
28926 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28927 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28928 with_gnu_ld=no
28929 else
28930 with_gnu_ld=$ac_cv_prog_gnu_ld
28934 # Start by getting the version number. I think the libtool test already
28935 # does some of this, but throws away the result.
28936 glibcxx_ld_is_gold=no
28937 if test x"$with_gnu_ld" = x"yes"; then
28938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28939 $as_echo_n "checking for ld version... " >&6; }
28941 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28942 glibcxx_ld_is_gold=yes
28944 ldver=`$LD --version 2>/dev/null |
28945 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'`
28947 glibcxx_gnu_ld_version=`echo $ldver | \
28948 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28950 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28953 # Set --gc-sections.
28954 glibcxx_have_gc_sections=no
28955 if test "$glibcxx_ld_is_gold" = "yes"; then
28956 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28957 glibcxx_have_gc_sections=yes
28959 else
28960 glibcxx_gcsections_min_ld=21602
28961 if test x"$with_gnu_ld" = x"yes" &&
28962 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28963 glibcxx_have_gc_sections=yes
28966 if test "$glibcxx_have_gc_sections" = "yes"; then
28967 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28968 # NB: This flag only works reliably after 2.16.1. Configure tests
28969 # for this are difficult, so hard wire a value that should work.
28971 ac_test_CFLAGS="${CFLAGS+set}"
28972 ac_save_CFLAGS="$CFLAGS"
28973 CFLAGS='-Wl,--gc-sections'
28975 # Check for -Wl,--gc-sections
28976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28977 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28978 if test x$gcc_no_link = xyes; then
28979 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28982 /* end confdefs.h. */
28983 int one(void) { return 1; }
28984 int two(void) { return 2; }
28987 main ()
28989 two();
28991 return 0;
28993 _ACEOF
28994 if ac_fn_c_try_link "$LINENO"; then :
28995 ac_gcsections=yes
28996 else
28997 ac_gcsections=no
28999 rm -f core conftest.err conftest.$ac_objext \
29000 conftest$ac_exeext conftest.$ac_ext
29001 if test "$ac_gcsections" = "yes"; then
29002 rm -f conftest.c
29003 touch conftest.c
29004 if $CC -c conftest.c; then
29005 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29006 grep "Warning: gc-sections option ignored" > /dev/null; then
29007 ac_gcsections=no
29010 rm -f conftest.c conftest.o conftest
29012 if test "$ac_gcsections" = "yes"; then
29013 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29016 $as_echo "$ac_gcsections" >&6; }
29018 if test "$ac_test_CFLAGS" = set; then
29019 CFLAGS="$ac_save_CFLAGS"
29020 else
29021 # this is the suspicious part
29022 CFLAGS=''
29026 # Set -z,relro.
29027 # Note this is only for shared objects.
29028 ac_ld_relro=no
29029 if test x"$with_gnu_ld" = x"yes"; then
29030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29031 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29032 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29033 if test -n "$cxx_z_relo"; then
29034 OPT_LDFLAGS="-Wl,-z,relro"
29035 ac_ld_relro=yes
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29038 $as_echo "$ac_ld_relro" >&6; }
29041 # Set linker optimization flags.
29042 if test x"$with_gnu_ld" = x"yes"; then
29043 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29050 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29051 ac_save_CXXFLAGS="$CXXFLAGS"
29052 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29055 $as_echo_n "checking for sin in -lm... " >&6; }
29056 if test "${ac_cv_lib_m_sin+set}" = set; then :
29057 $as_echo_n "(cached) " >&6
29058 else
29059 ac_check_lib_save_LIBS=$LIBS
29060 LIBS="-lm $LIBS"
29061 if test x$gcc_no_link = xyes; then
29062 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29065 /* end confdefs.h. */
29067 /* Override any GCC internal prototype to avoid an error.
29068 Use char because int might match the return type of a GCC
29069 builtin and then its argument prototype would still apply. */
29070 #ifdef __cplusplus
29071 extern "C"
29072 #endif
29073 char sin ();
29075 main ()
29077 return sin ();
29079 return 0;
29081 _ACEOF
29082 if ac_fn_c_try_link "$LINENO"; then :
29083 ac_cv_lib_m_sin=yes
29084 else
29085 ac_cv_lib_m_sin=no
29087 rm -f core conftest.err conftest.$ac_objext \
29088 conftest$ac_exeext conftest.$ac_ext
29089 LIBS=$ac_check_lib_save_LIBS
29091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29092 $as_echo "$ac_cv_lib_m_sin" >&6; }
29093 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29094 libm="-lm"
29097 ac_save_LIBS="$LIBS"
29098 LIBS="$LIBS $libm"
29102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29103 $as_echo_n "checking for isinf declaration... " >&6; }
29104 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29105 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29106 $as_echo_n "(cached) " >&6
29107 else
29110 ac_ext=cpp
29111 ac_cpp='$CXXCPP $CPPFLAGS'
29112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29117 /* end confdefs.h. */
29118 #include <math.h>
29119 #ifdef HAVE_IEEEFP_H
29120 #include <ieeefp.h>
29121 #endif
29124 main ()
29126 isinf(0);
29128 return 0;
29130 _ACEOF
29131 if ac_fn_cxx_try_compile "$LINENO"; then :
29132 glibcxx_cv_func_isinf_use=yes
29133 else
29134 glibcxx_cv_func_isinf_use=no
29136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29137 ac_ext=c
29138 ac_cpp='$CPP $CPPFLAGS'
29139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29148 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29150 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29151 for ac_func in isinf
29152 do :
29153 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29154 if test "x$ac_cv_func_isinf" = x""yes; then :
29155 cat >>confdefs.h <<_ACEOF
29156 #define HAVE_ISINF 1
29157 _ACEOF
29160 done
29162 else
29164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29165 $as_echo_n "checking for _isinf declaration... " >&6; }
29166 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29167 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29168 $as_echo_n "(cached) " >&6
29169 else
29172 ac_ext=cpp
29173 ac_cpp='$CXXCPP $CPPFLAGS'
29174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180 #include <math.h>
29181 #ifdef HAVE_IEEEFP_H
29182 #include <ieeefp.h>
29183 #endif
29186 main ()
29188 _isinf(0);
29190 return 0;
29192 _ACEOF
29193 if ac_fn_cxx_try_compile "$LINENO"; then :
29194 glibcxx_cv_func__isinf_use=yes
29195 else
29196 glibcxx_cv_func__isinf_use=no
29198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29199 ac_ext=c
29200 ac_cpp='$CPP $CPPFLAGS'
29201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29210 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29212 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29213 for ac_func in _isinf
29214 do :
29215 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29216 if test "x$ac_cv_func__isinf" = x""yes; then :
29217 cat >>confdefs.h <<_ACEOF
29218 #define HAVE__ISINF 1
29219 _ACEOF
29222 done
29231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29232 $as_echo_n "checking for isnan declaration... " >&6; }
29233 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29234 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29235 $as_echo_n "(cached) " >&6
29236 else
29239 ac_ext=cpp
29240 ac_cpp='$CXXCPP $CPPFLAGS'
29241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29246 /* end confdefs.h. */
29247 #include <math.h>
29248 #ifdef HAVE_IEEEFP_H
29249 #include <ieeefp.h>
29250 #endif
29253 main ()
29255 isnan(0);
29257 return 0;
29259 _ACEOF
29260 if ac_fn_cxx_try_compile "$LINENO"; then :
29261 glibcxx_cv_func_isnan_use=yes
29262 else
29263 glibcxx_cv_func_isnan_use=no
29265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29266 ac_ext=c
29267 ac_cpp='$CPP $CPPFLAGS'
29268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29277 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29279 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29280 for ac_func in isnan
29281 do :
29282 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29283 if test "x$ac_cv_func_isnan" = x""yes; then :
29284 cat >>confdefs.h <<_ACEOF
29285 #define HAVE_ISNAN 1
29286 _ACEOF
29289 done
29291 else
29293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29294 $as_echo_n "checking for _isnan declaration... " >&6; }
29295 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29296 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29297 $as_echo_n "(cached) " >&6
29298 else
29301 ac_ext=cpp
29302 ac_cpp='$CXXCPP $CPPFLAGS'
29303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29308 /* end confdefs.h. */
29309 #include <math.h>
29310 #ifdef HAVE_IEEEFP_H
29311 #include <ieeefp.h>
29312 #endif
29315 main ()
29317 _isnan(0);
29319 return 0;
29321 _ACEOF
29322 if ac_fn_cxx_try_compile "$LINENO"; then :
29323 glibcxx_cv_func__isnan_use=yes
29324 else
29325 glibcxx_cv_func__isnan_use=no
29327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29328 ac_ext=c
29329 ac_cpp='$CPP $CPPFLAGS'
29330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29339 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29341 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29342 for ac_func in _isnan
29343 do :
29344 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29345 if test "x$ac_cv_func__isnan" = x""yes; then :
29346 cat >>confdefs.h <<_ACEOF
29347 #define HAVE__ISNAN 1
29348 _ACEOF
29351 done
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29361 $as_echo_n "checking for finite declaration... " >&6; }
29362 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29363 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29364 $as_echo_n "(cached) " >&6
29365 else
29368 ac_ext=cpp
29369 ac_cpp='$CXXCPP $CPPFLAGS'
29370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29375 /* end confdefs.h. */
29376 #include <math.h>
29377 #ifdef HAVE_IEEEFP_H
29378 #include <ieeefp.h>
29379 #endif
29382 main ()
29384 finite(0);
29386 return 0;
29388 _ACEOF
29389 if ac_fn_cxx_try_compile "$LINENO"; then :
29390 glibcxx_cv_func_finite_use=yes
29391 else
29392 glibcxx_cv_func_finite_use=no
29394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29395 ac_ext=c
29396 ac_cpp='$CPP $CPPFLAGS'
29397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29406 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29408 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29409 for ac_func in finite
29410 do :
29411 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29412 if test "x$ac_cv_func_finite" = x""yes; then :
29413 cat >>confdefs.h <<_ACEOF
29414 #define HAVE_FINITE 1
29415 _ACEOF
29418 done
29420 else
29422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29423 $as_echo_n "checking for _finite declaration... " >&6; }
29424 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29425 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29426 $as_echo_n "(cached) " >&6
29427 else
29430 ac_ext=cpp
29431 ac_cpp='$CXXCPP $CPPFLAGS'
29432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29437 /* end confdefs.h. */
29438 #include <math.h>
29439 #ifdef HAVE_IEEEFP_H
29440 #include <ieeefp.h>
29441 #endif
29444 main ()
29446 _finite(0);
29448 return 0;
29450 _ACEOF
29451 if ac_fn_cxx_try_compile "$LINENO"; then :
29452 glibcxx_cv_func__finite_use=yes
29453 else
29454 glibcxx_cv_func__finite_use=no
29456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29457 ac_ext=c
29458 ac_cpp='$CPP $CPPFLAGS'
29459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29468 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29470 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29471 for ac_func in _finite
29472 do :
29473 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29474 if test "x$ac_cv_func__finite" = x""yes; then :
29475 cat >>confdefs.h <<_ACEOF
29476 #define HAVE__FINITE 1
29477 _ACEOF
29480 done
29489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29490 $as_echo_n "checking for sincos declaration... " >&6; }
29491 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29492 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29493 $as_echo_n "(cached) " >&6
29494 else
29497 ac_ext=cpp
29498 ac_cpp='$CXXCPP $CPPFLAGS'
29499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29504 /* end confdefs.h. */
29505 #include <math.h>
29507 main ()
29509 sincos(0, 0, 0);
29511 return 0;
29513 _ACEOF
29514 if ac_fn_cxx_try_compile "$LINENO"; then :
29515 glibcxx_cv_func_sincos_use=yes
29516 else
29517 glibcxx_cv_func_sincos_use=no
29519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29520 ac_ext=c
29521 ac_cpp='$CPP $CPPFLAGS'
29522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29531 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29533 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29534 for ac_func in sincos
29535 do :
29536 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29537 if test "x$ac_cv_func_sincos" = x""yes; then :
29538 cat >>confdefs.h <<_ACEOF
29539 #define HAVE_SINCOS 1
29540 _ACEOF
29543 done
29545 else
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29548 $as_echo_n "checking for _sincos declaration... " >&6; }
29549 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29550 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29551 $as_echo_n "(cached) " >&6
29552 else
29555 ac_ext=cpp
29556 ac_cpp='$CXXCPP $CPPFLAGS'
29557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29562 /* end confdefs.h. */
29563 #include <math.h>
29565 main ()
29567 _sincos(0, 0, 0);
29569 return 0;
29571 _ACEOF
29572 if ac_fn_cxx_try_compile "$LINENO"; then :
29573 glibcxx_cv_func__sincos_use=yes
29574 else
29575 glibcxx_cv_func__sincos_use=no
29577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29578 ac_ext=c
29579 ac_cpp='$CPP $CPPFLAGS'
29580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29589 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29591 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29592 for ac_func in _sincos
29593 do :
29594 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29595 if test "x$ac_cv_func__sincos" = x""yes; then :
29596 cat >>confdefs.h <<_ACEOF
29597 #define HAVE__SINCOS 1
29598 _ACEOF
29601 done
29610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29611 $as_echo_n "checking for fpclass declaration... " >&6; }
29612 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29613 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29614 $as_echo_n "(cached) " >&6
29615 else
29618 ac_ext=cpp
29619 ac_cpp='$CXXCPP $CPPFLAGS'
29620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29625 /* end confdefs.h. */
29626 #include <math.h>
29627 #ifdef HAVE_IEEEFP_H
29628 #include <ieeefp.h>
29629 #endif
29632 main ()
29634 fpclass(0);
29636 return 0;
29638 _ACEOF
29639 if ac_fn_cxx_try_compile "$LINENO"; then :
29640 glibcxx_cv_func_fpclass_use=yes
29641 else
29642 glibcxx_cv_func_fpclass_use=no
29644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29645 ac_ext=c
29646 ac_cpp='$CPP $CPPFLAGS'
29647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29656 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29658 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29659 for ac_func in fpclass
29660 do :
29661 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29662 if test "x$ac_cv_func_fpclass" = x""yes; then :
29663 cat >>confdefs.h <<_ACEOF
29664 #define HAVE_FPCLASS 1
29665 _ACEOF
29668 done
29670 else
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29673 $as_echo_n "checking for _fpclass declaration... " >&6; }
29674 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29675 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29676 $as_echo_n "(cached) " >&6
29677 else
29680 ac_ext=cpp
29681 ac_cpp='$CXXCPP $CPPFLAGS'
29682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29687 /* end confdefs.h. */
29688 #include <math.h>
29689 #ifdef HAVE_IEEEFP_H
29690 #include <ieeefp.h>
29691 #endif
29694 main ()
29696 _fpclass(0);
29698 return 0;
29700 _ACEOF
29701 if ac_fn_cxx_try_compile "$LINENO"; then :
29702 glibcxx_cv_func__fpclass_use=yes
29703 else
29704 glibcxx_cv_func__fpclass_use=no
29706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29707 ac_ext=c
29708 ac_cpp='$CPP $CPPFLAGS'
29709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29718 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29720 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29721 for ac_func in _fpclass
29722 do :
29723 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29724 if test "x$ac_cv_func__fpclass" = x""yes; then :
29725 cat >>confdefs.h <<_ACEOF
29726 #define HAVE__FPCLASS 1
29727 _ACEOF
29730 done
29739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29740 $as_echo_n "checking for qfpclass declaration... " >&6; }
29741 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29742 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29743 $as_echo_n "(cached) " >&6
29744 else
29747 ac_ext=cpp
29748 ac_cpp='$CXXCPP $CPPFLAGS'
29749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29754 /* end confdefs.h. */
29755 #include <math.h>
29756 #ifdef HAVE_IEEEFP_H
29757 #include <ieeefp.h>
29758 #endif
29761 main ()
29763 qfpclass(0);
29765 return 0;
29767 _ACEOF
29768 if ac_fn_cxx_try_compile "$LINENO"; then :
29769 glibcxx_cv_func_qfpclass_use=yes
29770 else
29771 glibcxx_cv_func_qfpclass_use=no
29773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29774 ac_ext=c
29775 ac_cpp='$CPP $CPPFLAGS'
29776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29785 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29787 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29788 for ac_func in qfpclass
29789 do :
29790 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29791 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29792 cat >>confdefs.h <<_ACEOF
29793 #define HAVE_QFPCLASS 1
29794 _ACEOF
29797 done
29799 else
29801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29802 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29803 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29804 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29805 $as_echo_n "(cached) " >&6
29806 else
29809 ac_ext=cpp
29810 ac_cpp='$CXXCPP $CPPFLAGS'
29811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29816 /* end confdefs.h. */
29817 #include <math.h>
29818 #ifdef HAVE_IEEEFP_H
29819 #include <ieeefp.h>
29820 #endif
29823 main ()
29825 _qfpclass(0);
29827 return 0;
29829 _ACEOF
29830 if ac_fn_cxx_try_compile "$LINENO"; then :
29831 glibcxx_cv_func__qfpclass_use=yes
29832 else
29833 glibcxx_cv_func__qfpclass_use=no
29835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29836 ac_ext=c
29837 ac_cpp='$CPP $CPPFLAGS'
29838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29847 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29849 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29850 for ac_func in _qfpclass
29851 do :
29852 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29853 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29854 cat >>confdefs.h <<_ACEOF
29855 #define HAVE__QFPCLASS 1
29856 _ACEOF
29859 done
29868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29869 $as_echo_n "checking for hypot declaration... " >&6; }
29870 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29871 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29872 $as_echo_n "(cached) " >&6
29873 else
29876 ac_ext=cpp
29877 ac_cpp='$CXXCPP $CPPFLAGS'
29878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29883 /* end confdefs.h. */
29884 #include <math.h>
29886 main ()
29888 hypot(0, 0);
29890 return 0;
29892 _ACEOF
29893 if ac_fn_cxx_try_compile "$LINENO"; then :
29894 glibcxx_cv_func_hypot_use=yes
29895 else
29896 glibcxx_cv_func_hypot_use=no
29898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29899 ac_ext=c
29900 ac_cpp='$CPP $CPPFLAGS'
29901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29910 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29912 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29913 for ac_func in hypot
29914 do :
29915 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29916 if test "x$ac_cv_func_hypot" = x""yes; then :
29917 cat >>confdefs.h <<_ACEOF
29918 #define HAVE_HYPOT 1
29919 _ACEOF
29922 done
29924 else
29926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29927 $as_echo_n "checking for _hypot declaration... " >&6; }
29928 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29929 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29930 $as_echo_n "(cached) " >&6
29931 else
29934 ac_ext=cpp
29935 ac_cpp='$CXXCPP $CPPFLAGS'
29936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29941 /* end confdefs.h. */
29942 #include <math.h>
29944 main ()
29946 _hypot(0, 0);
29948 return 0;
29950 _ACEOF
29951 if ac_fn_cxx_try_compile "$LINENO"; then :
29952 glibcxx_cv_func__hypot_use=yes
29953 else
29954 glibcxx_cv_func__hypot_use=no
29956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29957 ac_ext=c
29958 ac_cpp='$CPP $CPPFLAGS'
29959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29968 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29970 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29971 for ac_func in _hypot
29972 do :
29973 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29974 if test "x$ac_cv_func__hypot" = x""yes; then :
29975 cat >>confdefs.h <<_ACEOF
29976 #define HAVE__HYPOT 1
29977 _ACEOF
29980 done
29989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29990 $as_echo_n "checking for float trig functions... " >&6; }
29991 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30006 main ()
30008 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30010 return 0;
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func_float_trig_use=yes
30015 else
30016 glibcxx_cv_func_float_trig_use=no
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30028 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30029 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30030 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30031 do :
30032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30034 eval as_val=\$$as_ac_var
30035 if test "x$as_val" = x""yes; then :
30036 cat >>confdefs.h <<_ACEOF
30037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30038 _ACEOF
30041 done
30043 else
30044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30045 $as_echo_n "checking for _float trig functions... " >&6; }
30046 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30047 $as_echo_n "(cached) " >&6
30048 else
30051 ac_ext=cpp
30052 ac_cpp='$CXXCPP $CPPFLAGS'
30053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30058 /* end confdefs.h. */
30059 #include <math.h>
30061 main ()
30063 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30065 return 0;
30067 _ACEOF
30068 if ac_fn_cxx_try_compile "$LINENO"; then :
30069 glibcxx_cv_func__float_trig_use=yes
30070 else
30071 glibcxx_cv_func__float_trig_use=no
30073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30074 ac_ext=c
30075 ac_cpp='$CPP $CPPFLAGS'
30076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30083 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30084 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30085 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30086 do :
30087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30089 eval as_val=\$$as_ac_var
30090 if test "x$as_val" = x""yes; then :
30091 cat >>confdefs.h <<_ACEOF
30092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30093 _ACEOF
30096 done
30105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30106 $as_echo_n "checking for float round functions... " >&6; }
30107 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30108 $as_echo_n "(cached) " >&6
30109 else
30112 ac_ext=cpp
30113 ac_cpp='$CXXCPP $CPPFLAGS'
30114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30119 /* end confdefs.h. */
30120 #include <math.h>
30122 main ()
30124 ceilf (0); floorf (0);
30126 return 0;
30128 _ACEOF
30129 if ac_fn_cxx_try_compile "$LINENO"; then :
30130 glibcxx_cv_func_float_round_use=yes
30131 else
30132 glibcxx_cv_func_float_round_use=no
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30135 ac_ext=c
30136 ac_cpp='$CPP $CPPFLAGS'
30137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30144 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30145 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30146 for ac_func in ceilf floorf
30147 do :
30148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30150 eval as_val=\$$as_ac_var
30151 if test "x$as_val" = x""yes; then :
30152 cat >>confdefs.h <<_ACEOF
30153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30154 _ACEOF
30157 done
30159 else
30160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30161 $as_echo_n "checking for _float round functions... " >&6; }
30162 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30163 $as_echo_n "(cached) " >&6
30164 else
30167 ac_ext=cpp
30168 ac_cpp='$CXXCPP $CPPFLAGS'
30169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30174 /* end confdefs.h. */
30175 #include <math.h>
30177 main ()
30179 _ceilf (0); _floorf (0);
30181 return 0;
30183 _ACEOF
30184 if ac_fn_cxx_try_compile "$LINENO"; then :
30185 glibcxx_cv_func__float_round_use=yes
30186 else
30187 glibcxx_cv_func__float_round_use=no
30189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30190 ac_ext=c
30191 ac_cpp='$CPP $CPPFLAGS'
30192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30199 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30200 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30201 for ac_func in _ceilf _floorf
30202 do :
30203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30205 eval as_val=\$$as_ac_var
30206 if test "x$as_val" = x""yes; then :
30207 cat >>confdefs.h <<_ACEOF
30208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30209 _ACEOF
30212 done
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30223 $as_echo_n "checking for expf declaration... " >&6; }
30224 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30225 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30226 $as_echo_n "(cached) " >&6
30227 else
30230 ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h. */
30238 #include <math.h>
30239 #ifdef HAVE_IEEEFP_H
30240 #include <ieeefp.h>
30241 #endif
30244 main ()
30246 expf(0);
30248 return 0;
30250 _ACEOF
30251 if ac_fn_cxx_try_compile "$LINENO"; then :
30252 glibcxx_cv_func_expf_use=yes
30253 else
30254 glibcxx_cv_func_expf_use=no
30256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30257 ac_ext=c
30258 ac_cpp='$CPP $CPPFLAGS'
30259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30268 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30270 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30271 for ac_func in expf
30272 do :
30273 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30274 if test "x$ac_cv_func_expf" = x""yes; then :
30275 cat >>confdefs.h <<_ACEOF
30276 #define HAVE_EXPF 1
30277 _ACEOF
30280 done
30282 else
30284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30285 $as_echo_n "checking for _expf declaration... " >&6; }
30286 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30287 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30288 $as_echo_n "(cached) " >&6
30289 else
30292 ac_ext=cpp
30293 ac_cpp='$CXXCPP $CPPFLAGS'
30294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30299 /* end confdefs.h. */
30300 #include <math.h>
30301 #ifdef HAVE_IEEEFP_H
30302 #include <ieeefp.h>
30303 #endif
30306 main ()
30308 _expf(0);
30310 return 0;
30312 _ACEOF
30313 if ac_fn_cxx_try_compile "$LINENO"; then :
30314 glibcxx_cv_func__expf_use=yes
30315 else
30316 glibcxx_cv_func__expf_use=no
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30319 ac_ext=c
30320 ac_cpp='$CPP $CPPFLAGS'
30321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30330 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30332 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30333 for ac_func in _expf
30334 do :
30335 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30336 if test "x$ac_cv_func__expf" = x""yes; then :
30337 cat >>confdefs.h <<_ACEOF
30338 #define HAVE__EXPF 1
30339 _ACEOF
30342 done
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30352 $as_echo_n "checking for isnanf declaration... " >&6; }
30353 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30354 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30355 $as_echo_n "(cached) " >&6
30356 else
30359 ac_ext=cpp
30360 ac_cpp='$CXXCPP $CPPFLAGS'
30361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366 /* end confdefs.h. */
30367 #include <math.h>
30368 #ifdef HAVE_IEEEFP_H
30369 #include <ieeefp.h>
30370 #endif
30373 main ()
30375 isnanf(0);
30377 return 0;
30379 _ACEOF
30380 if ac_fn_cxx_try_compile "$LINENO"; then :
30381 glibcxx_cv_func_isnanf_use=yes
30382 else
30383 glibcxx_cv_func_isnanf_use=no
30385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30386 ac_ext=c
30387 ac_cpp='$CPP $CPPFLAGS'
30388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30397 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30399 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30400 for ac_func in isnanf
30401 do :
30402 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30403 if test "x$ac_cv_func_isnanf" = x""yes; then :
30404 cat >>confdefs.h <<_ACEOF
30405 #define HAVE_ISNANF 1
30406 _ACEOF
30409 done
30411 else
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30414 $as_echo_n "checking for _isnanf declaration... " >&6; }
30415 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30416 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30417 $as_echo_n "(cached) " >&6
30418 else
30421 ac_ext=cpp
30422 ac_cpp='$CXXCPP $CPPFLAGS'
30423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30428 /* end confdefs.h. */
30429 #include <math.h>
30430 #ifdef HAVE_IEEEFP_H
30431 #include <ieeefp.h>
30432 #endif
30435 main ()
30437 _isnanf(0);
30439 return 0;
30441 _ACEOF
30442 if ac_fn_cxx_try_compile "$LINENO"; then :
30443 glibcxx_cv_func__isnanf_use=yes
30444 else
30445 glibcxx_cv_func__isnanf_use=no
30447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30448 ac_ext=c
30449 ac_cpp='$CPP $CPPFLAGS'
30450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30459 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30461 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30462 for ac_func in _isnanf
30463 do :
30464 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30465 if test "x$ac_cv_func__isnanf" = x""yes; then :
30466 cat >>confdefs.h <<_ACEOF
30467 #define HAVE__ISNANF 1
30468 _ACEOF
30471 done
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30481 $as_echo_n "checking for isinff declaration... " >&6; }
30482 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30483 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30484 $as_echo_n "(cached) " >&6
30485 else
30488 ac_ext=cpp
30489 ac_cpp='$CXXCPP $CPPFLAGS'
30490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30495 /* end confdefs.h. */
30496 #include <math.h>
30497 #ifdef HAVE_IEEEFP_H
30498 #include <ieeefp.h>
30499 #endif
30502 main ()
30504 isinff(0);
30506 return 0;
30508 _ACEOF
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func_isinff_use=yes
30511 else
30512 glibcxx_cv_func_isinff_use=no
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30515 ac_ext=c
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30526 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30528 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30529 for ac_func in isinff
30530 do :
30531 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30532 if test "x$ac_cv_func_isinff" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE_ISINFF 1
30535 _ACEOF
30538 done
30540 else
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30543 $as_echo_n "checking for _isinff declaration... " >&6; }
30544 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30545 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <math.h>
30559 #ifdef HAVE_IEEEFP_H
30560 #include <ieeefp.h>
30561 #endif
30564 main ()
30566 _isinff(0);
30568 return 0;
30570 _ACEOF
30571 if ac_fn_cxx_try_compile "$LINENO"; then :
30572 glibcxx_cv_func__isinff_use=yes
30573 else
30574 glibcxx_cv_func__isinff_use=no
30576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30577 ac_ext=c
30578 ac_cpp='$CPP $CPPFLAGS'
30579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30588 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30590 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30591 for ac_func in _isinff
30592 do :
30593 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30594 if test "x$ac_cv_func__isinff" = x""yes; then :
30595 cat >>confdefs.h <<_ACEOF
30596 #define HAVE__ISINFF 1
30597 _ACEOF
30600 done
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30610 $as_echo_n "checking for atan2f declaration... " >&6; }
30611 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30612 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30613 $as_echo_n "(cached) " >&6
30614 else
30617 ac_ext=cpp
30618 ac_cpp='$CXXCPP $CPPFLAGS'
30619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30624 /* end confdefs.h. */
30625 #include <math.h>
30627 main ()
30629 atan2f(0, 0);
30631 return 0;
30633 _ACEOF
30634 if ac_fn_cxx_try_compile "$LINENO"; then :
30635 glibcxx_cv_func_atan2f_use=yes
30636 else
30637 glibcxx_cv_func_atan2f_use=no
30639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30640 ac_ext=c
30641 ac_cpp='$CPP $CPPFLAGS'
30642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30651 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30653 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30654 for ac_func in atan2f
30655 do :
30656 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30657 if test "x$ac_cv_func_atan2f" = x""yes; then :
30658 cat >>confdefs.h <<_ACEOF
30659 #define HAVE_ATAN2F 1
30660 _ACEOF
30663 done
30665 else
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30668 $as_echo_n "checking for _atan2f declaration... " >&6; }
30669 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30670 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30685 main ()
30687 _atan2f(0, 0);
30689 return 0;
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693 glibcxx_cv_func__atan2f_use=yes
30694 else
30695 glibcxx_cv_func__atan2f_use=no
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698 ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30709 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30711 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30712 for ac_func in _atan2f
30713 do :
30714 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30715 if test "x$ac_cv_func__atan2f" = x""yes; then :
30716 cat >>confdefs.h <<_ACEOF
30717 #define HAVE__ATAN2F 1
30718 _ACEOF
30721 done
30730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30731 $as_echo_n "checking for fabsf declaration... " >&6; }
30732 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30733 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30734 $as_echo_n "(cached) " >&6
30735 else
30738 ac_ext=cpp
30739 ac_cpp='$CXXCPP $CPPFLAGS'
30740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30746 #include <math.h>
30747 #ifdef HAVE_IEEEFP_H
30748 #include <ieeefp.h>
30749 #endif
30752 main ()
30754 fabsf(0);
30756 return 0;
30758 _ACEOF
30759 if ac_fn_cxx_try_compile "$LINENO"; then :
30760 glibcxx_cv_func_fabsf_use=yes
30761 else
30762 glibcxx_cv_func_fabsf_use=no
30764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30765 ac_ext=c
30766 ac_cpp='$CPP $CPPFLAGS'
30767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30776 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30778 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30779 for ac_func in fabsf
30780 do :
30781 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30782 if test "x$ac_cv_func_fabsf" = x""yes; then :
30783 cat >>confdefs.h <<_ACEOF
30784 #define HAVE_FABSF 1
30785 _ACEOF
30788 done
30790 else
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30793 $as_echo_n "checking for _fabsf declaration... " >&6; }
30794 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30795 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30796 $as_echo_n "(cached) " >&6
30797 else
30800 ac_ext=cpp
30801 ac_cpp='$CXXCPP $CPPFLAGS'
30802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30807 /* end confdefs.h. */
30808 #include <math.h>
30809 #ifdef HAVE_IEEEFP_H
30810 #include <ieeefp.h>
30811 #endif
30814 main ()
30816 _fabsf(0);
30818 return 0;
30820 _ACEOF
30821 if ac_fn_cxx_try_compile "$LINENO"; then :
30822 glibcxx_cv_func__fabsf_use=yes
30823 else
30824 glibcxx_cv_func__fabsf_use=no
30826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30827 ac_ext=c
30828 ac_cpp='$CPP $CPPFLAGS'
30829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
30838 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30840 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30841 for ac_func in _fabsf
30842 do :
30843 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30844 if test "x$ac_cv_func__fabsf" = x""yes; then :
30845 cat >>confdefs.h <<_ACEOF
30846 #define HAVE__FABSF 1
30847 _ACEOF
30850 done
30859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30860 $as_echo_n "checking for fmodf declaration... " >&6; }
30861 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30862 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
30863 $as_echo_n "(cached) " >&6
30864 else
30867 ac_ext=cpp
30868 ac_cpp='$CXXCPP $CPPFLAGS'
30869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30874 /* end confdefs.h. */
30875 #include <math.h>
30877 main ()
30879 fmodf(0, 0);
30881 return 0;
30883 _ACEOF
30884 if ac_fn_cxx_try_compile "$LINENO"; then :
30885 glibcxx_cv_func_fmodf_use=yes
30886 else
30887 glibcxx_cv_func_fmodf_use=no
30889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30890 ac_ext=c
30891 ac_cpp='$CPP $CPPFLAGS'
30892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
30901 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30903 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30904 for ac_func in fmodf
30905 do :
30906 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30907 if test "x$ac_cv_func_fmodf" = x""yes; then :
30908 cat >>confdefs.h <<_ACEOF
30909 #define HAVE_FMODF 1
30910 _ACEOF
30913 done
30915 else
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30918 $as_echo_n "checking for _fmodf declaration... " >&6; }
30919 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30920 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
30921 $as_echo_n "(cached) " >&6
30922 else
30925 ac_ext=cpp
30926 ac_cpp='$CXXCPP $CPPFLAGS'
30927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30932 /* end confdefs.h. */
30933 #include <math.h>
30935 main ()
30937 _fmodf(0, 0);
30939 return 0;
30941 _ACEOF
30942 if ac_fn_cxx_try_compile "$LINENO"; then :
30943 glibcxx_cv_func__fmodf_use=yes
30944 else
30945 glibcxx_cv_func__fmodf_use=no
30947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30948 ac_ext=c
30949 ac_cpp='$CPP $CPPFLAGS'
30950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
30959 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30961 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30962 for ac_func in _fmodf
30963 do :
30964 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30965 if test "x$ac_cv_func__fmodf" = x""yes; then :
30966 cat >>confdefs.h <<_ACEOF
30967 #define HAVE__FMODF 1
30968 _ACEOF
30971 done
30980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30981 $as_echo_n "checking for frexpf declaration... " >&6; }
30982 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30983 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30984 $as_echo_n "(cached) " >&6
30985 else
30988 ac_ext=cpp
30989 ac_cpp='$CXXCPP $CPPFLAGS'
30990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30995 /* end confdefs.h. */
30996 #include <math.h>
30998 main ()
31000 frexpf(0, 0);
31002 return 0;
31004 _ACEOF
31005 if ac_fn_cxx_try_compile "$LINENO"; then :
31006 glibcxx_cv_func_frexpf_use=yes
31007 else
31008 glibcxx_cv_func_frexpf_use=no
31010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31011 ac_ext=c
31012 ac_cpp='$CPP $CPPFLAGS'
31013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31022 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31024 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31025 for ac_func in frexpf
31026 do :
31027 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31028 if test "x$ac_cv_func_frexpf" = x""yes; then :
31029 cat >>confdefs.h <<_ACEOF
31030 #define HAVE_FREXPF 1
31031 _ACEOF
31034 done
31036 else
31038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31039 $as_echo_n "checking for _frexpf declaration... " >&6; }
31040 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31041 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31042 $as_echo_n "(cached) " >&6
31043 else
31046 ac_ext=cpp
31047 ac_cpp='$CXXCPP $CPPFLAGS'
31048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31053 /* end confdefs.h. */
31054 #include <math.h>
31056 main ()
31058 _frexpf(0, 0);
31060 return 0;
31062 _ACEOF
31063 if ac_fn_cxx_try_compile "$LINENO"; then :
31064 glibcxx_cv_func__frexpf_use=yes
31065 else
31066 glibcxx_cv_func__frexpf_use=no
31068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31069 ac_ext=c
31070 ac_cpp='$CPP $CPPFLAGS'
31071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31080 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31082 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31083 for ac_func in _frexpf
31084 do :
31085 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31086 if test "x$ac_cv_func__frexpf" = x""yes; then :
31087 cat >>confdefs.h <<_ACEOF
31088 #define HAVE__FREXPF 1
31089 _ACEOF
31092 done
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31102 $as_echo_n "checking for hypotf declaration... " >&6; }
31103 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31104 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31105 $as_echo_n "(cached) " >&6
31106 else
31109 ac_ext=cpp
31110 ac_cpp='$CXXCPP $CPPFLAGS'
31111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31116 /* end confdefs.h. */
31117 #include <math.h>
31119 main ()
31121 hypotf(0, 0);
31123 return 0;
31125 _ACEOF
31126 if ac_fn_cxx_try_compile "$LINENO"; then :
31127 glibcxx_cv_func_hypotf_use=yes
31128 else
31129 glibcxx_cv_func_hypotf_use=no
31131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31132 ac_ext=c
31133 ac_cpp='$CPP $CPPFLAGS'
31134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31143 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31145 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31146 for ac_func in hypotf
31147 do :
31148 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31149 if test "x$ac_cv_func_hypotf" = x""yes; then :
31150 cat >>confdefs.h <<_ACEOF
31151 #define HAVE_HYPOTF 1
31152 _ACEOF
31155 done
31157 else
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31160 $as_echo_n "checking for _hypotf declaration... " >&6; }
31161 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31162 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31163 $as_echo_n "(cached) " >&6
31164 else
31167 ac_ext=cpp
31168 ac_cpp='$CXXCPP $CPPFLAGS'
31169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175 #include <math.h>
31177 main ()
31179 _hypotf(0, 0);
31181 return 0;
31183 _ACEOF
31184 if ac_fn_cxx_try_compile "$LINENO"; then :
31185 glibcxx_cv_func__hypotf_use=yes
31186 else
31187 glibcxx_cv_func__hypotf_use=no
31189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31190 ac_ext=c
31191 ac_cpp='$CPP $CPPFLAGS'
31192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31201 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31203 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31204 for ac_func in _hypotf
31205 do :
31206 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31207 if test "x$ac_cv_func__hypotf" = x""yes; then :
31208 cat >>confdefs.h <<_ACEOF
31209 #define HAVE__HYPOTF 1
31210 _ACEOF
31213 done
31222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31223 $as_echo_n "checking for ldexpf declaration... " >&6; }
31224 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31225 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31226 $as_echo_n "(cached) " >&6
31227 else
31230 ac_ext=cpp
31231 ac_cpp='$CXXCPP $CPPFLAGS'
31232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31237 /* end confdefs.h. */
31238 #include <math.h>
31240 main ()
31242 ldexpf(0, 0);
31244 return 0;
31246 _ACEOF
31247 if ac_fn_cxx_try_compile "$LINENO"; then :
31248 glibcxx_cv_func_ldexpf_use=yes
31249 else
31250 glibcxx_cv_func_ldexpf_use=no
31252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31253 ac_ext=c
31254 ac_cpp='$CPP $CPPFLAGS'
31255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31264 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31266 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31267 for ac_func in ldexpf
31268 do :
31269 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31270 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31271 cat >>confdefs.h <<_ACEOF
31272 #define HAVE_LDEXPF 1
31273 _ACEOF
31276 done
31278 else
31280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31281 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31282 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31283 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31284 $as_echo_n "(cached) " >&6
31285 else
31288 ac_ext=cpp
31289 ac_cpp='$CXXCPP $CPPFLAGS'
31290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31295 /* end confdefs.h. */
31296 #include <math.h>
31298 main ()
31300 _ldexpf(0, 0);
31302 return 0;
31304 _ACEOF
31305 if ac_fn_cxx_try_compile "$LINENO"; then :
31306 glibcxx_cv_func__ldexpf_use=yes
31307 else
31308 glibcxx_cv_func__ldexpf_use=no
31310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31311 ac_ext=c
31312 ac_cpp='$CPP $CPPFLAGS'
31313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31322 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31324 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31325 for ac_func in _ldexpf
31326 do :
31327 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31328 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31329 cat >>confdefs.h <<_ACEOF
31330 #define HAVE__LDEXPF 1
31331 _ACEOF
31334 done
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31344 $as_echo_n "checking for logf declaration... " >&6; }
31345 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31346 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31347 $as_echo_n "(cached) " >&6
31348 else
31351 ac_ext=cpp
31352 ac_cpp='$CXXCPP $CPPFLAGS'
31353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31358 /* end confdefs.h. */
31359 #include <math.h>
31360 #ifdef HAVE_IEEEFP_H
31361 #include <ieeefp.h>
31362 #endif
31365 main ()
31367 logf(0);
31369 return 0;
31371 _ACEOF
31372 if ac_fn_cxx_try_compile "$LINENO"; then :
31373 glibcxx_cv_func_logf_use=yes
31374 else
31375 glibcxx_cv_func_logf_use=no
31377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31378 ac_ext=c
31379 ac_cpp='$CPP $CPPFLAGS'
31380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31389 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31391 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31392 for ac_func in logf
31393 do :
31394 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31395 if test "x$ac_cv_func_logf" = x""yes; then :
31396 cat >>confdefs.h <<_ACEOF
31397 #define HAVE_LOGF 1
31398 _ACEOF
31401 done
31403 else
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31406 $as_echo_n "checking for _logf declaration... " >&6; }
31407 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31408 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31422 #ifdef HAVE_IEEEFP_H
31423 #include <ieeefp.h>
31424 #endif
31427 main ()
31429 _logf(0);
31431 return 0;
31433 _ACEOF
31434 if ac_fn_cxx_try_compile "$LINENO"; then :
31435 glibcxx_cv_func__logf_use=yes
31436 else
31437 glibcxx_cv_func__logf_use=no
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440 ac_ext=c
31441 ac_cpp='$CPP $CPPFLAGS'
31442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31451 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31453 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31454 for ac_func in _logf
31455 do :
31456 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31457 if test "x$ac_cv_func__logf" = x""yes; then :
31458 cat >>confdefs.h <<_ACEOF
31459 #define HAVE__LOGF 1
31460 _ACEOF
31463 done
31472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31473 $as_echo_n "checking for log10f declaration... " >&6; }
31474 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31475 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31476 $as_echo_n "(cached) " >&6
31477 else
31480 ac_ext=cpp
31481 ac_cpp='$CXXCPP $CPPFLAGS'
31482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31487 /* end confdefs.h. */
31488 #include <math.h>
31489 #ifdef HAVE_IEEEFP_H
31490 #include <ieeefp.h>
31491 #endif
31494 main ()
31496 log10f(0);
31498 return 0;
31500 _ACEOF
31501 if ac_fn_cxx_try_compile "$LINENO"; then :
31502 glibcxx_cv_func_log10f_use=yes
31503 else
31504 glibcxx_cv_func_log10f_use=no
31506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31507 ac_ext=c
31508 ac_cpp='$CPP $CPPFLAGS'
31509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31518 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31520 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31521 for ac_func in log10f
31522 do :
31523 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31524 if test "x$ac_cv_func_log10f" = x""yes; then :
31525 cat >>confdefs.h <<_ACEOF
31526 #define HAVE_LOG10F 1
31527 _ACEOF
31530 done
31532 else
31534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31535 $as_echo_n "checking for _log10f declaration... " >&6; }
31536 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31537 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31538 $as_echo_n "(cached) " >&6
31539 else
31542 ac_ext=cpp
31543 ac_cpp='$CXXCPP $CPPFLAGS'
31544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31549 /* end confdefs.h. */
31550 #include <math.h>
31551 #ifdef HAVE_IEEEFP_H
31552 #include <ieeefp.h>
31553 #endif
31556 main ()
31558 _log10f(0);
31560 return 0;
31562 _ACEOF
31563 if ac_fn_cxx_try_compile "$LINENO"; then :
31564 glibcxx_cv_func__log10f_use=yes
31565 else
31566 glibcxx_cv_func__log10f_use=no
31568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31569 ac_ext=c
31570 ac_cpp='$CPP $CPPFLAGS'
31571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31580 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31582 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31583 for ac_func in _log10f
31584 do :
31585 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31586 if test "x$ac_cv_func__log10f" = x""yes; then :
31587 cat >>confdefs.h <<_ACEOF
31588 #define HAVE__LOG10F 1
31589 _ACEOF
31592 done
31601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31602 $as_echo_n "checking for modff declaration... " >&6; }
31603 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31604 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31605 $as_echo_n "(cached) " >&6
31606 else
31609 ac_ext=cpp
31610 ac_cpp='$CXXCPP $CPPFLAGS'
31611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31616 /* end confdefs.h. */
31617 #include <math.h>
31619 main ()
31621 modff(0, 0);
31623 return 0;
31625 _ACEOF
31626 if ac_fn_cxx_try_compile "$LINENO"; then :
31627 glibcxx_cv_func_modff_use=yes
31628 else
31629 glibcxx_cv_func_modff_use=no
31631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31632 ac_ext=c
31633 ac_cpp='$CPP $CPPFLAGS'
31634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31643 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31645 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31646 for ac_func in modff
31647 do :
31648 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31649 if test "x$ac_cv_func_modff" = x""yes; then :
31650 cat >>confdefs.h <<_ACEOF
31651 #define HAVE_MODFF 1
31652 _ACEOF
31655 done
31657 else
31659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31660 $as_echo_n "checking for _modff declaration... " >&6; }
31661 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31662 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31663 $as_echo_n "(cached) " >&6
31664 else
31667 ac_ext=cpp
31668 ac_cpp='$CXXCPP $CPPFLAGS'
31669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31674 /* end confdefs.h. */
31675 #include <math.h>
31677 main ()
31679 _modff(0, 0);
31681 return 0;
31683 _ACEOF
31684 if ac_fn_cxx_try_compile "$LINENO"; then :
31685 glibcxx_cv_func__modff_use=yes
31686 else
31687 glibcxx_cv_func__modff_use=no
31689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31690 ac_ext=c
31691 ac_cpp='$CPP $CPPFLAGS'
31692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31701 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31703 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31704 for ac_func in _modff
31705 do :
31706 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31707 if test "x$ac_cv_func__modff" = x""yes; then :
31708 cat >>confdefs.h <<_ACEOF
31709 #define HAVE__MODFF 1
31710 _ACEOF
31713 done
31722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31723 $as_echo_n "checking for modf declaration... " >&6; }
31724 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31725 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31726 $as_echo_n "(cached) " >&6
31727 else
31730 ac_ext=cpp
31731 ac_cpp='$CXXCPP $CPPFLAGS'
31732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31737 /* end confdefs.h. */
31738 #include <math.h>
31740 main ()
31742 modf(0, 0);
31744 return 0;
31746 _ACEOF
31747 if ac_fn_cxx_try_compile "$LINENO"; then :
31748 glibcxx_cv_func_modf_use=yes
31749 else
31750 glibcxx_cv_func_modf_use=no
31752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31753 ac_ext=c
31754 ac_cpp='$CPP $CPPFLAGS'
31755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31764 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31766 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31767 for ac_func in modf
31768 do :
31769 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31770 if test "x$ac_cv_func_modf" = x""yes; then :
31771 cat >>confdefs.h <<_ACEOF
31772 #define HAVE_MODF 1
31773 _ACEOF
31776 done
31778 else
31780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31781 $as_echo_n "checking for _modf declaration... " >&6; }
31782 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31783 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31784 $as_echo_n "(cached) " >&6
31785 else
31788 ac_ext=cpp
31789 ac_cpp='$CXXCPP $CPPFLAGS'
31790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31795 /* end confdefs.h. */
31796 #include <math.h>
31798 main ()
31800 _modf(0, 0);
31802 return 0;
31804 _ACEOF
31805 if ac_fn_cxx_try_compile "$LINENO"; then :
31806 glibcxx_cv_func__modf_use=yes
31807 else
31808 glibcxx_cv_func__modf_use=no
31810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31811 ac_ext=c
31812 ac_cpp='$CPP $CPPFLAGS'
31813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31822 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31824 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31825 for ac_func in _modf
31826 do :
31827 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31828 if test "x$ac_cv_func__modf" = x""yes; then :
31829 cat >>confdefs.h <<_ACEOF
31830 #define HAVE__MODF 1
31831 _ACEOF
31834 done
31843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31844 $as_echo_n "checking for powf declaration... " >&6; }
31845 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31846 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31847 $as_echo_n "(cached) " >&6
31848 else
31851 ac_ext=cpp
31852 ac_cpp='$CXXCPP $CPPFLAGS'
31853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31858 /* end confdefs.h. */
31859 #include <math.h>
31861 main ()
31863 powf(0, 0);
31865 return 0;
31867 _ACEOF
31868 if ac_fn_cxx_try_compile "$LINENO"; then :
31869 glibcxx_cv_func_powf_use=yes
31870 else
31871 glibcxx_cv_func_powf_use=no
31873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31874 ac_ext=c
31875 ac_cpp='$CPP $CPPFLAGS'
31876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31885 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31887 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31888 for ac_func in powf
31889 do :
31890 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31891 if test "x$ac_cv_func_powf" = x""yes; then :
31892 cat >>confdefs.h <<_ACEOF
31893 #define HAVE_POWF 1
31894 _ACEOF
31897 done
31899 else
31901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31902 $as_echo_n "checking for _powf declaration... " >&6; }
31903 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31904 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31905 $as_echo_n "(cached) " >&6
31906 else
31909 ac_ext=cpp
31910 ac_cpp='$CXXCPP $CPPFLAGS'
31911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31916 /* end confdefs.h. */
31917 #include <math.h>
31919 main ()
31921 _powf(0, 0);
31923 return 0;
31925 _ACEOF
31926 if ac_fn_cxx_try_compile "$LINENO"; then :
31927 glibcxx_cv_func__powf_use=yes
31928 else
31929 glibcxx_cv_func__powf_use=no
31931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31932 ac_ext=c
31933 ac_cpp='$CPP $CPPFLAGS'
31934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31943 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31945 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31946 for ac_func in _powf
31947 do :
31948 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31949 if test "x$ac_cv_func__powf" = x""yes; then :
31950 cat >>confdefs.h <<_ACEOF
31951 #define HAVE__POWF 1
31952 _ACEOF
31955 done
31964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31965 $as_echo_n "checking for sqrtf declaration... " >&6; }
31966 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31967 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31968 $as_echo_n "(cached) " >&6
31969 else
31972 ac_ext=cpp
31973 ac_cpp='$CXXCPP $CPPFLAGS'
31974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31979 /* end confdefs.h. */
31980 #include <math.h>
31981 #ifdef HAVE_IEEEFP_H
31982 #include <ieeefp.h>
31983 #endif
31986 main ()
31988 sqrtf(0);
31990 return 0;
31992 _ACEOF
31993 if ac_fn_cxx_try_compile "$LINENO"; then :
31994 glibcxx_cv_func_sqrtf_use=yes
31995 else
31996 glibcxx_cv_func_sqrtf_use=no
31998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31999 ac_ext=c
32000 ac_cpp='$CPP $CPPFLAGS'
32001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32010 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32012 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32013 for ac_func in sqrtf
32014 do :
32015 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32016 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32017 cat >>confdefs.h <<_ACEOF
32018 #define HAVE_SQRTF 1
32019 _ACEOF
32022 done
32024 else
32026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32027 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32028 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32029 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32030 $as_echo_n "(cached) " >&6
32031 else
32034 ac_ext=cpp
32035 ac_cpp='$CXXCPP $CPPFLAGS'
32036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32041 /* end confdefs.h. */
32042 #include <math.h>
32043 #ifdef HAVE_IEEEFP_H
32044 #include <ieeefp.h>
32045 #endif
32048 main ()
32050 _sqrtf(0);
32052 return 0;
32054 _ACEOF
32055 if ac_fn_cxx_try_compile "$LINENO"; then :
32056 glibcxx_cv_func__sqrtf_use=yes
32057 else
32058 glibcxx_cv_func__sqrtf_use=no
32060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32061 ac_ext=c
32062 ac_cpp='$CPP $CPPFLAGS'
32063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32072 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32074 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32075 for ac_func in _sqrtf
32076 do :
32077 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32078 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32079 cat >>confdefs.h <<_ACEOF
32080 #define HAVE__SQRTF 1
32081 _ACEOF
32084 done
32093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32094 $as_echo_n "checking for sincosf declaration... " >&6; }
32095 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32096 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32097 $as_echo_n "(cached) " >&6
32098 else
32101 ac_ext=cpp
32102 ac_cpp='$CXXCPP $CPPFLAGS'
32103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32108 /* end confdefs.h. */
32109 #include <math.h>
32111 main ()
32113 sincosf(0, 0, 0);
32115 return 0;
32117 _ACEOF
32118 if ac_fn_cxx_try_compile "$LINENO"; then :
32119 glibcxx_cv_func_sincosf_use=yes
32120 else
32121 glibcxx_cv_func_sincosf_use=no
32123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32124 ac_ext=c
32125 ac_cpp='$CPP $CPPFLAGS'
32126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32135 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32137 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32138 for ac_func in sincosf
32139 do :
32140 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32141 if test "x$ac_cv_func_sincosf" = x""yes; then :
32142 cat >>confdefs.h <<_ACEOF
32143 #define HAVE_SINCOSF 1
32144 _ACEOF
32147 done
32149 else
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32152 $as_echo_n "checking for _sincosf declaration... " >&6; }
32153 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32154 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32155 $as_echo_n "(cached) " >&6
32156 else
32159 ac_ext=cpp
32160 ac_cpp='$CXXCPP $CPPFLAGS'
32161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32166 /* end confdefs.h. */
32167 #include <math.h>
32169 main ()
32171 _sincosf(0, 0, 0);
32173 return 0;
32175 _ACEOF
32176 if ac_fn_cxx_try_compile "$LINENO"; then :
32177 glibcxx_cv_func__sincosf_use=yes
32178 else
32179 glibcxx_cv_func__sincosf_use=no
32181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32182 ac_ext=c
32183 ac_cpp='$CPP $CPPFLAGS'
32184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32193 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32195 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32196 for ac_func in _sincosf
32197 do :
32198 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32199 if test "x$ac_cv_func__sincosf" = x""yes; then :
32200 cat >>confdefs.h <<_ACEOF
32201 #define HAVE__SINCOSF 1
32202 _ACEOF
32205 done
32214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32215 $as_echo_n "checking for finitef declaration... " >&6; }
32216 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32217 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32218 $as_echo_n "(cached) " >&6
32219 else
32222 ac_ext=cpp
32223 ac_cpp='$CXXCPP $CPPFLAGS'
32224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32229 /* end confdefs.h. */
32230 #include <math.h>
32231 #ifdef HAVE_IEEEFP_H
32232 #include <ieeefp.h>
32233 #endif
32236 main ()
32238 finitef(0);
32240 return 0;
32242 _ACEOF
32243 if ac_fn_cxx_try_compile "$LINENO"; then :
32244 glibcxx_cv_func_finitef_use=yes
32245 else
32246 glibcxx_cv_func_finitef_use=no
32248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32249 ac_ext=c
32250 ac_cpp='$CPP $CPPFLAGS'
32251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32260 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32262 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32263 for ac_func in finitef
32264 do :
32265 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32266 if test "x$ac_cv_func_finitef" = x""yes; then :
32267 cat >>confdefs.h <<_ACEOF
32268 #define HAVE_FINITEF 1
32269 _ACEOF
32272 done
32274 else
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32277 $as_echo_n "checking for _finitef declaration... " >&6; }
32278 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32279 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32280 $as_echo_n "(cached) " >&6
32281 else
32284 ac_ext=cpp
32285 ac_cpp='$CXXCPP $CPPFLAGS'
32286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32291 /* end confdefs.h. */
32292 #include <math.h>
32293 #ifdef HAVE_IEEEFP_H
32294 #include <ieeefp.h>
32295 #endif
32298 main ()
32300 _finitef(0);
32302 return 0;
32304 _ACEOF
32305 if ac_fn_cxx_try_compile "$LINENO"; then :
32306 glibcxx_cv_func__finitef_use=yes
32307 else
32308 glibcxx_cv_func__finitef_use=no
32310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32311 ac_ext=c
32312 ac_cpp='$CPP $CPPFLAGS'
32313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32322 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32324 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32325 for ac_func in _finitef
32326 do :
32327 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32328 if test "x$ac_cv_func__finitef" = x""yes; then :
32329 cat >>confdefs.h <<_ACEOF
32330 #define HAVE__FINITEF 1
32331 _ACEOF
32334 done
32343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32344 $as_echo_n "checking for long double trig functions... " >&6; }
32345 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32346 $as_echo_n "(cached) " >&6
32347 else
32350 ac_ext=cpp
32351 ac_cpp='$CXXCPP $CPPFLAGS'
32352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 #include <math.h>
32360 main ()
32362 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32364 return 0;
32366 _ACEOF
32367 if ac_fn_cxx_try_compile "$LINENO"; then :
32368 glibcxx_cv_func_long_double_trig_use=yes
32369 else
32370 glibcxx_cv_func_long_double_trig_use=no
32372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32373 ac_ext=c
32374 ac_cpp='$CPP $CPPFLAGS'
32375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32382 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32383 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32384 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32385 do :
32386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32388 eval as_val=\$$as_ac_var
32389 if test "x$as_val" = x""yes; then :
32390 cat >>confdefs.h <<_ACEOF
32391 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32392 _ACEOF
32395 done
32397 else
32398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32399 $as_echo_n "checking for _long double trig functions... " >&6; }
32400 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32401 $as_echo_n "(cached) " >&6
32402 else
32405 ac_ext=cpp
32406 ac_cpp='$CXXCPP $CPPFLAGS'
32407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32412 /* end confdefs.h. */
32413 #include <math.h>
32415 main ()
32417 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32419 return 0;
32421 _ACEOF
32422 if ac_fn_cxx_try_compile "$LINENO"; then :
32423 glibcxx_cv_func__long_double_trig_use=yes
32424 else
32425 glibcxx_cv_func__long_double_trig_use=no
32427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32428 ac_ext=c
32429 ac_cpp='$CPP $CPPFLAGS'
32430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32437 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32438 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32439 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32440 do :
32441 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32442 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32443 eval as_val=\$$as_ac_var
32444 if test "x$as_val" = x""yes; then :
32445 cat >>confdefs.h <<_ACEOF
32446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32447 _ACEOF
32450 done
32459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32460 $as_echo_n "checking for long double round functions... " >&6; }
32461 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32462 $as_echo_n "(cached) " >&6
32463 else
32466 ac_ext=cpp
32467 ac_cpp='$CXXCPP $CPPFLAGS'
32468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32473 /* end confdefs.h. */
32474 #include <math.h>
32476 main ()
32478 ceill (0); floorl (0);
32480 return 0;
32482 _ACEOF
32483 if ac_fn_cxx_try_compile "$LINENO"; then :
32484 glibcxx_cv_func_long_double_round_use=yes
32485 else
32486 glibcxx_cv_func_long_double_round_use=no
32488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32489 ac_ext=c
32490 ac_cpp='$CPP $CPPFLAGS'
32491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32498 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32499 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32500 for ac_func in ceill floorl
32501 do :
32502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32504 eval as_val=\$$as_ac_var
32505 if test "x$as_val" = x""yes; then :
32506 cat >>confdefs.h <<_ACEOF
32507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32508 _ACEOF
32511 done
32513 else
32514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32515 $as_echo_n "checking for _long double round functions... " >&6; }
32516 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32517 $as_echo_n "(cached) " >&6
32518 else
32521 ac_ext=cpp
32522 ac_cpp='$CXXCPP $CPPFLAGS'
32523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528 /* end confdefs.h. */
32529 #include <math.h>
32531 main ()
32533 _ceill (0); _floorl (0);
32535 return 0;
32537 _ACEOF
32538 if ac_fn_cxx_try_compile "$LINENO"; then :
32539 glibcxx_cv_func__long_double_round_use=yes
32540 else
32541 glibcxx_cv_func__long_double_round_use=no
32543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32544 ac_ext=c
32545 ac_cpp='$CPP $CPPFLAGS'
32546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32553 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32554 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32555 for ac_func in _ceill _floorl
32556 do :
32557 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32558 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32559 eval as_val=\$$as_ac_var
32560 if test "x$as_val" = x""yes; then :
32561 cat >>confdefs.h <<_ACEOF
32562 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32563 _ACEOF
32566 done
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32577 $as_echo_n "checking for isnanl declaration... " >&6; }
32578 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32579 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32580 $as_echo_n "(cached) " >&6
32581 else
32584 ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592 #include <math.h>
32593 #ifdef HAVE_IEEEFP_H
32594 #include <ieeefp.h>
32595 #endif
32598 main ()
32600 isnanl(0);
32602 return 0;
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func_isnanl_use=yes
32607 else
32608 glibcxx_cv_func_isnanl_use=no
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32622 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32624 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32625 for ac_func in isnanl
32626 do :
32627 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32628 if test "x$ac_cv_func_isnanl" = x""yes; then :
32629 cat >>confdefs.h <<_ACEOF
32630 #define HAVE_ISNANL 1
32631 _ACEOF
32634 done
32636 else
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32639 $as_echo_n "checking for _isnanl declaration... " >&6; }
32640 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32641 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32655 #ifdef HAVE_IEEEFP_H
32656 #include <ieeefp.h>
32657 #endif
32660 main ()
32662 _isnanl(0);
32664 return 0;
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func__isnanl_use=yes
32669 else
32670 glibcxx_cv_func__isnanl_use=no
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32684 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32686 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32687 for ac_func in _isnanl
32688 do :
32689 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32690 if test "x$ac_cv_func__isnanl" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE__ISNANL 1
32693 _ACEOF
32696 done
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32706 $as_echo_n "checking for isinfl declaration... " >&6; }
32707 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32708 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32722 #ifdef HAVE_IEEEFP_H
32723 #include <ieeefp.h>
32724 #endif
32727 main ()
32729 isinfl(0);
32731 return 0;
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735 glibcxx_cv_func_isinfl_use=yes
32736 else
32737 glibcxx_cv_func_isinfl_use=no
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32751 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32753 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32754 for ac_func in isinfl
32755 do :
32756 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32757 if test "x$ac_cv_func_isinfl" = x""yes; then :
32758 cat >>confdefs.h <<_ACEOF
32759 #define HAVE_ISINFL 1
32760 _ACEOF
32763 done
32765 else
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32768 $as_echo_n "checking for _isinfl declaration... " >&6; }
32769 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32770 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32771 $as_echo_n "(cached) " >&6
32772 else
32775 ac_ext=cpp
32776 ac_cpp='$CXXCPP $CPPFLAGS'
32777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782 /* end confdefs.h. */
32783 #include <math.h>
32784 #ifdef HAVE_IEEEFP_H
32785 #include <ieeefp.h>
32786 #endif
32789 main ()
32791 _isinfl(0);
32793 return 0;
32795 _ACEOF
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func__isinfl_use=yes
32798 else
32799 glibcxx_cv_func__isinfl_use=no
32801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32802 ac_ext=c
32803 ac_cpp='$CPP $CPPFLAGS'
32804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32813 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32815 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32816 for ac_func in _isinfl
32817 do :
32818 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32819 if test "x$ac_cv_func__isinfl" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE__ISINFL 1
32822 _ACEOF
32825 done
32834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32835 $as_echo_n "checking for atan2l declaration... " >&6; }
32836 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32837 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32838 $as_echo_n "(cached) " >&6
32839 else
32842 ac_ext=cpp
32843 ac_cpp='$CXXCPP $CPPFLAGS'
32844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32849 /* end confdefs.h. */
32850 #include <math.h>
32852 main ()
32854 atan2l(0, 0);
32856 return 0;
32858 _ACEOF
32859 if ac_fn_cxx_try_compile "$LINENO"; then :
32860 glibcxx_cv_func_atan2l_use=yes
32861 else
32862 glibcxx_cv_func_atan2l_use=no
32864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32865 ac_ext=c
32866 ac_cpp='$CPP $CPPFLAGS'
32867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32876 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32878 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32879 for ac_func in atan2l
32880 do :
32881 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32882 if test "x$ac_cv_func_atan2l" = x""yes; then :
32883 cat >>confdefs.h <<_ACEOF
32884 #define HAVE_ATAN2L 1
32885 _ACEOF
32888 done
32890 else
32892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32893 $as_echo_n "checking for _atan2l declaration... " >&6; }
32894 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32895 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32896 $as_echo_n "(cached) " >&6
32897 else
32900 ac_ext=cpp
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h. */
32908 #include <math.h>
32910 main ()
32912 _atan2l(0, 0);
32914 return 0;
32916 _ACEOF
32917 if ac_fn_cxx_try_compile "$LINENO"; then :
32918 glibcxx_cv_func__atan2l_use=yes
32919 else
32920 glibcxx_cv_func__atan2l_use=no
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923 ac_ext=c
32924 ac_cpp='$CPP $CPPFLAGS'
32925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32934 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32936 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32937 for ac_func in _atan2l
32938 do :
32939 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32940 if test "x$ac_cv_func__atan2l" = x""yes; then :
32941 cat >>confdefs.h <<_ACEOF
32942 #define HAVE__ATAN2L 1
32943 _ACEOF
32946 done
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32956 $as_echo_n "checking for expl declaration... " >&6; }
32957 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32958 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32959 $as_echo_n "(cached) " >&6
32960 else
32963 ac_ext=cpp
32964 ac_cpp='$CXXCPP $CPPFLAGS'
32965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32970 /* end confdefs.h. */
32971 #include <math.h>
32972 #ifdef HAVE_IEEEFP_H
32973 #include <ieeefp.h>
32974 #endif
32977 main ()
32979 expl(0);
32981 return 0;
32983 _ACEOF
32984 if ac_fn_cxx_try_compile "$LINENO"; then :
32985 glibcxx_cv_func_expl_use=yes
32986 else
32987 glibcxx_cv_func_expl_use=no
32989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32990 ac_ext=c
32991 ac_cpp='$CPP $CPPFLAGS'
32992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33001 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33003 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33004 for ac_func in expl
33005 do :
33006 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33007 if test "x$ac_cv_func_expl" = x""yes; then :
33008 cat >>confdefs.h <<_ACEOF
33009 #define HAVE_EXPL 1
33010 _ACEOF
33013 done
33015 else
33017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33018 $as_echo_n "checking for _expl declaration... " >&6; }
33019 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33020 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33021 $as_echo_n "(cached) " >&6
33022 else
33025 ac_ext=cpp
33026 ac_cpp='$CXXCPP $CPPFLAGS'
33027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33032 /* end confdefs.h. */
33033 #include <math.h>
33034 #ifdef HAVE_IEEEFP_H
33035 #include <ieeefp.h>
33036 #endif
33039 main ()
33041 _expl(0);
33043 return 0;
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func__expl_use=yes
33048 else
33049 glibcxx_cv_func__expl_use=no
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33063 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33065 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33066 for ac_func in _expl
33067 do :
33068 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33069 if test "x$ac_cv_func__expl" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE__EXPL 1
33072 _ACEOF
33075 done
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33085 $as_echo_n "checking for fabsl declaration... " >&6; }
33086 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33087 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33088 $as_echo_n "(cached) " >&6
33089 else
33092 ac_ext=cpp
33093 ac_cpp='$CXXCPP $CPPFLAGS'
33094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h. */
33100 #include <math.h>
33101 #ifdef HAVE_IEEEFP_H
33102 #include <ieeefp.h>
33103 #endif
33106 main ()
33108 fabsl(0);
33110 return 0;
33112 _ACEOF
33113 if ac_fn_cxx_try_compile "$LINENO"; then :
33114 glibcxx_cv_func_fabsl_use=yes
33115 else
33116 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
33130 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33132 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33133 for ac_func in fabsl
33134 do :
33135 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33136 if test "x$ac_cv_func_fabsl" = x""yes; then :
33137 cat >>confdefs.h <<_ACEOF
33138 #define HAVE_FABSL 1
33139 _ACEOF
33142 done
33144 else
33146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33147 $as_echo_n "checking for _fabsl declaration... " >&6; }
33148 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33149 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33150 $as_echo_n "(cached) " >&6
33151 else
33154 ac_ext=cpp
33155 ac_cpp='$CXXCPP $CPPFLAGS'
33156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33161 /* end confdefs.h. */
33162 #include <math.h>
33163 #ifdef HAVE_IEEEFP_H
33164 #include <ieeefp.h>
33165 #endif
33168 main ()
33170 _fabsl(0);
33172 return 0;
33174 _ACEOF
33175 if ac_fn_cxx_try_compile "$LINENO"; then :
33176 glibcxx_cv_func__fabsl_use=yes
33177 else
33178 glibcxx_cv_func__fabsl_use=no
33180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33181 ac_ext=c
33182 ac_cpp='$CPP $CPPFLAGS'
33183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33192 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33194 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33195 for ac_func in _fabsl
33196 do :
33197 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33198 if test "x$ac_cv_func__fabsl" = x""yes; then :
33199 cat >>confdefs.h <<_ACEOF
33200 #define HAVE__FABSL 1
33201 _ACEOF
33204 done
33213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33214 $as_echo_n "checking for fmodl declaration... " >&6; }
33215 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33216 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
33217 $as_echo_n "(cached) " >&6
33218 else
33221 ac_ext=cpp
33222 ac_cpp='$CXXCPP $CPPFLAGS'
33223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33228 /* end confdefs.h. */
33229 #include <math.h>
33231 main ()
33233 fmodl(0, 0);
33235 return 0;
33237 _ACEOF
33238 if ac_fn_cxx_try_compile "$LINENO"; then :
33239 glibcxx_cv_func_fmodl_use=yes
33240 else
33241 glibcxx_cv_func_fmodl_use=no
33243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33244 ac_ext=c
33245 ac_cpp='$CPP $CPPFLAGS'
33246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33255 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33257 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33258 for ac_func in fmodl
33259 do :
33260 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33261 if test "x$ac_cv_func_fmodl" = x""yes; then :
33262 cat >>confdefs.h <<_ACEOF
33263 #define HAVE_FMODL 1
33264 _ACEOF
33267 done
33269 else
33271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33272 $as_echo_n "checking for _fmodl declaration... " >&6; }
33273 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33274 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33275 $as_echo_n "(cached) " >&6
33276 else
33279 ac_ext=cpp
33280 ac_cpp='$CXXCPP $CPPFLAGS'
33281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33286 /* end confdefs.h. */
33287 #include <math.h>
33289 main ()
33291 _fmodl(0, 0);
33293 return 0;
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func__fmodl_use=yes
33298 else
33299 glibcxx_cv_func__fmodl_use=no
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33313 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33315 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33316 for ac_func in _fmodl
33317 do :
33318 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33319 if test "x$ac_cv_func__fmodl" = x""yes; then :
33320 cat >>confdefs.h <<_ACEOF
33321 #define HAVE__FMODL 1
33322 _ACEOF
33325 done
33334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33335 $as_echo_n "checking for frexpl declaration... " >&6; }
33336 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33337 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33338 $as_echo_n "(cached) " >&6
33339 else
33342 ac_ext=cpp
33343 ac_cpp='$CXXCPP $CPPFLAGS'
33344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33349 /* end confdefs.h. */
33350 #include <math.h>
33352 main ()
33354 frexpl(0, 0);
33356 return 0;
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360 glibcxx_cv_func_frexpl_use=yes
33361 else
33362 glibcxx_cv_func_frexpl_use=no
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33376 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33378 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33379 for ac_func in frexpl
33380 do :
33381 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33382 if test "x$ac_cv_func_frexpl" = x""yes; then :
33383 cat >>confdefs.h <<_ACEOF
33384 #define HAVE_FREXPL 1
33385 _ACEOF
33388 done
33390 else
33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33393 $as_echo_n "checking for _frexpl declaration... " >&6; }
33394 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33395 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33396 $as_echo_n "(cached) " >&6
33397 else
33400 ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h. */
33408 #include <math.h>
33410 main ()
33412 _frexpl(0, 0);
33414 return 0;
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418 glibcxx_cv_func__frexpl_use=yes
33419 else
33420 glibcxx_cv_func__frexpl_use=no
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423 ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33434 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33436 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33437 for ac_func in _frexpl
33438 do :
33439 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33440 if test "x$ac_cv_func__frexpl" = x""yes; then :
33441 cat >>confdefs.h <<_ACEOF
33442 #define HAVE__FREXPL 1
33443 _ACEOF
33446 done
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33456 $as_echo_n "checking for hypotl declaration... " >&6; }
33457 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33458 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33459 $as_echo_n "(cached) " >&6
33460 else
33463 ac_ext=cpp
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h. */
33471 #include <math.h>
33473 main ()
33475 hypotl(0, 0);
33477 return 0;
33479 _ACEOF
33480 if ac_fn_cxx_try_compile "$LINENO"; then :
33481 glibcxx_cv_func_hypotl_use=yes
33482 else
33483 glibcxx_cv_func_hypotl_use=no
33485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33486 ac_ext=c
33487 ac_cpp='$CPP $CPPFLAGS'
33488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33497 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33499 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33500 for ac_func in hypotl
33501 do :
33502 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33503 if test "x$ac_cv_func_hypotl" = x""yes; then :
33504 cat >>confdefs.h <<_ACEOF
33505 #define HAVE_HYPOTL 1
33506 _ACEOF
33509 done
33511 else
33513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33514 $as_echo_n "checking for _hypotl declaration... " >&6; }
33515 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33516 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33517 $as_echo_n "(cached) " >&6
33518 else
33521 ac_ext=cpp
33522 ac_cpp='$CXXCPP $CPPFLAGS'
33523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33528 /* end confdefs.h. */
33529 #include <math.h>
33531 main ()
33533 _hypotl(0, 0);
33535 return 0;
33537 _ACEOF
33538 if ac_fn_cxx_try_compile "$LINENO"; then :
33539 glibcxx_cv_func__hypotl_use=yes
33540 else
33541 glibcxx_cv_func__hypotl_use=no
33543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33544 ac_ext=c
33545 ac_cpp='$CPP $CPPFLAGS'
33546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33555 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33557 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33558 for ac_func in _hypotl
33559 do :
33560 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33561 if test "x$ac_cv_func__hypotl" = x""yes; then :
33562 cat >>confdefs.h <<_ACEOF
33563 #define HAVE__HYPOTL 1
33564 _ACEOF
33567 done
33576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33577 $as_echo_n "checking for ldexpl declaration... " >&6; }
33578 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33579 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33580 $as_echo_n "(cached) " >&6
33581 else
33584 ac_ext=cpp
33585 ac_cpp='$CXXCPP $CPPFLAGS'
33586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33591 /* end confdefs.h. */
33592 #include <math.h>
33594 main ()
33596 ldexpl(0, 0);
33598 return 0;
33600 _ACEOF
33601 if ac_fn_cxx_try_compile "$LINENO"; then :
33602 glibcxx_cv_func_ldexpl_use=yes
33603 else
33604 glibcxx_cv_func_ldexpl_use=no
33606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33607 ac_ext=c
33608 ac_cpp='$CPP $CPPFLAGS'
33609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33618 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33620 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33621 for ac_func in ldexpl
33622 do :
33623 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33624 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33625 cat >>confdefs.h <<_ACEOF
33626 #define HAVE_LDEXPL 1
33627 _ACEOF
33630 done
33632 else
33634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33635 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33636 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33637 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33638 $as_echo_n "(cached) " >&6
33639 else
33642 ac_ext=cpp
33643 ac_cpp='$CXXCPP $CPPFLAGS'
33644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33649 /* end confdefs.h. */
33650 #include <math.h>
33652 main ()
33654 _ldexpl(0, 0);
33656 return 0;
33658 _ACEOF
33659 if ac_fn_cxx_try_compile "$LINENO"; then :
33660 glibcxx_cv_func__ldexpl_use=yes
33661 else
33662 glibcxx_cv_func__ldexpl_use=no
33664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33665 ac_ext=c
33666 ac_cpp='$CPP $CPPFLAGS'
33667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33676 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33678 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33679 for ac_func in _ldexpl
33680 do :
33681 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33682 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33683 cat >>confdefs.h <<_ACEOF
33684 #define HAVE__LDEXPL 1
33685 _ACEOF
33688 done
33697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33698 $as_echo_n "checking for logl declaration... " >&6; }
33699 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33700 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33701 $as_echo_n "(cached) " >&6
33702 else
33705 ac_ext=cpp
33706 ac_cpp='$CXXCPP $CPPFLAGS'
33707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33712 /* end confdefs.h. */
33713 #include <math.h>
33714 #ifdef HAVE_IEEEFP_H
33715 #include <ieeefp.h>
33716 #endif
33719 main ()
33721 logl(0);
33723 return 0;
33725 _ACEOF
33726 if ac_fn_cxx_try_compile "$LINENO"; then :
33727 glibcxx_cv_func_logl_use=yes
33728 else
33729 glibcxx_cv_func_logl_use=no
33731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33732 ac_ext=c
33733 ac_cpp='$CPP $CPPFLAGS'
33734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33743 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33745 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33746 for ac_func in logl
33747 do :
33748 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33749 if test "x$ac_cv_func_logl" = x""yes; then :
33750 cat >>confdefs.h <<_ACEOF
33751 #define HAVE_LOGL 1
33752 _ACEOF
33755 done
33757 else
33759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33760 $as_echo_n "checking for _logl declaration... " >&6; }
33761 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33762 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33763 $as_echo_n "(cached) " >&6
33764 else
33767 ac_ext=cpp
33768 ac_cpp='$CXXCPP $CPPFLAGS'
33769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33774 /* end confdefs.h. */
33775 #include <math.h>
33776 #ifdef HAVE_IEEEFP_H
33777 #include <ieeefp.h>
33778 #endif
33781 main ()
33783 _logl(0);
33785 return 0;
33787 _ACEOF
33788 if ac_fn_cxx_try_compile "$LINENO"; then :
33789 glibcxx_cv_func__logl_use=yes
33790 else
33791 glibcxx_cv_func__logl_use=no
33793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33794 ac_ext=c
33795 ac_cpp='$CPP $CPPFLAGS'
33796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33805 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33807 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33808 for ac_func in _logl
33809 do :
33810 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33811 if test "x$ac_cv_func__logl" = x""yes; then :
33812 cat >>confdefs.h <<_ACEOF
33813 #define HAVE__LOGL 1
33814 _ACEOF
33817 done
33826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33827 $as_echo_n "checking for log10l declaration... " >&6; }
33828 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33829 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33830 $as_echo_n "(cached) " >&6
33831 else
33834 ac_ext=cpp
33835 ac_cpp='$CXXCPP $CPPFLAGS'
33836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33841 /* end confdefs.h. */
33842 #include <math.h>
33843 #ifdef HAVE_IEEEFP_H
33844 #include <ieeefp.h>
33845 #endif
33848 main ()
33850 log10l(0);
33852 return 0;
33854 _ACEOF
33855 if ac_fn_cxx_try_compile "$LINENO"; then :
33856 glibcxx_cv_func_log10l_use=yes
33857 else
33858 glibcxx_cv_func_log10l_use=no
33860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33861 ac_ext=c
33862 ac_cpp='$CPP $CPPFLAGS'
33863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33872 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33874 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33875 for ac_func in log10l
33876 do :
33877 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33878 if test "x$ac_cv_func_log10l" = x""yes; then :
33879 cat >>confdefs.h <<_ACEOF
33880 #define HAVE_LOG10L 1
33881 _ACEOF
33884 done
33886 else
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33889 $as_echo_n "checking for _log10l declaration... " >&6; }
33890 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33891 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33892 $as_echo_n "(cached) " >&6
33893 else
33896 ac_ext=cpp
33897 ac_cpp='$CXXCPP $CPPFLAGS'
33898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33903 /* end confdefs.h. */
33904 #include <math.h>
33905 #ifdef HAVE_IEEEFP_H
33906 #include <ieeefp.h>
33907 #endif
33910 main ()
33912 _log10l(0);
33914 return 0;
33916 _ACEOF
33917 if ac_fn_cxx_try_compile "$LINENO"; then :
33918 glibcxx_cv_func__log10l_use=yes
33919 else
33920 glibcxx_cv_func__log10l_use=no
33922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33923 ac_ext=c
33924 ac_cpp='$CPP $CPPFLAGS'
33925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33934 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33936 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33937 for ac_func in _log10l
33938 do :
33939 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33940 if test "x$ac_cv_func__log10l" = x""yes; then :
33941 cat >>confdefs.h <<_ACEOF
33942 #define HAVE__LOG10L 1
33943 _ACEOF
33946 done
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33956 $as_echo_n "checking for modfl declaration... " >&6; }
33957 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33958 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33959 $as_echo_n "(cached) " >&6
33960 else
33963 ac_ext=cpp
33964 ac_cpp='$CXXCPP $CPPFLAGS'
33965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33970 /* end confdefs.h. */
33971 #include <math.h>
33973 main ()
33975 modfl(0, 0);
33977 return 0;
33979 _ACEOF
33980 if ac_fn_cxx_try_compile "$LINENO"; then :
33981 glibcxx_cv_func_modfl_use=yes
33982 else
33983 glibcxx_cv_func_modfl_use=no
33985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33986 ac_ext=c
33987 ac_cpp='$CPP $CPPFLAGS'
33988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33997 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33999 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34000 for ac_func in modfl
34001 do :
34002 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34003 if test "x$ac_cv_func_modfl" = x""yes; then :
34004 cat >>confdefs.h <<_ACEOF
34005 #define HAVE_MODFL 1
34006 _ACEOF
34009 done
34011 else
34013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34014 $as_echo_n "checking for _modfl declaration... " >&6; }
34015 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34016 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34017 $as_echo_n "(cached) " >&6
34018 else
34021 ac_ext=cpp
34022 ac_cpp='$CXXCPP $CPPFLAGS'
34023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34028 /* end confdefs.h. */
34029 #include <math.h>
34031 main ()
34033 _modfl(0, 0);
34035 return 0;
34037 _ACEOF
34038 if ac_fn_cxx_try_compile "$LINENO"; then :
34039 glibcxx_cv_func__modfl_use=yes
34040 else
34041 glibcxx_cv_func__modfl_use=no
34043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34044 ac_ext=c
34045 ac_cpp='$CPP $CPPFLAGS'
34046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34055 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34057 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34058 for ac_func in _modfl
34059 do :
34060 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34061 if test "x$ac_cv_func__modfl" = x""yes; then :
34062 cat >>confdefs.h <<_ACEOF
34063 #define HAVE__MODFL 1
34064 _ACEOF
34067 done
34076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34077 $as_echo_n "checking for powl declaration... " >&6; }
34078 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34079 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34080 $as_echo_n "(cached) " >&6
34081 else
34084 ac_ext=cpp
34085 ac_cpp='$CXXCPP $CPPFLAGS'
34086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34091 /* end confdefs.h. */
34092 #include <math.h>
34094 main ()
34096 powl(0, 0);
34098 return 0;
34100 _ACEOF
34101 if ac_fn_cxx_try_compile "$LINENO"; then :
34102 glibcxx_cv_func_powl_use=yes
34103 else
34104 glibcxx_cv_func_powl_use=no
34106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34107 ac_ext=c
34108 ac_cpp='$CPP $CPPFLAGS'
34109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34118 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34120 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34121 for ac_func in powl
34122 do :
34123 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34124 if test "x$ac_cv_func_powl" = x""yes; then :
34125 cat >>confdefs.h <<_ACEOF
34126 #define HAVE_POWL 1
34127 _ACEOF
34130 done
34132 else
34134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34135 $as_echo_n "checking for _powl declaration... " >&6; }
34136 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34137 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34138 $as_echo_n "(cached) " >&6
34139 else
34142 ac_ext=cpp
34143 ac_cpp='$CXXCPP $CPPFLAGS'
34144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34149 /* end confdefs.h. */
34150 #include <math.h>
34152 main ()
34154 _powl(0, 0);
34156 return 0;
34158 _ACEOF
34159 if ac_fn_cxx_try_compile "$LINENO"; then :
34160 glibcxx_cv_func__powl_use=yes
34161 else
34162 glibcxx_cv_func__powl_use=no
34164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34165 ac_ext=c
34166 ac_cpp='$CPP $CPPFLAGS'
34167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34176 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34178 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34179 for ac_func in _powl
34180 do :
34181 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34182 if test "x$ac_cv_func__powl" = x""yes; then :
34183 cat >>confdefs.h <<_ACEOF
34184 #define HAVE__POWL 1
34185 _ACEOF
34188 done
34197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34198 $as_echo_n "checking for sqrtl declaration... " >&6; }
34199 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34200 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34201 $as_echo_n "(cached) " >&6
34202 else
34205 ac_ext=cpp
34206 ac_cpp='$CXXCPP $CPPFLAGS'
34207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34212 /* end confdefs.h. */
34213 #include <math.h>
34214 #ifdef HAVE_IEEEFP_H
34215 #include <ieeefp.h>
34216 #endif
34219 main ()
34221 sqrtl(0);
34223 return 0;
34225 _ACEOF
34226 if ac_fn_cxx_try_compile "$LINENO"; then :
34227 glibcxx_cv_func_sqrtl_use=yes
34228 else
34229 glibcxx_cv_func_sqrtl_use=no
34231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34232 ac_ext=c
34233 ac_cpp='$CPP $CPPFLAGS'
34234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34243 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34245 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34246 for ac_func in sqrtl
34247 do :
34248 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34249 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34250 cat >>confdefs.h <<_ACEOF
34251 #define HAVE_SQRTL 1
34252 _ACEOF
34255 done
34257 else
34259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34260 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34261 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34262 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34263 $as_echo_n "(cached) " >&6
34264 else
34267 ac_ext=cpp
34268 ac_cpp='$CXXCPP $CPPFLAGS'
34269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34274 /* end confdefs.h. */
34275 #include <math.h>
34276 #ifdef HAVE_IEEEFP_H
34277 #include <ieeefp.h>
34278 #endif
34281 main ()
34283 _sqrtl(0);
34285 return 0;
34287 _ACEOF
34288 if ac_fn_cxx_try_compile "$LINENO"; then :
34289 glibcxx_cv_func__sqrtl_use=yes
34290 else
34291 glibcxx_cv_func__sqrtl_use=no
34293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34294 ac_ext=c
34295 ac_cpp='$CPP $CPPFLAGS'
34296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34305 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34307 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34308 for ac_func in _sqrtl
34309 do :
34310 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34311 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34312 cat >>confdefs.h <<_ACEOF
34313 #define HAVE__SQRTL 1
34314 _ACEOF
34317 done
34326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34327 $as_echo_n "checking for sincosl declaration... " >&6; }
34328 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34329 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34330 $as_echo_n "(cached) " >&6
34331 else
34334 ac_ext=cpp
34335 ac_cpp='$CXXCPP $CPPFLAGS'
34336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34341 /* end confdefs.h. */
34342 #include <math.h>
34344 main ()
34346 sincosl(0, 0, 0);
34348 return 0;
34350 _ACEOF
34351 if ac_fn_cxx_try_compile "$LINENO"; then :
34352 glibcxx_cv_func_sincosl_use=yes
34353 else
34354 glibcxx_cv_func_sincosl_use=no
34356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34357 ac_ext=c
34358 ac_cpp='$CPP $CPPFLAGS'
34359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34368 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34370 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34371 for ac_func in sincosl
34372 do :
34373 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34374 if test "x$ac_cv_func_sincosl" = x""yes; then :
34375 cat >>confdefs.h <<_ACEOF
34376 #define HAVE_SINCOSL 1
34377 _ACEOF
34380 done
34382 else
34384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34385 $as_echo_n "checking for _sincosl declaration... " >&6; }
34386 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34387 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34388 $as_echo_n "(cached) " >&6
34389 else
34392 ac_ext=cpp
34393 ac_cpp='$CXXCPP $CPPFLAGS'
34394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34399 /* end confdefs.h. */
34400 #include <math.h>
34402 main ()
34404 _sincosl(0, 0, 0);
34406 return 0;
34408 _ACEOF
34409 if ac_fn_cxx_try_compile "$LINENO"; then :
34410 glibcxx_cv_func__sincosl_use=yes
34411 else
34412 glibcxx_cv_func__sincosl_use=no
34414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34415 ac_ext=c
34416 ac_cpp='$CPP $CPPFLAGS'
34417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34426 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34428 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34429 for ac_func in _sincosl
34430 do :
34431 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34432 if test "x$ac_cv_func__sincosl" = x""yes; then :
34433 cat >>confdefs.h <<_ACEOF
34434 #define HAVE__SINCOSL 1
34435 _ACEOF
34438 done
34447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34448 $as_echo_n "checking for finitel declaration... " >&6; }
34449 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34450 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34451 $as_echo_n "(cached) " >&6
34452 else
34455 ac_ext=cpp
34456 ac_cpp='$CXXCPP $CPPFLAGS'
34457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34462 /* end confdefs.h. */
34463 #include <math.h>
34464 #ifdef HAVE_IEEEFP_H
34465 #include <ieeefp.h>
34466 #endif
34469 main ()
34471 finitel(0);
34473 return 0;
34475 _ACEOF
34476 if ac_fn_cxx_try_compile "$LINENO"; then :
34477 glibcxx_cv_func_finitel_use=yes
34478 else
34479 glibcxx_cv_func_finitel_use=no
34481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34482 ac_ext=c
34483 ac_cpp='$CPP $CPPFLAGS'
34484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34493 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34495 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34496 for ac_func in finitel
34497 do :
34498 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34499 if test "x$ac_cv_func_finitel" = x""yes; then :
34500 cat >>confdefs.h <<_ACEOF
34501 #define HAVE_FINITEL 1
34502 _ACEOF
34505 done
34507 else
34509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34510 $as_echo_n "checking for _finitel declaration... " >&6; }
34511 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34512 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34513 $as_echo_n "(cached) " >&6
34514 else
34517 ac_ext=cpp
34518 ac_cpp='$CXXCPP $CPPFLAGS'
34519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34524 /* end confdefs.h. */
34525 #include <math.h>
34526 #ifdef HAVE_IEEEFP_H
34527 #include <ieeefp.h>
34528 #endif
34531 main ()
34533 _finitel(0);
34535 return 0;
34537 _ACEOF
34538 if ac_fn_cxx_try_compile "$LINENO"; then :
34539 glibcxx_cv_func__finitel_use=yes
34540 else
34541 glibcxx_cv_func__finitel_use=no
34543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34544 ac_ext=c
34545 ac_cpp='$CPP $CPPFLAGS'
34546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34555 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34557 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34558 for ac_func in _finitel
34559 do :
34560 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34561 if test "x$ac_cv_func__finitel" = x""yes; then :
34562 cat >>confdefs.h <<_ACEOF
34563 #define HAVE__FINITEL 1
34564 _ACEOF
34567 done
34575 LIBS="$ac_save_LIBS"
34576 CXXFLAGS="$ac_save_CXXFLAGS"
34579 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34580 ac_save_CXXFLAGS="$CXXFLAGS"
34581 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34585 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34586 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34587 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34588 $as_echo_n "(cached) " >&6
34589 else
34592 ac_ext=cpp
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34600 #include <stdlib.h>
34602 main ()
34604 at_quick_exit(0);
34606 return 0;
34608 _ACEOF
34609 if ac_fn_cxx_try_compile "$LINENO"; then :
34610 glibcxx_cv_func_at_quick_exit_use=yes
34611 else
34612 glibcxx_cv_func_at_quick_exit_use=no
34614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34615 ac_ext=c
34616 ac_cpp='$CPP $CPPFLAGS'
34617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34626 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34627 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34628 for ac_func in at_quick_exit
34629 do :
34630 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34631 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34632 cat >>confdefs.h <<_ACEOF
34633 #define HAVE_AT_QUICK_EXIT 1
34634 _ACEOF
34637 done
34642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34643 $as_echo_n "checking for quick_exit declaration... " >&6; }
34644 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34645 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34646 $as_echo_n "(cached) " >&6
34647 else
34650 ac_ext=cpp
34651 ac_cpp='$CXXCPP $CPPFLAGS'
34652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34657 /* end confdefs.h. */
34658 #include <stdlib.h>
34660 main ()
34662 quick_exit(0);
34664 return 0;
34666 _ACEOF
34667 if ac_fn_cxx_try_compile "$LINENO"; then :
34668 glibcxx_cv_func_quick_exit_use=yes
34669 else
34670 glibcxx_cv_func_quick_exit_use=no
34672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34673 ac_ext=c
34674 ac_cpp='$CPP $CPPFLAGS'
34675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34684 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34685 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34686 for ac_func in quick_exit
34687 do :
34688 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34689 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34690 cat >>confdefs.h <<_ACEOF
34691 #define HAVE_QUICK_EXIT 1
34692 _ACEOF
34695 done
34700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34701 $as_echo_n "checking for strtold declaration... " >&6; }
34702 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34703 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34704 $as_echo_n "(cached) " >&6
34705 else
34708 ac_ext=cpp
34709 ac_cpp='$CXXCPP $CPPFLAGS'
34710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34715 /* end confdefs.h. */
34716 #include <stdlib.h>
34718 main ()
34720 strtold(0, 0);
34722 return 0;
34724 _ACEOF
34725 if ac_fn_cxx_try_compile "$LINENO"; then :
34726 glibcxx_cv_func_strtold_use=yes
34727 else
34728 glibcxx_cv_func_strtold_use=no
34730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34731 ac_ext=c
34732 ac_cpp='$CPP $CPPFLAGS'
34733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34742 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34743 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34744 for ac_func in strtold
34745 do :
34746 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34747 if test "x$ac_cv_func_strtold" = x""yes; then :
34748 cat >>confdefs.h <<_ACEOF
34749 #define HAVE_STRTOLD 1
34750 _ACEOF
34753 done
34760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34761 $as_echo_n "checking for strtof declaration... " >&6; }
34762 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34763 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34764 $as_echo_n "(cached) " >&6
34765 else
34768 ac_ext=cpp
34769 ac_cpp='$CXXCPP $CPPFLAGS'
34770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34775 /* end confdefs.h. */
34776 #include <stdlib.h>
34778 main ()
34780 strtof(0, 0);
34782 return 0;
34784 _ACEOF
34785 if ac_fn_cxx_try_compile "$LINENO"; then :
34786 glibcxx_cv_func_strtof_use=yes
34787 else
34788 glibcxx_cv_func_strtof_use=no
34790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34791 ac_ext=c
34792 ac_cpp='$CPP $CPPFLAGS'
34793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34802 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34803 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34804 for ac_func in strtof
34805 do :
34806 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34807 if test "x$ac_cv_func_strtof" = x""yes; then :
34808 cat >>confdefs.h <<_ACEOF
34809 #define HAVE_STRTOF 1
34810 _ACEOF
34813 done
34820 CXXFLAGS="$ac_save_CXXFLAGS"
34823 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34825 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34827 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34829 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34832 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34834 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34836 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34840 spu-*-elf*)
34842 # All these tests are for C++; save the language and the compiler flags.
34843 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34844 # found in GLIBCXX_CONFIGURE.
34846 ac_ext=cpp
34847 ac_cpp='$CXXCPP $CPPFLAGS'
34848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34853 ac_save_CXXFLAGS="$CXXFLAGS"
34855 # Check for maintainer-mode bits.
34856 if test x"$USE_MAINTAINER_MODE" = xno; then
34857 WERROR=''
34858 else
34859 WERROR='-Werror'
34862 # Check for -ffunction-sections -fdata-sections
34863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34864 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34865 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34867 /* end confdefs.h. */
34868 int foo; void bar() { };
34870 main ()
34874 return 0;
34876 _ACEOF
34877 if ac_fn_cxx_try_compile "$LINENO"; then :
34878 ac_fdsections=yes
34879 else
34880 ac_fdsections=no
34882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34883 if test "$ac_test_CXXFLAGS" = set; then
34884 CXXFLAGS="$ac_save_CXXFLAGS"
34885 else
34886 # this is the suspicious part
34887 CXXFLAGS=''
34889 if test x"$ac_fdsections" = x"yes"; then
34890 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34893 $as_echo "$ac_fdsections" >&6; }
34895 ac_ext=c
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905 # If we're not using GNU ld, then there's no point in even trying these
34906 # tests. Check for that first. We should have already tested for gld
34907 # by now (in libtool), but require it now just to be safe...
34908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34913 # The name set by libtool depends on the version of libtool. Shame on us
34914 # for depending on an impl detail, but c'est la vie. Older versions used
34915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34918 # set (hence we're using an older libtool), then set it.
34919 if test x${with_gnu_ld+set} != xset; then
34920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34922 with_gnu_ld=no
34923 else
34924 with_gnu_ld=$ac_cv_prog_gnu_ld
34928 # Start by getting the version number. I think the libtool test already
34929 # does some of this, but throws away the result.
34930 glibcxx_ld_is_gold=no
34931 if test x"$with_gnu_ld" = x"yes"; then
34932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34933 $as_echo_n "checking for ld version... " >&6; }
34935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34936 glibcxx_ld_is_gold=yes
34938 ldver=`$LD --version 2>/dev/null |
34939 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'`
34941 glibcxx_gnu_ld_version=`echo $ldver | \
34942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34947 # Set --gc-sections.
34948 glibcxx_have_gc_sections=no
34949 if test "$glibcxx_ld_is_gold" = "yes"; then
34950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34951 glibcxx_have_gc_sections=yes
34953 else
34954 glibcxx_gcsections_min_ld=21602
34955 if test x"$with_gnu_ld" = x"yes" &&
34956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34957 glibcxx_have_gc_sections=yes
34960 if test "$glibcxx_have_gc_sections" = "yes"; then
34961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34962 # NB: This flag only works reliably after 2.16.1. Configure tests
34963 # for this are difficult, so hard wire a value that should work.
34965 ac_test_CFLAGS="${CFLAGS+set}"
34966 ac_save_CFLAGS="$CFLAGS"
34967 CFLAGS='-Wl,--gc-sections'
34969 # Check for -Wl,--gc-sections
34970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34972 if test x$gcc_no_link = xyes; then
34973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34976 /* end confdefs.h. */
34977 int one(void) { return 1; }
34978 int two(void) { return 2; }
34981 main ()
34983 two();
34985 return 0;
34987 _ACEOF
34988 if ac_fn_c_try_link "$LINENO"; then :
34989 ac_gcsections=yes
34990 else
34991 ac_gcsections=no
34993 rm -f core conftest.err conftest.$ac_objext \
34994 conftest$ac_exeext conftest.$ac_ext
34995 if test "$ac_gcsections" = "yes"; then
34996 rm -f conftest.c
34997 touch conftest.c
34998 if $CC -c conftest.c; then
34999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35000 grep "Warning: gc-sections option ignored" > /dev/null; then
35001 ac_gcsections=no
35004 rm -f conftest.c conftest.o conftest
35006 if test "$ac_gcsections" = "yes"; then
35007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35010 $as_echo "$ac_gcsections" >&6; }
35012 if test "$ac_test_CFLAGS" = set; then
35013 CFLAGS="$ac_save_CFLAGS"
35014 else
35015 # this is the suspicious part
35016 CFLAGS=''
35020 # Set -z,relro.
35021 # Note this is only for shared objects.
35022 ac_ld_relro=no
35023 if test x"$with_gnu_ld" = x"yes"; then
35024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35027 if test -n "$cxx_z_relo"; then
35028 OPT_LDFLAGS="-Wl,-z,relro"
35029 ac_ld_relro=yes
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35032 $as_echo "$ac_ld_relro" >&6; }
35035 # Set linker optimization flags.
35036 if test x"$with_gnu_ld" = x"yes"; then
35037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35044 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35045 ac_save_CXXFLAGS="$CXXFLAGS"
35046 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35049 $as_echo_n "checking for sin in -lm... " >&6; }
35050 if test "${ac_cv_lib_m_sin+set}" = set; then :
35051 $as_echo_n "(cached) " >&6
35052 else
35053 ac_check_lib_save_LIBS=$LIBS
35054 LIBS="-lm $LIBS"
35055 if test x$gcc_no_link = xyes; then
35056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35059 /* end confdefs.h. */
35061 /* Override any GCC internal prototype to avoid an error.
35062 Use char because int might match the return type of a GCC
35063 builtin and then its argument prototype would still apply. */
35064 #ifdef __cplusplus
35065 extern "C"
35066 #endif
35067 char sin ();
35069 main ()
35071 return sin ();
35073 return 0;
35075 _ACEOF
35076 if ac_fn_c_try_link "$LINENO"; then :
35077 ac_cv_lib_m_sin=yes
35078 else
35079 ac_cv_lib_m_sin=no
35081 rm -f core conftest.err conftest.$ac_objext \
35082 conftest$ac_exeext conftest.$ac_ext
35083 LIBS=$ac_check_lib_save_LIBS
35085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35086 $as_echo "$ac_cv_lib_m_sin" >&6; }
35087 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35088 libm="-lm"
35091 ac_save_LIBS="$LIBS"
35092 LIBS="$LIBS $libm"
35096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35097 $as_echo_n "checking for isinf declaration... " >&6; }
35098 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35099 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35100 $as_echo_n "(cached) " >&6
35101 else
35104 ac_ext=cpp
35105 ac_cpp='$CXXCPP $CPPFLAGS'
35106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35111 /* end confdefs.h. */
35112 #include <math.h>
35113 #ifdef HAVE_IEEEFP_H
35114 #include <ieeefp.h>
35115 #endif
35118 main ()
35120 isinf(0);
35122 return 0;
35124 _ACEOF
35125 if ac_fn_cxx_try_compile "$LINENO"; then :
35126 glibcxx_cv_func_isinf_use=yes
35127 else
35128 glibcxx_cv_func_isinf_use=no
35130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35131 ac_ext=c
35132 ac_cpp='$CPP $CPPFLAGS'
35133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35142 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35144 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35145 for ac_func in isinf
35146 do :
35147 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35148 if test "x$ac_cv_func_isinf" = x""yes; then :
35149 cat >>confdefs.h <<_ACEOF
35150 #define HAVE_ISINF 1
35151 _ACEOF
35154 done
35156 else
35158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35159 $as_echo_n "checking for _isinf declaration... " >&6; }
35160 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35161 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35162 $as_echo_n "(cached) " >&6
35163 else
35166 ac_ext=cpp
35167 ac_cpp='$CXXCPP $CPPFLAGS'
35168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35173 /* end confdefs.h. */
35174 #include <math.h>
35175 #ifdef HAVE_IEEEFP_H
35176 #include <ieeefp.h>
35177 #endif
35180 main ()
35182 _isinf(0);
35184 return 0;
35186 _ACEOF
35187 if ac_fn_cxx_try_compile "$LINENO"; then :
35188 glibcxx_cv_func__isinf_use=yes
35189 else
35190 glibcxx_cv_func__isinf_use=no
35192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35193 ac_ext=c
35194 ac_cpp='$CPP $CPPFLAGS'
35195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35204 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35206 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35207 for ac_func in _isinf
35208 do :
35209 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35210 if test "x$ac_cv_func__isinf" = x""yes; then :
35211 cat >>confdefs.h <<_ACEOF
35212 #define HAVE__ISINF 1
35213 _ACEOF
35216 done
35225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35226 $as_echo_n "checking for isnan declaration... " >&6; }
35227 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35228 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35229 $as_echo_n "(cached) " >&6
35230 else
35233 ac_ext=cpp
35234 ac_cpp='$CXXCPP $CPPFLAGS'
35235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35240 /* end confdefs.h. */
35241 #include <math.h>
35242 #ifdef HAVE_IEEEFP_H
35243 #include <ieeefp.h>
35244 #endif
35247 main ()
35249 isnan(0);
35251 return 0;
35253 _ACEOF
35254 if ac_fn_cxx_try_compile "$LINENO"; then :
35255 glibcxx_cv_func_isnan_use=yes
35256 else
35257 glibcxx_cv_func_isnan_use=no
35259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35260 ac_ext=c
35261 ac_cpp='$CPP $CPPFLAGS'
35262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35271 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35273 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35274 for ac_func in isnan
35275 do :
35276 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35277 if test "x$ac_cv_func_isnan" = x""yes; then :
35278 cat >>confdefs.h <<_ACEOF
35279 #define HAVE_ISNAN 1
35280 _ACEOF
35283 done
35285 else
35287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35288 $as_echo_n "checking for _isnan declaration... " >&6; }
35289 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35290 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35291 $as_echo_n "(cached) " >&6
35292 else
35295 ac_ext=cpp
35296 ac_cpp='$CXXCPP $CPPFLAGS'
35297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35302 /* end confdefs.h. */
35303 #include <math.h>
35304 #ifdef HAVE_IEEEFP_H
35305 #include <ieeefp.h>
35306 #endif
35309 main ()
35311 _isnan(0);
35313 return 0;
35315 _ACEOF
35316 if ac_fn_cxx_try_compile "$LINENO"; then :
35317 glibcxx_cv_func__isnan_use=yes
35318 else
35319 glibcxx_cv_func__isnan_use=no
35321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35322 ac_ext=c
35323 ac_cpp='$CPP $CPPFLAGS'
35324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35333 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35335 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35336 for ac_func in _isnan
35337 do :
35338 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35339 if test "x$ac_cv_func__isnan" = x""yes; then :
35340 cat >>confdefs.h <<_ACEOF
35341 #define HAVE__ISNAN 1
35342 _ACEOF
35345 done
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35355 $as_echo_n "checking for finite declaration... " >&6; }
35356 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35357 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35358 $as_echo_n "(cached) " >&6
35359 else
35362 ac_ext=cpp
35363 ac_cpp='$CXXCPP $CPPFLAGS'
35364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35369 /* end confdefs.h. */
35370 #include <math.h>
35371 #ifdef HAVE_IEEEFP_H
35372 #include <ieeefp.h>
35373 #endif
35376 main ()
35378 finite(0);
35380 return 0;
35382 _ACEOF
35383 if ac_fn_cxx_try_compile "$LINENO"; then :
35384 glibcxx_cv_func_finite_use=yes
35385 else
35386 glibcxx_cv_func_finite_use=no
35388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35389 ac_ext=c
35390 ac_cpp='$CPP $CPPFLAGS'
35391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35400 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35402 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35403 for ac_func in finite
35404 do :
35405 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35406 if test "x$ac_cv_func_finite" = x""yes; then :
35407 cat >>confdefs.h <<_ACEOF
35408 #define HAVE_FINITE 1
35409 _ACEOF
35412 done
35414 else
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35417 $as_echo_n "checking for _finite declaration... " >&6; }
35418 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35419 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35424 ac_ext=cpp
35425 ac_cpp='$CXXCPP $CPPFLAGS'
35426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 #include <math.h>
35433 #ifdef HAVE_IEEEFP_H
35434 #include <ieeefp.h>
35435 #endif
35438 main ()
35440 _finite(0);
35442 return 0;
35444 _ACEOF
35445 if ac_fn_cxx_try_compile "$LINENO"; then :
35446 glibcxx_cv_func__finite_use=yes
35447 else
35448 glibcxx_cv_func__finite_use=no
35450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35451 ac_ext=c
35452 ac_cpp='$CPP $CPPFLAGS'
35453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35462 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35464 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35465 for ac_func in _finite
35466 do :
35467 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35468 if test "x$ac_cv_func__finite" = x""yes; then :
35469 cat >>confdefs.h <<_ACEOF
35470 #define HAVE__FINITE 1
35471 _ACEOF
35474 done
35483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35484 $as_echo_n "checking for sincos declaration... " >&6; }
35485 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35486 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35487 $as_echo_n "(cached) " >&6
35488 else
35491 ac_ext=cpp
35492 ac_cpp='$CXXCPP $CPPFLAGS'
35493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35498 /* end confdefs.h. */
35499 #include <math.h>
35501 main ()
35503 sincos(0, 0, 0);
35505 return 0;
35507 _ACEOF
35508 if ac_fn_cxx_try_compile "$LINENO"; then :
35509 glibcxx_cv_func_sincos_use=yes
35510 else
35511 glibcxx_cv_func_sincos_use=no
35513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35514 ac_ext=c
35515 ac_cpp='$CPP $CPPFLAGS'
35516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35525 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35527 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35528 for ac_func in sincos
35529 do :
35530 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35531 if test "x$ac_cv_func_sincos" = x""yes; then :
35532 cat >>confdefs.h <<_ACEOF
35533 #define HAVE_SINCOS 1
35534 _ACEOF
35537 done
35539 else
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35542 $as_echo_n "checking for _sincos declaration... " >&6; }
35543 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35544 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35545 $as_echo_n "(cached) " >&6
35546 else
35549 ac_ext=cpp
35550 ac_cpp='$CXXCPP $CPPFLAGS'
35551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35556 /* end confdefs.h. */
35557 #include <math.h>
35559 main ()
35561 _sincos(0, 0, 0);
35563 return 0;
35565 _ACEOF
35566 if ac_fn_cxx_try_compile "$LINENO"; then :
35567 glibcxx_cv_func__sincos_use=yes
35568 else
35569 glibcxx_cv_func__sincos_use=no
35571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572 ac_ext=c
35573 ac_cpp='$CPP $CPPFLAGS'
35574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35583 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35585 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35586 for ac_func in _sincos
35587 do :
35588 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35589 if test "x$ac_cv_func__sincos" = x""yes; then :
35590 cat >>confdefs.h <<_ACEOF
35591 #define HAVE__SINCOS 1
35592 _ACEOF
35595 done
35604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35605 $as_echo_n "checking for fpclass declaration... " >&6; }
35606 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35607 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35608 $as_echo_n "(cached) " >&6
35609 else
35612 ac_ext=cpp
35613 ac_cpp='$CXXCPP $CPPFLAGS'
35614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35619 /* end confdefs.h. */
35620 #include <math.h>
35621 #ifdef HAVE_IEEEFP_H
35622 #include <ieeefp.h>
35623 #endif
35626 main ()
35628 fpclass(0);
35630 return 0;
35632 _ACEOF
35633 if ac_fn_cxx_try_compile "$LINENO"; then :
35634 glibcxx_cv_func_fpclass_use=yes
35635 else
35636 glibcxx_cv_func_fpclass_use=no
35638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35639 ac_ext=c
35640 ac_cpp='$CPP $CPPFLAGS'
35641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35650 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35652 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35653 for ac_func in fpclass
35654 do :
35655 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35656 if test "x$ac_cv_func_fpclass" = x""yes; then :
35657 cat >>confdefs.h <<_ACEOF
35658 #define HAVE_FPCLASS 1
35659 _ACEOF
35662 done
35664 else
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35667 $as_echo_n "checking for _fpclass declaration... " >&6; }
35668 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35669 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35670 $as_echo_n "(cached) " >&6
35671 else
35674 ac_ext=cpp
35675 ac_cpp='$CXXCPP $CPPFLAGS'
35676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35681 /* end confdefs.h. */
35682 #include <math.h>
35683 #ifdef HAVE_IEEEFP_H
35684 #include <ieeefp.h>
35685 #endif
35688 main ()
35690 _fpclass(0);
35692 return 0;
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func__fpclass_use=yes
35697 else
35698 glibcxx_cv_func__fpclass_use=no
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35712 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35714 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35715 for ac_func in _fpclass
35716 do :
35717 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35718 if test "x$ac_cv_func__fpclass" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE__FPCLASS 1
35721 _ACEOF
35724 done
35733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35734 $as_echo_n "checking for qfpclass declaration... " >&6; }
35735 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35736 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35737 $as_echo_n "(cached) " >&6
35738 else
35741 ac_ext=cpp
35742 ac_cpp='$CXXCPP $CPPFLAGS'
35743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35748 /* end confdefs.h. */
35749 #include <math.h>
35750 #ifdef HAVE_IEEEFP_H
35751 #include <ieeefp.h>
35752 #endif
35755 main ()
35757 qfpclass(0);
35759 return 0;
35761 _ACEOF
35762 if ac_fn_cxx_try_compile "$LINENO"; then :
35763 glibcxx_cv_func_qfpclass_use=yes
35764 else
35765 glibcxx_cv_func_qfpclass_use=no
35767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35768 ac_ext=c
35769 ac_cpp='$CPP $CPPFLAGS'
35770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35779 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35781 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35782 for ac_func in qfpclass
35783 do :
35784 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35785 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35786 cat >>confdefs.h <<_ACEOF
35787 #define HAVE_QFPCLASS 1
35788 _ACEOF
35791 done
35793 else
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35796 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35797 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35798 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35799 $as_echo_n "(cached) " >&6
35800 else
35803 ac_ext=cpp
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h. */
35811 #include <math.h>
35812 #ifdef HAVE_IEEEFP_H
35813 #include <ieeefp.h>
35814 #endif
35817 main ()
35819 _qfpclass(0);
35821 return 0;
35823 _ACEOF
35824 if ac_fn_cxx_try_compile "$LINENO"; then :
35825 glibcxx_cv_func__qfpclass_use=yes
35826 else
35827 glibcxx_cv_func__qfpclass_use=no
35829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35830 ac_ext=c
35831 ac_cpp='$CPP $CPPFLAGS'
35832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35841 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35843 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35844 for ac_func in _qfpclass
35845 do :
35846 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35847 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35848 cat >>confdefs.h <<_ACEOF
35849 #define HAVE__QFPCLASS 1
35850 _ACEOF
35853 done
35862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35863 $as_echo_n "checking for hypot declaration... " >&6; }
35864 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35865 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35866 $as_echo_n "(cached) " >&6
35867 else
35870 ac_ext=cpp
35871 ac_cpp='$CXXCPP $CPPFLAGS'
35872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35877 /* end confdefs.h. */
35878 #include <math.h>
35880 main ()
35882 hypot(0, 0);
35884 return 0;
35886 _ACEOF
35887 if ac_fn_cxx_try_compile "$LINENO"; then :
35888 glibcxx_cv_func_hypot_use=yes
35889 else
35890 glibcxx_cv_func_hypot_use=no
35892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35893 ac_ext=c
35894 ac_cpp='$CPP $CPPFLAGS'
35895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35904 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35906 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35907 for ac_func in hypot
35908 do :
35909 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35910 if test "x$ac_cv_func_hypot" = x""yes; then :
35911 cat >>confdefs.h <<_ACEOF
35912 #define HAVE_HYPOT 1
35913 _ACEOF
35916 done
35918 else
35920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35921 $as_echo_n "checking for _hypot declaration... " >&6; }
35922 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35923 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35924 $as_echo_n "(cached) " >&6
35925 else
35928 ac_ext=cpp
35929 ac_cpp='$CXXCPP $CPPFLAGS'
35930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35935 /* end confdefs.h. */
35936 #include <math.h>
35938 main ()
35940 _hypot(0, 0);
35942 return 0;
35944 _ACEOF
35945 if ac_fn_cxx_try_compile "$LINENO"; then :
35946 glibcxx_cv_func__hypot_use=yes
35947 else
35948 glibcxx_cv_func__hypot_use=no
35950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35951 ac_ext=c
35952 ac_cpp='$CPP $CPPFLAGS'
35953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35962 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35964 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35965 for ac_func in _hypot
35966 do :
35967 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35968 if test "x$ac_cv_func__hypot" = x""yes; then :
35969 cat >>confdefs.h <<_ACEOF
35970 #define HAVE__HYPOT 1
35971 _ACEOF
35974 done
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35984 $as_echo_n "checking for float trig functions... " >&6; }
35985 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
36000 main ()
36002 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36004 return 0;
36006 _ACEOF
36007 if ac_fn_cxx_try_compile "$LINENO"; then :
36008 glibcxx_cv_func_float_trig_use=yes
36009 else
36010 glibcxx_cv_func_float_trig_use=no
36012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36013 ac_ext=c
36014 ac_cpp='$CPP $CPPFLAGS'
36015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36022 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36023 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36024 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36025 do :
36026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36028 eval as_val=\$$as_ac_var
36029 if test "x$as_val" = x""yes; then :
36030 cat >>confdefs.h <<_ACEOF
36031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36032 _ACEOF
36035 done
36037 else
36038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36039 $as_echo_n "checking for _float trig functions... " >&6; }
36040 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36055 main ()
36057 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36059 return 0;
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func__float_trig_use=yes
36064 else
36065 glibcxx_cv_func__float_trig_use=no
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36077 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36078 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36079 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36080 do :
36081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36083 eval as_val=\$$as_ac_var
36084 if test "x$as_val" = x""yes; then :
36085 cat >>confdefs.h <<_ACEOF
36086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36087 _ACEOF
36090 done
36099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36100 $as_echo_n "checking for float round functions... " >&6; }
36101 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36102 $as_echo_n "(cached) " >&6
36103 else
36106 ac_ext=cpp
36107 ac_cpp='$CXXCPP $CPPFLAGS'
36108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36113 /* end confdefs.h. */
36114 #include <math.h>
36116 main ()
36118 ceilf (0); floorf (0);
36120 return 0;
36122 _ACEOF
36123 if ac_fn_cxx_try_compile "$LINENO"; then :
36124 glibcxx_cv_func_float_round_use=yes
36125 else
36126 glibcxx_cv_func_float_round_use=no
36128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36129 ac_ext=c
36130 ac_cpp='$CPP $CPPFLAGS'
36131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36138 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36139 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36140 for ac_func in ceilf floorf
36141 do :
36142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36144 eval as_val=\$$as_ac_var
36145 if test "x$as_val" = x""yes; then :
36146 cat >>confdefs.h <<_ACEOF
36147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36148 _ACEOF
36151 done
36153 else
36154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36155 $as_echo_n "checking for _float round functions... " >&6; }
36156 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36157 $as_echo_n "(cached) " >&6
36158 else
36161 ac_ext=cpp
36162 ac_cpp='$CXXCPP $CPPFLAGS'
36163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36168 /* end confdefs.h. */
36169 #include <math.h>
36171 main ()
36173 _ceilf (0); _floorf (0);
36175 return 0;
36177 _ACEOF
36178 if ac_fn_cxx_try_compile "$LINENO"; then :
36179 glibcxx_cv_func__float_round_use=yes
36180 else
36181 glibcxx_cv_func__float_round_use=no
36183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36184 ac_ext=c
36185 ac_cpp='$CPP $CPPFLAGS'
36186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36193 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36194 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36195 for ac_func in _ceilf _floorf
36196 do :
36197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36199 eval as_val=\$$as_ac_var
36200 if test "x$as_val" = x""yes; then :
36201 cat >>confdefs.h <<_ACEOF
36202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36203 _ACEOF
36206 done
36216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36217 $as_echo_n "checking for expf declaration... " >&6; }
36218 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36219 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36220 $as_echo_n "(cached) " >&6
36221 else
36224 ac_ext=cpp
36225 ac_cpp='$CXXCPP $CPPFLAGS'
36226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36231 /* end confdefs.h. */
36232 #include <math.h>
36233 #ifdef HAVE_IEEEFP_H
36234 #include <ieeefp.h>
36235 #endif
36238 main ()
36240 expf(0);
36242 return 0;
36244 _ACEOF
36245 if ac_fn_cxx_try_compile "$LINENO"; then :
36246 glibcxx_cv_func_expf_use=yes
36247 else
36248 glibcxx_cv_func_expf_use=no
36250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36251 ac_ext=c
36252 ac_cpp='$CPP $CPPFLAGS'
36253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36262 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36264 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36265 for ac_func in expf
36266 do :
36267 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36268 if test "x$ac_cv_func_expf" = x""yes; then :
36269 cat >>confdefs.h <<_ACEOF
36270 #define HAVE_EXPF 1
36271 _ACEOF
36274 done
36276 else
36278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36279 $as_echo_n "checking for _expf declaration... " >&6; }
36280 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36281 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36282 $as_echo_n "(cached) " >&6
36283 else
36286 ac_ext=cpp
36287 ac_cpp='$CXXCPP $CPPFLAGS'
36288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36293 /* end confdefs.h. */
36294 #include <math.h>
36295 #ifdef HAVE_IEEEFP_H
36296 #include <ieeefp.h>
36297 #endif
36300 main ()
36302 _expf(0);
36304 return 0;
36306 _ACEOF
36307 if ac_fn_cxx_try_compile "$LINENO"; then :
36308 glibcxx_cv_func__expf_use=yes
36309 else
36310 glibcxx_cv_func__expf_use=no
36312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36313 ac_ext=c
36314 ac_cpp='$CPP $CPPFLAGS'
36315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36324 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36326 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36327 for ac_func in _expf
36328 do :
36329 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36330 if test "x$ac_cv_func__expf" = x""yes; then :
36331 cat >>confdefs.h <<_ACEOF
36332 #define HAVE__EXPF 1
36333 _ACEOF
36336 done
36345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36346 $as_echo_n "checking for isnanf declaration... " >&6; }
36347 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36348 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36349 $as_echo_n "(cached) " >&6
36350 else
36353 ac_ext=cpp
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36360 /* end confdefs.h. */
36361 #include <math.h>
36362 #ifdef HAVE_IEEEFP_H
36363 #include <ieeefp.h>
36364 #endif
36367 main ()
36369 isnanf(0);
36371 return 0;
36373 _ACEOF
36374 if ac_fn_cxx_try_compile "$LINENO"; then :
36375 glibcxx_cv_func_isnanf_use=yes
36376 else
36377 glibcxx_cv_func_isnanf_use=no
36379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36380 ac_ext=c
36381 ac_cpp='$CPP $CPPFLAGS'
36382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36391 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36393 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36394 for ac_func in isnanf
36395 do :
36396 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36397 if test "x$ac_cv_func_isnanf" = x""yes; then :
36398 cat >>confdefs.h <<_ACEOF
36399 #define HAVE_ISNANF 1
36400 _ACEOF
36403 done
36405 else
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36408 $as_echo_n "checking for _isnanf declaration... " >&6; }
36409 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36410 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36411 $as_echo_n "(cached) " >&6
36412 else
36415 ac_ext=cpp
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36422 /* end confdefs.h. */
36423 #include <math.h>
36424 #ifdef HAVE_IEEEFP_H
36425 #include <ieeefp.h>
36426 #endif
36429 main ()
36431 _isnanf(0);
36433 return 0;
36435 _ACEOF
36436 if ac_fn_cxx_try_compile "$LINENO"; then :
36437 glibcxx_cv_func__isnanf_use=yes
36438 else
36439 glibcxx_cv_func__isnanf_use=no
36441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36442 ac_ext=c
36443 ac_cpp='$CPP $CPPFLAGS'
36444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36453 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36455 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36456 for ac_func in _isnanf
36457 do :
36458 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36459 if test "x$ac_cv_func__isnanf" = x""yes; then :
36460 cat >>confdefs.h <<_ACEOF
36461 #define HAVE__ISNANF 1
36462 _ACEOF
36465 done
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36475 $as_echo_n "checking for isinff declaration... " >&6; }
36476 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36477 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36478 $as_echo_n "(cached) " >&6
36479 else
36482 ac_ext=cpp
36483 ac_cpp='$CXXCPP $CPPFLAGS'
36484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36489 /* end confdefs.h. */
36490 #include <math.h>
36491 #ifdef HAVE_IEEEFP_H
36492 #include <ieeefp.h>
36493 #endif
36496 main ()
36498 isinff(0);
36500 return 0;
36502 _ACEOF
36503 if ac_fn_cxx_try_compile "$LINENO"; then :
36504 glibcxx_cv_func_isinff_use=yes
36505 else
36506 glibcxx_cv_func_isinff_use=no
36508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36509 ac_ext=c
36510 ac_cpp='$CPP $CPPFLAGS'
36511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36520 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36522 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36523 for ac_func in isinff
36524 do :
36525 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36526 if test "x$ac_cv_func_isinff" = x""yes; then :
36527 cat >>confdefs.h <<_ACEOF
36528 #define HAVE_ISINFF 1
36529 _ACEOF
36532 done
36534 else
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36537 $as_echo_n "checking for _isinff declaration... " >&6; }
36538 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36539 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36553 #ifdef HAVE_IEEEFP_H
36554 #include <ieeefp.h>
36555 #endif
36558 main ()
36560 _isinff(0);
36562 return 0;
36564 _ACEOF
36565 if ac_fn_cxx_try_compile "$LINENO"; then :
36566 glibcxx_cv_func__isinff_use=yes
36567 else
36568 glibcxx_cv_func__isinff_use=no
36570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36571 ac_ext=c
36572 ac_cpp='$CPP $CPPFLAGS'
36573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36582 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36584 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36585 for ac_func in _isinff
36586 do :
36587 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36588 if test "x$ac_cv_func__isinff" = x""yes; then :
36589 cat >>confdefs.h <<_ACEOF
36590 #define HAVE__ISINFF 1
36591 _ACEOF
36594 done
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36604 $as_echo_n "checking for atan2f declaration... " >&6; }
36605 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36606 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36607 $as_echo_n "(cached) " >&6
36608 else
36611 ac_ext=cpp
36612 ac_cpp='$CXXCPP $CPPFLAGS'
36613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36618 /* end confdefs.h. */
36619 #include <math.h>
36621 main ()
36623 atan2f(0, 0);
36625 return 0;
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629 glibcxx_cv_func_atan2f_use=yes
36630 else
36631 glibcxx_cv_func_atan2f_use=no
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36645 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36647 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36648 for ac_func in atan2f
36649 do :
36650 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36651 if test "x$ac_cv_func_atan2f" = x""yes; then :
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_ATAN2F 1
36654 _ACEOF
36657 done
36659 else
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36662 $as_echo_n "checking for _atan2f declaration... " >&6; }
36663 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36664 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36679 main ()
36681 _atan2f(0, 0);
36683 return 0;
36685 _ACEOF
36686 if ac_fn_cxx_try_compile "$LINENO"; then :
36687 glibcxx_cv_func__atan2f_use=yes
36688 else
36689 glibcxx_cv_func__atan2f_use=no
36691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36692 ac_ext=c
36693 ac_cpp='$CPP $CPPFLAGS'
36694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36703 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36705 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36706 for ac_func in _atan2f
36707 do :
36708 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36709 if test "x$ac_cv_func__atan2f" = x""yes; then :
36710 cat >>confdefs.h <<_ACEOF
36711 #define HAVE__ATAN2F 1
36712 _ACEOF
36715 done
36724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36725 $as_echo_n "checking for fabsf declaration... " >&6; }
36726 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36727 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36728 $as_echo_n "(cached) " >&6
36729 else
36732 ac_ext=cpp
36733 ac_cpp='$CXXCPP $CPPFLAGS'
36734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36739 /* end confdefs.h. */
36740 #include <math.h>
36741 #ifdef HAVE_IEEEFP_H
36742 #include <ieeefp.h>
36743 #endif
36746 main ()
36748 fabsf(0);
36750 return 0;
36752 _ACEOF
36753 if ac_fn_cxx_try_compile "$LINENO"; then :
36754 glibcxx_cv_func_fabsf_use=yes
36755 else
36756 glibcxx_cv_func_fabsf_use=no
36758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36759 ac_ext=c
36760 ac_cpp='$CPP $CPPFLAGS'
36761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36770 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36772 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36773 for ac_func in fabsf
36774 do :
36775 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36776 if test "x$ac_cv_func_fabsf" = x""yes; then :
36777 cat >>confdefs.h <<_ACEOF
36778 #define HAVE_FABSF 1
36779 _ACEOF
36782 done
36784 else
36786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36787 $as_echo_n "checking for _fabsf declaration... " >&6; }
36788 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36789 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36790 $as_echo_n "(cached) " >&6
36791 else
36794 ac_ext=cpp
36795 ac_cpp='$CXXCPP $CPPFLAGS'
36796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36801 /* end confdefs.h. */
36802 #include <math.h>
36803 #ifdef HAVE_IEEEFP_H
36804 #include <ieeefp.h>
36805 #endif
36808 main ()
36810 _fabsf(0);
36812 return 0;
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func__fabsf_use=yes
36817 else
36818 glibcxx_cv_func__fabsf_use=no
36820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36821 ac_ext=c
36822 ac_cpp='$CPP $CPPFLAGS'
36823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
36832 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36834 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36835 for ac_func in _fabsf
36836 do :
36837 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36838 if test "x$ac_cv_func__fabsf" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE__FABSF 1
36841 _ACEOF
36844 done
36853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36854 $as_echo_n "checking for fmodf declaration... " >&6; }
36855 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36856 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
36857 $as_echo_n "(cached) " >&6
36858 else
36861 ac_ext=cpp
36862 ac_cpp='$CXXCPP $CPPFLAGS'
36863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36868 /* end confdefs.h. */
36869 #include <math.h>
36871 main ()
36873 fmodf(0, 0);
36875 return 0;
36877 _ACEOF
36878 if ac_fn_cxx_try_compile "$LINENO"; then :
36879 glibcxx_cv_func_fmodf_use=yes
36880 else
36881 glibcxx_cv_func_fmodf_use=no
36883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36884 ac_ext=c
36885 ac_cpp='$CPP $CPPFLAGS'
36886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
36895 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36897 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36898 for ac_func in fmodf
36899 do :
36900 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36901 if test "x$ac_cv_func_fmodf" = x""yes; then :
36902 cat >>confdefs.h <<_ACEOF
36903 #define HAVE_FMODF 1
36904 _ACEOF
36907 done
36909 else
36911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36912 $as_echo_n "checking for _fmodf declaration... " >&6; }
36913 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36914 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
36915 $as_echo_n "(cached) " >&6
36916 else
36919 ac_ext=cpp
36920 ac_cpp='$CXXCPP $CPPFLAGS'
36921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36926 /* end confdefs.h. */
36927 #include <math.h>
36929 main ()
36931 _fmodf(0, 0);
36933 return 0;
36935 _ACEOF
36936 if ac_fn_cxx_try_compile "$LINENO"; then :
36937 glibcxx_cv_func__fmodf_use=yes
36938 else
36939 glibcxx_cv_func__fmodf_use=no
36941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36942 ac_ext=c
36943 ac_cpp='$CPP $CPPFLAGS'
36944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
36953 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36955 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36956 for ac_func in _fmodf
36957 do :
36958 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36959 if test "x$ac_cv_func__fmodf" = x""yes; then :
36960 cat >>confdefs.h <<_ACEOF
36961 #define HAVE__FMODF 1
36962 _ACEOF
36965 done
36974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36975 $as_echo_n "checking for frexpf declaration... " >&6; }
36976 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36977 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36978 $as_echo_n "(cached) " >&6
36979 else
36982 ac_ext=cpp
36983 ac_cpp='$CXXCPP $CPPFLAGS'
36984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36989 /* end confdefs.h. */
36990 #include <math.h>
36992 main ()
36994 frexpf(0, 0);
36996 return 0;
36998 _ACEOF
36999 if ac_fn_cxx_try_compile "$LINENO"; then :
37000 glibcxx_cv_func_frexpf_use=yes
37001 else
37002 glibcxx_cv_func_frexpf_use=no
37004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37005 ac_ext=c
37006 ac_cpp='$CPP $CPPFLAGS'
37007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37016 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37018 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37019 for ac_func in frexpf
37020 do :
37021 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37022 if test "x$ac_cv_func_frexpf" = x""yes; then :
37023 cat >>confdefs.h <<_ACEOF
37024 #define HAVE_FREXPF 1
37025 _ACEOF
37028 done
37030 else
37032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37033 $as_echo_n "checking for _frexpf declaration... " >&6; }
37034 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37035 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37036 $as_echo_n "(cached) " >&6
37037 else
37040 ac_ext=cpp
37041 ac_cpp='$CXXCPP $CPPFLAGS'
37042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37047 /* end confdefs.h. */
37048 #include <math.h>
37050 main ()
37052 _frexpf(0, 0);
37054 return 0;
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058 glibcxx_cv_func__frexpf_use=yes
37059 else
37060 glibcxx_cv_func__frexpf_use=no
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063 ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37074 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37076 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37077 for ac_func in _frexpf
37078 do :
37079 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37080 if test "x$ac_cv_func__frexpf" = x""yes; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE__FREXPF 1
37083 _ACEOF
37086 done
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37096 $as_echo_n "checking for hypotf declaration... " >&6; }
37097 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37098 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37113 main ()
37115 hypotf(0, 0);
37117 return 0;
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121 glibcxx_cv_func_hypotf_use=yes
37122 else
37123 glibcxx_cv_func_hypotf_use=no
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126 ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37137 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37139 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37140 for ac_func in hypotf
37141 do :
37142 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37143 if test "x$ac_cv_func_hypotf" = x""yes; then :
37144 cat >>confdefs.h <<_ACEOF
37145 #define HAVE_HYPOTF 1
37146 _ACEOF
37149 done
37151 else
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37154 $as_echo_n "checking for _hypotf declaration... " >&6; }
37155 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37156 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37157 $as_echo_n "(cached) " >&6
37158 else
37161 ac_ext=cpp
37162 ac_cpp='$CXXCPP $CPPFLAGS'
37163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 /* end confdefs.h. */
37169 #include <math.h>
37171 main ()
37173 _hypotf(0, 0);
37175 return 0;
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179 glibcxx_cv_func__hypotf_use=yes
37180 else
37181 glibcxx_cv_func__hypotf_use=no
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37195 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37197 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37198 for ac_func in _hypotf
37199 do :
37200 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37201 if test "x$ac_cv_func__hypotf" = x""yes; then :
37202 cat >>confdefs.h <<_ACEOF
37203 #define HAVE__HYPOTF 1
37204 _ACEOF
37207 done
37216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37217 $as_echo_n "checking for ldexpf declaration... " >&6; }
37218 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37219 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37220 $as_echo_n "(cached) " >&6
37221 else
37224 ac_ext=cpp
37225 ac_cpp='$CXXCPP $CPPFLAGS'
37226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37231 /* end confdefs.h. */
37232 #include <math.h>
37234 main ()
37236 ldexpf(0, 0);
37238 return 0;
37240 _ACEOF
37241 if ac_fn_cxx_try_compile "$LINENO"; then :
37242 glibcxx_cv_func_ldexpf_use=yes
37243 else
37244 glibcxx_cv_func_ldexpf_use=no
37246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37247 ac_ext=c
37248 ac_cpp='$CPP $CPPFLAGS'
37249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37258 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37260 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37261 for ac_func in ldexpf
37262 do :
37263 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37264 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37265 cat >>confdefs.h <<_ACEOF
37266 #define HAVE_LDEXPF 1
37267 _ACEOF
37270 done
37272 else
37274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37275 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37276 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37277 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37278 $as_echo_n "(cached) " >&6
37279 else
37282 ac_ext=cpp
37283 ac_cpp='$CXXCPP $CPPFLAGS'
37284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37289 /* end confdefs.h. */
37290 #include <math.h>
37292 main ()
37294 _ldexpf(0, 0);
37296 return 0;
37298 _ACEOF
37299 if ac_fn_cxx_try_compile "$LINENO"; then :
37300 glibcxx_cv_func__ldexpf_use=yes
37301 else
37302 glibcxx_cv_func__ldexpf_use=no
37304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37305 ac_ext=c
37306 ac_cpp='$CPP $CPPFLAGS'
37307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37316 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37318 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37319 for ac_func in _ldexpf
37320 do :
37321 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37322 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37323 cat >>confdefs.h <<_ACEOF
37324 #define HAVE__LDEXPF 1
37325 _ACEOF
37328 done
37337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37338 $as_echo_n "checking for logf declaration... " >&6; }
37339 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37340 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37341 $as_echo_n "(cached) " >&6
37342 else
37345 ac_ext=cpp
37346 ac_cpp='$CXXCPP $CPPFLAGS'
37347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37352 /* end confdefs.h. */
37353 #include <math.h>
37354 #ifdef HAVE_IEEEFP_H
37355 #include <ieeefp.h>
37356 #endif
37359 main ()
37361 logf(0);
37363 return 0;
37365 _ACEOF
37366 if ac_fn_cxx_try_compile "$LINENO"; then :
37367 glibcxx_cv_func_logf_use=yes
37368 else
37369 glibcxx_cv_func_logf_use=no
37371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37372 ac_ext=c
37373 ac_cpp='$CPP $CPPFLAGS'
37374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37383 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37385 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37386 for ac_func in logf
37387 do :
37388 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37389 if test "x$ac_cv_func_logf" = x""yes; then :
37390 cat >>confdefs.h <<_ACEOF
37391 #define HAVE_LOGF 1
37392 _ACEOF
37395 done
37397 else
37399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37400 $as_echo_n "checking for _logf declaration... " >&6; }
37401 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37402 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37403 $as_echo_n "(cached) " >&6
37404 else
37407 ac_ext=cpp
37408 ac_cpp='$CXXCPP $CPPFLAGS'
37409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414 /* end confdefs.h. */
37415 #include <math.h>
37416 #ifdef HAVE_IEEEFP_H
37417 #include <ieeefp.h>
37418 #endif
37421 main ()
37423 _logf(0);
37425 return 0;
37427 _ACEOF
37428 if ac_fn_cxx_try_compile "$LINENO"; then :
37429 glibcxx_cv_func__logf_use=yes
37430 else
37431 glibcxx_cv_func__logf_use=no
37433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37434 ac_ext=c
37435 ac_cpp='$CPP $CPPFLAGS'
37436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37445 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37447 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37448 for ac_func in _logf
37449 do :
37450 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37451 if test "x$ac_cv_func__logf" = x""yes; then :
37452 cat >>confdefs.h <<_ACEOF
37453 #define HAVE__LOGF 1
37454 _ACEOF
37457 done
37466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37467 $as_echo_n "checking for log10f declaration... " >&6; }
37468 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37469 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37470 $as_echo_n "(cached) " >&6
37471 else
37474 ac_ext=cpp
37475 ac_cpp='$CXXCPP $CPPFLAGS'
37476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37481 /* end confdefs.h. */
37482 #include <math.h>
37483 #ifdef HAVE_IEEEFP_H
37484 #include <ieeefp.h>
37485 #endif
37488 main ()
37490 log10f(0);
37492 return 0;
37494 _ACEOF
37495 if ac_fn_cxx_try_compile "$LINENO"; then :
37496 glibcxx_cv_func_log10f_use=yes
37497 else
37498 glibcxx_cv_func_log10f_use=no
37500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37501 ac_ext=c
37502 ac_cpp='$CPP $CPPFLAGS'
37503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37512 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37514 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37515 for ac_func in log10f
37516 do :
37517 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37518 if test "x$ac_cv_func_log10f" = x""yes; then :
37519 cat >>confdefs.h <<_ACEOF
37520 #define HAVE_LOG10F 1
37521 _ACEOF
37524 done
37526 else
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37529 $as_echo_n "checking for _log10f declaration... " >&6; }
37530 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37531 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37532 $as_echo_n "(cached) " >&6
37533 else
37536 ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h. */
37544 #include <math.h>
37545 #ifdef HAVE_IEEEFP_H
37546 #include <ieeefp.h>
37547 #endif
37550 main ()
37552 _log10f(0);
37554 return 0;
37556 _ACEOF
37557 if ac_fn_cxx_try_compile "$LINENO"; then :
37558 glibcxx_cv_func__log10f_use=yes
37559 else
37560 glibcxx_cv_func__log10f_use=no
37562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37563 ac_ext=c
37564 ac_cpp='$CPP $CPPFLAGS'
37565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37574 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37576 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37577 for ac_func in _log10f
37578 do :
37579 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37580 if test "x$ac_cv_func__log10f" = x""yes; then :
37581 cat >>confdefs.h <<_ACEOF
37582 #define HAVE__LOG10F 1
37583 _ACEOF
37586 done
37595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37596 $as_echo_n "checking for modff declaration... " >&6; }
37597 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37598 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37599 $as_echo_n "(cached) " >&6
37600 else
37603 ac_ext=cpp
37604 ac_cpp='$CXXCPP $CPPFLAGS'
37605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37610 /* end confdefs.h. */
37611 #include <math.h>
37613 main ()
37615 modff(0, 0);
37617 return 0;
37619 _ACEOF
37620 if ac_fn_cxx_try_compile "$LINENO"; then :
37621 glibcxx_cv_func_modff_use=yes
37622 else
37623 glibcxx_cv_func_modff_use=no
37625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37626 ac_ext=c
37627 ac_cpp='$CPP $CPPFLAGS'
37628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37637 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37639 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37640 for ac_func in modff
37641 do :
37642 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37643 if test "x$ac_cv_func_modff" = x""yes; then :
37644 cat >>confdefs.h <<_ACEOF
37645 #define HAVE_MODFF 1
37646 _ACEOF
37649 done
37651 else
37653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37654 $as_echo_n "checking for _modff declaration... " >&6; }
37655 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37656 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37657 $as_echo_n "(cached) " >&6
37658 else
37661 ac_ext=cpp
37662 ac_cpp='$CXXCPP $CPPFLAGS'
37663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37668 /* end confdefs.h. */
37669 #include <math.h>
37671 main ()
37673 _modff(0, 0);
37675 return 0;
37677 _ACEOF
37678 if ac_fn_cxx_try_compile "$LINENO"; then :
37679 glibcxx_cv_func__modff_use=yes
37680 else
37681 glibcxx_cv_func__modff_use=no
37683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37684 ac_ext=c
37685 ac_cpp='$CPP $CPPFLAGS'
37686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37695 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37697 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37698 for ac_func in _modff
37699 do :
37700 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37701 if test "x$ac_cv_func__modff" = x""yes; then :
37702 cat >>confdefs.h <<_ACEOF
37703 #define HAVE__MODFF 1
37704 _ACEOF
37707 done
37716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37717 $as_echo_n "checking for modf declaration... " >&6; }
37718 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37719 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37720 $as_echo_n "(cached) " >&6
37721 else
37724 ac_ext=cpp
37725 ac_cpp='$CXXCPP $CPPFLAGS'
37726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37731 /* end confdefs.h. */
37732 #include <math.h>
37734 main ()
37736 modf(0, 0);
37738 return 0;
37740 _ACEOF
37741 if ac_fn_cxx_try_compile "$LINENO"; then :
37742 glibcxx_cv_func_modf_use=yes
37743 else
37744 glibcxx_cv_func_modf_use=no
37746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37747 ac_ext=c
37748 ac_cpp='$CPP $CPPFLAGS'
37749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37758 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37760 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37761 for ac_func in modf
37762 do :
37763 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37764 if test "x$ac_cv_func_modf" = x""yes; then :
37765 cat >>confdefs.h <<_ACEOF
37766 #define HAVE_MODF 1
37767 _ACEOF
37770 done
37772 else
37774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37775 $as_echo_n "checking for _modf declaration... " >&6; }
37776 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37777 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37778 $as_echo_n "(cached) " >&6
37779 else
37782 ac_ext=cpp
37783 ac_cpp='$CXXCPP $CPPFLAGS'
37784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37789 /* end confdefs.h. */
37790 #include <math.h>
37792 main ()
37794 _modf(0, 0);
37796 return 0;
37798 _ACEOF
37799 if ac_fn_cxx_try_compile "$LINENO"; then :
37800 glibcxx_cv_func__modf_use=yes
37801 else
37802 glibcxx_cv_func__modf_use=no
37804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37805 ac_ext=c
37806 ac_cpp='$CPP $CPPFLAGS'
37807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37816 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37818 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37819 for ac_func in _modf
37820 do :
37821 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37822 if test "x$ac_cv_func__modf" = x""yes; then :
37823 cat >>confdefs.h <<_ACEOF
37824 #define HAVE__MODF 1
37825 _ACEOF
37828 done
37837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37838 $as_echo_n "checking for powf declaration... " >&6; }
37839 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37840 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37841 $as_echo_n "(cached) " >&6
37842 else
37845 ac_ext=cpp
37846 ac_cpp='$CXXCPP $CPPFLAGS'
37847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37852 /* end confdefs.h. */
37853 #include <math.h>
37855 main ()
37857 powf(0, 0);
37859 return 0;
37861 _ACEOF
37862 if ac_fn_cxx_try_compile "$LINENO"; then :
37863 glibcxx_cv_func_powf_use=yes
37864 else
37865 glibcxx_cv_func_powf_use=no
37867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37868 ac_ext=c
37869 ac_cpp='$CPP $CPPFLAGS'
37870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37879 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37881 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37882 for ac_func in powf
37883 do :
37884 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37885 if test "x$ac_cv_func_powf" = x""yes; then :
37886 cat >>confdefs.h <<_ACEOF
37887 #define HAVE_POWF 1
37888 _ACEOF
37891 done
37893 else
37895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37896 $as_echo_n "checking for _powf declaration... " >&6; }
37897 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37898 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37899 $as_echo_n "(cached) " >&6
37900 else
37903 ac_ext=cpp
37904 ac_cpp='$CXXCPP $CPPFLAGS'
37905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37910 /* end confdefs.h. */
37911 #include <math.h>
37913 main ()
37915 _powf(0, 0);
37917 return 0;
37919 _ACEOF
37920 if ac_fn_cxx_try_compile "$LINENO"; then :
37921 glibcxx_cv_func__powf_use=yes
37922 else
37923 glibcxx_cv_func__powf_use=no
37925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37926 ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37937 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37939 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37940 for ac_func in _powf
37941 do :
37942 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37943 if test "x$ac_cv_func__powf" = x""yes; then :
37944 cat >>confdefs.h <<_ACEOF
37945 #define HAVE__POWF 1
37946 _ACEOF
37949 done
37958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37959 $as_echo_n "checking for sqrtf declaration... " >&6; }
37960 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37961 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37962 $as_echo_n "(cached) " >&6
37963 else
37966 ac_ext=cpp
37967 ac_cpp='$CXXCPP $CPPFLAGS'
37968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37973 /* end confdefs.h. */
37974 #include <math.h>
37975 #ifdef HAVE_IEEEFP_H
37976 #include <ieeefp.h>
37977 #endif
37980 main ()
37982 sqrtf(0);
37984 return 0;
37986 _ACEOF
37987 if ac_fn_cxx_try_compile "$LINENO"; then :
37988 glibcxx_cv_func_sqrtf_use=yes
37989 else
37990 glibcxx_cv_func_sqrtf_use=no
37992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37993 ac_ext=c
37994 ac_cpp='$CPP $CPPFLAGS'
37995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38004 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38006 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38007 for ac_func in sqrtf
38008 do :
38009 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38010 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38011 cat >>confdefs.h <<_ACEOF
38012 #define HAVE_SQRTF 1
38013 _ACEOF
38016 done
38018 else
38020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38021 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38022 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38023 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38028 ac_ext=cpp
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h. */
38036 #include <math.h>
38037 #ifdef HAVE_IEEEFP_H
38038 #include <ieeefp.h>
38039 #endif
38042 main ()
38044 _sqrtf(0);
38046 return 0;
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func__sqrtf_use=yes
38051 else
38052 glibcxx_cv_func__sqrtf_use=no
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38066 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38068 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38069 for ac_func in _sqrtf
38070 do :
38071 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38072 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE__SQRTF 1
38075 _ACEOF
38078 done
38087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38088 $as_echo_n "checking for sincosf declaration... " >&6; }
38089 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38090 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38091 $as_echo_n "(cached) " >&6
38092 else
38095 ac_ext=cpp
38096 ac_cpp='$CXXCPP $CPPFLAGS'
38097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38102 /* end confdefs.h. */
38103 #include <math.h>
38105 main ()
38107 sincosf(0, 0, 0);
38109 return 0;
38111 _ACEOF
38112 if ac_fn_cxx_try_compile "$LINENO"; then :
38113 glibcxx_cv_func_sincosf_use=yes
38114 else
38115 glibcxx_cv_func_sincosf_use=no
38117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38118 ac_ext=c
38119 ac_cpp='$CPP $CPPFLAGS'
38120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38129 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38131 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38132 for ac_func in sincosf
38133 do :
38134 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38135 if test "x$ac_cv_func_sincosf" = x""yes; then :
38136 cat >>confdefs.h <<_ACEOF
38137 #define HAVE_SINCOSF 1
38138 _ACEOF
38141 done
38143 else
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38146 $as_echo_n "checking for _sincosf declaration... " >&6; }
38147 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38148 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38149 $as_echo_n "(cached) " >&6
38150 else
38153 ac_ext=cpp
38154 ac_cpp='$CXXCPP $CPPFLAGS'
38155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38160 /* end confdefs.h. */
38161 #include <math.h>
38163 main ()
38165 _sincosf(0, 0, 0);
38167 return 0;
38169 _ACEOF
38170 if ac_fn_cxx_try_compile "$LINENO"; then :
38171 glibcxx_cv_func__sincosf_use=yes
38172 else
38173 glibcxx_cv_func__sincosf_use=no
38175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38176 ac_ext=c
38177 ac_cpp='$CPP $CPPFLAGS'
38178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38187 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38189 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38190 for ac_func in _sincosf
38191 do :
38192 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38193 if test "x$ac_cv_func__sincosf" = x""yes; then :
38194 cat >>confdefs.h <<_ACEOF
38195 #define HAVE__SINCOSF 1
38196 _ACEOF
38199 done
38208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38209 $as_echo_n "checking for finitef declaration... " >&6; }
38210 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38211 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38212 $as_echo_n "(cached) " >&6
38213 else
38216 ac_ext=cpp
38217 ac_cpp='$CXXCPP $CPPFLAGS'
38218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38223 /* end confdefs.h. */
38224 #include <math.h>
38225 #ifdef HAVE_IEEEFP_H
38226 #include <ieeefp.h>
38227 #endif
38230 main ()
38232 finitef(0);
38234 return 0;
38236 _ACEOF
38237 if ac_fn_cxx_try_compile "$LINENO"; then :
38238 glibcxx_cv_func_finitef_use=yes
38239 else
38240 glibcxx_cv_func_finitef_use=no
38242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38243 ac_ext=c
38244 ac_cpp='$CPP $CPPFLAGS'
38245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38254 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38256 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38257 for ac_func in finitef
38258 do :
38259 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38260 if test "x$ac_cv_func_finitef" = x""yes; then :
38261 cat >>confdefs.h <<_ACEOF
38262 #define HAVE_FINITEF 1
38263 _ACEOF
38266 done
38268 else
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38271 $as_echo_n "checking for _finitef declaration... " >&6; }
38272 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38273 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38278 ac_ext=cpp
38279 ac_cpp='$CXXCPP $CPPFLAGS'
38280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285 /* end confdefs.h. */
38286 #include <math.h>
38287 #ifdef HAVE_IEEEFP_H
38288 #include <ieeefp.h>
38289 #endif
38292 main ()
38294 _finitef(0);
38296 return 0;
38298 _ACEOF
38299 if ac_fn_cxx_try_compile "$LINENO"; then :
38300 glibcxx_cv_func__finitef_use=yes
38301 else
38302 glibcxx_cv_func__finitef_use=no
38304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38305 ac_ext=c
38306 ac_cpp='$CPP $CPPFLAGS'
38307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38316 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38318 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38319 for ac_func in _finitef
38320 do :
38321 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38322 if test "x$ac_cv_func__finitef" = x""yes; then :
38323 cat >>confdefs.h <<_ACEOF
38324 #define HAVE__FINITEF 1
38325 _ACEOF
38328 done
38337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38338 $as_echo_n "checking for long double trig functions... " >&6; }
38339 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38340 $as_echo_n "(cached) " >&6
38341 else
38344 ac_ext=cpp
38345 ac_cpp='$CXXCPP $CPPFLAGS'
38346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38351 /* end confdefs.h. */
38352 #include <math.h>
38354 main ()
38356 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38358 return 0;
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_long_double_trig_use=yes
38363 else
38364 glibcxx_cv_func_long_double_trig_use=no
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38367 ac_ext=c
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38376 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38377 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38378 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38379 do :
38380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38382 eval as_val=\$$as_ac_var
38383 if test "x$as_val" = x""yes; then :
38384 cat >>confdefs.h <<_ACEOF
38385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38386 _ACEOF
38389 done
38391 else
38392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38393 $as_echo_n "checking for _long double trig functions... " >&6; }
38394 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38395 $as_echo_n "(cached) " >&6
38396 else
38399 ac_ext=cpp
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38407 #include <math.h>
38409 main ()
38411 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38413 return 0;
38415 _ACEOF
38416 if ac_fn_cxx_try_compile "$LINENO"; then :
38417 glibcxx_cv_func__long_double_trig_use=yes
38418 else
38419 glibcxx_cv_func__long_double_trig_use=no
38421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38422 ac_ext=c
38423 ac_cpp='$CPP $CPPFLAGS'
38424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38431 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38432 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38433 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38434 do :
38435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38437 eval as_val=\$$as_ac_var
38438 if test "x$as_val" = x""yes; then :
38439 cat >>confdefs.h <<_ACEOF
38440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38441 _ACEOF
38444 done
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38454 $as_echo_n "checking for long double round functions... " >&6; }
38455 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38456 $as_echo_n "(cached) " >&6
38457 else
38460 ac_ext=cpp
38461 ac_cpp='$CXXCPP $CPPFLAGS'
38462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38467 /* end confdefs.h. */
38468 #include <math.h>
38470 main ()
38472 ceill (0); floorl (0);
38474 return 0;
38476 _ACEOF
38477 if ac_fn_cxx_try_compile "$LINENO"; then :
38478 glibcxx_cv_func_long_double_round_use=yes
38479 else
38480 glibcxx_cv_func_long_double_round_use=no
38482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38483 ac_ext=c
38484 ac_cpp='$CPP $CPPFLAGS'
38485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38492 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38493 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38494 for ac_func in ceill floorl
38495 do :
38496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38498 eval as_val=\$$as_ac_var
38499 if test "x$as_val" = x""yes; then :
38500 cat >>confdefs.h <<_ACEOF
38501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38502 _ACEOF
38505 done
38507 else
38508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38509 $as_echo_n "checking for _long double round functions... " >&6; }
38510 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38511 $as_echo_n "(cached) " >&6
38512 else
38515 ac_ext=cpp
38516 ac_cpp='$CXXCPP $CPPFLAGS'
38517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38522 /* end confdefs.h. */
38523 #include <math.h>
38525 main ()
38527 _ceill (0); _floorl (0);
38529 return 0;
38531 _ACEOF
38532 if ac_fn_cxx_try_compile "$LINENO"; then :
38533 glibcxx_cv_func__long_double_round_use=yes
38534 else
38535 glibcxx_cv_func__long_double_round_use=no
38537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38538 ac_ext=c
38539 ac_cpp='$CPP $CPPFLAGS'
38540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38547 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38548 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38549 for ac_func in _ceill _floorl
38550 do :
38551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38553 eval as_val=\$$as_ac_var
38554 if test "x$as_val" = x""yes; then :
38555 cat >>confdefs.h <<_ACEOF
38556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38557 _ACEOF
38560 done
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38571 $as_echo_n "checking for isnanl declaration... " >&6; }
38572 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38573 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38574 $as_echo_n "(cached) " >&6
38575 else
38578 ac_ext=cpp
38579 ac_cpp='$CXXCPP $CPPFLAGS'
38580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38585 /* end confdefs.h. */
38586 #include <math.h>
38587 #ifdef HAVE_IEEEFP_H
38588 #include <ieeefp.h>
38589 #endif
38592 main ()
38594 isnanl(0);
38596 return 0;
38598 _ACEOF
38599 if ac_fn_cxx_try_compile "$LINENO"; then :
38600 glibcxx_cv_func_isnanl_use=yes
38601 else
38602 glibcxx_cv_func_isnanl_use=no
38604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38605 ac_ext=c
38606 ac_cpp='$CPP $CPPFLAGS'
38607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38616 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38618 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38619 for ac_func in isnanl
38620 do :
38621 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38622 if test "x$ac_cv_func_isnanl" = x""yes; then :
38623 cat >>confdefs.h <<_ACEOF
38624 #define HAVE_ISNANL 1
38625 _ACEOF
38628 done
38630 else
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38633 $as_echo_n "checking for _isnanl declaration... " >&6; }
38634 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38635 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38636 $as_echo_n "(cached) " >&6
38637 else
38640 ac_ext=cpp
38641 ac_cpp='$CXXCPP $CPPFLAGS'
38642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38647 /* end confdefs.h. */
38648 #include <math.h>
38649 #ifdef HAVE_IEEEFP_H
38650 #include <ieeefp.h>
38651 #endif
38654 main ()
38656 _isnanl(0);
38658 return 0;
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662 glibcxx_cv_func__isnanl_use=yes
38663 else
38664 glibcxx_cv_func__isnanl_use=no
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667 ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38678 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38680 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38681 for ac_func in _isnanl
38682 do :
38683 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38684 if test "x$ac_cv_func__isnanl" = x""yes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define HAVE__ISNANL 1
38687 _ACEOF
38690 done
38699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38700 $as_echo_n "checking for isinfl declaration... " >&6; }
38701 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38702 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38703 $as_echo_n "(cached) " >&6
38704 else
38707 ac_ext=cpp
38708 ac_cpp='$CXXCPP $CPPFLAGS'
38709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38714 /* end confdefs.h. */
38715 #include <math.h>
38716 #ifdef HAVE_IEEEFP_H
38717 #include <ieeefp.h>
38718 #endif
38721 main ()
38723 isinfl(0);
38725 return 0;
38727 _ACEOF
38728 if ac_fn_cxx_try_compile "$LINENO"; then :
38729 glibcxx_cv_func_isinfl_use=yes
38730 else
38731 glibcxx_cv_func_isinfl_use=no
38733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38734 ac_ext=c
38735 ac_cpp='$CPP $CPPFLAGS'
38736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38745 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38747 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38748 for ac_func in isinfl
38749 do :
38750 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38751 if test "x$ac_cv_func_isinfl" = x""yes; then :
38752 cat >>confdefs.h <<_ACEOF
38753 #define HAVE_ISINFL 1
38754 _ACEOF
38757 done
38759 else
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38762 $as_echo_n "checking for _isinfl declaration... " >&6; }
38763 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38764 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38765 $as_echo_n "(cached) " >&6
38766 else
38769 ac_ext=cpp
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38776 /* end confdefs.h. */
38777 #include <math.h>
38778 #ifdef HAVE_IEEEFP_H
38779 #include <ieeefp.h>
38780 #endif
38783 main ()
38785 _isinfl(0);
38787 return 0;
38789 _ACEOF
38790 if ac_fn_cxx_try_compile "$LINENO"; then :
38791 glibcxx_cv_func__isinfl_use=yes
38792 else
38793 glibcxx_cv_func__isinfl_use=no
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38796 ac_ext=c
38797 ac_cpp='$CPP $CPPFLAGS'
38798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38807 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38809 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38810 for ac_func in _isinfl
38811 do :
38812 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38813 if test "x$ac_cv_func__isinfl" = x""yes; then :
38814 cat >>confdefs.h <<_ACEOF
38815 #define HAVE__ISINFL 1
38816 _ACEOF
38819 done
38828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38829 $as_echo_n "checking for atan2l declaration... " >&6; }
38830 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38831 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38832 $as_echo_n "(cached) " >&6
38833 else
38836 ac_ext=cpp
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38843 /* end confdefs.h. */
38844 #include <math.h>
38846 main ()
38848 atan2l(0, 0);
38850 return 0;
38852 _ACEOF
38853 if ac_fn_cxx_try_compile "$LINENO"; then :
38854 glibcxx_cv_func_atan2l_use=yes
38855 else
38856 glibcxx_cv_func_atan2l_use=no
38858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38859 ac_ext=c
38860 ac_cpp='$CPP $CPPFLAGS'
38861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38870 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38872 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38873 for ac_func in atan2l
38874 do :
38875 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38876 if test "x$ac_cv_func_atan2l" = x""yes; then :
38877 cat >>confdefs.h <<_ACEOF
38878 #define HAVE_ATAN2L 1
38879 _ACEOF
38882 done
38884 else
38886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38887 $as_echo_n "checking for _atan2l declaration... " >&6; }
38888 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38889 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38890 $as_echo_n "(cached) " >&6
38891 else
38894 ac_ext=cpp
38895 ac_cpp='$CXXCPP $CPPFLAGS'
38896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38901 /* end confdefs.h. */
38902 #include <math.h>
38904 main ()
38906 _atan2l(0, 0);
38908 return 0;
38910 _ACEOF
38911 if ac_fn_cxx_try_compile "$LINENO"; then :
38912 glibcxx_cv_func__atan2l_use=yes
38913 else
38914 glibcxx_cv_func__atan2l_use=no
38916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38917 ac_ext=c
38918 ac_cpp='$CPP $CPPFLAGS'
38919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38928 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38930 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38931 for ac_func in _atan2l
38932 do :
38933 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38934 if test "x$ac_cv_func__atan2l" = x""yes; then :
38935 cat >>confdefs.h <<_ACEOF
38936 #define HAVE__ATAN2L 1
38937 _ACEOF
38940 done
38949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38950 $as_echo_n "checking for expl declaration... " >&6; }
38951 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38952 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38953 $as_echo_n "(cached) " >&6
38954 else
38957 ac_ext=cpp
38958 ac_cpp='$CXXCPP $CPPFLAGS'
38959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <math.h>
38966 #ifdef HAVE_IEEEFP_H
38967 #include <ieeefp.h>
38968 #endif
38971 main ()
38973 expl(0);
38975 return 0;
38977 _ACEOF
38978 if ac_fn_cxx_try_compile "$LINENO"; then :
38979 glibcxx_cv_func_expl_use=yes
38980 else
38981 glibcxx_cv_func_expl_use=no
38983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38984 ac_ext=c
38985 ac_cpp='$CPP $CPPFLAGS'
38986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38995 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38997 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38998 for ac_func in expl
38999 do :
39000 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39001 if test "x$ac_cv_func_expl" = x""yes; then :
39002 cat >>confdefs.h <<_ACEOF
39003 #define HAVE_EXPL 1
39004 _ACEOF
39007 done
39009 else
39011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39012 $as_echo_n "checking for _expl declaration... " >&6; }
39013 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39014 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39015 $as_echo_n "(cached) " >&6
39016 else
39019 ac_ext=cpp
39020 ac_cpp='$CXXCPP $CPPFLAGS'
39021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39026 /* end confdefs.h. */
39027 #include <math.h>
39028 #ifdef HAVE_IEEEFP_H
39029 #include <ieeefp.h>
39030 #endif
39033 main ()
39035 _expl(0);
39037 return 0;
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func__expl_use=yes
39042 else
39043 glibcxx_cv_func__expl_use=no
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39057 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39059 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39060 for ac_func in _expl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39063 if test "x$ac_cv_func__expl" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE__EXPL 1
39066 _ACEOF
39069 done
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39079 $as_echo_n "checking for fabsl declaration... " >&6; }
39080 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39081 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39082 $as_echo_n "(cached) " >&6
39083 else
39086 ac_ext=cpp
39087 ac_cpp='$CXXCPP $CPPFLAGS'
39088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39093 /* end confdefs.h. */
39094 #include <math.h>
39095 #ifdef HAVE_IEEEFP_H
39096 #include <ieeefp.h>
39097 #endif
39100 main ()
39102 fabsl(0);
39104 return 0;
39106 _ACEOF
39107 if ac_fn_cxx_try_compile "$LINENO"; then :
39108 glibcxx_cv_func_fabsl_use=yes
39109 else
39110 glibcxx_cv_func_fabsl_use=no
39112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39113 ac_ext=c
39114 ac_cpp='$CPP $CPPFLAGS'
39115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39124 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39126 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39127 for ac_func in fabsl
39128 do :
39129 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39130 if test "x$ac_cv_func_fabsl" = x""yes; then :
39131 cat >>confdefs.h <<_ACEOF
39132 #define HAVE_FABSL 1
39133 _ACEOF
39136 done
39138 else
39140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39141 $as_echo_n "checking for _fabsl declaration... " >&6; }
39142 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39143 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39144 $as_echo_n "(cached) " >&6
39145 else
39148 ac_ext=cpp
39149 ac_cpp='$CXXCPP $CPPFLAGS'
39150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156 #include <math.h>
39157 #ifdef HAVE_IEEEFP_H
39158 #include <ieeefp.h>
39159 #endif
39162 main ()
39164 _fabsl(0);
39166 return 0;
39168 _ACEOF
39169 if ac_fn_cxx_try_compile "$LINENO"; then :
39170 glibcxx_cv_func__fabsl_use=yes
39171 else
39172 glibcxx_cv_func__fabsl_use=no
39174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39175 ac_ext=c
39176 ac_cpp='$CPP $CPPFLAGS'
39177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39186 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39188 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39189 for ac_func in _fabsl
39190 do :
39191 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39192 if test "x$ac_cv_func__fabsl" = x""yes; then :
39193 cat >>confdefs.h <<_ACEOF
39194 #define HAVE__FABSL 1
39195 _ACEOF
39198 done
39207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39208 $as_echo_n "checking for fmodl declaration... " >&6; }
39209 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39210 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
39211 $as_echo_n "(cached) " >&6
39212 else
39215 ac_ext=cpp
39216 ac_cpp='$CXXCPP $CPPFLAGS'
39217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39222 /* end confdefs.h. */
39223 #include <math.h>
39225 main ()
39227 fmodl(0, 0);
39229 return 0;
39231 _ACEOF
39232 if ac_fn_cxx_try_compile "$LINENO"; then :
39233 glibcxx_cv_func_fmodl_use=yes
39234 else
39235 glibcxx_cv_func_fmodl_use=no
39237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39238 ac_ext=c
39239 ac_cpp='$CPP $CPPFLAGS'
39240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39249 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39251 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39252 for ac_func in fmodl
39253 do :
39254 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39255 if test "x$ac_cv_func_fmodl" = x""yes; then :
39256 cat >>confdefs.h <<_ACEOF
39257 #define HAVE_FMODL 1
39258 _ACEOF
39261 done
39263 else
39265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39266 $as_echo_n "checking for _fmodl declaration... " >&6; }
39267 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39268 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39269 $as_echo_n "(cached) " >&6
39270 else
39273 ac_ext=cpp
39274 ac_cpp='$CXXCPP $CPPFLAGS'
39275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39280 /* end confdefs.h. */
39281 #include <math.h>
39283 main ()
39285 _fmodl(0, 0);
39287 return 0;
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func__fmodl_use=yes
39292 else
39293 glibcxx_cv_func__fmodl_use=no
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39307 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39309 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39310 for ac_func in _fmodl
39311 do :
39312 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39313 if test "x$ac_cv_func__fmodl" = x""yes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE__FMODL 1
39316 _ACEOF
39319 done
39328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39329 $as_echo_n "checking for frexpl declaration... " >&6; }
39330 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39331 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39332 $as_echo_n "(cached) " >&6
39333 else
39336 ac_ext=cpp
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39343 /* end confdefs.h. */
39344 #include <math.h>
39346 main ()
39348 frexpl(0, 0);
39350 return 0;
39352 _ACEOF
39353 if ac_fn_cxx_try_compile "$LINENO"; then :
39354 glibcxx_cv_func_frexpl_use=yes
39355 else
39356 glibcxx_cv_func_frexpl_use=no
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359 ac_ext=c
39360 ac_cpp='$CPP $CPPFLAGS'
39361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39370 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39372 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39373 for ac_func in frexpl
39374 do :
39375 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39376 if test "x$ac_cv_func_frexpl" = x""yes; then :
39377 cat >>confdefs.h <<_ACEOF
39378 #define HAVE_FREXPL 1
39379 _ACEOF
39382 done
39384 else
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39387 $as_echo_n "checking for _frexpl declaration... " >&6; }
39388 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39389 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39390 $as_echo_n "(cached) " >&6
39391 else
39394 ac_ext=cpp
39395 ac_cpp='$CXXCPP $CPPFLAGS'
39396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39401 /* end confdefs.h. */
39402 #include <math.h>
39404 main ()
39406 _frexpl(0, 0);
39408 return 0;
39410 _ACEOF
39411 if ac_fn_cxx_try_compile "$LINENO"; then :
39412 glibcxx_cv_func__frexpl_use=yes
39413 else
39414 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
39428 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39430 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39431 for ac_func in _frexpl
39432 do :
39433 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39434 if test "x$ac_cv_func__frexpl" = x""yes; then :
39435 cat >>confdefs.h <<_ACEOF
39436 #define HAVE__FREXPL 1
39437 _ACEOF
39440 done
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39450 $as_echo_n "checking for hypotl declaration... " >&6; }
39451 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39452 if test "${glibcxx_cv_func_hypotl_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>
39467 main ()
39469 hypotl(0, 0);
39471 return 0;
39473 _ACEOF
39474 if ac_fn_cxx_try_compile "$LINENO"; then :
39475 glibcxx_cv_func_hypotl_use=yes
39476 else
39477 glibcxx_cv_func_hypotl_use=no
39479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39480 ac_ext=c
39481 ac_cpp='$CPP $CPPFLAGS'
39482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39491 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39493 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39494 for ac_func in hypotl
39495 do :
39496 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39497 if test "x$ac_cv_func_hypotl" = x""yes; then :
39498 cat >>confdefs.h <<_ACEOF
39499 #define HAVE_HYPOTL 1
39500 _ACEOF
39503 done
39505 else
39507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39508 $as_echo_n "checking for _hypotl declaration... " >&6; }
39509 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39510 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39511 $as_echo_n "(cached) " >&6
39512 else
39515 ac_ext=cpp
39516 ac_cpp='$CXXCPP $CPPFLAGS'
39517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39522 /* end confdefs.h. */
39523 #include <math.h>
39525 main ()
39527 _hypotl(0, 0);
39529 return 0;
39531 _ACEOF
39532 if ac_fn_cxx_try_compile "$LINENO"; then :
39533 glibcxx_cv_func__hypotl_use=yes
39534 else
39535 glibcxx_cv_func__hypotl_use=no
39537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39538 ac_ext=c
39539 ac_cpp='$CPP $CPPFLAGS'
39540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39549 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39551 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39552 for ac_func in _hypotl
39553 do :
39554 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39555 if test "x$ac_cv_func__hypotl" = x""yes; then :
39556 cat >>confdefs.h <<_ACEOF
39557 #define HAVE__HYPOTL 1
39558 _ACEOF
39561 done
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39571 $as_echo_n "checking for ldexpl declaration... " >&6; }
39572 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39573 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39574 $as_echo_n "(cached) " >&6
39575 else
39578 ac_ext=cpp
39579 ac_cpp='$CXXCPP $CPPFLAGS'
39580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39585 /* end confdefs.h. */
39586 #include <math.h>
39588 main ()
39590 ldexpl(0, 0);
39592 return 0;
39594 _ACEOF
39595 if ac_fn_cxx_try_compile "$LINENO"; then :
39596 glibcxx_cv_func_ldexpl_use=yes
39597 else
39598 glibcxx_cv_func_ldexpl_use=no
39600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39601 ac_ext=c
39602 ac_cpp='$CPP $CPPFLAGS'
39603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39612 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39614 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39615 for ac_func in ldexpl
39616 do :
39617 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39618 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39619 cat >>confdefs.h <<_ACEOF
39620 #define HAVE_LDEXPL 1
39621 _ACEOF
39624 done
39626 else
39628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39629 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39630 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39631 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39632 $as_echo_n "(cached) " >&6
39633 else
39636 ac_ext=cpp
39637 ac_cpp='$CXXCPP $CPPFLAGS'
39638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39643 /* end confdefs.h. */
39644 #include <math.h>
39646 main ()
39648 _ldexpl(0, 0);
39650 return 0;
39652 _ACEOF
39653 if ac_fn_cxx_try_compile "$LINENO"; then :
39654 glibcxx_cv_func__ldexpl_use=yes
39655 else
39656 glibcxx_cv_func__ldexpl_use=no
39658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39659 ac_ext=c
39660 ac_cpp='$CPP $CPPFLAGS'
39661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39670 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39672 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39673 for ac_func in _ldexpl
39674 do :
39675 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39676 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39677 cat >>confdefs.h <<_ACEOF
39678 #define HAVE__LDEXPL 1
39679 _ACEOF
39682 done
39691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39692 $as_echo_n "checking for logl declaration... " >&6; }
39693 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39694 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39695 $as_echo_n "(cached) " >&6
39696 else
39699 ac_ext=cpp
39700 ac_cpp='$CXXCPP $CPPFLAGS'
39701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39706 /* end confdefs.h. */
39707 #include <math.h>
39708 #ifdef HAVE_IEEEFP_H
39709 #include <ieeefp.h>
39710 #endif
39713 main ()
39715 logl(0);
39717 return 0;
39719 _ACEOF
39720 if ac_fn_cxx_try_compile "$LINENO"; then :
39721 glibcxx_cv_func_logl_use=yes
39722 else
39723 glibcxx_cv_func_logl_use=no
39725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39726 ac_ext=c
39727 ac_cpp='$CPP $CPPFLAGS'
39728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39737 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39739 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39740 for ac_func in logl
39741 do :
39742 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39743 if test "x$ac_cv_func_logl" = x""yes; then :
39744 cat >>confdefs.h <<_ACEOF
39745 #define HAVE_LOGL 1
39746 _ACEOF
39749 done
39751 else
39753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39754 $as_echo_n "checking for _logl declaration... " >&6; }
39755 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39756 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39757 $as_echo_n "(cached) " >&6
39758 else
39761 ac_ext=cpp
39762 ac_cpp='$CXXCPP $CPPFLAGS'
39763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39768 /* end confdefs.h. */
39769 #include <math.h>
39770 #ifdef HAVE_IEEEFP_H
39771 #include <ieeefp.h>
39772 #endif
39775 main ()
39777 _logl(0);
39779 return 0;
39781 _ACEOF
39782 if ac_fn_cxx_try_compile "$LINENO"; then :
39783 glibcxx_cv_func__logl_use=yes
39784 else
39785 glibcxx_cv_func__logl_use=no
39787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39788 ac_ext=c
39789 ac_cpp='$CPP $CPPFLAGS'
39790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39799 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39801 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39802 for ac_func in _logl
39803 do :
39804 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39805 if test "x$ac_cv_func__logl" = x""yes; then :
39806 cat >>confdefs.h <<_ACEOF
39807 #define HAVE__LOGL 1
39808 _ACEOF
39811 done
39820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39821 $as_echo_n "checking for log10l declaration... " >&6; }
39822 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39823 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39824 $as_echo_n "(cached) " >&6
39825 else
39828 ac_ext=cpp
39829 ac_cpp='$CXXCPP $CPPFLAGS'
39830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39835 /* end confdefs.h. */
39836 #include <math.h>
39837 #ifdef HAVE_IEEEFP_H
39838 #include <ieeefp.h>
39839 #endif
39842 main ()
39844 log10l(0);
39846 return 0;
39848 _ACEOF
39849 if ac_fn_cxx_try_compile "$LINENO"; then :
39850 glibcxx_cv_func_log10l_use=yes
39851 else
39852 glibcxx_cv_func_log10l_use=no
39854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39855 ac_ext=c
39856 ac_cpp='$CPP $CPPFLAGS'
39857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39866 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39868 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39869 for ac_func in log10l
39870 do :
39871 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39872 if test "x$ac_cv_func_log10l" = x""yes; then :
39873 cat >>confdefs.h <<_ACEOF
39874 #define HAVE_LOG10L 1
39875 _ACEOF
39878 done
39880 else
39882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39883 $as_echo_n "checking for _log10l declaration... " >&6; }
39884 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39885 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39886 $as_echo_n "(cached) " >&6
39887 else
39890 ac_ext=cpp
39891 ac_cpp='$CXXCPP $CPPFLAGS'
39892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39897 /* end confdefs.h. */
39898 #include <math.h>
39899 #ifdef HAVE_IEEEFP_H
39900 #include <ieeefp.h>
39901 #endif
39904 main ()
39906 _log10l(0);
39908 return 0;
39910 _ACEOF
39911 if ac_fn_cxx_try_compile "$LINENO"; then :
39912 glibcxx_cv_func__log10l_use=yes
39913 else
39914 glibcxx_cv_func__log10l_use=no
39916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39917 ac_ext=c
39918 ac_cpp='$CPP $CPPFLAGS'
39919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39928 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39930 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39931 for ac_func in _log10l
39932 do :
39933 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39934 if test "x$ac_cv_func__log10l" = x""yes; then :
39935 cat >>confdefs.h <<_ACEOF
39936 #define HAVE__LOG10L 1
39937 _ACEOF
39940 done
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39950 $as_echo_n "checking for modfl declaration... " >&6; }
39951 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39952 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39953 $as_echo_n "(cached) " >&6
39954 else
39957 ac_ext=cpp
39958 ac_cpp='$CXXCPP $CPPFLAGS'
39959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39964 /* end confdefs.h. */
39965 #include <math.h>
39967 main ()
39969 modfl(0, 0);
39971 return 0;
39973 _ACEOF
39974 if ac_fn_cxx_try_compile "$LINENO"; then :
39975 glibcxx_cv_func_modfl_use=yes
39976 else
39977 glibcxx_cv_func_modfl_use=no
39979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39980 ac_ext=c
39981 ac_cpp='$CPP $CPPFLAGS'
39982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39991 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39993 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39994 for ac_func in modfl
39995 do :
39996 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39997 if test "x$ac_cv_func_modfl" = x""yes; then :
39998 cat >>confdefs.h <<_ACEOF
39999 #define HAVE_MODFL 1
40000 _ACEOF
40003 done
40005 else
40007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40008 $as_echo_n "checking for _modfl declaration... " >&6; }
40009 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40010 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40011 $as_echo_n "(cached) " >&6
40012 else
40015 ac_ext=cpp
40016 ac_cpp='$CXXCPP $CPPFLAGS'
40017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40022 /* end confdefs.h. */
40023 #include <math.h>
40025 main ()
40027 _modfl(0, 0);
40029 return 0;
40031 _ACEOF
40032 if ac_fn_cxx_try_compile "$LINENO"; then :
40033 glibcxx_cv_func__modfl_use=yes
40034 else
40035 glibcxx_cv_func__modfl_use=no
40037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40038 ac_ext=c
40039 ac_cpp='$CPP $CPPFLAGS'
40040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40049 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40051 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40052 for ac_func in _modfl
40053 do :
40054 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40055 if test "x$ac_cv_func__modfl" = x""yes; then :
40056 cat >>confdefs.h <<_ACEOF
40057 #define HAVE__MODFL 1
40058 _ACEOF
40061 done
40070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40071 $as_echo_n "checking for powl declaration... " >&6; }
40072 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40073 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40074 $as_echo_n "(cached) " >&6
40075 else
40078 ac_ext=cpp
40079 ac_cpp='$CXXCPP $CPPFLAGS'
40080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40085 /* end confdefs.h. */
40086 #include <math.h>
40088 main ()
40090 powl(0, 0);
40092 return 0;
40094 _ACEOF
40095 if ac_fn_cxx_try_compile "$LINENO"; then :
40096 glibcxx_cv_func_powl_use=yes
40097 else
40098 glibcxx_cv_func_powl_use=no
40100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40101 ac_ext=c
40102 ac_cpp='$CPP $CPPFLAGS'
40103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40112 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40114 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40115 for ac_func in powl
40116 do :
40117 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40118 if test "x$ac_cv_func_powl" = x""yes; then :
40119 cat >>confdefs.h <<_ACEOF
40120 #define HAVE_POWL 1
40121 _ACEOF
40124 done
40126 else
40128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40129 $as_echo_n "checking for _powl declaration... " >&6; }
40130 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40131 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40132 $as_echo_n "(cached) " >&6
40133 else
40136 ac_ext=cpp
40137 ac_cpp='$CXXCPP $CPPFLAGS'
40138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40143 /* end confdefs.h. */
40144 #include <math.h>
40146 main ()
40148 _powl(0, 0);
40150 return 0;
40152 _ACEOF
40153 if ac_fn_cxx_try_compile "$LINENO"; then :
40154 glibcxx_cv_func__powl_use=yes
40155 else
40156 glibcxx_cv_func__powl_use=no
40158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40159 ac_ext=c
40160 ac_cpp='$CPP $CPPFLAGS'
40161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40170 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40172 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40173 for ac_func in _powl
40174 do :
40175 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40176 if test "x$ac_cv_func__powl" = x""yes; then :
40177 cat >>confdefs.h <<_ACEOF
40178 #define HAVE__POWL 1
40179 _ACEOF
40182 done
40191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40192 $as_echo_n "checking for sqrtl declaration... " >&6; }
40193 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40194 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40195 $as_echo_n "(cached) " >&6
40196 else
40199 ac_ext=cpp
40200 ac_cpp='$CXXCPP $CPPFLAGS'
40201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40206 /* end confdefs.h. */
40207 #include <math.h>
40208 #ifdef HAVE_IEEEFP_H
40209 #include <ieeefp.h>
40210 #endif
40213 main ()
40215 sqrtl(0);
40217 return 0;
40219 _ACEOF
40220 if ac_fn_cxx_try_compile "$LINENO"; then :
40221 glibcxx_cv_func_sqrtl_use=yes
40222 else
40223 glibcxx_cv_func_sqrtl_use=no
40225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40226 ac_ext=c
40227 ac_cpp='$CPP $CPPFLAGS'
40228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40237 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40239 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40240 for ac_func in sqrtl
40241 do :
40242 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40243 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40244 cat >>confdefs.h <<_ACEOF
40245 #define HAVE_SQRTL 1
40246 _ACEOF
40249 done
40251 else
40253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40254 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40255 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40256 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40257 $as_echo_n "(cached) " >&6
40258 else
40261 ac_ext=cpp
40262 ac_cpp='$CXXCPP $CPPFLAGS'
40263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40268 /* end confdefs.h. */
40269 #include <math.h>
40270 #ifdef HAVE_IEEEFP_H
40271 #include <ieeefp.h>
40272 #endif
40275 main ()
40277 _sqrtl(0);
40279 return 0;
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283 glibcxx_cv_func__sqrtl_use=yes
40284 else
40285 glibcxx_cv_func__sqrtl_use=no
40287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40288 ac_ext=c
40289 ac_cpp='$CPP $CPPFLAGS'
40290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40299 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40301 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40302 for ac_func in _sqrtl
40303 do :
40304 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40305 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40306 cat >>confdefs.h <<_ACEOF
40307 #define HAVE__SQRTL 1
40308 _ACEOF
40311 done
40320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40321 $as_echo_n "checking for sincosl declaration... " >&6; }
40322 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40323 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40324 $as_echo_n "(cached) " >&6
40325 else
40328 ac_ext=cpp
40329 ac_cpp='$CXXCPP $CPPFLAGS'
40330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40335 /* end confdefs.h. */
40336 #include <math.h>
40338 main ()
40340 sincosl(0, 0, 0);
40342 return 0;
40344 _ACEOF
40345 if ac_fn_cxx_try_compile "$LINENO"; then :
40346 glibcxx_cv_func_sincosl_use=yes
40347 else
40348 glibcxx_cv_func_sincosl_use=no
40350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40351 ac_ext=c
40352 ac_cpp='$CPP $CPPFLAGS'
40353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40362 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40364 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40365 for ac_func in sincosl
40366 do :
40367 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40368 if test "x$ac_cv_func_sincosl" = x""yes; then :
40369 cat >>confdefs.h <<_ACEOF
40370 #define HAVE_SINCOSL 1
40371 _ACEOF
40374 done
40376 else
40378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40379 $as_echo_n "checking for _sincosl declaration... " >&6; }
40380 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40381 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40382 $as_echo_n "(cached) " >&6
40383 else
40386 ac_ext=cpp
40387 ac_cpp='$CXXCPP $CPPFLAGS'
40388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40393 /* end confdefs.h. */
40394 #include <math.h>
40396 main ()
40398 _sincosl(0, 0, 0);
40400 return 0;
40402 _ACEOF
40403 if ac_fn_cxx_try_compile "$LINENO"; then :
40404 glibcxx_cv_func__sincosl_use=yes
40405 else
40406 glibcxx_cv_func__sincosl_use=no
40408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40409 ac_ext=c
40410 ac_cpp='$CPP $CPPFLAGS'
40411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40420 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40422 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40423 for ac_func in _sincosl
40424 do :
40425 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40426 if test "x$ac_cv_func__sincosl" = x""yes; then :
40427 cat >>confdefs.h <<_ACEOF
40428 #define HAVE__SINCOSL 1
40429 _ACEOF
40432 done
40441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40442 $as_echo_n "checking for finitel declaration... " >&6; }
40443 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40444 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40445 $as_echo_n "(cached) " >&6
40446 else
40449 ac_ext=cpp
40450 ac_cpp='$CXXCPP $CPPFLAGS'
40451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40456 /* end confdefs.h. */
40457 #include <math.h>
40458 #ifdef HAVE_IEEEFP_H
40459 #include <ieeefp.h>
40460 #endif
40463 main ()
40465 finitel(0);
40467 return 0;
40469 _ACEOF
40470 if ac_fn_cxx_try_compile "$LINENO"; then :
40471 glibcxx_cv_func_finitel_use=yes
40472 else
40473 glibcxx_cv_func_finitel_use=no
40475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40476 ac_ext=c
40477 ac_cpp='$CPP $CPPFLAGS'
40478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40487 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40489 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40490 for ac_func in finitel
40491 do :
40492 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40493 if test "x$ac_cv_func_finitel" = x""yes; then :
40494 cat >>confdefs.h <<_ACEOF
40495 #define HAVE_FINITEL 1
40496 _ACEOF
40499 done
40501 else
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40504 $as_echo_n "checking for _finitel declaration... " >&6; }
40505 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40506 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40507 $as_echo_n "(cached) " >&6
40508 else
40511 ac_ext=cpp
40512 ac_cpp='$CXXCPP $CPPFLAGS'
40513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40518 /* end confdefs.h. */
40519 #include <math.h>
40520 #ifdef HAVE_IEEEFP_H
40521 #include <ieeefp.h>
40522 #endif
40525 main ()
40527 _finitel(0);
40529 return 0;
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func__finitel_use=yes
40534 else
40535 glibcxx_cv_func__finitel_use=no
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40549 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40551 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40552 for ac_func in _finitel
40553 do :
40554 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40555 if test "x$ac_cv_func__finitel" = x""yes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE__FINITEL 1
40558 _ACEOF
40561 done
40569 LIBS="$ac_save_LIBS"
40570 CXXFLAGS="$ac_save_CXXFLAGS"
40573 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40574 ac_save_CXXFLAGS="$CXXFLAGS"
40575 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40579 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40580 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40581 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40582 $as_echo_n "(cached) " >&6
40583 else
40586 ac_ext=cpp
40587 ac_cpp='$CXXCPP $CPPFLAGS'
40588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40593 /* end confdefs.h. */
40594 #include <stdlib.h>
40596 main ()
40598 at_quick_exit(0);
40600 return 0;
40602 _ACEOF
40603 if ac_fn_cxx_try_compile "$LINENO"; then :
40604 glibcxx_cv_func_at_quick_exit_use=yes
40605 else
40606 glibcxx_cv_func_at_quick_exit_use=no
40608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40609 ac_ext=c
40610 ac_cpp='$CPP $CPPFLAGS'
40611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40620 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40621 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40622 for ac_func in at_quick_exit
40623 do :
40624 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40625 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40626 cat >>confdefs.h <<_ACEOF
40627 #define HAVE_AT_QUICK_EXIT 1
40628 _ACEOF
40631 done
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40637 $as_echo_n "checking for quick_exit declaration... " >&6; }
40638 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40639 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40640 $as_echo_n "(cached) " >&6
40641 else
40644 ac_ext=cpp
40645 ac_cpp='$CXXCPP $CPPFLAGS'
40646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40651 /* end confdefs.h. */
40652 #include <stdlib.h>
40654 main ()
40656 quick_exit(0);
40658 return 0;
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662 glibcxx_cv_func_quick_exit_use=yes
40663 else
40664 glibcxx_cv_func_quick_exit_use=no
40666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667 ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40678 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40679 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40680 for ac_func in quick_exit
40681 do :
40682 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40683 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40684 cat >>confdefs.h <<_ACEOF
40685 #define HAVE_QUICK_EXIT 1
40686 _ACEOF
40689 done
40694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40695 $as_echo_n "checking for strtold declaration... " >&6; }
40696 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40697 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40698 $as_echo_n "(cached) " >&6
40699 else
40702 ac_ext=cpp
40703 ac_cpp='$CXXCPP $CPPFLAGS'
40704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40709 /* end confdefs.h. */
40710 #include <stdlib.h>
40712 main ()
40714 strtold(0, 0);
40716 return 0;
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func_strtold_use=yes
40721 else
40722 glibcxx_cv_func_strtold_use=no
40724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40725 ac_ext=c
40726 ac_cpp='$CPP $CPPFLAGS'
40727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40736 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40737 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40738 for ac_func in strtold
40739 do :
40740 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40741 if test "x$ac_cv_func_strtold" = x""yes; then :
40742 cat >>confdefs.h <<_ACEOF
40743 #define HAVE_STRTOLD 1
40744 _ACEOF
40747 done
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40755 $as_echo_n "checking for strtof declaration... " >&6; }
40756 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40757 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <stdlib.h>
40772 main ()
40774 strtof(0, 0);
40776 return 0;
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func_strtof_use=yes
40781 else
40782 glibcxx_cv_func_strtof_use=no
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40796 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40797 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40798 for ac_func in strtof
40799 do :
40800 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40801 if test "x$ac_cv_func_strtof" = x""yes; then :
40802 cat >>confdefs.h <<_ACEOF
40803 #define HAVE_STRTOF 1
40804 _ACEOF
40807 done
40814 CXXFLAGS="$ac_save_CXXFLAGS"
40821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40822 $as_echo_n "checking for iconv... " >&6; }
40823 if test "${am_cv_func_iconv+set}" = set; then :
40824 $as_echo_n "(cached) " >&6
40825 else
40827 am_cv_func_iconv="no, consider installing GNU libiconv"
40828 am_cv_lib_iconv=no
40829 am_save_CPPFLAGS="$CPPFLAGS"
40830 CPPFLAGS="$CPPFLAGS $INCICONV"
40831 if test x$gcc_no_link = xyes; then
40832 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40835 /* end confdefs.h. */
40836 #include <stdlib.h>
40837 #include <iconv.h>
40839 main ()
40841 iconv_t cd = iconv_open("","");
40842 iconv(cd,NULL,NULL,NULL,NULL);
40843 iconv_close(cd);
40845 return 0;
40847 _ACEOF
40848 if ac_fn_c_try_link "$LINENO"; then :
40849 am_cv_func_iconv=yes
40851 rm -f core conftest.err conftest.$ac_objext \
40852 conftest$ac_exeext conftest.$ac_ext
40853 CPPFLAGS="$am_save_CPPFLAGS"
40855 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40856 for _libs in .libs _libs; do
40857 am_save_CPPFLAGS="$CPPFLAGS"
40858 am_save_LIBS="$LIBS"
40859 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40860 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40861 if test x$gcc_no_link = xyes; then
40862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40865 /* end confdefs.h. */
40866 #include <stdlib.h>
40867 #include <iconv.h>
40869 main ()
40871 iconv_t cd = iconv_open("","");
40872 iconv(cd,NULL,NULL,NULL,NULL);
40873 iconv_close(cd);
40875 return 0;
40877 _ACEOF
40878 if ac_fn_c_try_link "$LINENO"; then :
40879 INCICONV="-I../libiconv/include"
40880 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40881 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40882 am_cv_lib_iconv=yes
40883 am_cv_func_iconv=yes
40885 rm -f core conftest.err conftest.$ac_objext \
40886 conftest$ac_exeext conftest.$ac_ext
40887 CPPFLAGS="$am_save_CPPFLAGS"
40888 LIBS="$am_save_LIBS"
40889 if test "$am_cv_func_iconv" = "yes"; then
40890 break
40892 done
40895 if test "$am_cv_func_iconv" != yes; then
40896 am_save_CPPFLAGS="$CPPFLAGS"
40897 am_save_LIBS="$LIBS"
40898 CPPFLAGS="$LIBS $INCICONV"
40899 LIBS="$LIBS $LIBICONV"
40900 if test x$gcc_no_link = xyes; then
40901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40904 /* end confdefs.h. */
40905 #include <stdlib.h>
40906 #include <iconv.h>
40908 main ()
40910 iconv_t cd = iconv_open("","");
40911 iconv(cd,NULL,NULL,NULL,NULL);
40912 iconv_close(cd);
40914 return 0;
40916 _ACEOF
40917 if ac_fn_c_try_link "$LINENO"; then :
40918 am_cv_lib_iconv=yes
40919 am_cv_func_iconv=yes
40921 rm -f core conftest.err conftest.$ac_objext \
40922 conftest$ac_exeext conftest.$ac_ext
40923 CPPFLAGS="$am_save_CPPFLAGS"
40924 LIBS="$am_save_LIBS"
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40929 $as_echo "$am_cv_func_iconv" >&6; }
40930 if test "$am_cv_func_iconv" = yes; then
40932 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40935 if test "$am_cv_lib_iconv" = yes; then
40937 for element in $INCICONV; do
40938 haveit=
40939 for x in $CPPFLAGS; do
40941 acl_save_prefix="$prefix"
40942 prefix="$acl_final_prefix"
40943 acl_save_exec_prefix="$exec_prefix"
40944 exec_prefix="$acl_final_exec_prefix"
40945 eval x=\"$x\"
40946 exec_prefix="$acl_save_exec_prefix"
40947 prefix="$acl_save_prefix"
40949 if test "X$x" = "X$element"; then
40950 haveit=yes
40951 break
40953 done
40954 if test -z "$haveit"; then
40955 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40957 done
40959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40960 $as_echo_n "checking how to link with libiconv... " >&6; }
40961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40962 $as_echo "$LIBICONV" >&6; }
40963 else
40964 LIBICONV=
40965 LTLIBICONV=
40970 if test "$am_cv_func_iconv" = yes; then
40971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40972 $as_echo_n "checking for iconv declaration... " >&6; }
40973 if test "${am_cv_proto_iconv+set}" = set; then :
40974 $as_echo_n "(cached) " >&6
40975 else
40977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40978 /* end confdefs.h. */
40980 #include <stdlib.h>
40981 #include <iconv.h>
40982 extern
40983 #ifdef __cplusplus
40985 #endif
40986 #if defined(__STDC__) || defined(__cplusplus)
40987 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40988 #else
40989 size_t iconv();
40990 #endif
40993 main ()
40997 return 0;
40999 _ACEOF
41000 if ac_fn_c_try_compile "$LINENO"; then :
41001 am_cv_proto_iconv_arg1=""
41002 else
41003 am_cv_proto_iconv_arg1="const"
41005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41006 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);"
41009 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41011 }$am_cv_proto_iconv" >&5
41012 $as_echo "${ac_t:-
41013 }$am_cv_proto_iconv" >&6; }
41015 cat >>confdefs.h <<_ACEOF
41016 #define ICONV_CONST $am_cv_proto_iconv_arg1
41017 _ACEOF
41023 *-aix*)
41025 # If we're not using GNU ld, then there's no point in even trying these
41026 # tests. Check for that first. We should have already tested for gld
41027 # by now (in libtool), but require it now just to be safe...
41028 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41029 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41033 # The name set by libtool depends on the version of libtool. Shame on us
41034 # for depending on an impl detail, but c'est la vie. Older versions used
41035 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41036 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41037 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41038 # set (hence we're using an older libtool), then set it.
41039 if test x${with_gnu_ld+set} != xset; then
41040 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41041 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41042 with_gnu_ld=no
41043 else
41044 with_gnu_ld=$ac_cv_prog_gnu_ld
41048 # Start by getting the version number. I think the libtool test already
41049 # does some of this, but throws away the result.
41050 glibcxx_ld_is_gold=no
41051 if test x"$with_gnu_ld" = x"yes"; then
41052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41053 $as_echo_n "checking for ld version... " >&6; }
41055 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41056 glibcxx_ld_is_gold=yes
41058 ldver=`$LD --version 2>/dev/null |
41059 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'`
41061 glibcxx_gnu_ld_version=`echo $ldver | \
41062 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41064 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41067 # Set --gc-sections.
41068 glibcxx_have_gc_sections=no
41069 if test "$glibcxx_ld_is_gold" = "yes"; then
41070 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41071 glibcxx_have_gc_sections=yes
41073 else
41074 glibcxx_gcsections_min_ld=21602
41075 if test x"$with_gnu_ld" = x"yes" &&
41076 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41077 glibcxx_have_gc_sections=yes
41080 if test "$glibcxx_have_gc_sections" = "yes"; then
41081 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41082 # NB: This flag only works reliably after 2.16.1. Configure tests
41083 # for this are difficult, so hard wire a value that should work.
41085 ac_test_CFLAGS="${CFLAGS+set}"
41086 ac_save_CFLAGS="$CFLAGS"
41087 CFLAGS='-Wl,--gc-sections'
41089 # Check for -Wl,--gc-sections
41090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41091 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41092 if test x$gcc_no_link = xyes; then
41093 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41096 /* end confdefs.h. */
41097 int one(void) { return 1; }
41098 int two(void) { return 2; }
41101 main ()
41103 two();
41105 return 0;
41107 _ACEOF
41108 if ac_fn_c_try_link "$LINENO"; then :
41109 ac_gcsections=yes
41110 else
41111 ac_gcsections=no
41113 rm -f core conftest.err conftest.$ac_objext \
41114 conftest$ac_exeext conftest.$ac_ext
41115 if test "$ac_gcsections" = "yes"; then
41116 rm -f conftest.c
41117 touch conftest.c
41118 if $CC -c conftest.c; then
41119 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41120 grep "Warning: gc-sections option ignored" > /dev/null; then
41121 ac_gcsections=no
41124 rm -f conftest.c conftest.o conftest
41126 if test "$ac_gcsections" = "yes"; then
41127 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41130 $as_echo "$ac_gcsections" >&6; }
41132 if test "$ac_test_CFLAGS" = set; then
41133 CFLAGS="$ac_save_CFLAGS"
41134 else
41135 # this is the suspicious part
41136 CFLAGS=''
41140 # Set -z,relro.
41141 # Note this is only for shared objects.
41142 ac_ld_relro=no
41143 if test x"$with_gnu_ld" = x"yes"; then
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41145 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41146 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41147 if test -n "$cxx_z_relo"; then
41148 OPT_LDFLAGS="-Wl,-z,relro"
41149 ac_ld_relro=yes
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41152 $as_echo "$ac_ld_relro" >&6; }
41155 # Set linker optimization flags.
41156 if test x"$with_gnu_ld" = x"yes"; then
41157 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41164 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41165 ac_save_CXXFLAGS="$CXXFLAGS"
41166 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41169 $as_echo_n "checking for sin in -lm... " >&6; }
41170 if test "${ac_cv_lib_m_sin+set}" = set; then :
41171 $as_echo_n "(cached) " >&6
41172 else
41173 ac_check_lib_save_LIBS=$LIBS
41174 LIBS="-lm $LIBS"
41175 if test x$gcc_no_link = xyes; then
41176 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41179 /* end confdefs.h. */
41181 /* Override any GCC internal prototype to avoid an error.
41182 Use char because int might match the return type of a GCC
41183 builtin and then its argument prototype would still apply. */
41184 #ifdef __cplusplus
41185 extern "C"
41186 #endif
41187 char sin ();
41189 main ()
41191 return sin ();
41193 return 0;
41195 _ACEOF
41196 if ac_fn_c_try_link "$LINENO"; then :
41197 ac_cv_lib_m_sin=yes
41198 else
41199 ac_cv_lib_m_sin=no
41201 rm -f core conftest.err conftest.$ac_objext \
41202 conftest$ac_exeext conftest.$ac_ext
41203 LIBS=$ac_check_lib_save_LIBS
41205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41206 $as_echo "$ac_cv_lib_m_sin" >&6; }
41207 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41208 libm="-lm"
41211 ac_save_LIBS="$LIBS"
41212 LIBS="$LIBS $libm"
41216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41217 $as_echo_n "checking for isinf declaration... " >&6; }
41218 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41219 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41220 $as_echo_n "(cached) " >&6
41221 else
41224 ac_ext=cpp
41225 ac_cpp='$CXXCPP $CPPFLAGS'
41226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41231 /* end confdefs.h. */
41232 #include <math.h>
41233 #ifdef HAVE_IEEEFP_H
41234 #include <ieeefp.h>
41235 #endif
41238 main ()
41240 isinf(0);
41242 return 0;
41244 _ACEOF
41245 if ac_fn_cxx_try_compile "$LINENO"; then :
41246 glibcxx_cv_func_isinf_use=yes
41247 else
41248 glibcxx_cv_func_isinf_use=no
41250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41251 ac_ext=c
41252 ac_cpp='$CPP $CPPFLAGS'
41253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41262 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41264 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41265 for ac_func in isinf
41266 do :
41267 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41268 if test "x$ac_cv_func_isinf" = x""yes; then :
41269 cat >>confdefs.h <<_ACEOF
41270 #define HAVE_ISINF 1
41271 _ACEOF
41274 done
41276 else
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41279 $as_echo_n "checking for _isinf declaration... " >&6; }
41280 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41281 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41282 $as_echo_n "(cached) " >&6
41283 else
41286 ac_ext=cpp
41287 ac_cpp='$CXXCPP $CPPFLAGS'
41288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41293 /* end confdefs.h. */
41294 #include <math.h>
41295 #ifdef HAVE_IEEEFP_H
41296 #include <ieeefp.h>
41297 #endif
41300 main ()
41302 _isinf(0);
41304 return 0;
41306 _ACEOF
41307 if ac_fn_cxx_try_compile "$LINENO"; then :
41308 glibcxx_cv_func__isinf_use=yes
41309 else
41310 glibcxx_cv_func__isinf_use=no
41312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41313 ac_ext=c
41314 ac_cpp='$CPP $CPPFLAGS'
41315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41324 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41326 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41327 for ac_func in _isinf
41328 do :
41329 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41330 if test "x$ac_cv_func__isinf" = x""yes; then :
41331 cat >>confdefs.h <<_ACEOF
41332 #define HAVE__ISINF 1
41333 _ACEOF
41336 done
41345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41346 $as_echo_n "checking for isnan declaration... " >&6; }
41347 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41348 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41349 $as_echo_n "(cached) " >&6
41350 else
41353 ac_ext=cpp
41354 ac_cpp='$CXXCPP $CPPFLAGS'
41355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41360 /* end confdefs.h. */
41361 #include <math.h>
41362 #ifdef HAVE_IEEEFP_H
41363 #include <ieeefp.h>
41364 #endif
41367 main ()
41369 isnan(0);
41371 return 0;
41373 _ACEOF
41374 if ac_fn_cxx_try_compile "$LINENO"; then :
41375 glibcxx_cv_func_isnan_use=yes
41376 else
41377 glibcxx_cv_func_isnan_use=no
41379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41380 ac_ext=c
41381 ac_cpp='$CPP $CPPFLAGS'
41382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41391 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41393 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41394 for ac_func in isnan
41395 do :
41396 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41397 if test "x$ac_cv_func_isnan" = x""yes; then :
41398 cat >>confdefs.h <<_ACEOF
41399 #define HAVE_ISNAN 1
41400 _ACEOF
41403 done
41405 else
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41408 $as_echo_n "checking for _isnan declaration... " >&6; }
41409 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41410 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41411 $as_echo_n "(cached) " >&6
41412 else
41415 ac_ext=cpp
41416 ac_cpp='$CXXCPP $CPPFLAGS'
41417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41422 /* end confdefs.h. */
41423 #include <math.h>
41424 #ifdef HAVE_IEEEFP_H
41425 #include <ieeefp.h>
41426 #endif
41429 main ()
41431 _isnan(0);
41433 return 0;
41435 _ACEOF
41436 if ac_fn_cxx_try_compile "$LINENO"; then :
41437 glibcxx_cv_func__isnan_use=yes
41438 else
41439 glibcxx_cv_func__isnan_use=no
41441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41442 ac_ext=c
41443 ac_cpp='$CPP $CPPFLAGS'
41444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41453 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41455 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41456 for ac_func in _isnan
41457 do :
41458 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41459 if test "x$ac_cv_func__isnan" = x""yes; then :
41460 cat >>confdefs.h <<_ACEOF
41461 #define HAVE__ISNAN 1
41462 _ACEOF
41465 done
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41475 $as_echo_n "checking for finite declaration... " >&6; }
41476 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41477 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41478 $as_echo_n "(cached) " >&6
41479 else
41482 ac_ext=cpp
41483 ac_cpp='$CXXCPP $CPPFLAGS'
41484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41489 /* end confdefs.h. */
41490 #include <math.h>
41491 #ifdef HAVE_IEEEFP_H
41492 #include <ieeefp.h>
41493 #endif
41496 main ()
41498 finite(0);
41500 return 0;
41502 _ACEOF
41503 if ac_fn_cxx_try_compile "$LINENO"; then :
41504 glibcxx_cv_func_finite_use=yes
41505 else
41506 glibcxx_cv_func_finite_use=no
41508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41509 ac_ext=c
41510 ac_cpp='$CPP $CPPFLAGS'
41511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41520 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41522 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41523 for ac_func in finite
41524 do :
41525 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41526 if test "x$ac_cv_func_finite" = x""yes; then :
41527 cat >>confdefs.h <<_ACEOF
41528 #define HAVE_FINITE 1
41529 _ACEOF
41532 done
41534 else
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41537 $as_echo_n "checking for _finite declaration... " >&6; }
41538 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41539 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41540 $as_echo_n "(cached) " >&6
41541 else
41544 ac_ext=cpp
41545 ac_cpp='$CXXCPP $CPPFLAGS'
41546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41551 /* end confdefs.h. */
41552 #include <math.h>
41553 #ifdef HAVE_IEEEFP_H
41554 #include <ieeefp.h>
41555 #endif
41558 main ()
41560 _finite(0);
41562 return 0;
41564 _ACEOF
41565 if ac_fn_cxx_try_compile "$LINENO"; then :
41566 glibcxx_cv_func__finite_use=yes
41567 else
41568 glibcxx_cv_func__finite_use=no
41570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41571 ac_ext=c
41572 ac_cpp='$CPP $CPPFLAGS'
41573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41582 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41584 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41585 for ac_func in _finite
41586 do :
41587 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41588 if test "x$ac_cv_func__finite" = x""yes; then :
41589 cat >>confdefs.h <<_ACEOF
41590 #define HAVE__FINITE 1
41591 _ACEOF
41594 done
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41604 $as_echo_n "checking for sincos declaration... " >&6; }
41605 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41606 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41607 $as_echo_n "(cached) " >&6
41608 else
41611 ac_ext=cpp
41612 ac_cpp='$CXXCPP $CPPFLAGS'
41613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41618 /* end confdefs.h. */
41619 #include <math.h>
41621 main ()
41623 sincos(0, 0, 0);
41625 return 0;
41627 _ACEOF
41628 if ac_fn_cxx_try_compile "$LINENO"; then :
41629 glibcxx_cv_func_sincos_use=yes
41630 else
41631 glibcxx_cv_func_sincos_use=no
41633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41634 ac_ext=c
41635 ac_cpp='$CPP $CPPFLAGS'
41636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41645 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41647 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41648 for ac_func in sincos
41649 do :
41650 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41651 if test "x$ac_cv_func_sincos" = x""yes; then :
41652 cat >>confdefs.h <<_ACEOF
41653 #define HAVE_SINCOS 1
41654 _ACEOF
41657 done
41659 else
41661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41662 $as_echo_n "checking for _sincos declaration... " >&6; }
41663 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41664 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41665 $as_echo_n "(cached) " >&6
41666 else
41669 ac_ext=cpp
41670 ac_cpp='$CXXCPP $CPPFLAGS'
41671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41676 /* end confdefs.h. */
41677 #include <math.h>
41679 main ()
41681 _sincos(0, 0, 0);
41683 return 0;
41685 _ACEOF
41686 if ac_fn_cxx_try_compile "$LINENO"; then :
41687 glibcxx_cv_func__sincos_use=yes
41688 else
41689 glibcxx_cv_func__sincos_use=no
41691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41692 ac_ext=c
41693 ac_cpp='$CPP $CPPFLAGS'
41694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41703 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41705 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41706 for ac_func in _sincos
41707 do :
41708 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41709 if test "x$ac_cv_func__sincos" = x""yes; then :
41710 cat >>confdefs.h <<_ACEOF
41711 #define HAVE__SINCOS 1
41712 _ACEOF
41715 done
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41725 $as_echo_n "checking for fpclass declaration... " >&6; }
41726 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41727 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41728 $as_echo_n "(cached) " >&6
41729 else
41732 ac_ext=cpp
41733 ac_cpp='$CXXCPP $CPPFLAGS'
41734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41739 /* end confdefs.h. */
41740 #include <math.h>
41741 #ifdef HAVE_IEEEFP_H
41742 #include <ieeefp.h>
41743 #endif
41746 main ()
41748 fpclass(0);
41750 return 0;
41752 _ACEOF
41753 if ac_fn_cxx_try_compile "$LINENO"; then :
41754 glibcxx_cv_func_fpclass_use=yes
41755 else
41756 glibcxx_cv_func_fpclass_use=no
41758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41759 ac_ext=c
41760 ac_cpp='$CPP $CPPFLAGS'
41761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41770 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41772 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41773 for ac_func in fpclass
41774 do :
41775 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41776 if test "x$ac_cv_func_fpclass" = x""yes; then :
41777 cat >>confdefs.h <<_ACEOF
41778 #define HAVE_FPCLASS 1
41779 _ACEOF
41782 done
41784 else
41786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41787 $as_echo_n "checking for _fpclass declaration... " >&6; }
41788 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41789 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41790 $as_echo_n "(cached) " >&6
41791 else
41794 ac_ext=cpp
41795 ac_cpp='$CXXCPP $CPPFLAGS'
41796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41801 /* end confdefs.h. */
41802 #include <math.h>
41803 #ifdef HAVE_IEEEFP_H
41804 #include <ieeefp.h>
41805 #endif
41808 main ()
41810 _fpclass(0);
41812 return 0;
41814 _ACEOF
41815 if ac_fn_cxx_try_compile "$LINENO"; then :
41816 glibcxx_cv_func__fpclass_use=yes
41817 else
41818 glibcxx_cv_func__fpclass_use=no
41820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41821 ac_ext=c
41822 ac_cpp='$CPP $CPPFLAGS'
41823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41832 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41834 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41835 for ac_func in _fpclass
41836 do :
41837 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41838 if test "x$ac_cv_func__fpclass" = x""yes; then :
41839 cat >>confdefs.h <<_ACEOF
41840 #define HAVE__FPCLASS 1
41841 _ACEOF
41844 done
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41854 $as_echo_n "checking for qfpclass declaration... " >&6; }
41855 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41856 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41857 $as_echo_n "(cached) " >&6
41858 else
41861 ac_ext=cpp
41862 ac_cpp='$CXXCPP $CPPFLAGS'
41863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41868 /* end confdefs.h. */
41869 #include <math.h>
41870 #ifdef HAVE_IEEEFP_H
41871 #include <ieeefp.h>
41872 #endif
41875 main ()
41877 qfpclass(0);
41879 return 0;
41881 _ACEOF
41882 if ac_fn_cxx_try_compile "$LINENO"; then :
41883 glibcxx_cv_func_qfpclass_use=yes
41884 else
41885 glibcxx_cv_func_qfpclass_use=no
41887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41888 ac_ext=c
41889 ac_cpp='$CPP $CPPFLAGS'
41890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41899 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41901 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41902 for ac_func in qfpclass
41903 do :
41904 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41905 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41906 cat >>confdefs.h <<_ACEOF
41907 #define HAVE_QFPCLASS 1
41908 _ACEOF
41911 done
41913 else
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41916 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41917 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41918 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41919 $as_echo_n "(cached) " >&6
41920 else
41923 ac_ext=cpp
41924 ac_cpp='$CXXCPP $CPPFLAGS'
41925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41930 /* end confdefs.h. */
41931 #include <math.h>
41932 #ifdef HAVE_IEEEFP_H
41933 #include <ieeefp.h>
41934 #endif
41937 main ()
41939 _qfpclass(0);
41941 return 0;
41943 _ACEOF
41944 if ac_fn_cxx_try_compile "$LINENO"; then :
41945 glibcxx_cv_func__qfpclass_use=yes
41946 else
41947 glibcxx_cv_func__qfpclass_use=no
41949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41950 ac_ext=c
41951 ac_cpp='$CPP $CPPFLAGS'
41952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41961 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41963 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41964 for ac_func in _qfpclass
41965 do :
41966 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41967 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41968 cat >>confdefs.h <<_ACEOF
41969 #define HAVE__QFPCLASS 1
41970 _ACEOF
41973 done
41982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41983 $as_echo_n "checking for hypot declaration... " >&6; }
41984 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41985 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41986 $as_echo_n "(cached) " >&6
41987 else
41990 ac_ext=cpp
41991 ac_cpp='$CXXCPP $CPPFLAGS'
41992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41997 /* end confdefs.h. */
41998 #include <math.h>
42000 main ()
42002 hypot(0, 0);
42004 return 0;
42006 _ACEOF
42007 if ac_fn_cxx_try_compile "$LINENO"; then :
42008 glibcxx_cv_func_hypot_use=yes
42009 else
42010 glibcxx_cv_func_hypot_use=no
42012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42013 ac_ext=c
42014 ac_cpp='$CPP $CPPFLAGS'
42015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42024 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42026 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42027 for ac_func in hypot
42028 do :
42029 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42030 if test "x$ac_cv_func_hypot" = x""yes; then :
42031 cat >>confdefs.h <<_ACEOF
42032 #define HAVE_HYPOT 1
42033 _ACEOF
42036 done
42038 else
42040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42041 $as_echo_n "checking for _hypot declaration... " >&6; }
42042 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42043 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42044 $as_echo_n "(cached) " >&6
42045 else
42048 ac_ext=cpp
42049 ac_cpp='$CXXCPP $CPPFLAGS'
42050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42055 /* end confdefs.h. */
42056 #include <math.h>
42058 main ()
42060 _hypot(0, 0);
42062 return 0;
42064 _ACEOF
42065 if ac_fn_cxx_try_compile "$LINENO"; then :
42066 glibcxx_cv_func__hypot_use=yes
42067 else
42068 glibcxx_cv_func__hypot_use=no
42070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42071 ac_ext=c
42072 ac_cpp='$CPP $CPPFLAGS'
42073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42082 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42084 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42085 for ac_func in _hypot
42086 do :
42087 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42088 if test "x$ac_cv_func__hypot" = x""yes; then :
42089 cat >>confdefs.h <<_ACEOF
42090 #define HAVE__HYPOT 1
42091 _ACEOF
42094 done
42103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42104 $as_echo_n "checking for float trig functions... " >&6; }
42105 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42106 $as_echo_n "(cached) " >&6
42107 else
42110 ac_ext=cpp
42111 ac_cpp='$CXXCPP $CPPFLAGS'
42112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42117 /* end confdefs.h. */
42118 #include <math.h>
42120 main ()
42122 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42124 return 0;
42126 _ACEOF
42127 if ac_fn_cxx_try_compile "$LINENO"; then :
42128 glibcxx_cv_func_float_trig_use=yes
42129 else
42130 glibcxx_cv_func_float_trig_use=no
42132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42133 ac_ext=c
42134 ac_cpp='$CPP $CPPFLAGS'
42135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42142 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42143 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42144 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42145 do :
42146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42148 eval as_val=\$$as_ac_var
42149 if test "x$as_val" = x""yes; then :
42150 cat >>confdefs.h <<_ACEOF
42151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42152 _ACEOF
42155 done
42157 else
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42159 $as_echo_n "checking for _float trig functions... " >&6; }
42160 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42161 $as_echo_n "(cached) " >&6
42162 else
42165 ac_ext=cpp
42166 ac_cpp='$CXXCPP $CPPFLAGS'
42167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42172 /* end confdefs.h. */
42173 #include <math.h>
42175 main ()
42177 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42179 return 0;
42181 _ACEOF
42182 if ac_fn_cxx_try_compile "$LINENO"; then :
42183 glibcxx_cv_func__float_trig_use=yes
42184 else
42185 glibcxx_cv_func__float_trig_use=no
42187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42188 ac_ext=c
42189 ac_cpp='$CPP $CPPFLAGS'
42190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42197 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42198 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42199 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42200 do :
42201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42203 eval as_val=\$$as_ac_var
42204 if test "x$as_val" = x""yes; then :
42205 cat >>confdefs.h <<_ACEOF
42206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42207 _ACEOF
42210 done
42219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42220 $as_echo_n "checking for float round functions... " >&6; }
42221 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42222 $as_echo_n "(cached) " >&6
42223 else
42226 ac_ext=cpp
42227 ac_cpp='$CXXCPP $CPPFLAGS'
42228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42233 /* end confdefs.h. */
42234 #include <math.h>
42236 main ()
42238 ceilf (0); floorf (0);
42240 return 0;
42242 _ACEOF
42243 if ac_fn_cxx_try_compile "$LINENO"; then :
42244 glibcxx_cv_func_float_round_use=yes
42245 else
42246 glibcxx_cv_func_float_round_use=no
42248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42249 ac_ext=c
42250 ac_cpp='$CPP $CPPFLAGS'
42251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42258 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42259 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42260 for ac_func in ceilf floorf
42261 do :
42262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42264 eval as_val=\$$as_ac_var
42265 if test "x$as_val" = x""yes; then :
42266 cat >>confdefs.h <<_ACEOF
42267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42268 _ACEOF
42271 done
42273 else
42274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42275 $as_echo_n "checking for _float round functions... " >&6; }
42276 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42277 $as_echo_n "(cached) " >&6
42278 else
42281 ac_ext=cpp
42282 ac_cpp='$CXXCPP $CPPFLAGS'
42283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42288 /* end confdefs.h. */
42289 #include <math.h>
42291 main ()
42293 _ceilf (0); _floorf (0);
42295 return 0;
42297 _ACEOF
42298 if ac_fn_cxx_try_compile "$LINENO"; then :
42299 glibcxx_cv_func__float_round_use=yes
42300 else
42301 glibcxx_cv_func__float_round_use=no
42303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42304 ac_ext=c
42305 ac_cpp='$CPP $CPPFLAGS'
42306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42313 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42314 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42315 for ac_func in _ceilf _floorf
42316 do :
42317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42319 eval as_val=\$$as_ac_var
42320 if test "x$as_val" = x""yes; then :
42321 cat >>confdefs.h <<_ACEOF
42322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42323 _ACEOF
42326 done
42336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42337 $as_echo_n "checking for expf declaration... " >&6; }
42338 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42339 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42340 $as_echo_n "(cached) " >&6
42341 else
42344 ac_ext=cpp
42345 ac_cpp='$CXXCPP $CPPFLAGS'
42346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42351 /* end confdefs.h. */
42352 #include <math.h>
42353 #ifdef HAVE_IEEEFP_H
42354 #include <ieeefp.h>
42355 #endif
42358 main ()
42360 expf(0);
42362 return 0;
42364 _ACEOF
42365 if ac_fn_cxx_try_compile "$LINENO"; then :
42366 glibcxx_cv_func_expf_use=yes
42367 else
42368 glibcxx_cv_func_expf_use=no
42370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42371 ac_ext=c
42372 ac_cpp='$CPP $CPPFLAGS'
42373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42382 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42384 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42385 for ac_func in expf
42386 do :
42387 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42388 if test "x$ac_cv_func_expf" = x""yes; then :
42389 cat >>confdefs.h <<_ACEOF
42390 #define HAVE_EXPF 1
42391 _ACEOF
42394 done
42396 else
42398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42399 $as_echo_n "checking for _expf declaration... " >&6; }
42400 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42401 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42402 $as_echo_n "(cached) " >&6
42403 else
42406 ac_ext=cpp
42407 ac_cpp='$CXXCPP $CPPFLAGS'
42408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42413 /* end confdefs.h. */
42414 #include <math.h>
42415 #ifdef HAVE_IEEEFP_H
42416 #include <ieeefp.h>
42417 #endif
42420 main ()
42422 _expf(0);
42424 return 0;
42426 _ACEOF
42427 if ac_fn_cxx_try_compile "$LINENO"; then :
42428 glibcxx_cv_func__expf_use=yes
42429 else
42430 glibcxx_cv_func__expf_use=no
42432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42433 ac_ext=c
42434 ac_cpp='$CPP $CPPFLAGS'
42435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42444 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42446 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42447 for ac_func in _expf
42448 do :
42449 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42450 if test "x$ac_cv_func__expf" = x""yes; then :
42451 cat >>confdefs.h <<_ACEOF
42452 #define HAVE__EXPF 1
42453 _ACEOF
42456 done
42465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42466 $as_echo_n "checking for isnanf declaration... " >&6; }
42467 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42468 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42469 $as_echo_n "(cached) " >&6
42470 else
42473 ac_ext=cpp
42474 ac_cpp='$CXXCPP $CPPFLAGS'
42475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42480 /* end confdefs.h. */
42481 #include <math.h>
42482 #ifdef HAVE_IEEEFP_H
42483 #include <ieeefp.h>
42484 #endif
42487 main ()
42489 isnanf(0);
42491 return 0;
42493 _ACEOF
42494 if ac_fn_cxx_try_compile "$LINENO"; then :
42495 glibcxx_cv_func_isnanf_use=yes
42496 else
42497 glibcxx_cv_func_isnanf_use=no
42499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42500 ac_ext=c
42501 ac_cpp='$CPP $CPPFLAGS'
42502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42511 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42513 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42514 for ac_func in isnanf
42515 do :
42516 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42517 if test "x$ac_cv_func_isnanf" = x""yes; then :
42518 cat >>confdefs.h <<_ACEOF
42519 #define HAVE_ISNANF 1
42520 _ACEOF
42523 done
42525 else
42527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42528 $as_echo_n "checking for _isnanf declaration... " >&6; }
42529 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42530 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42531 $as_echo_n "(cached) " >&6
42532 else
42535 ac_ext=cpp
42536 ac_cpp='$CXXCPP $CPPFLAGS'
42537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42542 /* end confdefs.h. */
42543 #include <math.h>
42544 #ifdef HAVE_IEEEFP_H
42545 #include <ieeefp.h>
42546 #endif
42549 main ()
42551 _isnanf(0);
42553 return 0;
42555 _ACEOF
42556 if ac_fn_cxx_try_compile "$LINENO"; then :
42557 glibcxx_cv_func__isnanf_use=yes
42558 else
42559 glibcxx_cv_func__isnanf_use=no
42561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42562 ac_ext=c
42563 ac_cpp='$CPP $CPPFLAGS'
42564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42573 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42575 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42576 for ac_func in _isnanf
42577 do :
42578 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42579 if test "x$ac_cv_func__isnanf" = x""yes; then :
42580 cat >>confdefs.h <<_ACEOF
42581 #define HAVE__ISNANF 1
42582 _ACEOF
42585 done
42594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42595 $as_echo_n "checking for isinff declaration... " >&6; }
42596 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42597 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42598 $as_echo_n "(cached) " >&6
42599 else
42602 ac_ext=cpp
42603 ac_cpp='$CXXCPP $CPPFLAGS'
42604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42609 /* end confdefs.h. */
42610 #include <math.h>
42611 #ifdef HAVE_IEEEFP_H
42612 #include <ieeefp.h>
42613 #endif
42616 main ()
42618 isinff(0);
42620 return 0;
42622 _ACEOF
42623 if ac_fn_cxx_try_compile "$LINENO"; then :
42624 glibcxx_cv_func_isinff_use=yes
42625 else
42626 glibcxx_cv_func_isinff_use=no
42628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42629 ac_ext=c
42630 ac_cpp='$CPP $CPPFLAGS'
42631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42640 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42642 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42643 for ac_func in isinff
42644 do :
42645 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42646 if test "x$ac_cv_func_isinff" = x""yes; then :
42647 cat >>confdefs.h <<_ACEOF
42648 #define HAVE_ISINFF 1
42649 _ACEOF
42652 done
42654 else
42656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42657 $as_echo_n "checking for _isinff declaration... " >&6; }
42658 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42659 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42660 $as_echo_n "(cached) " >&6
42661 else
42664 ac_ext=cpp
42665 ac_cpp='$CXXCPP $CPPFLAGS'
42666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42671 /* end confdefs.h. */
42672 #include <math.h>
42673 #ifdef HAVE_IEEEFP_H
42674 #include <ieeefp.h>
42675 #endif
42678 main ()
42680 _isinff(0);
42682 return 0;
42684 _ACEOF
42685 if ac_fn_cxx_try_compile "$LINENO"; then :
42686 glibcxx_cv_func__isinff_use=yes
42687 else
42688 glibcxx_cv_func__isinff_use=no
42690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42691 ac_ext=c
42692 ac_cpp='$CPP $CPPFLAGS'
42693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42702 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42704 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42705 for ac_func in _isinff
42706 do :
42707 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42708 if test "x$ac_cv_func__isinff" = x""yes; then :
42709 cat >>confdefs.h <<_ACEOF
42710 #define HAVE__ISINFF 1
42711 _ACEOF
42714 done
42723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42724 $as_echo_n "checking for atan2f declaration... " >&6; }
42725 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42726 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42727 $as_echo_n "(cached) " >&6
42728 else
42731 ac_ext=cpp
42732 ac_cpp='$CXXCPP $CPPFLAGS'
42733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42738 /* end confdefs.h. */
42739 #include <math.h>
42741 main ()
42743 atan2f(0, 0);
42745 return 0;
42747 _ACEOF
42748 if ac_fn_cxx_try_compile "$LINENO"; then :
42749 glibcxx_cv_func_atan2f_use=yes
42750 else
42751 glibcxx_cv_func_atan2f_use=no
42753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42754 ac_ext=c
42755 ac_cpp='$CPP $CPPFLAGS'
42756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42765 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42767 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42768 for ac_func in atan2f
42769 do :
42770 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42771 if test "x$ac_cv_func_atan2f" = x""yes; then :
42772 cat >>confdefs.h <<_ACEOF
42773 #define HAVE_ATAN2F 1
42774 _ACEOF
42777 done
42779 else
42781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42782 $as_echo_n "checking for _atan2f declaration... " >&6; }
42783 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42784 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42785 $as_echo_n "(cached) " >&6
42786 else
42789 ac_ext=cpp
42790 ac_cpp='$CXXCPP $CPPFLAGS'
42791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42796 /* end confdefs.h. */
42797 #include <math.h>
42799 main ()
42801 _atan2f(0, 0);
42803 return 0;
42805 _ACEOF
42806 if ac_fn_cxx_try_compile "$LINENO"; then :
42807 glibcxx_cv_func__atan2f_use=yes
42808 else
42809 glibcxx_cv_func__atan2f_use=no
42811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42812 ac_ext=c
42813 ac_cpp='$CPP $CPPFLAGS'
42814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42823 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42825 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42826 for ac_func in _atan2f
42827 do :
42828 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42829 if test "x$ac_cv_func__atan2f" = x""yes; then :
42830 cat >>confdefs.h <<_ACEOF
42831 #define HAVE__ATAN2F 1
42832 _ACEOF
42835 done
42844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42845 $as_echo_n "checking for fabsf declaration... " >&6; }
42846 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42847 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42848 $as_echo_n "(cached) " >&6
42849 else
42852 ac_ext=cpp
42853 ac_cpp='$CXXCPP $CPPFLAGS'
42854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42859 /* end confdefs.h. */
42860 #include <math.h>
42861 #ifdef HAVE_IEEEFP_H
42862 #include <ieeefp.h>
42863 #endif
42866 main ()
42868 fabsf(0);
42870 return 0;
42872 _ACEOF
42873 if ac_fn_cxx_try_compile "$LINENO"; then :
42874 glibcxx_cv_func_fabsf_use=yes
42875 else
42876 glibcxx_cv_func_fabsf_use=no
42878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42879 ac_ext=c
42880 ac_cpp='$CPP $CPPFLAGS'
42881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42890 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42892 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42893 for ac_func in fabsf
42894 do :
42895 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42896 if test "x$ac_cv_func_fabsf" = x""yes; then :
42897 cat >>confdefs.h <<_ACEOF
42898 #define HAVE_FABSF 1
42899 _ACEOF
42902 done
42904 else
42906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42907 $as_echo_n "checking for _fabsf declaration... " >&6; }
42908 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42909 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42910 $as_echo_n "(cached) " >&6
42911 else
42914 ac_ext=cpp
42915 ac_cpp='$CXXCPP $CPPFLAGS'
42916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42921 /* end confdefs.h. */
42922 #include <math.h>
42923 #ifdef HAVE_IEEEFP_H
42924 #include <ieeefp.h>
42925 #endif
42928 main ()
42930 _fabsf(0);
42932 return 0;
42934 _ACEOF
42935 if ac_fn_cxx_try_compile "$LINENO"; then :
42936 glibcxx_cv_func__fabsf_use=yes
42937 else
42938 glibcxx_cv_func__fabsf_use=no
42940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42941 ac_ext=c
42942 ac_cpp='$CPP $CPPFLAGS'
42943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42952 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42954 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42955 for ac_func in _fabsf
42956 do :
42957 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42958 if test "x$ac_cv_func__fabsf" = x""yes; then :
42959 cat >>confdefs.h <<_ACEOF
42960 #define HAVE__FABSF 1
42961 _ACEOF
42964 done
42973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42974 $as_echo_n "checking for fmodf declaration... " >&6; }
42975 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42976 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42977 $as_echo_n "(cached) " >&6
42978 else
42981 ac_ext=cpp
42982 ac_cpp='$CXXCPP $CPPFLAGS'
42983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42988 /* end confdefs.h. */
42989 #include <math.h>
42991 main ()
42993 fmodf(0, 0);
42995 return 0;
42997 _ACEOF
42998 if ac_fn_cxx_try_compile "$LINENO"; then :
42999 glibcxx_cv_func_fmodf_use=yes
43000 else
43001 glibcxx_cv_func_fmodf_use=no
43003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43004 ac_ext=c
43005 ac_cpp='$CPP $CPPFLAGS'
43006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43015 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43017 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43018 for ac_func in fmodf
43019 do :
43020 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43021 if test "x$ac_cv_func_fmodf" = x""yes; then :
43022 cat >>confdefs.h <<_ACEOF
43023 #define HAVE_FMODF 1
43024 _ACEOF
43027 done
43029 else
43031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43032 $as_echo_n "checking for _fmodf declaration... " >&6; }
43033 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43034 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43035 $as_echo_n "(cached) " >&6
43036 else
43039 ac_ext=cpp
43040 ac_cpp='$CXXCPP $CPPFLAGS'
43041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43046 /* end confdefs.h. */
43047 #include <math.h>
43049 main ()
43051 _fmodf(0, 0);
43053 return 0;
43055 _ACEOF
43056 if ac_fn_cxx_try_compile "$LINENO"; then :
43057 glibcxx_cv_func__fmodf_use=yes
43058 else
43059 glibcxx_cv_func__fmodf_use=no
43061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43062 ac_ext=c
43063 ac_cpp='$CPP $CPPFLAGS'
43064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43073 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43075 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43076 for ac_func in _fmodf
43077 do :
43078 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43079 if test "x$ac_cv_func__fmodf" = x""yes; then :
43080 cat >>confdefs.h <<_ACEOF
43081 #define HAVE__FMODF 1
43082 _ACEOF
43085 done
43094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43095 $as_echo_n "checking for frexpf declaration... " >&6; }
43096 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43097 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43098 $as_echo_n "(cached) " >&6
43099 else
43102 ac_ext=cpp
43103 ac_cpp='$CXXCPP $CPPFLAGS'
43104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43109 /* end confdefs.h. */
43110 #include <math.h>
43112 main ()
43114 frexpf(0, 0);
43116 return 0;
43118 _ACEOF
43119 if ac_fn_cxx_try_compile "$LINENO"; then :
43120 glibcxx_cv_func_frexpf_use=yes
43121 else
43122 glibcxx_cv_func_frexpf_use=no
43124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43125 ac_ext=c
43126 ac_cpp='$CPP $CPPFLAGS'
43127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43136 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43138 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43139 for ac_func in frexpf
43140 do :
43141 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43142 if test "x$ac_cv_func_frexpf" = x""yes; then :
43143 cat >>confdefs.h <<_ACEOF
43144 #define HAVE_FREXPF 1
43145 _ACEOF
43148 done
43150 else
43152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43153 $as_echo_n "checking for _frexpf declaration... " >&6; }
43154 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43155 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43156 $as_echo_n "(cached) " >&6
43157 else
43160 ac_ext=cpp
43161 ac_cpp='$CXXCPP $CPPFLAGS'
43162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43167 /* end confdefs.h. */
43168 #include <math.h>
43170 main ()
43172 _frexpf(0, 0);
43174 return 0;
43176 _ACEOF
43177 if ac_fn_cxx_try_compile "$LINENO"; then :
43178 glibcxx_cv_func__frexpf_use=yes
43179 else
43180 glibcxx_cv_func__frexpf_use=no
43182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43183 ac_ext=c
43184 ac_cpp='$CPP $CPPFLAGS'
43185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43194 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43196 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43197 for ac_func in _frexpf
43198 do :
43199 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43200 if test "x$ac_cv_func__frexpf" = x""yes; then :
43201 cat >>confdefs.h <<_ACEOF
43202 #define HAVE__FREXPF 1
43203 _ACEOF
43206 done
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43216 $as_echo_n "checking for hypotf declaration... " >&6; }
43217 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43218 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43219 $as_echo_n "(cached) " >&6
43220 else
43223 ac_ext=cpp
43224 ac_cpp='$CXXCPP $CPPFLAGS'
43225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43230 /* end confdefs.h. */
43231 #include <math.h>
43233 main ()
43235 hypotf(0, 0);
43237 return 0;
43239 _ACEOF
43240 if ac_fn_cxx_try_compile "$LINENO"; then :
43241 glibcxx_cv_func_hypotf_use=yes
43242 else
43243 glibcxx_cv_func_hypotf_use=no
43245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43246 ac_ext=c
43247 ac_cpp='$CPP $CPPFLAGS'
43248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43257 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43259 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43260 for ac_func in hypotf
43261 do :
43262 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43263 if test "x$ac_cv_func_hypotf" = x""yes; then :
43264 cat >>confdefs.h <<_ACEOF
43265 #define HAVE_HYPOTF 1
43266 _ACEOF
43269 done
43271 else
43273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43274 $as_echo_n "checking for _hypotf declaration... " >&6; }
43275 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43276 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43277 $as_echo_n "(cached) " >&6
43278 else
43281 ac_ext=cpp
43282 ac_cpp='$CXXCPP $CPPFLAGS'
43283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43288 /* end confdefs.h. */
43289 #include <math.h>
43291 main ()
43293 _hypotf(0, 0);
43295 return 0;
43297 _ACEOF
43298 if ac_fn_cxx_try_compile "$LINENO"; then :
43299 glibcxx_cv_func__hypotf_use=yes
43300 else
43301 glibcxx_cv_func__hypotf_use=no
43303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43304 ac_ext=c
43305 ac_cpp='$CPP $CPPFLAGS'
43306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43315 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43317 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43318 for ac_func in _hypotf
43319 do :
43320 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43321 if test "x$ac_cv_func__hypotf" = x""yes; then :
43322 cat >>confdefs.h <<_ACEOF
43323 #define HAVE__HYPOTF 1
43324 _ACEOF
43327 done
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43337 $as_echo_n "checking for ldexpf declaration... " >&6; }
43338 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43339 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43340 $as_echo_n "(cached) " >&6
43341 else
43344 ac_ext=cpp
43345 ac_cpp='$CXXCPP $CPPFLAGS'
43346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43351 /* end confdefs.h. */
43352 #include <math.h>
43354 main ()
43356 ldexpf(0, 0);
43358 return 0;
43360 _ACEOF
43361 if ac_fn_cxx_try_compile "$LINENO"; then :
43362 glibcxx_cv_func_ldexpf_use=yes
43363 else
43364 glibcxx_cv_func_ldexpf_use=no
43366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43367 ac_ext=c
43368 ac_cpp='$CPP $CPPFLAGS'
43369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43378 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43380 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43381 for ac_func in ldexpf
43382 do :
43383 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43384 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43385 cat >>confdefs.h <<_ACEOF
43386 #define HAVE_LDEXPF 1
43387 _ACEOF
43390 done
43392 else
43394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43395 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43396 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43397 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43398 $as_echo_n "(cached) " >&6
43399 else
43402 ac_ext=cpp
43403 ac_cpp='$CXXCPP $CPPFLAGS'
43404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43409 /* end confdefs.h. */
43410 #include <math.h>
43412 main ()
43414 _ldexpf(0, 0);
43416 return 0;
43418 _ACEOF
43419 if ac_fn_cxx_try_compile "$LINENO"; then :
43420 glibcxx_cv_func__ldexpf_use=yes
43421 else
43422 glibcxx_cv_func__ldexpf_use=no
43424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43425 ac_ext=c
43426 ac_cpp='$CPP $CPPFLAGS'
43427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43436 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43438 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43439 for ac_func in _ldexpf
43440 do :
43441 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43442 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43443 cat >>confdefs.h <<_ACEOF
43444 #define HAVE__LDEXPF 1
43445 _ACEOF
43448 done
43457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43458 $as_echo_n "checking for logf declaration... " >&6; }
43459 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43460 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43461 $as_echo_n "(cached) " >&6
43462 else
43465 ac_ext=cpp
43466 ac_cpp='$CXXCPP $CPPFLAGS'
43467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43472 /* end confdefs.h. */
43473 #include <math.h>
43474 #ifdef HAVE_IEEEFP_H
43475 #include <ieeefp.h>
43476 #endif
43479 main ()
43481 logf(0);
43483 return 0;
43485 _ACEOF
43486 if ac_fn_cxx_try_compile "$LINENO"; then :
43487 glibcxx_cv_func_logf_use=yes
43488 else
43489 glibcxx_cv_func_logf_use=no
43491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43492 ac_ext=c
43493 ac_cpp='$CPP $CPPFLAGS'
43494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43503 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43505 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43506 for ac_func in logf
43507 do :
43508 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43509 if test "x$ac_cv_func_logf" = x""yes; then :
43510 cat >>confdefs.h <<_ACEOF
43511 #define HAVE_LOGF 1
43512 _ACEOF
43515 done
43517 else
43519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43520 $as_echo_n "checking for _logf declaration... " >&6; }
43521 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43522 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43523 $as_echo_n "(cached) " >&6
43524 else
43527 ac_ext=cpp
43528 ac_cpp='$CXXCPP $CPPFLAGS'
43529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43534 /* end confdefs.h. */
43535 #include <math.h>
43536 #ifdef HAVE_IEEEFP_H
43537 #include <ieeefp.h>
43538 #endif
43541 main ()
43543 _logf(0);
43545 return 0;
43547 _ACEOF
43548 if ac_fn_cxx_try_compile "$LINENO"; then :
43549 glibcxx_cv_func__logf_use=yes
43550 else
43551 glibcxx_cv_func__logf_use=no
43553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43554 ac_ext=c
43555 ac_cpp='$CPP $CPPFLAGS'
43556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43565 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43567 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43568 for ac_func in _logf
43569 do :
43570 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43571 if test "x$ac_cv_func__logf" = x""yes; then :
43572 cat >>confdefs.h <<_ACEOF
43573 #define HAVE__LOGF 1
43574 _ACEOF
43577 done
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43587 $as_echo_n "checking for log10f declaration... " >&6; }
43588 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43589 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43590 $as_echo_n "(cached) " >&6
43591 else
43594 ac_ext=cpp
43595 ac_cpp='$CXXCPP $CPPFLAGS'
43596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43601 /* end confdefs.h. */
43602 #include <math.h>
43603 #ifdef HAVE_IEEEFP_H
43604 #include <ieeefp.h>
43605 #endif
43608 main ()
43610 log10f(0);
43612 return 0;
43614 _ACEOF
43615 if ac_fn_cxx_try_compile "$LINENO"; then :
43616 glibcxx_cv_func_log10f_use=yes
43617 else
43618 glibcxx_cv_func_log10f_use=no
43620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43621 ac_ext=c
43622 ac_cpp='$CPP $CPPFLAGS'
43623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43632 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43634 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43635 for ac_func in log10f
43636 do :
43637 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43638 if test "x$ac_cv_func_log10f" = x""yes; then :
43639 cat >>confdefs.h <<_ACEOF
43640 #define HAVE_LOG10F 1
43641 _ACEOF
43644 done
43646 else
43648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43649 $as_echo_n "checking for _log10f declaration... " >&6; }
43650 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43651 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43652 $as_echo_n "(cached) " >&6
43653 else
43656 ac_ext=cpp
43657 ac_cpp='$CXXCPP $CPPFLAGS'
43658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43663 /* end confdefs.h. */
43664 #include <math.h>
43665 #ifdef HAVE_IEEEFP_H
43666 #include <ieeefp.h>
43667 #endif
43670 main ()
43672 _log10f(0);
43674 return 0;
43676 _ACEOF
43677 if ac_fn_cxx_try_compile "$LINENO"; then :
43678 glibcxx_cv_func__log10f_use=yes
43679 else
43680 glibcxx_cv_func__log10f_use=no
43682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43683 ac_ext=c
43684 ac_cpp='$CPP $CPPFLAGS'
43685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43694 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43696 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43697 for ac_func in _log10f
43698 do :
43699 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43700 if test "x$ac_cv_func__log10f" = x""yes; then :
43701 cat >>confdefs.h <<_ACEOF
43702 #define HAVE__LOG10F 1
43703 _ACEOF
43706 done
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43716 $as_echo_n "checking for modff declaration... " >&6; }
43717 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43718 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43719 $as_echo_n "(cached) " >&6
43720 else
43723 ac_ext=cpp
43724 ac_cpp='$CXXCPP $CPPFLAGS'
43725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43730 /* end confdefs.h. */
43731 #include <math.h>
43733 main ()
43735 modff(0, 0);
43737 return 0;
43739 _ACEOF
43740 if ac_fn_cxx_try_compile "$LINENO"; then :
43741 glibcxx_cv_func_modff_use=yes
43742 else
43743 glibcxx_cv_func_modff_use=no
43745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43746 ac_ext=c
43747 ac_cpp='$CPP $CPPFLAGS'
43748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43757 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43759 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43760 for ac_func in modff
43761 do :
43762 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43763 if test "x$ac_cv_func_modff" = x""yes; then :
43764 cat >>confdefs.h <<_ACEOF
43765 #define HAVE_MODFF 1
43766 _ACEOF
43769 done
43771 else
43773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43774 $as_echo_n "checking for _modff declaration... " >&6; }
43775 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43776 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43777 $as_echo_n "(cached) " >&6
43778 else
43781 ac_ext=cpp
43782 ac_cpp='$CXXCPP $CPPFLAGS'
43783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43788 /* end confdefs.h. */
43789 #include <math.h>
43791 main ()
43793 _modff(0, 0);
43795 return 0;
43797 _ACEOF
43798 if ac_fn_cxx_try_compile "$LINENO"; then :
43799 glibcxx_cv_func__modff_use=yes
43800 else
43801 glibcxx_cv_func__modff_use=no
43803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43804 ac_ext=c
43805 ac_cpp='$CPP $CPPFLAGS'
43806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43815 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43817 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43818 for ac_func in _modff
43819 do :
43820 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43821 if test "x$ac_cv_func__modff" = x""yes; then :
43822 cat >>confdefs.h <<_ACEOF
43823 #define HAVE__MODFF 1
43824 _ACEOF
43827 done
43836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43837 $as_echo_n "checking for modf declaration... " >&6; }
43838 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43839 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43840 $as_echo_n "(cached) " >&6
43841 else
43844 ac_ext=cpp
43845 ac_cpp='$CXXCPP $CPPFLAGS'
43846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43851 /* end confdefs.h. */
43852 #include <math.h>
43854 main ()
43856 modf(0, 0);
43858 return 0;
43860 _ACEOF
43861 if ac_fn_cxx_try_compile "$LINENO"; then :
43862 glibcxx_cv_func_modf_use=yes
43863 else
43864 glibcxx_cv_func_modf_use=no
43866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43867 ac_ext=c
43868 ac_cpp='$CPP $CPPFLAGS'
43869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43878 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43880 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43881 for ac_func in modf
43882 do :
43883 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43884 if test "x$ac_cv_func_modf" = x""yes; then :
43885 cat >>confdefs.h <<_ACEOF
43886 #define HAVE_MODF 1
43887 _ACEOF
43890 done
43892 else
43894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43895 $as_echo_n "checking for _modf declaration... " >&6; }
43896 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43897 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43898 $as_echo_n "(cached) " >&6
43899 else
43902 ac_ext=cpp
43903 ac_cpp='$CXXCPP $CPPFLAGS'
43904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43909 /* end confdefs.h. */
43910 #include <math.h>
43912 main ()
43914 _modf(0, 0);
43916 return 0;
43918 _ACEOF
43919 if ac_fn_cxx_try_compile "$LINENO"; then :
43920 glibcxx_cv_func__modf_use=yes
43921 else
43922 glibcxx_cv_func__modf_use=no
43924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43925 ac_ext=c
43926 ac_cpp='$CPP $CPPFLAGS'
43927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43936 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43938 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43939 for ac_func in _modf
43940 do :
43941 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43942 if test "x$ac_cv_func__modf" = x""yes; then :
43943 cat >>confdefs.h <<_ACEOF
43944 #define HAVE__MODF 1
43945 _ACEOF
43948 done
43957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43958 $as_echo_n "checking for powf declaration... " >&6; }
43959 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43960 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43961 $as_echo_n "(cached) " >&6
43962 else
43965 ac_ext=cpp
43966 ac_cpp='$CXXCPP $CPPFLAGS'
43967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43972 /* end confdefs.h. */
43973 #include <math.h>
43975 main ()
43977 powf(0, 0);
43979 return 0;
43981 _ACEOF
43982 if ac_fn_cxx_try_compile "$LINENO"; then :
43983 glibcxx_cv_func_powf_use=yes
43984 else
43985 glibcxx_cv_func_powf_use=no
43987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43988 ac_ext=c
43989 ac_cpp='$CPP $CPPFLAGS'
43990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43999 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44001 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44002 for ac_func in powf
44003 do :
44004 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44005 if test "x$ac_cv_func_powf" = x""yes; then :
44006 cat >>confdefs.h <<_ACEOF
44007 #define HAVE_POWF 1
44008 _ACEOF
44011 done
44013 else
44015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44016 $as_echo_n "checking for _powf declaration... " >&6; }
44017 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44018 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44019 $as_echo_n "(cached) " >&6
44020 else
44023 ac_ext=cpp
44024 ac_cpp='$CXXCPP $CPPFLAGS'
44025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44030 /* end confdefs.h. */
44031 #include <math.h>
44033 main ()
44035 _powf(0, 0);
44037 return 0;
44039 _ACEOF
44040 if ac_fn_cxx_try_compile "$LINENO"; then :
44041 glibcxx_cv_func__powf_use=yes
44042 else
44043 glibcxx_cv_func__powf_use=no
44045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44046 ac_ext=c
44047 ac_cpp='$CPP $CPPFLAGS'
44048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44057 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44059 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44060 for ac_func in _powf
44061 do :
44062 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44063 if test "x$ac_cv_func__powf" = x""yes; then :
44064 cat >>confdefs.h <<_ACEOF
44065 #define HAVE__POWF 1
44066 _ACEOF
44069 done
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44079 $as_echo_n "checking for sqrtf declaration... " >&6; }
44080 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44081 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44082 $as_echo_n "(cached) " >&6
44083 else
44086 ac_ext=cpp
44087 ac_cpp='$CXXCPP $CPPFLAGS'
44088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44093 /* end confdefs.h. */
44094 #include <math.h>
44095 #ifdef HAVE_IEEEFP_H
44096 #include <ieeefp.h>
44097 #endif
44100 main ()
44102 sqrtf(0);
44104 return 0;
44106 _ACEOF
44107 if ac_fn_cxx_try_compile "$LINENO"; then :
44108 glibcxx_cv_func_sqrtf_use=yes
44109 else
44110 glibcxx_cv_func_sqrtf_use=no
44112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44113 ac_ext=c
44114 ac_cpp='$CPP $CPPFLAGS'
44115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44124 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44126 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44127 for ac_func in sqrtf
44128 do :
44129 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44130 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44131 cat >>confdefs.h <<_ACEOF
44132 #define HAVE_SQRTF 1
44133 _ACEOF
44136 done
44138 else
44140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44141 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44142 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44143 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44144 $as_echo_n "(cached) " >&6
44145 else
44148 ac_ext=cpp
44149 ac_cpp='$CXXCPP $CPPFLAGS'
44150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44155 /* end confdefs.h. */
44156 #include <math.h>
44157 #ifdef HAVE_IEEEFP_H
44158 #include <ieeefp.h>
44159 #endif
44162 main ()
44164 _sqrtf(0);
44166 return 0;
44168 _ACEOF
44169 if ac_fn_cxx_try_compile "$LINENO"; then :
44170 glibcxx_cv_func__sqrtf_use=yes
44171 else
44172 glibcxx_cv_func__sqrtf_use=no
44174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44186 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44188 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44189 for ac_func in _sqrtf
44190 do :
44191 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44192 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44193 cat >>confdefs.h <<_ACEOF
44194 #define HAVE__SQRTF 1
44195 _ACEOF
44198 done
44207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44208 $as_echo_n "checking for sincosf declaration... " >&6; }
44209 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44210 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44211 $as_echo_n "(cached) " >&6
44212 else
44215 ac_ext=cpp
44216 ac_cpp='$CXXCPP $CPPFLAGS'
44217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44222 /* end confdefs.h. */
44223 #include <math.h>
44225 main ()
44227 sincosf(0, 0, 0);
44229 return 0;
44231 _ACEOF
44232 if ac_fn_cxx_try_compile "$LINENO"; then :
44233 glibcxx_cv_func_sincosf_use=yes
44234 else
44235 glibcxx_cv_func_sincosf_use=no
44237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44238 ac_ext=c
44239 ac_cpp='$CPP $CPPFLAGS'
44240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44249 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44251 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44252 for ac_func in sincosf
44253 do :
44254 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44255 if test "x$ac_cv_func_sincosf" = x""yes; then :
44256 cat >>confdefs.h <<_ACEOF
44257 #define HAVE_SINCOSF 1
44258 _ACEOF
44261 done
44263 else
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44266 $as_echo_n "checking for _sincosf declaration... " >&6; }
44267 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44268 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44269 $as_echo_n "(cached) " >&6
44270 else
44273 ac_ext=cpp
44274 ac_cpp='$CXXCPP $CPPFLAGS'
44275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44280 /* end confdefs.h. */
44281 #include <math.h>
44283 main ()
44285 _sincosf(0, 0, 0);
44287 return 0;
44289 _ACEOF
44290 if ac_fn_cxx_try_compile "$LINENO"; then :
44291 glibcxx_cv_func__sincosf_use=yes
44292 else
44293 glibcxx_cv_func__sincosf_use=no
44295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44296 ac_ext=c
44297 ac_cpp='$CPP $CPPFLAGS'
44298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44307 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44309 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44310 for ac_func in _sincosf
44311 do :
44312 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44313 if test "x$ac_cv_func__sincosf" = x""yes; then :
44314 cat >>confdefs.h <<_ACEOF
44315 #define HAVE__SINCOSF 1
44316 _ACEOF
44319 done
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44329 $as_echo_n "checking for finitef declaration... " >&6; }
44330 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44331 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44332 $as_echo_n "(cached) " >&6
44333 else
44336 ac_ext=cpp
44337 ac_cpp='$CXXCPP $CPPFLAGS'
44338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44343 /* end confdefs.h. */
44344 #include <math.h>
44345 #ifdef HAVE_IEEEFP_H
44346 #include <ieeefp.h>
44347 #endif
44350 main ()
44352 finitef(0);
44354 return 0;
44356 _ACEOF
44357 if ac_fn_cxx_try_compile "$LINENO"; then :
44358 glibcxx_cv_func_finitef_use=yes
44359 else
44360 glibcxx_cv_func_finitef_use=no
44362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44363 ac_ext=c
44364 ac_cpp='$CPP $CPPFLAGS'
44365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44374 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44376 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44377 for ac_func in finitef
44378 do :
44379 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44380 if test "x$ac_cv_func_finitef" = x""yes; then :
44381 cat >>confdefs.h <<_ACEOF
44382 #define HAVE_FINITEF 1
44383 _ACEOF
44386 done
44388 else
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44391 $as_echo_n "checking for _finitef declaration... " >&6; }
44392 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44393 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44394 $as_echo_n "(cached) " >&6
44395 else
44398 ac_ext=cpp
44399 ac_cpp='$CXXCPP $CPPFLAGS'
44400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44405 /* end confdefs.h. */
44406 #include <math.h>
44407 #ifdef HAVE_IEEEFP_H
44408 #include <ieeefp.h>
44409 #endif
44412 main ()
44414 _finitef(0);
44416 return 0;
44418 _ACEOF
44419 if ac_fn_cxx_try_compile "$LINENO"; then :
44420 glibcxx_cv_func__finitef_use=yes
44421 else
44422 glibcxx_cv_func__finitef_use=no
44424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44425 ac_ext=c
44426 ac_cpp='$CPP $CPPFLAGS'
44427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44436 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44438 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44439 for ac_func in _finitef
44440 do :
44441 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44442 if test "x$ac_cv_func__finitef" = x""yes; then :
44443 cat >>confdefs.h <<_ACEOF
44444 #define HAVE__FINITEF 1
44445 _ACEOF
44448 done
44457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44458 $as_echo_n "checking for long double trig functions... " >&6; }
44459 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44460 $as_echo_n "(cached) " >&6
44461 else
44464 ac_ext=cpp
44465 ac_cpp='$CXXCPP $CPPFLAGS'
44466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44471 /* end confdefs.h. */
44472 #include <math.h>
44474 main ()
44476 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44478 return 0;
44480 _ACEOF
44481 if ac_fn_cxx_try_compile "$LINENO"; then :
44482 glibcxx_cv_func_long_double_trig_use=yes
44483 else
44484 glibcxx_cv_func_long_double_trig_use=no
44486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44487 ac_ext=c
44488 ac_cpp='$CPP $CPPFLAGS'
44489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44496 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44497 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44498 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44499 do :
44500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44502 eval as_val=\$$as_ac_var
44503 if test "x$as_val" = x""yes; then :
44504 cat >>confdefs.h <<_ACEOF
44505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44506 _ACEOF
44509 done
44511 else
44512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44513 $as_echo_n "checking for _long double trig functions... " >&6; }
44514 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44515 $as_echo_n "(cached) " >&6
44516 else
44519 ac_ext=cpp
44520 ac_cpp='$CXXCPP $CPPFLAGS'
44521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44526 /* end confdefs.h. */
44527 #include <math.h>
44529 main ()
44531 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44533 return 0;
44535 _ACEOF
44536 if ac_fn_cxx_try_compile "$LINENO"; then :
44537 glibcxx_cv_func__long_double_trig_use=yes
44538 else
44539 glibcxx_cv_func__long_double_trig_use=no
44541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44542 ac_ext=c
44543 ac_cpp='$CPP $CPPFLAGS'
44544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44551 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44552 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44553 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44554 do :
44555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44557 eval as_val=\$$as_ac_var
44558 if test "x$as_val" = x""yes; then :
44559 cat >>confdefs.h <<_ACEOF
44560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44561 _ACEOF
44564 done
44573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44574 $as_echo_n "checking for long double round functions... " >&6; }
44575 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44576 $as_echo_n "(cached) " >&6
44577 else
44580 ac_ext=cpp
44581 ac_cpp='$CXXCPP $CPPFLAGS'
44582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44587 /* end confdefs.h. */
44588 #include <math.h>
44590 main ()
44592 ceill (0); floorl (0);
44594 return 0;
44596 _ACEOF
44597 if ac_fn_cxx_try_compile "$LINENO"; then :
44598 glibcxx_cv_func_long_double_round_use=yes
44599 else
44600 glibcxx_cv_func_long_double_round_use=no
44602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44603 ac_ext=c
44604 ac_cpp='$CPP $CPPFLAGS'
44605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44612 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44613 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44614 for ac_func in ceill floorl
44615 do :
44616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44618 eval as_val=\$$as_ac_var
44619 if test "x$as_val" = x""yes; then :
44620 cat >>confdefs.h <<_ACEOF
44621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44622 _ACEOF
44625 done
44627 else
44628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44629 $as_echo_n "checking for _long double round functions... " >&6; }
44630 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44631 $as_echo_n "(cached) " >&6
44632 else
44635 ac_ext=cpp
44636 ac_cpp='$CXXCPP $CPPFLAGS'
44637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44642 /* end confdefs.h. */
44643 #include <math.h>
44645 main ()
44647 _ceill (0); _floorl (0);
44649 return 0;
44651 _ACEOF
44652 if ac_fn_cxx_try_compile "$LINENO"; then :
44653 glibcxx_cv_func__long_double_round_use=yes
44654 else
44655 glibcxx_cv_func__long_double_round_use=no
44657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44658 ac_ext=c
44659 ac_cpp='$CPP $CPPFLAGS'
44660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44667 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44668 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44669 for ac_func in _ceill _floorl
44670 do :
44671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44673 eval as_val=\$$as_ac_var
44674 if test "x$as_val" = x""yes; then :
44675 cat >>confdefs.h <<_ACEOF
44676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44677 _ACEOF
44680 done
44690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44691 $as_echo_n "checking for isnanl declaration... " >&6; }
44692 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44693 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44694 $as_echo_n "(cached) " >&6
44695 else
44698 ac_ext=cpp
44699 ac_cpp='$CXXCPP $CPPFLAGS'
44700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44705 /* end confdefs.h. */
44706 #include <math.h>
44707 #ifdef HAVE_IEEEFP_H
44708 #include <ieeefp.h>
44709 #endif
44712 main ()
44714 isnanl(0);
44716 return 0;
44718 _ACEOF
44719 if ac_fn_cxx_try_compile "$LINENO"; then :
44720 glibcxx_cv_func_isnanl_use=yes
44721 else
44722 glibcxx_cv_func_isnanl_use=no
44724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44725 ac_ext=c
44726 ac_cpp='$CPP $CPPFLAGS'
44727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44736 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44738 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44739 for ac_func in isnanl
44740 do :
44741 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44742 if test "x$ac_cv_func_isnanl" = x""yes; then :
44743 cat >>confdefs.h <<_ACEOF
44744 #define HAVE_ISNANL 1
44745 _ACEOF
44748 done
44750 else
44752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44753 $as_echo_n "checking for _isnanl declaration... " >&6; }
44754 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44755 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44756 $as_echo_n "(cached) " >&6
44757 else
44760 ac_ext=cpp
44761 ac_cpp='$CXXCPP $CPPFLAGS'
44762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44767 /* end confdefs.h. */
44768 #include <math.h>
44769 #ifdef HAVE_IEEEFP_H
44770 #include <ieeefp.h>
44771 #endif
44774 main ()
44776 _isnanl(0);
44778 return 0;
44780 _ACEOF
44781 if ac_fn_cxx_try_compile "$LINENO"; then :
44782 glibcxx_cv_func__isnanl_use=yes
44783 else
44784 glibcxx_cv_func__isnanl_use=no
44786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44787 ac_ext=c
44788 ac_cpp='$CPP $CPPFLAGS'
44789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44798 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44800 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44801 for ac_func in _isnanl
44802 do :
44803 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44804 if test "x$ac_cv_func__isnanl" = x""yes; then :
44805 cat >>confdefs.h <<_ACEOF
44806 #define HAVE__ISNANL 1
44807 _ACEOF
44810 done
44819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44820 $as_echo_n "checking for isinfl declaration... " >&6; }
44821 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44822 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44823 $as_echo_n "(cached) " >&6
44824 else
44827 ac_ext=cpp
44828 ac_cpp='$CXXCPP $CPPFLAGS'
44829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44834 /* end confdefs.h. */
44835 #include <math.h>
44836 #ifdef HAVE_IEEEFP_H
44837 #include <ieeefp.h>
44838 #endif
44841 main ()
44843 isinfl(0);
44845 return 0;
44847 _ACEOF
44848 if ac_fn_cxx_try_compile "$LINENO"; then :
44849 glibcxx_cv_func_isinfl_use=yes
44850 else
44851 glibcxx_cv_func_isinfl_use=no
44853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44854 ac_ext=c
44855 ac_cpp='$CPP $CPPFLAGS'
44856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44865 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44867 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44868 for ac_func in isinfl
44869 do :
44870 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44871 if test "x$ac_cv_func_isinfl" = x""yes; then :
44872 cat >>confdefs.h <<_ACEOF
44873 #define HAVE_ISINFL 1
44874 _ACEOF
44877 done
44879 else
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44882 $as_echo_n "checking for _isinfl declaration... " >&6; }
44883 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44884 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44885 $as_echo_n "(cached) " >&6
44886 else
44889 ac_ext=cpp
44890 ac_cpp='$CXXCPP $CPPFLAGS'
44891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44896 /* end confdefs.h. */
44897 #include <math.h>
44898 #ifdef HAVE_IEEEFP_H
44899 #include <ieeefp.h>
44900 #endif
44903 main ()
44905 _isinfl(0);
44907 return 0;
44909 _ACEOF
44910 if ac_fn_cxx_try_compile "$LINENO"; then :
44911 glibcxx_cv_func__isinfl_use=yes
44912 else
44913 glibcxx_cv_func__isinfl_use=no
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 ac_ext=c
44917 ac_cpp='$CPP $CPPFLAGS'
44918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44927 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44929 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44930 for ac_func in _isinfl
44931 do :
44932 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44933 if test "x$ac_cv_func__isinfl" = x""yes; then :
44934 cat >>confdefs.h <<_ACEOF
44935 #define HAVE__ISINFL 1
44936 _ACEOF
44939 done
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44949 $as_echo_n "checking for atan2l declaration... " >&6; }
44950 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44951 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44952 $as_echo_n "(cached) " >&6
44953 else
44956 ac_ext=cpp
44957 ac_cpp='$CXXCPP $CPPFLAGS'
44958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44963 /* end confdefs.h. */
44964 #include <math.h>
44966 main ()
44968 atan2l(0, 0);
44970 return 0;
44972 _ACEOF
44973 if ac_fn_cxx_try_compile "$LINENO"; then :
44974 glibcxx_cv_func_atan2l_use=yes
44975 else
44976 glibcxx_cv_func_atan2l_use=no
44978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44979 ac_ext=c
44980 ac_cpp='$CPP $CPPFLAGS'
44981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44990 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44992 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44993 for ac_func in atan2l
44994 do :
44995 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44996 if test "x$ac_cv_func_atan2l" = x""yes; then :
44997 cat >>confdefs.h <<_ACEOF
44998 #define HAVE_ATAN2L 1
44999 _ACEOF
45002 done
45004 else
45006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45007 $as_echo_n "checking for _atan2l declaration... " >&6; }
45008 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45009 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45010 $as_echo_n "(cached) " >&6
45011 else
45014 ac_ext=cpp
45015 ac_cpp='$CXXCPP $CPPFLAGS'
45016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45021 /* end confdefs.h. */
45022 #include <math.h>
45024 main ()
45026 _atan2l(0, 0);
45028 return 0;
45030 _ACEOF
45031 if ac_fn_cxx_try_compile "$LINENO"; then :
45032 glibcxx_cv_func__atan2l_use=yes
45033 else
45034 glibcxx_cv_func__atan2l_use=no
45036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45037 ac_ext=c
45038 ac_cpp='$CPP $CPPFLAGS'
45039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45048 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45050 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45051 for ac_func in _atan2l
45052 do :
45053 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45054 if test "x$ac_cv_func__atan2l" = x""yes; then :
45055 cat >>confdefs.h <<_ACEOF
45056 #define HAVE__ATAN2L 1
45057 _ACEOF
45060 done
45069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45070 $as_echo_n "checking for expl declaration... " >&6; }
45071 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45072 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45073 $as_echo_n "(cached) " >&6
45074 else
45077 ac_ext=cpp
45078 ac_cpp='$CXXCPP $CPPFLAGS'
45079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45084 /* end confdefs.h. */
45085 #include <math.h>
45086 #ifdef HAVE_IEEEFP_H
45087 #include <ieeefp.h>
45088 #endif
45091 main ()
45093 expl(0);
45095 return 0;
45097 _ACEOF
45098 if ac_fn_cxx_try_compile "$LINENO"; then :
45099 glibcxx_cv_func_expl_use=yes
45100 else
45101 glibcxx_cv_func_expl_use=no
45103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45104 ac_ext=c
45105 ac_cpp='$CPP $CPPFLAGS'
45106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45115 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45117 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45118 for ac_func in expl
45119 do :
45120 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45121 if test "x$ac_cv_func_expl" = x""yes; then :
45122 cat >>confdefs.h <<_ACEOF
45123 #define HAVE_EXPL 1
45124 _ACEOF
45127 done
45129 else
45131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45132 $as_echo_n "checking for _expl declaration... " >&6; }
45133 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45134 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45135 $as_echo_n "(cached) " >&6
45136 else
45139 ac_ext=cpp
45140 ac_cpp='$CXXCPP $CPPFLAGS'
45141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45146 /* end confdefs.h. */
45147 #include <math.h>
45148 #ifdef HAVE_IEEEFP_H
45149 #include <ieeefp.h>
45150 #endif
45153 main ()
45155 _expl(0);
45157 return 0;
45159 _ACEOF
45160 if ac_fn_cxx_try_compile "$LINENO"; then :
45161 glibcxx_cv_func__expl_use=yes
45162 else
45163 glibcxx_cv_func__expl_use=no
45165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45166 ac_ext=c
45167 ac_cpp='$CPP $CPPFLAGS'
45168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45177 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45179 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45180 for ac_func in _expl
45181 do :
45182 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45183 if test "x$ac_cv_func__expl" = x""yes; then :
45184 cat >>confdefs.h <<_ACEOF
45185 #define HAVE__EXPL 1
45186 _ACEOF
45189 done
45198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45199 $as_echo_n "checking for fabsl declaration... " >&6; }
45200 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45201 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45202 $as_echo_n "(cached) " >&6
45203 else
45206 ac_ext=cpp
45207 ac_cpp='$CXXCPP $CPPFLAGS'
45208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45213 /* end confdefs.h. */
45214 #include <math.h>
45215 #ifdef HAVE_IEEEFP_H
45216 #include <ieeefp.h>
45217 #endif
45220 main ()
45222 fabsl(0);
45224 return 0;
45226 _ACEOF
45227 if ac_fn_cxx_try_compile "$LINENO"; then :
45228 glibcxx_cv_func_fabsl_use=yes
45229 else
45230 glibcxx_cv_func_fabsl_use=no
45232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45233 ac_ext=c
45234 ac_cpp='$CPP $CPPFLAGS'
45235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45244 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45246 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45247 for ac_func in fabsl
45248 do :
45249 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45250 if test "x$ac_cv_func_fabsl" = x""yes; then :
45251 cat >>confdefs.h <<_ACEOF
45252 #define HAVE_FABSL 1
45253 _ACEOF
45256 done
45258 else
45260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45261 $as_echo_n "checking for _fabsl declaration... " >&6; }
45262 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45263 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45264 $as_echo_n "(cached) " >&6
45265 else
45268 ac_ext=cpp
45269 ac_cpp='$CXXCPP $CPPFLAGS'
45270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45275 /* end confdefs.h. */
45276 #include <math.h>
45277 #ifdef HAVE_IEEEFP_H
45278 #include <ieeefp.h>
45279 #endif
45282 main ()
45284 _fabsl(0);
45286 return 0;
45288 _ACEOF
45289 if ac_fn_cxx_try_compile "$LINENO"; then :
45290 glibcxx_cv_func__fabsl_use=yes
45291 else
45292 glibcxx_cv_func__fabsl_use=no
45294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45295 ac_ext=c
45296 ac_cpp='$CPP $CPPFLAGS'
45297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45306 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45308 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45309 for ac_func in _fabsl
45310 do :
45311 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45312 if test "x$ac_cv_func__fabsl" = x""yes; then :
45313 cat >>confdefs.h <<_ACEOF
45314 #define HAVE__FABSL 1
45315 _ACEOF
45318 done
45327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45328 $as_echo_n "checking for fmodl declaration... " >&6; }
45329 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45330 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45331 $as_echo_n "(cached) " >&6
45332 else
45335 ac_ext=cpp
45336 ac_cpp='$CXXCPP $CPPFLAGS'
45337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45342 /* end confdefs.h. */
45343 #include <math.h>
45345 main ()
45347 fmodl(0, 0);
45349 return 0;
45351 _ACEOF
45352 if ac_fn_cxx_try_compile "$LINENO"; then :
45353 glibcxx_cv_func_fmodl_use=yes
45354 else
45355 glibcxx_cv_func_fmodl_use=no
45357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45358 ac_ext=c
45359 ac_cpp='$CPP $CPPFLAGS'
45360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45369 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45371 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45372 for ac_func in fmodl
45373 do :
45374 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45375 if test "x$ac_cv_func_fmodl" = x""yes; then :
45376 cat >>confdefs.h <<_ACEOF
45377 #define HAVE_FMODL 1
45378 _ACEOF
45381 done
45383 else
45385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45386 $as_echo_n "checking for _fmodl declaration... " >&6; }
45387 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45388 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45389 $as_echo_n "(cached) " >&6
45390 else
45393 ac_ext=cpp
45394 ac_cpp='$CXXCPP $CPPFLAGS'
45395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45400 /* end confdefs.h. */
45401 #include <math.h>
45403 main ()
45405 _fmodl(0, 0);
45407 return 0;
45409 _ACEOF
45410 if ac_fn_cxx_try_compile "$LINENO"; then :
45411 glibcxx_cv_func__fmodl_use=yes
45412 else
45413 glibcxx_cv_func__fmodl_use=no
45415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45416 ac_ext=c
45417 ac_cpp='$CPP $CPPFLAGS'
45418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45427 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45429 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45430 for ac_func in _fmodl
45431 do :
45432 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45433 if test "x$ac_cv_func__fmodl" = x""yes; then :
45434 cat >>confdefs.h <<_ACEOF
45435 #define HAVE__FMODL 1
45436 _ACEOF
45439 done
45448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45449 $as_echo_n "checking for frexpl declaration... " >&6; }
45450 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45451 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45452 $as_echo_n "(cached) " >&6
45453 else
45456 ac_ext=cpp
45457 ac_cpp='$CXXCPP $CPPFLAGS'
45458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45463 /* end confdefs.h. */
45464 #include <math.h>
45466 main ()
45468 frexpl(0, 0);
45470 return 0;
45472 _ACEOF
45473 if ac_fn_cxx_try_compile "$LINENO"; then :
45474 glibcxx_cv_func_frexpl_use=yes
45475 else
45476 glibcxx_cv_func_frexpl_use=no
45478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45479 ac_ext=c
45480 ac_cpp='$CPP $CPPFLAGS'
45481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45490 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45492 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45493 for ac_func in frexpl
45494 do :
45495 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45496 if test "x$ac_cv_func_frexpl" = x""yes; then :
45497 cat >>confdefs.h <<_ACEOF
45498 #define HAVE_FREXPL 1
45499 _ACEOF
45502 done
45504 else
45506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45507 $as_echo_n "checking for _frexpl declaration... " >&6; }
45508 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45509 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45510 $as_echo_n "(cached) " >&6
45511 else
45514 ac_ext=cpp
45515 ac_cpp='$CXXCPP $CPPFLAGS'
45516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45521 /* end confdefs.h. */
45522 #include <math.h>
45524 main ()
45526 _frexpl(0, 0);
45528 return 0;
45530 _ACEOF
45531 if ac_fn_cxx_try_compile "$LINENO"; then :
45532 glibcxx_cv_func__frexpl_use=yes
45533 else
45534 glibcxx_cv_func__frexpl_use=no
45536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45537 ac_ext=c
45538 ac_cpp='$CPP $CPPFLAGS'
45539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45548 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45550 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45551 for ac_func in _frexpl
45552 do :
45553 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45554 if test "x$ac_cv_func__frexpl" = x""yes; then :
45555 cat >>confdefs.h <<_ACEOF
45556 #define HAVE__FREXPL 1
45557 _ACEOF
45560 done
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45570 $as_echo_n "checking for hypotl declaration... " >&6; }
45571 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45572 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45573 $as_echo_n "(cached) " >&6
45574 else
45577 ac_ext=cpp
45578 ac_cpp='$CXXCPP $CPPFLAGS'
45579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45584 /* end confdefs.h. */
45585 #include <math.h>
45587 main ()
45589 hypotl(0, 0);
45591 return 0;
45593 _ACEOF
45594 if ac_fn_cxx_try_compile "$LINENO"; then :
45595 glibcxx_cv_func_hypotl_use=yes
45596 else
45597 glibcxx_cv_func_hypotl_use=no
45599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45600 ac_ext=c
45601 ac_cpp='$CPP $CPPFLAGS'
45602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45611 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45613 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45614 for ac_func in hypotl
45615 do :
45616 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45617 if test "x$ac_cv_func_hypotl" = x""yes; then :
45618 cat >>confdefs.h <<_ACEOF
45619 #define HAVE_HYPOTL 1
45620 _ACEOF
45623 done
45625 else
45627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45628 $as_echo_n "checking for _hypotl declaration... " >&6; }
45629 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45630 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45631 $as_echo_n "(cached) " >&6
45632 else
45635 ac_ext=cpp
45636 ac_cpp='$CXXCPP $CPPFLAGS'
45637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45642 /* end confdefs.h. */
45643 #include <math.h>
45645 main ()
45647 _hypotl(0, 0);
45649 return 0;
45651 _ACEOF
45652 if ac_fn_cxx_try_compile "$LINENO"; then :
45653 glibcxx_cv_func__hypotl_use=yes
45654 else
45655 glibcxx_cv_func__hypotl_use=no
45657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45658 ac_ext=c
45659 ac_cpp='$CPP $CPPFLAGS'
45660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45669 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45671 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45672 for ac_func in _hypotl
45673 do :
45674 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45675 if test "x$ac_cv_func__hypotl" = x""yes; then :
45676 cat >>confdefs.h <<_ACEOF
45677 #define HAVE__HYPOTL 1
45678 _ACEOF
45681 done
45690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45691 $as_echo_n "checking for ldexpl declaration... " >&6; }
45692 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45693 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45694 $as_echo_n "(cached) " >&6
45695 else
45698 ac_ext=cpp
45699 ac_cpp='$CXXCPP $CPPFLAGS'
45700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45705 /* end confdefs.h. */
45706 #include <math.h>
45708 main ()
45710 ldexpl(0, 0);
45712 return 0;
45714 _ACEOF
45715 if ac_fn_cxx_try_compile "$LINENO"; then :
45716 glibcxx_cv_func_ldexpl_use=yes
45717 else
45718 glibcxx_cv_func_ldexpl_use=no
45720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45721 ac_ext=c
45722 ac_cpp='$CPP $CPPFLAGS'
45723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45732 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45734 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45735 for ac_func in ldexpl
45736 do :
45737 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45738 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45739 cat >>confdefs.h <<_ACEOF
45740 #define HAVE_LDEXPL 1
45741 _ACEOF
45744 done
45746 else
45748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45749 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45750 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45751 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45752 $as_echo_n "(cached) " >&6
45753 else
45756 ac_ext=cpp
45757 ac_cpp='$CXXCPP $CPPFLAGS'
45758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45763 /* end confdefs.h. */
45764 #include <math.h>
45766 main ()
45768 _ldexpl(0, 0);
45770 return 0;
45772 _ACEOF
45773 if ac_fn_cxx_try_compile "$LINENO"; then :
45774 glibcxx_cv_func__ldexpl_use=yes
45775 else
45776 glibcxx_cv_func__ldexpl_use=no
45778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45779 ac_ext=c
45780 ac_cpp='$CPP $CPPFLAGS'
45781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45790 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45792 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45793 for ac_func in _ldexpl
45794 do :
45795 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45796 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45797 cat >>confdefs.h <<_ACEOF
45798 #define HAVE__LDEXPL 1
45799 _ACEOF
45802 done
45811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45812 $as_echo_n "checking for logl declaration... " >&6; }
45813 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45814 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45815 $as_echo_n "(cached) " >&6
45816 else
45819 ac_ext=cpp
45820 ac_cpp='$CXXCPP $CPPFLAGS'
45821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45826 /* end confdefs.h. */
45827 #include <math.h>
45828 #ifdef HAVE_IEEEFP_H
45829 #include <ieeefp.h>
45830 #endif
45833 main ()
45835 logl(0);
45837 return 0;
45839 _ACEOF
45840 if ac_fn_cxx_try_compile "$LINENO"; then :
45841 glibcxx_cv_func_logl_use=yes
45842 else
45843 glibcxx_cv_func_logl_use=no
45845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45846 ac_ext=c
45847 ac_cpp='$CPP $CPPFLAGS'
45848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45857 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45859 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45860 for ac_func in logl
45861 do :
45862 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45863 if test "x$ac_cv_func_logl" = x""yes; then :
45864 cat >>confdefs.h <<_ACEOF
45865 #define HAVE_LOGL 1
45866 _ACEOF
45869 done
45871 else
45873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45874 $as_echo_n "checking for _logl declaration... " >&6; }
45875 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45876 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45877 $as_echo_n "(cached) " >&6
45878 else
45881 ac_ext=cpp
45882 ac_cpp='$CXXCPP $CPPFLAGS'
45883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45888 /* end confdefs.h. */
45889 #include <math.h>
45890 #ifdef HAVE_IEEEFP_H
45891 #include <ieeefp.h>
45892 #endif
45895 main ()
45897 _logl(0);
45899 return 0;
45901 _ACEOF
45902 if ac_fn_cxx_try_compile "$LINENO"; then :
45903 glibcxx_cv_func__logl_use=yes
45904 else
45905 glibcxx_cv_func__logl_use=no
45907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45908 ac_ext=c
45909 ac_cpp='$CPP $CPPFLAGS'
45910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45919 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45921 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45922 for ac_func in _logl
45923 do :
45924 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45925 if test "x$ac_cv_func__logl" = x""yes; then :
45926 cat >>confdefs.h <<_ACEOF
45927 #define HAVE__LOGL 1
45928 _ACEOF
45931 done
45940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45941 $as_echo_n "checking for log10l declaration... " >&6; }
45942 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45943 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45944 $as_echo_n "(cached) " >&6
45945 else
45948 ac_ext=cpp
45949 ac_cpp='$CXXCPP $CPPFLAGS'
45950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45955 /* end confdefs.h. */
45956 #include <math.h>
45957 #ifdef HAVE_IEEEFP_H
45958 #include <ieeefp.h>
45959 #endif
45962 main ()
45964 log10l(0);
45966 return 0;
45968 _ACEOF
45969 if ac_fn_cxx_try_compile "$LINENO"; then :
45970 glibcxx_cv_func_log10l_use=yes
45971 else
45972 glibcxx_cv_func_log10l_use=no
45974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45975 ac_ext=c
45976 ac_cpp='$CPP $CPPFLAGS'
45977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45986 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45988 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45989 for ac_func in log10l
45990 do :
45991 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45992 if test "x$ac_cv_func_log10l" = x""yes; then :
45993 cat >>confdefs.h <<_ACEOF
45994 #define HAVE_LOG10L 1
45995 _ACEOF
45998 done
46000 else
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46003 $as_echo_n "checking for _log10l declaration... " >&6; }
46004 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46005 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46006 $as_echo_n "(cached) " >&6
46007 else
46010 ac_ext=cpp
46011 ac_cpp='$CXXCPP $CPPFLAGS'
46012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46017 /* end confdefs.h. */
46018 #include <math.h>
46019 #ifdef HAVE_IEEEFP_H
46020 #include <ieeefp.h>
46021 #endif
46024 main ()
46026 _log10l(0);
46028 return 0;
46030 _ACEOF
46031 if ac_fn_cxx_try_compile "$LINENO"; then :
46032 glibcxx_cv_func__log10l_use=yes
46033 else
46034 glibcxx_cv_func__log10l_use=no
46036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46037 ac_ext=c
46038 ac_cpp='$CPP $CPPFLAGS'
46039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46048 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46050 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46051 for ac_func in _log10l
46052 do :
46053 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46054 if test "x$ac_cv_func__log10l" = x""yes; then :
46055 cat >>confdefs.h <<_ACEOF
46056 #define HAVE__LOG10L 1
46057 _ACEOF
46060 done
46069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46070 $as_echo_n "checking for modfl declaration... " >&6; }
46071 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46072 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46073 $as_echo_n "(cached) " >&6
46074 else
46077 ac_ext=cpp
46078 ac_cpp='$CXXCPP $CPPFLAGS'
46079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46084 /* end confdefs.h. */
46085 #include <math.h>
46087 main ()
46089 modfl(0, 0);
46091 return 0;
46093 _ACEOF
46094 if ac_fn_cxx_try_compile "$LINENO"; then :
46095 glibcxx_cv_func_modfl_use=yes
46096 else
46097 glibcxx_cv_func_modfl_use=no
46099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46100 ac_ext=c
46101 ac_cpp='$CPP $CPPFLAGS'
46102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46111 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46113 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46114 for ac_func in modfl
46115 do :
46116 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46117 if test "x$ac_cv_func_modfl" = x""yes; then :
46118 cat >>confdefs.h <<_ACEOF
46119 #define HAVE_MODFL 1
46120 _ACEOF
46123 done
46125 else
46127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46128 $as_echo_n "checking for _modfl declaration... " >&6; }
46129 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46130 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46131 $as_echo_n "(cached) " >&6
46132 else
46135 ac_ext=cpp
46136 ac_cpp='$CXXCPP $CPPFLAGS'
46137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46142 /* end confdefs.h. */
46143 #include <math.h>
46145 main ()
46147 _modfl(0, 0);
46149 return 0;
46151 _ACEOF
46152 if ac_fn_cxx_try_compile "$LINENO"; then :
46153 glibcxx_cv_func__modfl_use=yes
46154 else
46155 glibcxx_cv_func__modfl_use=no
46157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46158 ac_ext=c
46159 ac_cpp='$CPP $CPPFLAGS'
46160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46169 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46171 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46172 for ac_func in _modfl
46173 do :
46174 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46175 if test "x$ac_cv_func__modfl" = x""yes; then :
46176 cat >>confdefs.h <<_ACEOF
46177 #define HAVE__MODFL 1
46178 _ACEOF
46181 done
46190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46191 $as_echo_n "checking for powl declaration... " >&6; }
46192 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46193 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46194 $as_echo_n "(cached) " >&6
46195 else
46198 ac_ext=cpp
46199 ac_cpp='$CXXCPP $CPPFLAGS'
46200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46205 /* end confdefs.h. */
46206 #include <math.h>
46208 main ()
46210 powl(0, 0);
46212 return 0;
46214 _ACEOF
46215 if ac_fn_cxx_try_compile "$LINENO"; then :
46216 glibcxx_cv_func_powl_use=yes
46217 else
46218 glibcxx_cv_func_powl_use=no
46220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46221 ac_ext=c
46222 ac_cpp='$CPP $CPPFLAGS'
46223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46232 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46234 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46235 for ac_func in powl
46236 do :
46237 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46238 if test "x$ac_cv_func_powl" = x""yes; then :
46239 cat >>confdefs.h <<_ACEOF
46240 #define HAVE_POWL 1
46241 _ACEOF
46244 done
46246 else
46248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46249 $as_echo_n "checking for _powl declaration... " >&6; }
46250 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46251 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46252 $as_echo_n "(cached) " >&6
46253 else
46256 ac_ext=cpp
46257 ac_cpp='$CXXCPP $CPPFLAGS'
46258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46263 /* end confdefs.h. */
46264 #include <math.h>
46266 main ()
46268 _powl(0, 0);
46270 return 0;
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func__powl_use=yes
46275 else
46276 glibcxx_cv_func__powl_use=no
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46290 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46292 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46293 for ac_func in _powl
46294 do :
46295 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46296 if test "x$ac_cv_func__powl" = x""yes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE__POWL 1
46299 _ACEOF
46302 done
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46312 $as_echo_n "checking for sqrtl declaration... " >&6; }
46313 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46314 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46315 $as_echo_n "(cached) " >&6
46316 else
46319 ac_ext=cpp
46320 ac_cpp='$CXXCPP $CPPFLAGS'
46321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46326 /* end confdefs.h. */
46327 #include <math.h>
46328 #ifdef HAVE_IEEEFP_H
46329 #include <ieeefp.h>
46330 #endif
46333 main ()
46335 sqrtl(0);
46337 return 0;
46339 _ACEOF
46340 if ac_fn_cxx_try_compile "$LINENO"; then :
46341 glibcxx_cv_func_sqrtl_use=yes
46342 else
46343 glibcxx_cv_func_sqrtl_use=no
46345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46346 ac_ext=c
46347 ac_cpp='$CPP $CPPFLAGS'
46348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46357 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46359 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46360 for ac_func in sqrtl
46361 do :
46362 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46363 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46364 cat >>confdefs.h <<_ACEOF
46365 #define HAVE_SQRTL 1
46366 _ACEOF
46369 done
46371 else
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46374 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46375 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46376 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 #ifdef HAVE_IEEEFP_H
46391 #include <ieeefp.h>
46392 #endif
46395 main ()
46397 _sqrtl(0);
46399 return 0;
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func__sqrtl_use=yes
46404 else
46405 glibcxx_cv_func__sqrtl_use=no
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46419 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46421 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46422 for ac_func in _sqrtl
46423 do :
46424 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46425 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE__SQRTL 1
46428 _ACEOF
46431 done
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46441 $as_echo_n "checking for sincosl declaration... " >&6; }
46442 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46443 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46444 $as_echo_n "(cached) " >&6
46445 else
46448 ac_ext=cpp
46449 ac_cpp='$CXXCPP $CPPFLAGS'
46450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46455 /* end confdefs.h. */
46456 #include <math.h>
46458 main ()
46460 sincosl(0, 0, 0);
46462 return 0;
46464 _ACEOF
46465 if ac_fn_cxx_try_compile "$LINENO"; then :
46466 glibcxx_cv_func_sincosl_use=yes
46467 else
46468 glibcxx_cv_func_sincosl_use=no
46470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46471 ac_ext=c
46472 ac_cpp='$CPP $CPPFLAGS'
46473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46482 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46484 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46485 for ac_func in sincosl
46486 do :
46487 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46488 if test "x$ac_cv_func_sincosl" = x""yes; then :
46489 cat >>confdefs.h <<_ACEOF
46490 #define HAVE_SINCOSL 1
46491 _ACEOF
46494 done
46496 else
46498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46499 $as_echo_n "checking for _sincosl declaration... " >&6; }
46500 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46501 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46502 $as_echo_n "(cached) " >&6
46503 else
46506 ac_ext=cpp
46507 ac_cpp='$CXXCPP $CPPFLAGS'
46508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46513 /* end confdefs.h. */
46514 #include <math.h>
46516 main ()
46518 _sincosl(0, 0, 0);
46520 return 0;
46522 _ACEOF
46523 if ac_fn_cxx_try_compile "$LINENO"; then :
46524 glibcxx_cv_func__sincosl_use=yes
46525 else
46526 glibcxx_cv_func__sincosl_use=no
46528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46529 ac_ext=c
46530 ac_cpp='$CPP $CPPFLAGS'
46531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46540 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46542 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46543 for ac_func in _sincosl
46544 do :
46545 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46546 if test "x$ac_cv_func__sincosl" = x""yes; then :
46547 cat >>confdefs.h <<_ACEOF
46548 #define HAVE__SINCOSL 1
46549 _ACEOF
46552 done
46561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46562 $as_echo_n "checking for finitel declaration... " >&6; }
46563 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46564 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46565 $as_echo_n "(cached) " >&6
46566 else
46569 ac_ext=cpp
46570 ac_cpp='$CXXCPP $CPPFLAGS'
46571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46576 /* end confdefs.h. */
46577 #include <math.h>
46578 #ifdef HAVE_IEEEFP_H
46579 #include <ieeefp.h>
46580 #endif
46583 main ()
46585 finitel(0);
46587 return 0;
46589 _ACEOF
46590 if ac_fn_cxx_try_compile "$LINENO"; then :
46591 glibcxx_cv_func_finitel_use=yes
46592 else
46593 glibcxx_cv_func_finitel_use=no
46595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46596 ac_ext=c
46597 ac_cpp='$CPP $CPPFLAGS'
46598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46607 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46609 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46610 for ac_func in finitel
46611 do :
46612 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46613 if test "x$ac_cv_func_finitel" = x""yes; then :
46614 cat >>confdefs.h <<_ACEOF
46615 #define HAVE_FINITEL 1
46616 _ACEOF
46619 done
46621 else
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46624 $as_echo_n "checking for _finitel declaration... " >&6; }
46625 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46626 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46627 $as_echo_n "(cached) " >&6
46628 else
46631 ac_ext=cpp
46632 ac_cpp='$CXXCPP $CPPFLAGS'
46633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46638 /* end confdefs.h. */
46639 #include <math.h>
46640 #ifdef HAVE_IEEEFP_H
46641 #include <ieeefp.h>
46642 #endif
46645 main ()
46647 _finitel(0);
46649 return 0;
46651 _ACEOF
46652 if ac_fn_cxx_try_compile "$LINENO"; then :
46653 glibcxx_cv_func__finitel_use=yes
46654 else
46655 glibcxx_cv_func__finitel_use=no
46657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46658 ac_ext=c
46659 ac_cpp='$CPP $CPPFLAGS'
46660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46669 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46671 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46672 for ac_func in _finitel
46673 do :
46674 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46675 if test "x$ac_cv_func__finitel" = x""yes; then :
46676 cat >>confdefs.h <<_ACEOF
46677 #define HAVE__FINITEL 1
46678 _ACEOF
46681 done
46689 LIBS="$ac_save_LIBS"
46690 CXXFLAGS="$ac_save_CXXFLAGS"
46693 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46694 ac_save_CXXFLAGS="$CXXFLAGS"
46695 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46699 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46700 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46701 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <stdlib.h>
46716 main ()
46718 at_quick_exit(0);
46720 return 0;
46722 _ACEOF
46723 if ac_fn_cxx_try_compile "$LINENO"; then :
46724 glibcxx_cv_func_at_quick_exit_use=yes
46725 else
46726 glibcxx_cv_func_at_quick_exit_use=no
46728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46729 ac_ext=c
46730 ac_cpp='$CPP $CPPFLAGS'
46731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46740 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46741 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46742 for ac_func in at_quick_exit
46743 do :
46744 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46745 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46746 cat >>confdefs.h <<_ACEOF
46747 #define HAVE_AT_QUICK_EXIT 1
46748 _ACEOF
46751 done
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46757 $as_echo_n "checking for quick_exit declaration... " >&6; }
46758 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46759 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46760 $as_echo_n "(cached) " >&6
46761 else
46764 ac_ext=cpp
46765 ac_cpp='$CXXCPP $CPPFLAGS'
46766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46771 /* end confdefs.h. */
46772 #include <stdlib.h>
46774 main ()
46776 quick_exit(0);
46778 return 0;
46780 _ACEOF
46781 if ac_fn_cxx_try_compile "$LINENO"; then :
46782 glibcxx_cv_func_quick_exit_use=yes
46783 else
46784 glibcxx_cv_func_quick_exit_use=no
46786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46787 ac_ext=c
46788 ac_cpp='$CPP $CPPFLAGS'
46789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46798 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46799 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46800 for ac_func in quick_exit
46801 do :
46802 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46803 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46804 cat >>confdefs.h <<_ACEOF
46805 #define HAVE_QUICK_EXIT 1
46806 _ACEOF
46809 done
46814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46815 $as_echo_n "checking for strtold declaration... " >&6; }
46816 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46817 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46818 $as_echo_n "(cached) " >&6
46819 else
46822 ac_ext=cpp
46823 ac_cpp='$CXXCPP $CPPFLAGS'
46824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46829 /* end confdefs.h. */
46830 #include <stdlib.h>
46832 main ()
46834 strtold(0, 0);
46836 return 0;
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func_strtold_use=yes
46841 else
46842 glibcxx_cv_func_strtold_use=no
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46856 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46857 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46858 for ac_func in strtold
46859 do :
46860 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46861 if test "x$ac_cv_func_strtold" = x""yes; then :
46862 cat >>confdefs.h <<_ACEOF
46863 #define HAVE_STRTOLD 1
46864 _ACEOF
46867 done
46874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46875 $as_echo_n "checking for strtof declaration... " >&6; }
46876 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46877 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46878 $as_echo_n "(cached) " >&6
46879 else
46882 ac_ext=cpp
46883 ac_cpp='$CXXCPP $CPPFLAGS'
46884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46889 /* end confdefs.h. */
46890 #include <stdlib.h>
46892 main ()
46894 strtof(0, 0);
46896 return 0;
46898 _ACEOF
46899 if ac_fn_cxx_try_compile "$LINENO"; then :
46900 glibcxx_cv_func_strtof_use=yes
46901 else
46902 glibcxx_cv_func_strtof_use=no
46904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46905 ac_ext=c
46906 ac_cpp='$CPP $CPPFLAGS'
46907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46916 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46917 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46918 for ac_func in strtof
46919 do :
46920 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46921 if test "x$ac_cv_func_strtof" = x""yes; then :
46922 cat >>confdefs.h <<_ACEOF
46923 #define HAVE_STRTOF 1
46924 _ACEOF
46927 done
46934 CXXFLAGS="$ac_save_CXXFLAGS"
46936 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46938 # We don't yet support AIX's TLS ABI.
46939 #GCC_CHECK_TLS
46945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46946 $as_echo_n "checking for iconv... " >&6; }
46947 if test "${am_cv_func_iconv+set}" = set; then :
46948 $as_echo_n "(cached) " >&6
46949 else
46951 am_cv_func_iconv="no, consider installing GNU libiconv"
46952 am_cv_lib_iconv=no
46953 am_save_CPPFLAGS="$CPPFLAGS"
46954 CPPFLAGS="$CPPFLAGS $INCICONV"
46955 if test x$gcc_no_link = xyes; then
46956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46959 /* end confdefs.h. */
46960 #include <stdlib.h>
46961 #include <iconv.h>
46963 main ()
46965 iconv_t cd = iconv_open("","");
46966 iconv(cd,NULL,NULL,NULL,NULL);
46967 iconv_close(cd);
46969 return 0;
46971 _ACEOF
46972 if ac_fn_c_try_link "$LINENO"; then :
46973 am_cv_func_iconv=yes
46975 rm -f core conftest.err conftest.$ac_objext \
46976 conftest$ac_exeext conftest.$ac_ext
46977 CPPFLAGS="$am_save_CPPFLAGS"
46979 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46980 for _libs in .libs _libs; do
46981 am_save_CPPFLAGS="$CPPFLAGS"
46982 am_save_LIBS="$LIBS"
46983 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46984 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46985 if test x$gcc_no_link = xyes; then
46986 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46989 /* end confdefs.h. */
46990 #include <stdlib.h>
46991 #include <iconv.h>
46993 main ()
46995 iconv_t cd = iconv_open("","");
46996 iconv(cd,NULL,NULL,NULL,NULL);
46997 iconv_close(cd);
46999 return 0;
47001 _ACEOF
47002 if ac_fn_c_try_link "$LINENO"; then :
47003 INCICONV="-I../libiconv/include"
47004 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47005 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47006 am_cv_lib_iconv=yes
47007 am_cv_func_iconv=yes
47009 rm -f core conftest.err conftest.$ac_objext \
47010 conftest$ac_exeext conftest.$ac_ext
47011 CPPFLAGS="$am_save_CPPFLAGS"
47012 LIBS="$am_save_LIBS"
47013 if test "$am_cv_func_iconv" = "yes"; then
47014 break
47016 done
47019 if test "$am_cv_func_iconv" != yes; then
47020 am_save_CPPFLAGS="$CPPFLAGS"
47021 am_save_LIBS="$LIBS"
47022 CPPFLAGS="$LIBS $INCICONV"
47023 LIBS="$LIBS $LIBICONV"
47024 if test x$gcc_no_link = xyes; then
47025 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47028 /* end confdefs.h. */
47029 #include <stdlib.h>
47030 #include <iconv.h>
47032 main ()
47034 iconv_t cd = iconv_open("","");
47035 iconv(cd,NULL,NULL,NULL,NULL);
47036 iconv_close(cd);
47038 return 0;
47040 _ACEOF
47041 if ac_fn_c_try_link "$LINENO"; then :
47042 am_cv_lib_iconv=yes
47043 am_cv_func_iconv=yes
47045 rm -f core conftest.err conftest.$ac_objext \
47046 conftest$ac_exeext conftest.$ac_ext
47047 CPPFLAGS="$am_save_CPPFLAGS"
47048 LIBS="$am_save_LIBS"
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47053 $as_echo "$am_cv_func_iconv" >&6; }
47054 if test "$am_cv_func_iconv" = yes; then
47056 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47059 if test "$am_cv_lib_iconv" = yes; then
47061 for element in $INCICONV; do
47062 haveit=
47063 for x in $CPPFLAGS; do
47065 acl_save_prefix="$prefix"
47066 prefix="$acl_final_prefix"
47067 acl_save_exec_prefix="$exec_prefix"
47068 exec_prefix="$acl_final_exec_prefix"
47069 eval x=\"$x\"
47070 exec_prefix="$acl_save_exec_prefix"
47071 prefix="$acl_save_prefix"
47073 if test "X$x" = "X$element"; then
47074 haveit=yes
47075 break
47077 done
47078 if test -z "$haveit"; then
47079 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47081 done
47083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47084 $as_echo_n "checking how to link with libiconv... " >&6; }
47085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47086 $as_echo "$LIBICONV" >&6; }
47087 else
47088 LIBICONV=
47089 LTLIBICONV=
47094 if test "$am_cv_func_iconv" = yes; then
47095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47096 $as_echo_n "checking for iconv declaration... " >&6; }
47097 if test "${am_cv_proto_iconv+set}" = set; then :
47098 $as_echo_n "(cached) " >&6
47099 else
47101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47102 /* end confdefs.h. */
47104 #include <stdlib.h>
47105 #include <iconv.h>
47106 extern
47107 #ifdef __cplusplus
47109 #endif
47110 #if defined(__STDC__) || defined(__cplusplus)
47111 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47112 #else
47113 size_t iconv();
47114 #endif
47117 main ()
47121 return 0;
47123 _ACEOF
47124 if ac_fn_c_try_compile "$LINENO"; then :
47125 am_cv_proto_iconv_arg1=""
47126 else
47127 am_cv_proto_iconv_arg1="const"
47129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47130 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);"
47133 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47135 }$am_cv_proto_iconv" >&5
47136 $as_echo "${ac_t:-
47137 }$am_cv_proto_iconv" >&6; }
47139 cat >>confdefs.h <<_ACEOF
47140 #define ICONV_CONST $am_cv_proto_iconv_arg1
47141 _ACEOF
47147 *-darwin*)
47148 # Darwin versions vary, but the linker should work in a cross environment,
47149 # so we just check for all the features here.
47150 # Check for available headers.
47152 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47154 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47155 ac_save_CXXFLAGS="$CXXFLAGS"
47156 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47159 $as_echo_n "checking for sin in -lm... " >&6; }
47160 if test "${ac_cv_lib_m_sin+set}" = set; then :
47161 $as_echo_n "(cached) " >&6
47162 else
47163 ac_check_lib_save_LIBS=$LIBS
47164 LIBS="-lm $LIBS"
47165 if test x$gcc_no_link = xyes; then
47166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47169 /* end confdefs.h. */
47171 /* Override any GCC internal prototype to avoid an error.
47172 Use char because int might match the return type of a GCC
47173 builtin and then its argument prototype would still apply. */
47174 #ifdef __cplusplus
47175 extern "C"
47176 #endif
47177 char sin ();
47179 main ()
47181 return sin ();
47183 return 0;
47185 _ACEOF
47186 if ac_fn_c_try_link "$LINENO"; then :
47187 ac_cv_lib_m_sin=yes
47188 else
47189 ac_cv_lib_m_sin=no
47191 rm -f core conftest.err conftest.$ac_objext \
47192 conftest$ac_exeext conftest.$ac_ext
47193 LIBS=$ac_check_lib_save_LIBS
47195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47196 $as_echo "$ac_cv_lib_m_sin" >&6; }
47197 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47198 libm="-lm"
47201 ac_save_LIBS="$LIBS"
47202 LIBS="$LIBS $libm"
47206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47207 $as_echo_n "checking for isinf declaration... " >&6; }
47208 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47209 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47210 $as_echo_n "(cached) " >&6
47211 else
47214 ac_ext=cpp
47215 ac_cpp='$CXXCPP $CPPFLAGS'
47216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47221 /* end confdefs.h. */
47222 #include <math.h>
47223 #ifdef HAVE_IEEEFP_H
47224 #include <ieeefp.h>
47225 #endif
47228 main ()
47230 isinf(0);
47232 return 0;
47234 _ACEOF
47235 if ac_fn_cxx_try_compile "$LINENO"; then :
47236 glibcxx_cv_func_isinf_use=yes
47237 else
47238 glibcxx_cv_func_isinf_use=no
47240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47241 ac_ext=c
47242 ac_cpp='$CPP $CPPFLAGS'
47243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47252 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47254 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47255 for ac_func in isinf
47256 do :
47257 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47258 if test "x$ac_cv_func_isinf" = x""yes; then :
47259 cat >>confdefs.h <<_ACEOF
47260 #define HAVE_ISINF 1
47261 _ACEOF
47264 done
47266 else
47268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47269 $as_echo_n "checking for _isinf declaration... " >&6; }
47270 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47271 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47272 $as_echo_n "(cached) " >&6
47273 else
47276 ac_ext=cpp
47277 ac_cpp='$CXXCPP $CPPFLAGS'
47278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47283 /* end confdefs.h. */
47284 #include <math.h>
47285 #ifdef HAVE_IEEEFP_H
47286 #include <ieeefp.h>
47287 #endif
47290 main ()
47292 _isinf(0);
47294 return 0;
47296 _ACEOF
47297 if ac_fn_cxx_try_compile "$LINENO"; then :
47298 glibcxx_cv_func__isinf_use=yes
47299 else
47300 glibcxx_cv_func__isinf_use=no
47302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47303 ac_ext=c
47304 ac_cpp='$CPP $CPPFLAGS'
47305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47314 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47316 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47317 for ac_func in _isinf
47318 do :
47319 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47320 if test "x$ac_cv_func__isinf" = x""yes; then :
47321 cat >>confdefs.h <<_ACEOF
47322 #define HAVE__ISINF 1
47323 _ACEOF
47326 done
47335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47336 $as_echo_n "checking for isnan declaration... " >&6; }
47337 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47338 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47339 $as_echo_n "(cached) " >&6
47340 else
47343 ac_ext=cpp
47344 ac_cpp='$CXXCPP $CPPFLAGS'
47345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47350 /* end confdefs.h. */
47351 #include <math.h>
47352 #ifdef HAVE_IEEEFP_H
47353 #include <ieeefp.h>
47354 #endif
47357 main ()
47359 isnan(0);
47361 return 0;
47363 _ACEOF
47364 if ac_fn_cxx_try_compile "$LINENO"; then :
47365 glibcxx_cv_func_isnan_use=yes
47366 else
47367 glibcxx_cv_func_isnan_use=no
47369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47370 ac_ext=c
47371 ac_cpp='$CPP $CPPFLAGS'
47372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47381 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47383 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47384 for ac_func in isnan
47385 do :
47386 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47387 if test "x$ac_cv_func_isnan" = x""yes; then :
47388 cat >>confdefs.h <<_ACEOF
47389 #define HAVE_ISNAN 1
47390 _ACEOF
47393 done
47395 else
47397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47398 $as_echo_n "checking for _isnan declaration... " >&6; }
47399 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47400 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47401 $as_echo_n "(cached) " >&6
47402 else
47405 ac_ext=cpp
47406 ac_cpp='$CXXCPP $CPPFLAGS'
47407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47412 /* end confdefs.h. */
47413 #include <math.h>
47414 #ifdef HAVE_IEEEFP_H
47415 #include <ieeefp.h>
47416 #endif
47419 main ()
47421 _isnan(0);
47423 return 0;
47425 _ACEOF
47426 if ac_fn_cxx_try_compile "$LINENO"; then :
47427 glibcxx_cv_func__isnan_use=yes
47428 else
47429 glibcxx_cv_func__isnan_use=no
47431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47432 ac_ext=c
47433 ac_cpp='$CPP $CPPFLAGS'
47434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47443 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47445 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47446 for ac_func in _isnan
47447 do :
47448 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47449 if test "x$ac_cv_func__isnan" = x""yes; then :
47450 cat >>confdefs.h <<_ACEOF
47451 #define HAVE__ISNAN 1
47452 _ACEOF
47455 done
47464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47465 $as_echo_n "checking for finite declaration... " >&6; }
47466 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47467 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47468 $as_echo_n "(cached) " >&6
47469 else
47472 ac_ext=cpp
47473 ac_cpp='$CXXCPP $CPPFLAGS'
47474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47479 /* end confdefs.h. */
47480 #include <math.h>
47481 #ifdef HAVE_IEEEFP_H
47482 #include <ieeefp.h>
47483 #endif
47486 main ()
47488 finite(0);
47490 return 0;
47492 _ACEOF
47493 if ac_fn_cxx_try_compile "$LINENO"; then :
47494 glibcxx_cv_func_finite_use=yes
47495 else
47496 glibcxx_cv_func_finite_use=no
47498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47499 ac_ext=c
47500 ac_cpp='$CPP $CPPFLAGS'
47501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47510 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47512 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47513 for ac_func in finite
47514 do :
47515 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47516 if test "x$ac_cv_func_finite" = x""yes; then :
47517 cat >>confdefs.h <<_ACEOF
47518 #define HAVE_FINITE 1
47519 _ACEOF
47522 done
47524 else
47526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47527 $as_echo_n "checking for _finite declaration... " >&6; }
47528 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47529 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47530 $as_echo_n "(cached) " >&6
47531 else
47534 ac_ext=cpp
47535 ac_cpp='$CXXCPP $CPPFLAGS'
47536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47541 /* end confdefs.h. */
47542 #include <math.h>
47543 #ifdef HAVE_IEEEFP_H
47544 #include <ieeefp.h>
47545 #endif
47548 main ()
47550 _finite(0);
47552 return 0;
47554 _ACEOF
47555 if ac_fn_cxx_try_compile "$LINENO"; then :
47556 glibcxx_cv_func__finite_use=yes
47557 else
47558 glibcxx_cv_func__finite_use=no
47560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47561 ac_ext=c
47562 ac_cpp='$CPP $CPPFLAGS'
47563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47572 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47574 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47575 for ac_func in _finite
47576 do :
47577 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47578 if test "x$ac_cv_func__finite" = x""yes; then :
47579 cat >>confdefs.h <<_ACEOF
47580 #define HAVE__FINITE 1
47581 _ACEOF
47584 done
47593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47594 $as_echo_n "checking for sincos declaration... " >&6; }
47595 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47596 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47597 $as_echo_n "(cached) " >&6
47598 else
47601 ac_ext=cpp
47602 ac_cpp='$CXXCPP $CPPFLAGS'
47603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47608 /* end confdefs.h. */
47609 #include <math.h>
47611 main ()
47613 sincos(0, 0, 0);
47615 return 0;
47617 _ACEOF
47618 if ac_fn_cxx_try_compile "$LINENO"; then :
47619 glibcxx_cv_func_sincos_use=yes
47620 else
47621 glibcxx_cv_func_sincos_use=no
47623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47624 ac_ext=c
47625 ac_cpp='$CPP $CPPFLAGS'
47626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47635 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47637 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47638 for ac_func in sincos
47639 do :
47640 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47641 if test "x$ac_cv_func_sincos" = x""yes; then :
47642 cat >>confdefs.h <<_ACEOF
47643 #define HAVE_SINCOS 1
47644 _ACEOF
47647 done
47649 else
47651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47652 $as_echo_n "checking for _sincos declaration... " >&6; }
47653 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47654 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47655 $as_echo_n "(cached) " >&6
47656 else
47659 ac_ext=cpp
47660 ac_cpp='$CXXCPP $CPPFLAGS'
47661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47666 /* end confdefs.h. */
47667 #include <math.h>
47669 main ()
47671 _sincos(0, 0, 0);
47673 return 0;
47675 _ACEOF
47676 if ac_fn_cxx_try_compile "$LINENO"; then :
47677 glibcxx_cv_func__sincos_use=yes
47678 else
47679 glibcxx_cv_func__sincos_use=no
47681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47682 ac_ext=c
47683 ac_cpp='$CPP $CPPFLAGS'
47684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47693 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47695 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47696 for ac_func in _sincos
47697 do :
47698 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47699 if test "x$ac_cv_func__sincos" = x""yes; then :
47700 cat >>confdefs.h <<_ACEOF
47701 #define HAVE__SINCOS 1
47702 _ACEOF
47705 done
47714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47715 $as_echo_n "checking for fpclass declaration... " >&6; }
47716 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47717 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47718 $as_echo_n "(cached) " >&6
47719 else
47722 ac_ext=cpp
47723 ac_cpp='$CXXCPP $CPPFLAGS'
47724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47729 /* end confdefs.h. */
47730 #include <math.h>
47731 #ifdef HAVE_IEEEFP_H
47732 #include <ieeefp.h>
47733 #endif
47736 main ()
47738 fpclass(0);
47740 return 0;
47742 _ACEOF
47743 if ac_fn_cxx_try_compile "$LINENO"; then :
47744 glibcxx_cv_func_fpclass_use=yes
47745 else
47746 glibcxx_cv_func_fpclass_use=no
47748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47749 ac_ext=c
47750 ac_cpp='$CPP $CPPFLAGS'
47751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47760 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47762 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47763 for ac_func in fpclass
47764 do :
47765 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47766 if test "x$ac_cv_func_fpclass" = x""yes; then :
47767 cat >>confdefs.h <<_ACEOF
47768 #define HAVE_FPCLASS 1
47769 _ACEOF
47772 done
47774 else
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47777 $as_echo_n "checking for _fpclass declaration... " >&6; }
47778 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47779 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47780 $as_echo_n "(cached) " >&6
47781 else
47784 ac_ext=cpp
47785 ac_cpp='$CXXCPP $CPPFLAGS'
47786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47791 /* end confdefs.h. */
47792 #include <math.h>
47793 #ifdef HAVE_IEEEFP_H
47794 #include <ieeefp.h>
47795 #endif
47798 main ()
47800 _fpclass(0);
47802 return 0;
47804 _ACEOF
47805 if ac_fn_cxx_try_compile "$LINENO"; then :
47806 glibcxx_cv_func__fpclass_use=yes
47807 else
47808 glibcxx_cv_func__fpclass_use=no
47810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47811 ac_ext=c
47812 ac_cpp='$CPP $CPPFLAGS'
47813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47822 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47824 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47825 for ac_func in _fpclass
47826 do :
47827 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47828 if test "x$ac_cv_func__fpclass" = x""yes; then :
47829 cat >>confdefs.h <<_ACEOF
47830 #define HAVE__FPCLASS 1
47831 _ACEOF
47834 done
47843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47844 $as_echo_n "checking for qfpclass declaration... " >&6; }
47845 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47846 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47847 $as_echo_n "(cached) " >&6
47848 else
47851 ac_ext=cpp
47852 ac_cpp='$CXXCPP $CPPFLAGS'
47853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47858 /* end confdefs.h. */
47859 #include <math.h>
47860 #ifdef HAVE_IEEEFP_H
47861 #include <ieeefp.h>
47862 #endif
47865 main ()
47867 qfpclass(0);
47869 return 0;
47871 _ACEOF
47872 if ac_fn_cxx_try_compile "$LINENO"; then :
47873 glibcxx_cv_func_qfpclass_use=yes
47874 else
47875 glibcxx_cv_func_qfpclass_use=no
47877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47878 ac_ext=c
47879 ac_cpp='$CPP $CPPFLAGS'
47880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47889 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47891 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47892 for ac_func in qfpclass
47893 do :
47894 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47895 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47896 cat >>confdefs.h <<_ACEOF
47897 #define HAVE_QFPCLASS 1
47898 _ACEOF
47901 done
47903 else
47905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47906 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47907 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47908 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47909 $as_echo_n "(cached) " >&6
47910 else
47913 ac_ext=cpp
47914 ac_cpp='$CXXCPP $CPPFLAGS'
47915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47920 /* end confdefs.h. */
47921 #include <math.h>
47922 #ifdef HAVE_IEEEFP_H
47923 #include <ieeefp.h>
47924 #endif
47927 main ()
47929 _qfpclass(0);
47931 return 0;
47933 _ACEOF
47934 if ac_fn_cxx_try_compile "$LINENO"; then :
47935 glibcxx_cv_func__qfpclass_use=yes
47936 else
47937 glibcxx_cv_func__qfpclass_use=no
47939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47940 ac_ext=c
47941 ac_cpp='$CPP $CPPFLAGS'
47942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47951 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47953 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47954 for ac_func in _qfpclass
47955 do :
47956 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47957 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47958 cat >>confdefs.h <<_ACEOF
47959 #define HAVE__QFPCLASS 1
47960 _ACEOF
47963 done
47972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47973 $as_echo_n "checking for hypot declaration... " >&6; }
47974 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47975 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47976 $as_echo_n "(cached) " >&6
47977 else
47980 ac_ext=cpp
47981 ac_cpp='$CXXCPP $CPPFLAGS'
47982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47987 /* end confdefs.h. */
47988 #include <math.h>
47990 main ()
47992 hypot(0, 0);
47994 return 0;
47996 _ACEOF
47997 if ac_fn_cxx_try_compile "$LINENO"; then :
47998 glibcxx_cv_func_hypot_use=yes
47999 else
48000 glibcxx_cv_func_hypot_use=no
48002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48003 ac_ext=c
48004 ac_cpp='$CPP $CPPFLAGS'
48005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48014 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48016 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48017 for ac_func in hypot
48018 do :
48019 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48020 if test "x$ac_cv_func_hypot" = x""yes; then :
48021 cat >>confdefs.h <<_ACEOF
48022 #define HAVE_HYPOT 1
48023 _ACEOF
48026 done
48028 else
48030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48031 $as_echo_n "checking for _hypot declaration... " >&6; }
48032 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48033 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48034 $as_echo_n "(cached) " >&6
48035 else
48038 ac_ext=cpp
48039 ac_cpp='$CXXCPP $CPPFLAGS'
48040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48045 /* end confdefs.h. */
48046 #include <math.h>
48048 main ()
48050 _hypot(0, 0);
48052 return 0;
48054 _ACEOF
48055 if ac_fn_cxx_try_compile "$LINENO"; then :
48056 glibcxx_cv_func__hypot_use=yes
48057 else
48058 glibcxx_cv_func__hypot_use=no
48060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48061 ac_ext=c
48062 ac_cpp='$CPP $CPPFLAGS'
48063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48072 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48074 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48075 for ac_func in _hypot
48076 do :
48077 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48078 if test "x$ac_cv_func__hypot" = x""yes; then :
48079 cat >>confdefs.h <<_ACEOF
48080 #define HAVE__HYPOT 1
48081 _ACEOF
48084 done
48093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48094 $as_echo_n "checking for float trig functions... " >&6; }
48095 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48096 $as_echo_n "(cached) " >&6
48097 else
48100 ac_ext=cpp
48101 ac_cpp='$CXXCPP $CPPFLAGS'
48102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48107 /* end confdefs.h. */
48108 #include <math.h>
48110 main ()
48112 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48114 return 0;
48116 _ACEOF
48117 if ac_fn_cxx_try_compile "$LINENO"; then :
48118 glibcxx_cv_func_float_trig_use=yes
48119 else
48120 glibcxx_cv_func_float_trig_use=no
48122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48123 ac_ext=c
48124 ac_cpp='$CPP $CPPFLAGS'
48125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48132 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48133 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48134 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48135 do :
48136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48138 eval as_val=\$$as_ac_var
48139 if test "x$as_val" = x""yes; then :
48140 cat >>confdefs.h <<_ACEOF
48141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48142 _ACEOF
48145 done
48147 else
48148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48149 $as_echo_n "checking for _float trig functions... " >&6; }
48150 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48151 $as_echo_n "(cached) " >&6
48152 else
48155 ac_ext=cpp
48156 ac_cpp='$CXXCPP $CPPFLAGS'
48157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48162 /* end confdefs.h. */
48163 #include <math.h>
48165 main ()
48167 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48169 return 0;
48171 _ACEOF
48172 if ac_fn_cxx_try_compile "$LINENO"; then :
48173 glibcxx_cv_func__float_trig_use=yes
48174 else
48175 glibcxx_cv_func__float_trig_use=no
48177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48178 ac_ext=c
48179 ac_cpp='$CPP $CPPFLAGS'
48180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48187 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48188 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48189 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48190 do :
48191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48193 eval as_val=\$$as_ac_var
48194 if test "x$as_val" = x""yes; then :
48195 cat >>confdefs.h <<_ACEOF
48196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48197 _ACEOF
48200 done
48209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48210 $as_echo_n "checking for float round functions... " >&6; }
48211 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48212 $as_echo_n "(cached) " >&6
48213 else
48216 ac_ext=cpp
48217 ac_cpp='$CXXCPP $CPPFLAGS'
48218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48223 /* end confdefs.h. */
48224 #include <math.h>
48226 main ()
48228 ceilf (0); floorf (0);
48230 return 0;
48232 _ACEOF
48233 if ac_fn_cxx_try_compile "$LINENO"; then :
48234 glibcxx_cv_func_float_round_use=yes
48235 else
48236 glibcxx_cv_func_float_round_use=no
48238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48239 ac_ext=c
48240 ac_cpp='$CPP $CPPFLAGS'
48241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48248 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48249 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48250 for ac_func in ceilf floorf
48251 do :
48252 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48253 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48254 eval as_val=\$$as_ac_var
48255 if test "x$as_val" = x""yes; then :
48256 cat >>confdefs.h <<_ACEOF
48257 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48258 _ACEOF
48261 done
48263 else
48264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48265 $as_echo_n "checking for _float round functions... " >&6; }
48266 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48267 $as_echo_n "(cached) " >&6
48268 else
48271 ac_ext=cpp
48272 ac_cpp='$CXXCPP $CPPFLAGS'
48273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48278 /* end confdefs.h. */
48279 #include <math.h>
48281 main ()
48283 _ceilf (0); _floorf (0);
48285 return 0;
48287 _ACEOF
48288 if ac_fn_cxx_try_compile "$LINENO"; then :
48289 glibcxx_cv_func__float_round_use=yes
48290 else
48291 glibcxx_cv_func__float_round_use=no
48293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48294 ac_ext=c
48295 ac_cpp='$CPP $CPPFLAGS'
48296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48303 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48304 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48305 for ac_func in _ceilf _floorf
48306 do :
48307 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48308 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48309 eval as_val=\$$as_ac_var
48310 if test "x$as_val" = x""yes; then :
48311 cat >>confdefs.h <<_ACEOF
48312 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48313 _ACEOF
48316 done
48326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48327 $as_echo_n "checking for expf declaration... " >&6; }
48328 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48329 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48330 $as_echo_n "(cached) " >&6
48331 else
48334 ac_ext=cpp
48335 ac_cpp='$CXXCPP $CPPFLAGS'
48336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48341 /* end confdefs.h. */
48342 #include <math.h>
48343 #ifdef HAVE_IEEEFP_H
48344 #include <ieeefp.h>
48345 #endif
48348 main ()
48350 expf(0);
48352 return 0;
48354 _ACEOF
48355 if ac_fn_cxx_try_compile "$LINENO"; then :
48356 glibcxx_cv_func_expf_use=yes
48357 else
48358 glibcxx_cv_func_expf_use=no
48360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48361 ac_ext=c
48362 ac_cpp='$CPP $CPPFLAGS'
48363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48372 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48374 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48375 for ac_func in expf
48376 do :
48377 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48378 if test "x$ac_cv_func_expf" = x""yes; then :
48379 cat >>confdefs.h <<_ACEOF
48380 #define HAVE_EXPF 1
48381 _ACEOF
48384 done
48386 else
48388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48389 $as_echo_n "checking for _expf declaration... " >&6; }
48390 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48391 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48392 $as_echo_n "(cached) " >&6
48393 else
48396 ac_ext=cpp
48397 ac_cpp='$CXXCPP $CPPFLAGS'
48398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48403 /* end confdefs.h. */
48404 #include <math.h>
48405 #ifdef HAVE_IEEEFP_H
48406 #include <ieeefp.h>
48407 #endif
48410 main ()
48412 _expf(0);
48414 return 0;
48416 _ACEOF
48417 if ac_fn_cxx_try_compile "$LINENO"; then :
48418 glibcxx_cv_func__expf_use=yes
48419 else
48420 glibcxx_cv_func__expf_use=no
48422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48423 ac_ext=c
48424 ac_cpp='$CPP $CPPFLAGS'
48425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48434 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48436 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48437 for ac_func in _expf
48438 do :
48439 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48440 if test "x$ac_cv_func__expf" = x""yes; then :
48441 cat >>confdefs.h <<_ACEOF
48442 #define HAVE__EXPF 1
48443 _ACEOF
48446 done
48455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48456 $as_echo_n "checking for isnanf declaration... " >&6; }
48457 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48458 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48459 $as_echo_n "(cached) " >&6
48460 else
48463 ac_ext=cpp
48464 ac_cpp='$CXXCPP $CPPFLAGS'
48465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48470 /* end confdefs.h. */
48471 #include <math.h>
48472 #ifdef HAVE_IEEEFP_H
48473 #include <ieeefp.h>
48474 #endif
48477 main ()
48479 isnanf(0);
48481 return 0;
48483 _ACEOF
48484 if ac_fn_cxx_try_compile "$LINENO"; then :
48485 glibcxx_cv_func_isnanf_use=yes
48486 else
48487 glibcxx_cv_func_isnanf_use=no
48489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48490 ac_ext=c
48491 ac_cpp='$CPP $CPPFLAGS'
48492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48501 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48503 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48504 for ac_func in isnanf
48505 do :
48506 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48507 if test "x$ac_cv_func_isnanf" = x""yes; then :
48508 cat >>confdefs.h <<_ACEOF
48509 #define HAVE_ISNANF 1
48510 _ACEOF
48513 done
48515 else
48517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48518 $as_echo_n "checking for _isnanf declaration... " >&6; }
48519 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48520 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48521 $as_echo_n "(cached) " >&6
48522 else
48525 ac_ext=cpp
48526 ac_cpp='$CXXCPP $CPPFLAGS'
48527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48532 /* end confdefs.h. */
48533 #include <math.h>
48534 #ifdef HAVE_IEEEFP_H
48535 #include <ieeefp.h>
48536 #endif
48539 main ()
48541 _isnanf(0);
48543 return 0;
48545 _ACEOF
48546 if ac_fn_cxx_try_compile "$LINENO"; then :
48547 glibcxx_cv_func__isnanf_use=yes
48548 else
48549 glibcxx_cv_func__isnanf_use=no
48551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48552 ac_ext=c
48553 ac_cpp='$CPP $CPPFLAGS'
48554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48563 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48565 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48566 for ac_func in _isnanf
48567 do :
48568 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48569 if test "x$ac_cv_func__isnanf" = x""yes; then :
48570 cat >>confdefs.h <<_ACEOF
48571 #define HAVE__ISNANF 1
48572 _ACEOF
48575 done
48584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48585 $as_echo_n "checking for isinff declaration... " >&6; }
48586 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48587 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48588 $as_echo_n "(cached) " >&6
48589 else
48592 ac_ext=cpp
48593 ac_cpp='$CXXCPP $CPPFLAGS'
48594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48599 /* end confdefs.h. */
48600 #include <math.h>
48601 #ifdef HAVE_IEEEFP_H
48602 #include <ieeefp.h>
48603 #endif
48606 main ()
48608 isinff(0);
48610 return 0;
48612 _ACEOF
48613 if ac_fn_cxx_try_compile "$LINENO"; then :
48614 glibcxx_cv_func_isinff_use=yes
48615 else
48616 glibcxx_cv_func_isinff_use=no
48618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48619 ac_ext=c
48620 ac_cpp='$CPP $CPPFLAGS'
48621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48630 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48632 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48633 for ac_func in isinff
48634 do :
48635 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48636 if test "x$ac_cv_func_isinff" = x""yes; then :
48637 cat >>confdefs.h <<_ACEOF
48638 #define HAVE_ISINFF 1
48639 _ACEOF
48642 done
48644 else
48646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48647 $as_echo_n "checking for _isinff declaration... " >&6; }
48648 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48649 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48650 $as_echo_n "(cached) " >&6
48651 else
48654 ac_ext=cpp
48655 ac_cpp='$CXXCPP $CPPFLAGS'
48656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48661 /* end confdefs.h. */
48662 #include <math.h>
48663 #ifdef HAVE_IEEEFP_H
48664 #include <ieeefp.h>
48665 #endif
48668 main ()
48670 _isinff(0);
48672 return 0;
48674 _ACEOF
48675 if ac_fn_cxx_try_compile "$LINENO"; then :
48676 glibcxx_cv_func__isinff_use=yes
48677 else
48678 glibcxx_cv_func__isinff_use=no
48680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48681 ac_ext=c
48682 ac_cpp='$CPP $CPPFLAGS'
48683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48692 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48694 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48695 for ac_func in _isinff
48696 do :
48697 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48698 if test "x$ac_cv_func__isinff" = x""yes; then :
48699 cat >>confdefs.h <<_ACEOF
48700 #define HAVE__ISINFF 1
48701 _ACEOF
48704 done
48713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48714 $as_echo_n "checking for atan2f declaration... " >&6; }
48715 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48716 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48717 $as_echo_n "(cached) " >&6
48718 else
48721 ac_ext=cpp
48722 ac_cpp='$CXXCPP $CPPFLAGS'
48723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48728 /* end confdefs.h. */
48729 #include <math.h>
48731 main ()
48733 atan2f(0, 0);
48735 return 0;
48737 _ACEOF
48738 if ac_fn_cxx_try_compile "$LINENO"; then :
48739 glibcxx_cv_func_atan2f_use=yes
48740 else
48741 glibcxx_cv_func_atan2f_use=no
48743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48744 ac_ext=c
48745 ac_cpp='$CPP $CPPFLAGS'
48746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48755 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48757 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48758 for ac_func in atan2f
48759 do :
48760 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48761 if test "x$ac_cv_func_atan2f" = x""yes; then :
48762 cat >>confdefs.h <<_ACEOF
48763 #define HAVE_ATAN2F 1
48764 _ACEOF
48767 done
48769 else
48771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48772 $as_echo_n "checking for _atan2f declaration... " >&6; }
48773 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48774 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48775 $as_echo_n "(cached) " >&6
48776 else
48779 ac_ext=cpp
48780 ac_cpp='$CXXCPP $CPPFLAGS'
48781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48786 /* end confdefs.h. */
48787 #include <math.h>
48789 main ()
48791 _atan2f(0, 0);
48793 return 0;
48795 _ACEOF
48796 if ac_fn_cxx_try_compile "$LINENO"; then :
48797 glibcxx_cv_func__atan2f_use=yes
48798 else
48799 glibcxx_cv_func__atan2f_use=no
48801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48802 ac_ext=c
48803 ac_cpp='$CPP $CPPFLAGS'
48804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48813 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48815 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48816 for ac_func in _atan2f
48817 do :
48818 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48819 if test "x$ac_cv_func__atan2f" = x""yes; then :
48820 cat >>confdefs.h <<_ACEOF
48821 #define HAVE__ATAN2F 1
48822 _ACEOF
48825 done
48834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48835 $as_echo_n "checking for fabsf declaration... " >&6; }
48836 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48837 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48838 $as_echo_n "(cached) " >&6
48839 else
48842 ac_ext=cpp
48843 ac_cpp='$CXXCPP $CPPFLAGS'
48844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48849 /* end confdefs.h. */
48850 #include <math.h>
48851 #ifdef HAVE_IEEEFP_H
48852 #include <ieeefp.h>
48853 #endif
48856 main ()
48858 fabsf(0);
48860 return 0;
48862 _ACEOF
48863 if ac_fn_cxx_try_compile "$LINENO"; then :
48864 glibcxx_cv_func_fabsf_use=yes
48865 else
48866 glibcxx_cv_func_fabsf_use=no
48868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48869 ac_ext=c
48870 ac_cpp='$CPP $CPPFLAGS'
48871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48880 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48882 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48883 for ac_func in fabsf
48884 do :
48885 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48886 if test "x$ac_cv_func_fabsf" = x""yes; then :
48887 cat >>confdefs.h <<_ACEOF
48888 #define HAVE_FABSF 1
48889 _ACEOF
48892 done
48894 else
48896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48897 $as_echo_n "checking for _fabsf declaration... " >&6; }
48898 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48899 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48900 $as_echo_n "(cached) " >&6
48901 else
48904 ac_ext=cpp
48905 ac_cpp='$CXXCPP $CPPFLAGS'
48906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48911 /* end confdefs.h. */
48912 #include <math.h>
48913 #ifdef HAVE_IEEEFP_H
48914 #include <ieeefp.h>
48915 #endif
48918 main ()
48920 _fabsf(0);
48922 return 0;
48924 _ACEOF
48925 if ac_fn_cxx_try_compile "$LINENO"; then :
48926 glibcxx_cv_func__fabsf_use=yes
48927 else
48928 glibcxx_cv_func__fabsf_use=no
48930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48931 ac_ext=c
48932 ac_cpp='$CPP $CPPFLAGS'
48933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48942 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48944 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48945 for ac_func in _fabsf
48946 do :
48947 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48948 if test "x$ac_cv_func__fabsf" = x""yes; then :
48949 cat >>confdefs.h <<_ACEOF
48950 #define HAVE__FABSF 1
48951 _ACEOF
48954 done
48963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48964 $as_echo_n "checking for fmodf declaration... " >&6; }
48965 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48966 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48967 $as_echo_n "(cached) " >&6
48968 else
48971 ac_ext=cpp
48972 ac_cpp='$CXXCPP $CPPFLAGS'
48973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48978 /* end confdefs.h. */
48979 #include <math.h>
48981 main ()
48983 fmodf(0, 0);
48985 return 0;
48987 _ACEOF
48988 if ac_fn_cxx_try_compile "$LINENO"; then :
48989 glibcxx_cv_func_fmodf_use=yes
48990 else
48991 glibcxx_cv_func_fmodf_use=no
48993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48994 ac_ext=c
48995 ac_cpp='$CPP $CPPFLAGS'
48996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49005 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49007 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49008 for ac_func in fmodf
49009 do :
49010 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49011 if test "x$ac_cv_func_fmodf" = x""yes; then :
49012 cat >>confdefs.h <<_ACEOF
49013 #define HAVE_FMODF 1
49014 _ACEOF
49017 done
49019 else
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49022 $as_echo_n "checking for _fmodf declaration... " >&6; }
49023 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49024 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49025 $as_echo_n "(cached) " >&6
49026 else
49029 ac_ext=cpp
49030 ac_cpp='$CXXCPP $CPPFLAGS'
49031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49036 /* end confdefs.h. */
49037 #include <math.h>
49039 main ()
49041 _fmodf(0, 0);
49043 return 0;
49045 _ACEOF
49046 if ac_fn_cxx_try_compile "$LINENO"; then :
49047 glibcxx_cv_func__fmodf_use=yes
49048 else
49049 glibcxx_cv_func__fmodf_use=no
49051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49052 ac_ext=c
49053 ac_cpp='$CPP $CPPFLAGS'
49054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49063 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49065 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49066 for ac_func in _fmodf
49067 do :
49068 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49069 if test "x$ac_cv_func__fmodf" = x""yes; then :
49070 cat >>confdefs.h <<_ACEOF
49071 #define HAVE__FMODF 1
49072 _ACEOF
49075 done
49084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49085 $as_echo_n "checking for frexpf declaration... " >&6; }
49086 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49087 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49088 $as_echo_n "(cached) " >&6
49089 else
49092 ac_ext=cpp
49093 ac_cpp='$CXXCPP $CPPFLAGS'
49094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49099 /* end confdefs.h. */
49100 #include <math.h>
49102 main ()
49104 frexpf(0, 0);
49106 return 0;
49108 _ACEOF
49109 if ac_fn_cxx_try_compile "$LINENO"; then :
49110 glibcxx_cv_func_frexpf_use=yes
49111 else
49112 glibcxx_cv_func_frexpf_use=no
49114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49115 ac_ext=c
49116 ac_cpp='$CPP $CPPFLAGS'
49117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49126 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49128 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49129 for ac_func in frexpf
49130 do :
49131 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49132 if test "x$ac_cv_func_frexpf" = x""yes; then :
49133 cat >>confdefs.h <<_ACEOF
49134 #define HAVE_FREXPF 1
49135 _ACEOF
49138 done
49140 else
49142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49143 $as_echo_n "checking for _frexpf declaration... " >&6; }
49144 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49145 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49146 $as_echo_n "(cached) " >&6
49147 else
49150 ac_ext=cpp
49151 ac_cpp='$CXXCPP $CPPFLAGS'
49152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49157 /* end confdefs.h. */
49158 #include <math.h>
49160 main ()
49162 _frexpf(0, 0);
49164 return 0;
49166 _ACEOF
49167 if ac_fn_cxx_try_compile "$LINENO"; then :
49168 glibcxx_cv_func__frexpf_use=yes
49169 else
49170 glibcxx_cv_func__frexpf_use=no
49172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49173 ac_ext=c
49174 ac_cpp='$CPP $CPPFLAGS'
49175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49184 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49186 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49187 for ac_func in _frexpf
49188 do :
49189 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49190 if test "x$ac_cv_func__frexpf" = x""yes; then :
49191 cat >>confdefs.h <<_ACEOF
49192 #define HAVE__FREXPF 1
49193 _ACEOF
49196 done
49205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49206 $as_echo_n "checking for hypotf declaration... " >&6; }
49207 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49208 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49209 $as_echo_n "(cached) " >&6
49210 else
49213 ac_ext=cpp
49214 ac_cpp='$CXXCPP $CPPFLAGS'
49215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49220 /* end confdefs.h. */
49221 #include <math.h>
49223 main ()
49225 hypotf(0, 0);
49227 return 0;
49229 _ACEOF
49230 if ac_fn_cxx_try_compile "$LINENO"; then :
49231 glibcxx_cv_func_hypotf_use=yes
49232 else
49233 glibcxx_cv_func_hypotf_use=no
49235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49236 ac_ext=c
49237 ac_cpp='$CPP $CPPFLAGS'
49238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49247 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49249 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49250 for ac_func in hypotf
49251 do :
49252 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49253 if test "x$ac_cv_func_hypotf" = x""yes; then :
49254 cat >>confdefs.h <<_ACEOF
49255 #define HAVE_HYPOTF 1
49256 _ACEOF
49259 done
49261 else
49263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49264 $as_echo_n "checking for _hypotf declaration... " >&6; }
49265 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49266 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49267 $as_echo_n "(cached) " >&6
49268 else
49271 ac_ext=cpp
49272 ac_cpp='$CXXCPP $CPPFLAGS'
49273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49278 /* end confdefs.h. */
49279 #include <math.h>
49281 main ()
49283 _hypotf(0, 0);
49285 return 0;
49287 _ACEOF
49288 if ac_fn_cxx_try_compile "$LINENO"; then :
49289 glibcxx_cv_func__hypotf_use=yes
49290 else
49291 glibcxx_cv_func__hypotf_use=no
49293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49294 ac_ext=c
49295 ac_cpp='$CPP $CPPFLAGS'
49296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49305 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49307 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49308 for ac_func in _hypotf
49309 do :
49310 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49311 if test "x$ac_cv_func__hypotf" = x""yes; then :
49312 cat >>confdefs.h <<_ACEOF
49313 #define HAVE__HYPOTF 1
49314 _ACEOF
49317 done
49326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49327 $as_echo_n "checking for ldexpf declaration... " >&6; }
49328 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49329 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49330 $as_echo_n "(cached) " >&6
49331 else
49334 ac_ext=cpp
49335 ac_cpp='$CXXCPP $CPPFLAGS'
49336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49341 /* end confdefs.h. */
49342 #include <math.h>
49344 main ()
49346 ldexpf(0, 0);
49348 return 0;
49350 _ACEOF
49351 if ac_fn_cxx_try_compile "$LINENO"; then :
49352 glibcxx_cv_func_ldexpf_use=yes
49353 else
49354 glibcxx_cv_func_ldexpf_use=no
49356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49357 ac_ext=c
49358 ac_cpp='$CPP $CPPFLAGS'
49359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49368 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49370 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49371 for ac_func in ldexpf
49372 do :
49373 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49374 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49375 cat >>confdefs.h <<_ACEOF
49376 #define HAVE_LDEXPF 1
49377 _ACEOF
49380 done
49382 else
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49385 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49386 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49387 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49388 $as_echo_n "(cached) " >&6
49389 else
49392 ac_ext=cpp
49393 ac_cpp='$CXXCPP $CPPFLAGS'
49394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49399 /* end confdefs.h. */
49400 #include <math.h>
49402 main ()
49404 _ldexpf(0, 0);
49406 return 0;
49408 _ACEOF
49409 if ac_fn_cxx_try_compile "$LINENO"; then :
49410 glibcxx_cv_func__ldexpf_use=yes
49411 else
49412 glibcxx_cv_func__ldexpf_use=no
49414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49415 ac_ext=c
49416 ac_cpp='$CPP $CPPFLAGS'
49417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49426 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49428 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49429 for ac_func in _ldexpf
49430 do :
49431 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49432 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49433 cat >>confdefs.h <<_ACEOF
49434 #define HAVE__LDEXPF 1
49435 _ACEOF
49438 done
49447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49448 $as_echo_n "checking for logf declaration... " >&6; }
49449 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49450 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49451 $as_echo_n "(cached) " >&6
49452 else
49455 ac_ext=cpp
49456 ac_cpp='$CXXCPP $CPPFLAGS'
49457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49462 /* end confdefs.h. */
49463 #include <math.h>
49464 #ifdef HAVE_IEEEFP_H
49465 #include <ieeefp.h>
49466 #endif
49469 main ()
49471 logf(0);
49473 return 0;
49475 _ACEOF
49476 if ac_fn_cxx_try_compile "$LINENO"; then :
49477 glibcxx_cv_func_logf_use=yes
49478 else
49479 glibcxx_cv_func_logf_use=no
49481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49482 ac_ext=c
49483 ac_cpp='$CPP $CPPFLAGS'
49484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49493 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49495 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49496 for ac_func in logf
49497 do :
49498 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49499 if test "x$ac_cv_func_logf" = x""yes; then :
49500 cat >>confdefs.h <<_ACEOF
49501 #define HAVE_LOGF 1
49502 _ACEOF
49505 done
49507 else
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49510 $as_echo_n "checking for _logf declaration... " >&6; }
49511 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49512 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49513 $as_echo_n "(cached) " >&6
49514 else
49517 ac_ext=cpp
49518 ac_cpp='$CXXCPP $CPPFLAGS'
49519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49524 /* end confdefs.h. */
49525 #include <math.h>
49526 #ifdef HAVE_IEEEFP_H
49527 #include <ieeefp.h>
49528 #endif
49531 main ()
49533 _logf(0);
49535 return 0;
49537 _ACEOF
49538 if ac_fn_cxx_try_compile "$LINENO"; then :
49539 glibcxx_cv_func__logf_use=yes
49540 else
49541 glibcxx_cv_func__logf_use=no
49543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49544 ac_ext=c
49545 ac_cpp='$CPP $CPPFLAGS'
49546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49555 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49557 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49558 for ac_func in _logf
49559 do :
49560 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49561 if test "x$ac_cv_func__logf" = x""yes; then :
49562 cat >>confdefs.h <<_ACEOF
49563 #define HAVE__LOGF 1
49564 _ACEOF
49567 done
49576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49577 $as_echo_n "checking for log10f declaration... " >&6; }
49578 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49579 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49580 $as_echo_n "(cached) " >&6
49581 else
49584 ac_ext=cpp
49585 ac_cpp='$CXXCPP $CPPFLAGS'
49586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49591 /* end confdefs.h. */
49592 #include <math.h>
49593 #ifdef HAVE_IEEEFP_H
49594 #include <ieeefp.h>
49595 #endif
49598 main ()
49600 log10f(0);
49602 return 0;
49604 _ACEOF
49605 if ac_fn_cxx_try_compile "$LINENO"; then :
49606 glibcxx_cv_func_log10f_use=yes
49607 else
49608 glibcxx_cv_func_log10f_use=no
49610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49611 ac_ext=c
49612 ac_cpp='$CPP $CPPFLAGS'
49613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49622 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49624 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49625 for ac_func in log10f
49626 do :
49627 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49628 if test "x$ac_cv_func_log10f" = x""yes; then :
49629 cat >>confdefs.h <<_ACEOF
49630 #define HAVE_LOG10F 1
49631 _ACEOF
49634 done
49636 else
49638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49639 $as_echo_n "checking for _log10f declaration... " >&6; }
49640 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49641 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49642 $as_echo_n "(cached) " >&6
49643 else
49646 ac_ext=cpp
49647 ac_cpp='$CXXCPP $CPPFLAGS'
49648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49653 /* end confdefs.h. */
49654 #include <math.h>
49655 #ifdef HAVE_IEEEFP_H
49656 #include <ieeefp.h>
49657 #endif
49660 main ()
49662 _log10f(0);
49664 return 0;
49666 _ACEOF
49667 if ac_fn_cxx_try_compile "$LINENO"; then :
49668 glibcxx_cv_func__log10f_use=yes
49669 else
49670 glibcxx_cv_func__log10f_use=no
49672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49673 ac_ext=c
49674 ac_cpp='$CPP $CPPFLAGS'
49675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49684 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49686 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49687 for ac_func in _log10f
49688 do :
49689 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49690 if test "x$ac_cv_func__log10f" = x""yes; then :
49691 cat >>confdefs.h <<_ACEOF
49692 #define HAVE__LOG10F 1
49693 _ACEOF
49696 done
49705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49706 $as_echo_n "checking for modff declaration... " >&6; }
49707 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49708 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49709 $as_echo_n "(cached) " >&6
49710 else
49713 ac_ext=cpp
49714 ac_cpp='$CXXCPP $CPPFLAGS'
49715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49720 /* end confdefs.h. */
49721 #include <math.h>
49723 main ()
49725 modff(0, 0);
49727 return 0;
49729 _ACEOF
49730 if ac_fn_cxx_try_compile "$LINENO"; then :
49731 glibcxx_cv_func_modff_use=yes
49732 else
49733 glibcxx_cv_func_modff_use=no
49735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49736 ac_ext=c
49737 ac_cpp='$CPP $CPPFLAGS'
49738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49747 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49749 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49750 for ac_func in modff
49751 do :
49752 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49753 if test "x$ac_cv_func_modff" = x""yes; then :
49754 cat >>confdefs.h <<_ACEOF
49755 #define HAVE_MODFF 1
49756 _ACEOF
49759 done
49761 else
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49764 $as_echo_n "checking for _modff declaration... " >&6; }
49765 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49766 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49767 $as_echo_n "(cached) " >&6
49768 else
49771 ac_ext=cpp
49772 ac_cpp='$CXXCPP $CPPFLAGS'
49773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49778 /* end confdefs.h. */
49779 #include <math.h>
49781 main ()
49783 _modff(0, 0);
49785 return 0;
49787 _ACEOF
49788 if ac_fn_cxx_try_compile "$LINENO"; then :
49789 glibcxx_cv_func__modff_use=yes
49790 else
49791 glibcxx_cv_func__modff_use=no
49793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49794 ac_ext=c
49795 ac_cpp='$CPP $CPPFLAGS'
49796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49805 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49807 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49808 for ac_func in _modff
49809 do :
49810 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49811 if test "x$ac_cv_func__modff" = x""yes; then :
49812 cat >>confdefs.h <<_ACEOF
49813 #define HAVE__MODFF 1
49814 _ACEOF
49817 done
49826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49827 $as_echo_n "checking for modf declaration... " >&6; }
49828 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49829 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49830 $as_echo_n "(cached) " >&6
49831 else
49834 ac_ext=cpp
49835 ac_cpp='$CXXCPP $CPPFLAGS'
49836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49841 /* end confdefs.h. */
49842 #include <math.h>
49844 main ()
49846 modf(0, 0);
49848 return 0;
49850 _ACEOF
49851 if ac_fn_cxx_try_compile "$LINENO"; then :
49852 glibcxx_cv_func_modf_use=yes
49853 else
49854 glibcxx_cv_func_modf_use=no
49856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49857 ac_ext=c
49858 ac_cpp='$CPP $CPPFLAGS'
49859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49868 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49870 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49871 for ac_func in modf
49872 do :
49873 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49874 if test "x$ac_cv_func_modf" = x""yes; then :
49875 cat >>confdefs.h <<_ACEOF
49876 #define HAVE_MODF 1
49877 _ACEOF
49880 done
49882 else
49884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49885 $as_echo_n "checking for _modf declaration... " >&6; }
49886 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49887 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49888 $as_echo_n "(cached) " >&6
49889 else
49892 ac_ext=cpp
49893 ac_cpp='$CXXCPP $CPPFLAGS'
49894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49899 /* end confdefs.h. */
49900 #include <math.h>
49902 main ()
49904 _modf(0, 0);
49906 return 0;
49908 _ACEOF
49909 if ac_fn_cxx_try_compile "$LINENO"; then :
49910 glibcxx_cv_func__modf_use=yes
49911 else
49912 glibcxx_cv_func__modf_use=no
49914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49915 ac_ext=c
49916 ac_cpp='$CPP $CPPFLAGS'
49917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49926 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49928 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49929 for ac_func in _modf
49930 do :
49931 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49932 if test "x$ac_cv_func__modf" = x""yes; then :
49933 cat >>confdefs.h <<_ACEOF
49934 #define HAVE__MODF 1
49935 _ACEOF
49938 done
49947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49948 $as_echo_n "checking for powf declaration... " >&6; }
49949 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49950 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49951 $as_echo_n "(cached) " >&6
49952 else
49955 ac_ext=cpp
49956 ac_cpp='$CXXCPP $CPPFLAGS'
49957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49962 /* end confdefs.h. */
49963 #include <math.h>
49965 main ()
49967 powf(0, 0);
49969 return 0;
49971 _ACEOF
49972 if ac_fn_cxx_try_compile "$LINENO"; then :
49973 glibcxx_cv_func_powf_use=yes
49974 else
49975 glibcxx_cv_func_powf_use=no
49977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49978 ac_ext=c
49979 ac_cpp='$CPP $CPPFLAGS'
49980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49989 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49991 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49992 for ac_func in powf
49993 do :
49994 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49995 if test "x$ac_cv_func_powf" = x""yes; then :
49996 cat >>confdefs.h <<_ACEOF
49997 #define HAVE_POWF 1
49998 _ACEOF
50001 done
50003 else
50005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50006 $as_echo_n "checking for _powf declaration... " >&6; }
50007 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50008 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50009 $as_echo_n "(cached) " >&6
50010 else
50013 ac_ext=cpp
50014 ac_cpp='$CXXCPP $CPPFLAGS'
50015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50020 /* end confdefs.h. */
50021 #include <math.h>
50023 main ()
50025 _powf(0, 0);
50027 return 0;
50029 _ACEOF
50030 if ac_fn_cxx_try_compile "$LINENO"; then :
50031 glibcxx_cv_func__powf_use=yes
50032 else
50033 glibcxx_cv_func__powf_use=no
50035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50036 ac_ext=c
50037 ac_cpp='$CPP $CPPFLAGS'
50038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50047 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50049 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50050 for ac_func in _powf
50051 do :
50052 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50053 if test "x$ac_cv_func__powf" = x""yes; then :
50054 cat >>confdefs.h <<_ACEOF
50055 #define HAVE__POWF 1
50056 _ACEOF
50059 done
50068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50069 $as_echo_n "checking for sqrtf declaration... " >&6; }
50070 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50071 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50072 $as_echo_n "(cached) " >&6
50073 else
50076 ac_ext=cpp
50077 ac_cpp='$CXXCPP $CPPFLAGS'
50078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50083 /* end confdefs.h. */
50084 #include <math.h>
50085 #ifdef HAVE_IEEEFP_H
50086 #include <ieeefp.h>
50087 #endif
50090 main ()
50092 sqrtf(0);
50094 return 0;
50096 _ACEOF
50097 if ac_fn_cxx_try_compile "$LINENO"; then :
50098 glibcxx_cv_func_sqrtf_use=yes
50099 else
50100 glibcxx_cv_func_sqrtf_use=no
50102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50103 ac_ext=c
50104 ac_cpp='$CPP $CPPFLAGS'
50105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50114 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50116 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50117 for ac_func in sqrtf
50118 do :
50119 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50120 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50121 cat >>confdefs.h <<_ACEOF
50122 #define HAVE_SQRTF 1
50123 _ACEOF
50126 done
50128 else
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50131 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50132 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50133 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50134 $as_echo_n "(cached) " >&6
50135 else
50138 ac_ext=cpp
50139 ac_cpp='$CXXCPP $CPPFLAGS'
50140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50145 /* end confdefs.h. */
50146 #include <math.h>
50147 #ifdef HAVE_IEEEFP_H
50148 #include <ieeefp.h>
50149 #endif
50152 main ()
50154 _sqrtf(0);
50156 return 0;
50158 _ACEOF
50159 if ac_fn_cxx_try_compile "$LINENO"; then :
50160 glibcxx_cv_func__sqrtf_use=yes
50161 else
50162 glibcxx_cv_func__sqrtf_use=no
50164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50165 ac_ext=c
50166 ac_cpp='$CPP $CPPFLAGS'
50167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50176 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50178 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50179 for ac_func in _sqrtf
50180 do :
50181 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50182 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50183 cat >>confdefs.h <<_ACEOF
50184 #define HAVE__SQRTF 1
50185 _ACEOF
50188 done
50197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50198 $as_echo_n "checking for sincosf declaration... " >&6; }
50199 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50200 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50201 $as_echo_n "(cached) " >&6
50202 else
50205 ac_ext=cpp
50206 ac_cpp='$CXXCPP $CPPFLAGS'
50207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50212 /* end confdefs.h. */
50213 #include <math.h>
50215 main ()
50217 sincosf(0, 0, 0);
50219 return 0;
50221 _ACEOF
50222 if ac_fn_cxx_try_compile "$LINENO"; then :
50223 glibcxx_cv_func_sincosf_use=yes
50224 else
50225 glibcxx_cv_func_sincosf_use=no
50227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50228 ac_ext=c
50229 ac_cpp='$CPP $CPPFLAGS'
50230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50239 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50241 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50242 for ac_func in sincosf
50243 do :
50244 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50245 if test "x$ac_cv_func_sincosf" = x""yes; then :
50246 cat >>confdefs.h <<_ACEOF
50247 #define HAVE_SINCOSF 1
50248 _ACEOF
50251 done
50253 else
50255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50256 $as_echo_n "checking for _sincosf declaration... " >&6; }
50257 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50258 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50259 $as_echo_n "(cached) " >&6
50260 else
50263 ac_ext=cpp
50264 ac_cpp='$CXXCPP $CPPFLAGS'
50265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50270 /* end confdefs.h. */
50271 #include <math.h>
50273 main ()
50275 _sincosf(0, 0, 0);
50277 return 0;
50279 _ACEOF
50280 if ac_fn_cxx_try_compile "$LINENO"; then :
50281 glibcxx_cv_func__sincosf_use=yes
50282 else
50283 glibcxx_cv_func__sincosf_use=no
50285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50286 ac_ext=c
50287 ac_cpp='$CPP $CPPFLAGS'
50288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50297 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50299 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50300 for ac_func in _sincosf
50301 do :
50302 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50303 if test "x$ac_cv_func__sincosf" = x""yes; then :
50304 cat >>confdefs.h <<_ACEOF
50305 #define HAVE__SINCOSF 1
50306 _ACEOF
50309 done
50318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50319 $as_echo_n "checking for finitef declaration... " >&6; }
50320 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50321 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50322 $as_echo_n "(cached) " >&6
50323 else
50326 ac_ext=cpp
50327 ac_cpp='$CXXCPP $CPPFLAGS'
50328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50333 /* end confdefs.h. */
50334 #include <math.h>
50335 #ifdef HAVE_IEEEFP_H
50336 #include <ieeefp.h>
50337 #endif
50340 main ()
50342 finitef(0);
50344 return 0;
50346 _ACEOF
50347 if ac_fn_cxx_try_compile "$LINENO"; then :
50348 glibcxx_cv_func_finitef_use=yes
50349 else
50350 glibcxx_cv_func_finitef_use=no
50352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50353 ac_ext=c
50354 ac_cpp='$CPP $CPPFLAGS'
50355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50364 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50366 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50367 for ac_func in finitef
50368 do :
50369 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50370 if test "x$ac_cv_func_finitef" = x""yes; then :
50371 cat >>confdefs.h <<_ACEOF
50372 #define HAVE_FINITEF 1
50373 _ACEOF
50376 done
50378 else
50380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50381 $as_echo_n "checking for _finitef declaration... " >&6; }
50382 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50383 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50384 $as_echo_n "(cached) " >&6
50385 else
50388 ac_ext=cpp
50389 ac_cpp='$CXXCPP $CPPFLAGS'
50390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50395 /* end confdefs.h. */
50396 #include <math.h>
50397 #ifdef HAVE_IEEEFP_H
50398 #include <ieeefp.h>
50399 #endif
50402 main ()
50404 _finitef(0);
50406 return 0;
50408 _ACEOF
50409 if ac_fn_cxx_try_compile "$LINENO"; then :
50410 glibcxx_cv_func__finitef_use=yes
50411 else
50412 glibcxx_cv_func__finitef_use=no
50414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50415 ac_ext=c
50416 ac_cpp='$CPP $CPPFLAGS'
50417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50426 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50428 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50429 for ac_func in _finitef
50430 do :
50431 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50432 if test "x$ac_cv_func__finitef" = x""yes; then :
50433 cat >>confdefs.h <<_ACEOF
50434 #define HAVE__FINITEF 1
50435 _ACEOF
50438 done
50447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50448 $as_echo_n "checking for long double trig functions... " >&6; }
50449 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50450 $as_echo_n "(cached) " >&6
50451 else
50454 ac_ext=cpp
50455 ac_cpp='$CXXCPP $CPPFLAGS'
50456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50461 /* end confdefs.h. */
50462 #include <math.h>
50464 main ()
50466 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50468 return 0;
50470 _ACEOF
50471 if ac_fn_cxx_try_compile "$LINENO"; then :
50472 glibcxx_cv_func_long_double_trig_use=yes
50473 else
50474 glibcxx_cv_func_long_double_trig_use=no
50476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50477 ac_ext=c
50478 ac_cpp='$CPP $CPPFLAGS'
50479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50486 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50487 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50488 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50489 do :
50490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50492 eval as_val=\$$as_ac_var
50493 if test "x$as_val" = x""yes; then :
50494 cat >>confdefs.h <<_ACEOF
50495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50496 _ACEOF
50499 done
50501 else
50502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50503 $as_echo_n "checking for _long double trig functions... " >&6; }
50504 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50505 $as_echo_n "(cached) " >&6
50506 else
50509 ac_ext=cpp
50510 ac_cpp='$CXXCPP $CPPFLAGS'
50511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50516 /* end confdefs.h. */
50517 #include <math.h>
50519 main ()
50521 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50523 return 0;
50525 _ACEOF
50526 if ac_fn_cxx_try_compile "$LINENO"; then :
50527 glibcxx_cv_func__long_double_trig_use=yes
50528 else
50529 glibcxx_cv_func__long_double_trig_use=no
50531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50532 ac_ext=c
50533 ac_cpp='$CPP $CPPFLAGS'
50534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50541 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50542 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50543 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50544 do :
50545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50547 eval as_val=\$$as_ac_var
50548 if test "x$as_val" = x""yes; then :
50549 cat >>confdefs.h <<_ACEOF
50550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50551 _ACEOF
50554 done
50563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50564 $as_echo_n "checking for long double round functions... " >&6; }
50565 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50566 $as_echo_n "(cached) " >&6
50567 else
50570 ac_ext=cpp
50571 ac_cpp='$CXXCPP $CPPFLAGS'
50572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50577 /* end confdefs.h. */
50578 #include <math.h>
50580 main ()
50582 ceill (0); floorl (0);
50584 return 0;
50586 _ACEOF
50587 if ac_fn_cxx_try_compile "$LINENO"; then :
50588 glibcxx_cv_func_long_double_round_use=yes
50589 else
50590 glibcxx_cv_func_long_double_round_use=no
50592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50593 ac_ext=c
50594 ac_cpp='$CPP $CPPFLAGS'
50595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50602 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50603 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50604 for ac_func in ceill floorl
50605 do :
50606 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50607 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50608 eval as_val=\$$as_ac_var
50609 if test "x$as_val" = x""yes; then :
50610 cat >>confdefs.h <<_ACEOF
50611 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50612 _ACEOF
50615 done
50617 else
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50619 $as_echo_n "checking for _long double round functions... " >&6; }
50620 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50621 $as_echo_n "(cached) " >&6
50622 else
50625 ac_ext=cpp
50626 ac_cpp='$CXXCPP $CPPFLAGS'
50627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50632 /* end confdefs.h. */
50633 #include <math.h>
50635 main ()
50637 _ceill (0); _floorl (0);
50639 return 0;
50641 _ACEOF
50642 if ac_fn_cxx_try_compile "$LINENO"; then :
50643 glibcxx_cv_func__long_double_round_use=yes
50644 else
50645 glibcxx_cv_func__long_double_round_use=no
50647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50648 ac_ext=c
50649 ac_cpp='$CPP $CPPFLAGS'
50650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50657 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50658 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50659 for ac_func in _ceill _floorl
50660 do :
50661 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50662 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50663 eval as_val=\$$as_ac_var
50664 if test "x$as_val" = x""yes; then :
50665 cat >>confdefs.h <<_ACEOF
50666 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50667 _ACEOF
50670 done
50680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50681 $as_echo_n "checking for isnanl declaration... " >&6; }
50682 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50683 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50684 $as_echo_n "(cached) " >&6
50685 else
50688 ac_ext=cpp
50689 ac_cpp='$CXXCPP $CPPFLAGS'
50690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50695 /* end confdefs.h. */
50696 #include <math.h>
50697 #ifdef HAVE_IEEEFP_H
50698 #include <ieeefp.h>
50699 #endif
50702 main ()
50704 isnanl(0);
50706 return 0;
50708 _ACEOF
50709 if ac_fn_cxx_try_compile "$LINENO"; then :
50710 glibcxx_cv_func_isnanl_use=yes
50711 else
50712 glibcxx_cv_func_isnanl_use=no
50714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50715 ac_ext=c
50716 ac_cpp='$CPP $CPPFLAGS'
50717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50726 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50728 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50729 for ac_func in isnanl
50730 do :
50731 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50732 if test "x$ac_cv_func_isnanl" = x""yes; then :
50733 cat >>confdefs.h <<_ACEOF
50734 #define HAVE_ISNANL 1
50735 _ACEOF
50738 done
50740 else
50742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50743 $as_echo_n "checking for _isnanl declaration... " >&6; }
50744 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50745 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50746 $as_echo_n "(cached) " >&6
50747 else
50750 ac_ext=cpp
50751 ac_cpp='$CXXCPP $CPPFLAGS'
50752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50757 /* end confdefs.h. */
50758 #include <math.h>
50759 #ifdef HAVE_IEEEFP_H
50760 #include <ieeefp.h>
50761 #endif
50764 main ()
50766 _isnanl(0);
50768 return 0;
50770 _ACEOF
50771 if ac_fn_cxx_try_compile "$LINENO"; then :
50772 glibcxx_cv_func__isnanl_use=yes
50773 else
50774 glibcxx_cv_func__isnanl_use=no
50776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50777 ac_ext=c
50778 ac_cpp='$CPP $CPPFLAGS'
50779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50788 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50790 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50791 for ac_func in _isnanl
50792 do :
50793 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50794 if test "x$ac_cv_func__isnanl" = x""yes; then :
50795 cat >>confdefs.h <<_ACEOF
50796 #define HAVE__ISNANL 1
50797 _ACEOF
50800 done
50809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50810 $as_echo_n "checking for isinfl declaration... " >&6; }
50811 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50812 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50813 $as_echo_n "(cached) " >&6
50814 else
50817 ac_ext=cpp
50818 ac_cpp='$CXXCPP $CPPFLAGS'
50819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50824 /* end confdefs.h. */
50825 #include <math.h>
50826 #ifdef HAVE_IEEEFP_H
50827 #include <ieeefp.h>
50828 #endif
50831 main ()
50833 isinfl(0);
50835 return 0;
50837 _ACEOF
50838 if ac_fn_cxx_try_compile "$LINENO"; then :
50839 glibcxx_cv_func_isinfl_use=yes
50840 else
50841 glibcxx_cv_func_isinfl_use=no
50843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50844 ac_ext=c
50845 ac_cpp='$CPP $CPPFLAGS'
50846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50855 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50857 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50858 for ac_func in isinfl
50859 do :
50860 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50861 if test "x$ac_cv_func_isinfl" = x""yes; then :
50862 cat >>confdefs.h <<_ACEOF
50863 #define HAVE_ISINFL 1
50864 _ACEOF
50867 done
50869 else
50871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50872 $as_echo_n "checking for _isinfl declaration... " >&6; }
50873 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50874 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50875 $as_echo_n "(cached) " >&6
50876 else
50879 ac_ext=cpp
50880 ac_cpp='$CXXCPP $CPPFLAGS'
50881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50886 /* end confdefs.h. */
50887 #include <math.h>
50888 #ifdef HAVE_IEEEFP_H
50889 #include <ieeefp.h>
50890 #endif
50893 main ()
50895 _isinfl(0);
50897 return 0;
50899 _ACEOF
50900 if ac_fn_cxx_try_compile "$LINENO"; then :
50901 glibcxx_cv_func__isinfl_use=yes
50902 else
50903 glibcxx_cv_func__isinfl_use=no
50905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50906 ac_ext=c
50907 ac_cpp='$CPP $CPPFLAGS'
50908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50917 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50919 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50920 for ac_func in _isinfl
50921 do :
50922 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50923 if test "x$ac_cv_func__isinfl" = x""yes; then :
50924 cat >>confdefs.h <<_ACEOF
50925 #define HAVE__ISINFL 1
50926 _ACEOF
50929 done
50938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50939 $as_echo_n "checking for atan2l declaration... " >&6; }
50940 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50941 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50942 $as_echo_n "(cached) " >&6
50943 else
50946 ac_ext=cpp
50947 ac_cpp='$CXXCPP $CPPFLAGS'
50948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50953 /* end confdefs.h. */
50954 #include <math.h>
50956 main ()
50958 atan2l(0, 0);
50960 return 0;
50962 _ACEOF
50963 if ac_fn_cxx_try_compile "$LINENO"; then :
50964 glibcxx_cv_func_atan2l_use=yes
50965 else
50966 glibcxx_cv_func_atan2l_use=no
50968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50969 ac_ext=c
50970 ac_cpp='$CPP $CPPFLAGS'
50971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50980 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50982 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50983 for ac_func in atan2l
50984 do :
50985 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50986 if test "x$ac_cv_func_atan2l" = x""yes; then :
50987 cat >>confdefs.h <<_ACEOF
50988 #define HAVE_ATAN2L 1
50989 _ACEOF
50992 done
50994 else
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50997 $as_echo_n "checking for _atan2l declaration... " >&6; }
50998 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50999 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <math.h>
51014 main ()
51016 _atan2l(0, 0);
51018 return 0;
51020 _ACEOF
51021 if ac_fn_cxx_try_compile "$LINENO"; then :
51022 glibcxx_cv_func__atan2l_use=yes
51023 else
51024 glibcxx_cv_func__atan2l_use=no
51026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51027 ac_ext=c
51028 ac_cpp='$CPP $CPPFLAGS'
51029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51038 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51040 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51041 for ac_func in _atan2l
51042 do :
51043 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51044 if test "x$ac_cv_func__atan2l" = x""yes; then :
51045 cat >>confdefs.h <<_ACEOF
51046 #define HAVE__ATAN2L 1
51047 _ACEOF
51050 done
51059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51060 $as_echo_n "checking for expl declaration... " >&6; }
51061 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51062 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51063 $as_echo_n "(cached) " >&6
51064 else
51067 ac_ext=cpp
51068 ac_cpp='$CXXCPP $CPPFLAGS'
51069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51074 /* end confdefs.h. */
51075 #include <math.h>
51076 #ifdef HAVE_IEEEFP_H
51077 #include <ieeefp.h>
51078 #endif
51081 main ()
51083 expl(0);
51085 return 0;
51087 _ACEOF
51088 if ac_fn_cxx_try_compile "$LINENO"; then :
51089 glibcxx_cv_func_expl_use=yes
51090 else
51091 glibcxx_cv_func_expl_use=no
51093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51094 ac_ext=c
51095 ac_cpp='$CPP $CPPFLAGS'
51096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51105 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51107 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51108 for ac_func in expl
51109 do :
51110 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51111 if test "x$ac_cv_func_expl" = x""yes; then :
51112 cat >>confdefs.h <<_ACEOF
51113 #define HAVE_EXPL 1
51114 _ACEOF
51117 done
51119 else
51121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51122 $as_echo_n "checking for _expl declaration... " >&6; }
51123 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51124 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51125 $as_echo_n "(cached) " >&6
51126 else
51129 ac_ext=cpp
51130 ac_cpp='$CXXCPP $CPPFLAGS'
51131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51136 /* end confdefs.h. */
51137 #include <math.h>
51138 #ifdef HAVE_IEEEFP_H
51139 #include <ieeefp.h>
51140 #endif
51143 main ()
51145 _expl(0);
51147 return 0;
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func__expl_use=yes
51152 else
51153 glibcxx_cv_func__expl_use=no
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51167 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51169 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51170 for ac_func in _expl
51171 do :
51172 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51173 if test "x$ac_cv_func__expl" = x""yes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE__EXPL 1
51176 _ACEOF
51179 done
51188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51189 $as_echo_n "checking for fabsl declaration... " >&6; }
51190 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51191 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51192 $as_echo_n "(cached) " >&6
51193 else
51196 ac_ext=cpp
51197 ac_cpp='$CXXCPP $CPPFLAGS'
51198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51203 /* end confdefs.h. */
51204 #include <math.h>
51205 #ifdef HAVE_IEEEFP_H
51206 #include <ieeefp.h>
51207 #endif
51210 main ()
51212 fabsl(0);
51214 return 0;
51216 _ACEOF
51217 if ac_fn_cxx_try_compile "$LINENO"; then :
51218 glibcxx_cv_func_fabsl_use=yes
51219 else
51220 glibcxx_cv_func_fabsl_use=no
51222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51223 ac_ext=c
51224 ac_cpp='$CPP $CPPFLAGS'
51225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51234 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51236 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51237 for ac_func in fabsl
51238 do :
51239 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51240 if test "x$ac_cv_func_fabsl" = x""yes; then :
51241 cat >>confdefs.h <<_ACEOF
51242 #define HAVE_FABSL 1
51243 _ACEOF
51246 done
51248 else
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51251 $as_echo_n "checking for _fabsl declaration... " >&6; }
51252 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51253 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51267 #ifdef HAVE_IEEEFP_H
51268 #include <ieeefp.h>
51269 #endif
51272 main ()
51274 _fabsl(0);
51276 return 0;
51278 _ACEOF
51279 if ac_fn_cxx_try_compile "$LINENO"; then :
51280 glibcxx_cv_func__fabsl_use=yes
51281 else
51282 glibcxx_cv_func__fabsl_use=no
51284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_ext=c
51286 ac_cpp='$CPP $CPPFLAGS'
51287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51296 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51298 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51299 for ac_func in _fabsl
51300 do :
51301 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51302 if test "x$ac_cv_func__fabsl" = x""yes; then :
51303 cat >>confdefs.h <<_ACEOF
51304 #define HAVE__FABSL 1
51305 _ACEOF
51308 done
51317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51318 $as_echo_n "checking for fmodl declaration... " >&6; }
51319 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51320 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51321 $as_echo_n "(cached) " >&6
51322 else
51325 ac_ext=cpp
51326 ac_cpp='$CXXCPP $CPPFLAGS'
51327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51332 /* end confdefs.h. */
51333 #include <math.h>
51335 main ()
51337 fmodl(0, 0);
51339 return 0;
51341 _ACEOF
51342 if ac_fn_cxx_try_compile "$LINENO"; then :
51343 glibcxx_cv_func_fmodl_use=yes
51344 else
51345 glibcxx_cv_func_fmodl_use=no
51347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51348 ac_ext=c
51349 ac_cpp='$CPP $CPPFLAGS'
51350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51359 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51361 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51362 for ac_func in fmodl
51363 do :
51364 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51365 if test "x$ac_cv_func_fmodl" = x""yes; then :
51366 cat >>confdefs.h <<_ACEOF
51367 #define HAVE_FMODL 1
51368 _ACEOF
51371 done
51373 else
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51376 $as_echo_n "checking for _fmodl declaration... " >&6; }
51377 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51378 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51393 main ()
51395 _fmodl(0, 0);
51397 return 0;
51399 _ACEOF
51400 if ac_fn_cxx_try_compile "$LINENO"; then :
51401 glibcxx_cv_func__fmodl_use=yes
51402 else
51403 glibcxx_cv_func__fmodl_use=no
51405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51406 ac_ext=c
51407 ac_cpp='$CPP $CPPFLAGS'
51408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51417 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51419 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51420 for ac_func in _fmodl
51421 do :
51422 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51423 if test "x$ac_cv_func__fmodl" = x""yes; then :
51424 cat >>confdefs.h <<_ACEOF
51425 #define HAVE__FMODL 1
51426 _ACEOF
51429 done
51438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51439 $as_echo_n "checking for frexpl declaration... " >&6; }
51440 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51441 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51442 $as_echo_n "(cached) " >&6
51443 else
51446 ac_ext=cpp
51447 ac_cpp='$CXXCPP $CPPFLAGS'
51448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51453 /* end confdefs.h. */
51454 #include <math.h>
51456 main ()
51458 frexpl(0, 0);
51460 return 0;
51462 _ACEOF
51463 if ac_fn_cxx_try_compile "$LINENO"; then :
51464 glibcxx_cv_func_frexpl_use=yes
51465 else
51466 glibcxx_cv_func_frexpl_use=no
51468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51469 ac_ext=c
51470 ac_cpp='$CPP $CPPFLAGS'
51471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51480 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51482 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51483 for ac_func in frexpl
51484 do :
51485 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51486 if test "x$ac_cv_func_frexpl" = x""yes; then :
51487 cat >>confdefs.h <<_ACEOF
51488 #define HAVE_FREXPL 1
51489 _ACEOF
51492 done
51494 else
51496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51497 $as_echo_n "checking for _frexpl declaration... " >&6; }
51498 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51499 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51500 $as_echo_n "(cached) " >&6
51501 else
51504 ac_ext=cpp
51505 ac_cpp='$CXXCPP $CPPFLAGS'
51506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51511 /* end confdefs.h. */
51512 #include <math.h>
51514 main ()
51516 _frexpl(0, 0);
51518 return 0;
51520 _ACEOF
51521 if ac_fn_cxx_try_compile "$LINENO"; then :
51522 glibcxx_cv_func__frexpl_use=yes
51523 else
51524 glibcxx_cv_func__frexpl_use=no
51526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51527 ac_ext=c
51528 ac_cpp='$CPP $CPPFLAGS'
51529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51538 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51540 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51541 for ac_func in _frexpl
51542 do :
51543 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51544 if test "x$ac_cv_func__frexpl" = x""yes; then :
51545 cat >>confdefs.h <<_ACEOF
51546 #define HAVE__FREXPL 1
51547 _ACEOF
51550 done
51559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51560 $as_echo_n "checking for hypotl declaration... " >&6; }
51561 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51562 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51563 $as_echo_n "(cached) " >&6
51564 else
51567 ac_ext=cpp
51568 ac_cpp='$CXXCPP $CPPFLAGS'
51569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51574 /* end confdefs.h. */
51575 #include <math.h>
51577 main ()
51579 hypotl(0, 0);
51581 return 0;
51583 _ACEOF
51584 if ac_fn_cxx_try_compile "$LINENO"; then :
51585 glibcxx_cv_func_hypotl_use=yes
51586 else
51587 glibcxx_cv_func_hypotl_use=no
51589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51590 ac_ext=c
51591 ac_cpp='$CPP $CPPFLAGS'
51592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51601 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51603 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51604 for ac_func in hypotl
51605 do :
51606 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51607 if test "x$ac_cv_func_hypotl" = x""yes; then :
51608 cat >>confdefs.h <<_ACEOF
51609 #define HAVE_HYPOTL 1
51610 _ACEOF
51613 done
51615 else
51617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51618 $as_echo_n "checking for _hypotl declaration... " >&6; }
51619 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51620 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51621 $as_echo_n "(cached) " >&6
51622 else
51625 ac_ext=cpp
51626 ac_cpp='$CXXCPP $CPPFLAGS'
51627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51632 /* end confdefs.h. */
51633 #include <math.h>
51635 main ()
51637 _hypotl(0, 0);
51639 return 0;
51641 _ACEOF
51642 if ac_fn_cxx_try_compile "$LINENO"; then :
51643 glibcxx_cv_func__hypotl_use=yes
51644 else
51645 glibcxx_cv_func__hypotl_use=no
51647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51648 ac_ext=c
51649 ac_cpp='$CPP $CPPFLAGS'
51650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51659 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51661 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51662 for ac_func in _hypotl
51663 do :
51664 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51665 if test "x$ac_cv_func__hypotl" = x""yes; then :
51666 cat >>confdefs.h <<_ACEOF
51667 #define HAVE__HYPOTL 1
51668 _ACEOF
51671 done
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51681 $as_echo_n "checking for ldexpl declaration... " >&6; }
51682 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51683 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51684 $as_echo_n "(cached) " >&6
51685 else
51688 ac_ext=cpp
51689 ac_cpp='$CXXCPP $CPPFLAGS'
51690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51695 /* end confdefs.h. */
51696 #include <math.h>
51698 main ()
51700 ldexpl(0, 0);
51702 return 0;
51704 _ACEOF
51705 if ac_fn_cxx_try_compile "$LINENO"; then :
51706 glibcxx_cv_func_ldexpl_use=yes
51707 else
51708 glibcxx_cv_func_ldexpl_use=no
51710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51711 ac_ext=c
51712 ac_cpp='$CPP $CPPFLAGS'
51713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51722 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51724 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51725 for ac_func in ldexpl
51726 do :
51727 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51728 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51729 cat >>confdefs.h <<_ACEOF
51730 #define HAVE_LDEXPL 1
51731 _ACEOF
51734 done
51736 else
51738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51739 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51740 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51741 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51742 $as_echo_n "(cached) " >&6
51743 else
51746 ac_ext=cpp
51747 ac_cpp='$CXXCPP $CPPFLAGS'
51748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51753 /* end confdefs.h. */
51754 #include <math.h>
51756 main ()
51758 _ldexpl(0, 0);
51760 return 0;
51762 _ACEOF
51763 if ac_fn_cxx_try_compile "$LINENO"; then :
51764 glibcxx_cv_func__ldexpl_use=yes
51765 else
51766 glibcxx_cv_func__ldexpl_use=no
51768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51769 ac_ext=c
51770 ac_cpp='$CPP $CPPFLAGS'
51771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51780 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51782 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51783 for ac_func in _ldexpl
51784 do :
51785 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51786 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51787 cat >>confdefs.h <<_ACEOF
51788 #define HAVE__LDEXPL 1
51789 _ACEOF
51792 done
51801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51802 $as_echo_n "checking for logl declaration... " >&6; }
51803 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51804 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51805 $as_echo_n "(cached) " >&6
51806 else
51809 ac_ext=cpp
51810 ac_cpp='$CXXCPP $CPPFLAGS'
51811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51816 /* end confdefs.h. */
51817 #include <math.h>
51818 #ifdef HAVE_IEEEFP_H
51819 #include <ieeefp.h>
51820 #endif
51823 main ()
51825 logl(0);
51827 return 0;
51829 _ACEOF
51830 if ac_fn_cxx_try_compile "$LINENO"; then :
51831 glibcxx_cv_func_logl_use=yes
51832 else
51833 glibcxx_cv_func_logl_use=no
51835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51836 ac_ext=c
51837 ac_cpp='$CPP $CPPFLAGS'
51838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51847 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51849 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51850 for ac_func in logl
51851 do :
51852 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51853 if test "x$ac_cv_func_logl" = x""yes; then :
51854 cat >>confdefs.h <<_ACEOF
51855 #define HAVE_LOGL 1
51856 _ACEOF
51859 done
51861 else
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51864 $as_echo_n "checking for _logl declaration... " >&6; }
51865 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51866 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51867 $as_echo_n "(cached) " >&6
51868 else
51871 ac_ext=cpp
51872 ac_cpp='$CXXCPP $CPPFLAGS'
51873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51878 /* end confdefs.h. */
51879 #include <math.h>
51880 #ifdef HAVE_IEEEFP_H
51881 #include <ieeefp.h>
51882 #endif
51885 main ()
51887 _logl(0);
51889 return 0;
51891 _ACEOF
51892 if ac_fn_cxx_try_compile "$LINENO"; then :
51893 glibcxx_cv_func__logl_use=yes
51894 else
51895 glibcxx_cv_func__logl_use=no
51897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51898 ac_ext=c
51899 ac_cpp='$CPP $CPPFLAGS'
51900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51909 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51911 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51912 for ac_func in _logl
51913 do :
51914 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51915 if test "x$ac_cv_func__logl" = x""yes; then :
51916 cat >>confdefs.h <<_ACEOF
51917 #define HAVE__LOGL 1
51918 _ACEOF
51921 done
51930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51931 $as_echo_n "checking for log10l declaration... " >&6; }
51932 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51933 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51934 $as_echo_n "(cached) " >&6
51935 else
51938 ac_ext=cpp
51939 ac_cpp='$CXXCPP $CPPFLAGS'
51940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51945 /* end confdefs.h. */
51946 #include <math.h>
51947 #ifdef HAVE_IEEEFP_H
51948 #include <ieeefp.h>
51949 #endif
51952 main ()
51954 log10l(0);
51956 return 0;
51958 _ACEOF
51959 if ac_fn_cxx_try_compile "$LINENO"; then :
51960 glibcxx_cv_func_log10l_use=yes
51961 else
51962 glibcxx_cv_func_log10l_use=no
51964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51965 ac_ext=c
51966 ac_cpp='$CPP $CPPFLAGS'
51967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51976 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51978 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51979 for ac_func in log10l
51980 do :
51981 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51982 if test "x$ac_cv_func_log10l" = x""yes; then :
51983 cat >>confdefs.h <<_ACEOF
51984 #define HAVE_LOG10L 1
51985 _ACEOF
51988 done
51990 else
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51993 $as_echo_n "checking for _log10l declaration... " >&6; }
51994 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51995 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51996 $as_echo_n "(cached) " >&6
51997 else
52000 ac_ext=cpp
52001 ac_cpp='$CXXCPP $CPPFLAGS'
52002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52007 /* end confdefs.h. */
52008 #include <math.h>
52009 #ifdef HAVE_IEEEFP_H
52010 #include <ieeefp.h>
52011 #endif
52014 main ()
52016 _log10l(0);
52018 return 0;
52020 _ACEOF
52021 if ac_fn_cxx_try_compile "$LINENO"; then :
52022 glibcxx_cv_func__log10l_use=yes
52023 else
52024 glibcxx_cv_func__log10l_use=no
52026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52027 ac_ext=c
52028 ac_cpp='$CPP $CPPFLAGS'
52029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52038 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52040 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52041 for ac_func in _log10l
52042 do :
52043 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52044 if test "x$ac_cv_func__log10l" = x""yes; then :
52045 cat >>confdefs.h <<_ACEOF
52046 #define HAVE__LOG10L 1
52047 _ACEOF
52050 done
52059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52060 $as_echo_n "checking for modfl declaration... " >&6; }
52061 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52062 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52063 $as_echo_n "(cached) " >&6
52064 else
52067 ac_ext=cpp
52068 ac_cpp='$CXXCPP $CPPFLAGS'
52069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52074 /* end confdefs.h. */
52075 #include <math.h>
52077 main ()
52079 modfl(0, 0);
52081 return 0;
52083 _ACEOF
52084 if ac_fn_cxx_try_compile "$LINENO"; then :
52085 glibcxx_cv_func_modfl_use=yes
52086 else
52087 glibcxx_cv_func_modfl_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_modfl_use" >&5
52101 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52103 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52104 for ac_func in modfl
52105 do :
52106 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52107 if test "x$ac_cv_func_modfl" = x""yes; then :
52108 cat >>confdefs.h <<_ACEOF
52109 #define HAVE_MODFL 1
52110 _ACEOF
52113 done
52115 else
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52118 $as_echo_n "checking for _modfl declaration... " >&6; }
52119 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52120 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52121 $as_echo_n "(cached) " >&6
52122 else
52125 ac_ext=cpp
52126 ac_cpp='$CXXCPP $CPPFLAGS'
52127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52132 /* end confdefs.h. */
52133 #include <math.h>
52135 main ()
52137 _modfl(0, 0);
52139 return 0;
52141 _ACEOF
52142 if ac_fn_cxx_try_compile "$LINENO"; then :
52143 glibcxx_cv_func__modfl_use=yes
52144 else
52145 glibcxx_cv_func__modfl_use=no
52147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52148 ac_ext=c
52149 ac_cpp='$CPP $CPPFLAGS'
52150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52159 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52161 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52162 for ac_func in _modfl
52163 do :
52164 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52165 if test "x$ac_cv_func__modfl" = x""yes; then :
52166 cat >>confdefs.h <<_ACEOF
52167 #define HAVE__MODFL 1
52168 _ACEOF
52171 done
52180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52181 $as_echo_n "checking for powl declaration... " >&6; }
52182 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52183 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52184 $as_echo_n "(cached) " >&6
52185 else
52188 ac_ext=cpp
52189 ac_cpp='$CXXCPP $CPPFLAGS'
52190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52195 /* end confdefs.h. */
52196 #include <math.h>
52198 main ()
52200 powl(0, 0);
52202 return 0;
52204 _ACEOF
52205 if ac_fn_cxx_try_compile "$LINENO"; then :
52206 glibcxx_cv_func_powl_use=yes
52207 else
52208 glibcxx_cv_func_powl_use=no
52210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52211 ac_ext=c
52212 ac_cpp='$CPP $CPPFLAGS'
52213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52222 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52224 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52225 for ac_func in powl
52226 do :
52227 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52228 if test "x$ac_cv_func_powl" = x""yes; then :
52229 cat >>confdefs.h <<_ACEOF
52230 #define HAVE_POWL 1
52231 _ACEOF
52234 done
52236 else
52238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52239 $as_echo_n "checking for _powl declaration... " >&6; }
52240 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52241 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52242 $as_echo_n "(cached) " >&6
52243 else
52246 ac_ext=cpp
52247 ac_cpp='$CXXCPP $CPPFLAGS'
52248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52253 /* end confdefs.h. */
52254 #include <math.h>
52256 main ()
52258 _powl(0, 0);
52260 return 0;
52262 _ACEOF
52263 if ac_fn_cxx_try_compile "$LINENO"; then :
52264 glibcxx_cv_func__powl_use=yes
52265 else
52266 glibcxx_cv_func__powl_use=no
52268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52269 ac_ext=c
52270 ac_cpp='$CPP $CPPFLAGS'
52271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52280 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52282 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52283 for ac_func in _powl
52284 do :
52285 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52286 if test "x$ac_cv_func__powl" = x""yes; then :
52287 cat >>confdefs.h <<_ACEOF
52288 #define HAVE__POWL 1
52289 _ACEOF
52292 done
52301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52302 $as_echo_n "checking for sqrtl declaration... " >&6; }
52303 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52304 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52305 $as_echo_n "(cached) " >&6
52306 else
52309 ac_ext=cpp
52310 ac_cpp='$CXXCPP $CPPFLAGS'
52311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52316 /* end confdefs.h. */
52317 #include <math.h>
52318 #ifdef HAVE_IEEEFP_H
52319 #include <ieeefp.h>
52320 #endif
52323 main ()
52325 sqrtl(0);
52327 return 0;
52329 _ACEOF
52330 if ac_fn_cxx_try_compile "$LINENO"; then :
52331 glibcxx_cv_func_sqrtl_use=yes
52332 else
52333 glibcxx_cv_func_sqrtl_use=no
52335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52336 ac_ext=c
52337 ac_cpp='$CPP $CPPFLAGS'
52338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52347 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52349 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52350 for ac_func in sqrtl
52351 do :
52352 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52353 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52354 cat >>confdefs.h <<_ACEOF
52355 #define HAVE_SQRTL 1
52356 _ACEOF
52359 done
52361 else
52363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52364 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52365 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52366 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52367 $as_echo_n "(cached) " >&6
52368 else
52371 ac_ext=cpp
52372 ac_cpp='$CXXCPP $CPPFLAGS'
52373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52378 /* end confdefs.h. */
52379 #include <math.h>
52380 #ifdef HAVE_IEEEFP_H
52381 #include <ieeefp.h>
52382 #endif
52385 main ()
52387 _sqrtl(0);
52389 return 0;
52391 _ACEOF
52392 if ac_fn_cxx_try_compile "$LINENO"; then :
52393 glibcxx_cv_func__sqrtl_use=yes
52394 else
52395 glibcxx_cv_func__sqrtl_use=no
52397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52398 ac_ext=c
52399 ac_cpp='$CPP $CPPFLAGS'
52400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52409 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52411 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52412 for ac_func in _sqrtl
52413 do :
52414 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52415 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52416 cat >>confdefs.h <<_ACEOF
52417 #define HAVE__SQRTL 1
52418 _ACEOF
52421 done
52430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52431 $as_echo_n "checking for sincosl declaration... " >&6; }
52432 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52433 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52434 $as_echo_n "(cached) " >&6
52435 else
52438 ac_ext=cpp
52439 ac_cpp='$CXXCPP $CPPFLAGS'
52440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52445 /* end confdefs.h. */
52446 #include <math.h>
52448 main ()
52450 sincosl(0, 0, 0);
52452 return 0;
52454 _ACEOF
52455 if ac_fn_cxx_try_compile "$LINENO"; then :
52456 glibcxx_cv_func_sincosl_use=yes
52457 else
52458 glibcxx_cv_func_sincosl_use=no
52460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52461 ac_ext=c
52462 ac_cpp='$CPP $CPPFLAGS'
52463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52472 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52474 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52475 for ac_func in sincosl
52476 do :
52477 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52478 if test "x$ac_cv_func_sincosl" = x""yes; then :
52479 cat >>confdefs.h <<_ACEOF
52480 #define HAVE_SINCOSL 1
52481 _ACEOF
52484 done
52486 else
52488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52489 $as_echo_n "checking for _sincosl declaration... " >&6; }
52490 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52491 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52492 $as_echo_n "(cached) " >&6
52493 else
52496 ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52503 /* end confdefs.h. */
52504 #include <math.h>
52506 main ()
52508 _sincosl(0, 0, 0);
52510 return 0;
52512 _ACEOF
52513 if ac_fn_cxx_try_compile "$LINENO"; then :
52514 glibcxx_cv_func__sincosl_use=yes
52515 else
52516 glibcxx_cv_func__sincosl_use=no
52518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52519 ac_ext=c
52520 ac_cpp='$CPP $CPPFLAGS'
52521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52530 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52532 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52533 for ac_func in _sincosl
52534 do :
52535 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52536 if test "x$ac_cv_func__sincosl" = x""yes; then :
52537 cat >>confdefs.h <<_ACEOF
52538 #define HAVE__SINCOSL 1
52539 _ACEOF
52542 done
52551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52552 $as_echo_n "checking for finitel declaration... " >&6; }
52553 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52554 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52555 $as_echo_n "(cached) " >&6
52556 else
52559 ac_ext=cpp
52560 ac_cpp='$CXXCPP $CPPFLAGS'
52561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52566 /* end confdefs.h. */
52567 #include <math.h>
52568 #ifdef HAVE_IEEEFP_H
52569 #include <ieeefp.h>
52570 #endif
52573 main ()
52575 finitel(0);
52577 return 0;
52579 _ACEOF
52580 if ac_fn_cxx_try_compile "$LINENO"; then :
52581 glibcxx_cv_func_finitel_use=yes
52582 else
52583 glibcxx_cv_func_finitel_use=no
52585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52586 ac_ext=c
52587 ac_cpp='$CPP $CPPFLAGS'
52588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52597 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52599 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52600 for ac_func in finitel
52601 do :
52602 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52603 if test "x$ac_cv_func_finitel" = x""yes; then :
52604 cat >>confdefs.h <<_ACEOF
52605 #define HAVE_FINITEL 1
52606 _ACEOF
52609 done
52611 else
52613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52614 $as_echo_n "checking for _finitel declaration... " >&6; }
52615 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52616 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52617 $as_echo_n "(cached) " >&6
52618 else
52621 ac_ext=cpp
52622 ac_cpp='$CXXCPP $CPPFLAGS'
52623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52628 /* end confdefs.h. */
52629 #include <math.h>
52630 #ifdef HAVE_IEEEFP_H
52631 #include <ieeefp.h>
52632 #endif
52635 main ()
52637 _finitel(0);
52639 return 0;
52641 _ACEOF
52642 if ac_fn_cxx_try_compile "$LINENO"; then :
52643 glibcxx_cv_func__finitel_use=yes
52644 else
52645 glibcxx_cv_func__finitel_use=no
52647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52648 ac_ext=c
52649 ac_cpp='$CPP $CPPFLAGS'
52650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52659 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52661 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52662 for ac_func in _finitel
52663 do :
52664 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52665 if test "x$ac_cv_func__finitel" = x""yes; then :
52666 cat >>confdefs.h <<_ACEOF
52667 #define HAVE__FINITEL 1
52668 _ACEOF
52671 done
52679 LIBS="$ac_save_LIBS"
52680 CXXFLAGS="$ac_save_CXXFLAGS"
52683 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52684 ac_save_CXXFLAGS="$CXXFLAGS"
52685 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52689 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52690 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52691 if test "${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
52706 main ()
52708 at_quick_exit(0);
52710 return 0;
52712 _ACEOF
52713 if ac_fn_cxx_try_compile "$LINENO"; then :
52714 glibcxx_cv_func_at_quick_exit_use=yes
52715 else
52716 glibcxx_cv_func_at_quick_exit_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_at_quick_exit_use" >&5
52730 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52731 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52732 for ac_func in at_quick_exit
52733 do :
52734 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52735 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52736 cat >>confdefs.h <<_ACEOF
52737 #define HAVE_AT_QUICK_EXIT 1
52738 _ACEOF
52741 done
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52747 $as_echo_n "checking for quick_exit declaration... " >&6; }
52748 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52749 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52750 $as_echo_n "(cached) " >&6
52751 else
52754 ac_ext=cpp
52755 ac_cpp='$CXXCPP $CPPFLAGS'
52756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52761 /* end confdefs.h. */
52762 #include <stdlib.h>
52764 main ()
52766 quick_exit(0);
52768 return 0;
52770 _ACEOF
52771 if ac_fn_cxx_try_compile "$LINENO"; then :
52772 glibcxx_cv_func_quick_exit_use=yes
52773 else
52774 glibcxx_cv_func_quick_exit_use=no
52776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52777 ac_ext=c
52778 ac_cpp='$CPP $CPPFLAGS'
52779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52788 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52789 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52790 for ac_func in quick_exit
52791 do :
52792 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52793 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52794 cat >>confdefs.h <<_ACEOF
52795 #define HAVE_QUICK_EXIT 1
52796 _ACEOF
52799 done
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52805 $as_echo_n "checking for strtold declaration... " >&6; }
52806 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52807 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52808 $as_echo_n "(cached) " >&6
52809 else
52812 ac_ext=cpp
52813 ac_cpp='$CXXCPP $CPPFLAGS'
52814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52819 /* end confdefs.h. */
52820 #include <stdlib.h>
52822 main ()
52824 strtold(0, 0);
52826 return 0;
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830 glibcxx_cv_func_strtold_use=yes
52831 else
52832 glibcxx_cv_func_strtold_use=no
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835 ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52846 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52847 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52848 for ac_func in strtold
52849 do :
52850 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52851 if test "x$ac_cv_func_strtold" = x""yes; then :
52852 cat >>confdefs.h <<_ACEOF
52853 #define HAVE_STRTOLD 1
52854 _ACEOF
52857 done
52864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52865 $as_echo_n "checking for strtof declaration... " >&6; }
52866 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52867 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52868 $as_echo_n "(cached) " >&6
52869 else
52872 ac_ext=cpp
52873 ac_cpp='$CXXCPP $CPPFLAGS'
52874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52879 /* end confdefs.h. */
52880 #include <stdlib.h>
52882 main ()
52884 strtof(0, 0);
52886 return 0;
52888 _ACEOF
52889 if ac_fn_cxx_try_compile "$LINENO"; then :
52890 glibcxx_cv_func_strtof_use=yes
52891 else
52892 glibcxx_cv_func_strtof_use=no
52894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52895 ac_ext=c
52896 ac_cpp='$CPP $CPPFLAGS'
52897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52906 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52907 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52908 for ac_func in strtof
52909 do :
52910 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52911 if test "x$ac_cv_func_strtof" = x""yes; then :
52912 cat >>confdefs.h <<_ACEOF
52913 #define HAVE_STRTOF 1
52914 _ACEOF
52917 done
52924 CXXFLAGS="$ac_save_CXXFLAGS"
52928 *djgpp)
52929 # GLIBCXX_CHECK_MATH_SUPPORT
52930 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52932 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52934 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52936 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52938 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52942 *-freebsd*)
52943 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52946 # If we're not using GNU ld, then there's no point in even trying these
52947 # tests. Check for that first. We should have already tested for gld
52948 # by now (in libtool), but require it now just to be safe...
52949 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52950 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52954 # The name set by libtool depends on the version of libtool. Shame on us
52955 # for depending on an impl detail, but c'est la vie. Older versions used
52956 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52957 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52958 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52959 # set (hence we're using an older libtool), then set it.
52960 if test x${with_gnu_ld+set} != xset; then
52961 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52962 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52963 with_gnu_ld=no
52964 else
52965 with_gnu_ld=$ac_cv_prog_gnu_ld
52969 # Start by getting the version number. I think the libtool test already
52970 # does some of this, but throws away the result.
52971 glibcxx_ld_is_gold=no
52972 if test x"$with_gnu_ld" = x"yes"; then
52973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52974 $as_echo_n "checking for ld version... " >&6; }
52976 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52977 glibcxx_ld_is_gold=yes
52979 ldver=`$LD --version 2>/dev/null |
52980 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'`
52982 glibcxx_gnu_ld_version=`echo $ldver | \
52983 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52985 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52988 # Set --gc-sections.
52989 glibcxx_have_gc_sections=no
52990 if test "$glibcxx_ld_is_gold" = "yes"; then
52991 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52992 glibcxx_have_gc_sections=yes
52994 else
52995 glibcxx_gcsections_min_ld=21602
52996 if test x"$with_gnu_ld" = x"yes" &&
52997 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52998 glibcxx_have_gc_sections=yes
53001 if test "$glibcxx_have_gc_sections" = "yes"; then
53002 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53003 # NB: This flag only works reliably after 2.16.1. Configure tests
53004 # for this are difficult, so hard wire a value that should work.
53006 ac_test_CFLAGS="${CFLAGS+set}"
53007 ac_save_CFLAGS="$CFLAGS"
53008 CFLAGS='-Wl,--gc-sections'
53010 # Check for -Wl,--gc-sections
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53012 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53013 if test x$gcc_no_link = xyes; then
53014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53017 /* end confdefs.h. */
53018 int one(void) { return 1; }
53019 int two(void) { return 2; }
53022 main ()
53024 two();
53026 return 0;
53028 _ACEOF
53029 if ac_fn_c_try_link "$LINENO"; then :
53030 ac_gcsections=yes
53031 else
53032 ac_gcsections=no
53034 rm -f core conftest.err conftest.$ac_objext \
53035 conftest$ac_exeext conftest.$ac_ext
53036 if test "$ac_gcsections" = "yes"; then
53037 rm -f conftest.c
53038 touch conftest.c
53039 if $CC -c conftest.c; then
53040 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53041 grep "Warning: gc-sections option ignored" > /dev/null; then
53042 ac_gcsections=no
53045 rm -f conftest.c conftest.o conftest
53047 if test "$ac_gcsections" = "yes"; then
53048 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53051 $as_echo "$ac_gcsections" >&6; }
53053 if test "$ac_test_CFLAGS" = set; then
53054 CFLAGS="$ac_save_CFLAGS"
53055 else
53056 # this is the suspicious part
53057 CFLAGS=''
53061 # Set -z,relro.
53062 # Note this is only for shared objects.
53063 ac_ld_relro=no
53064 if test x"$with_gnu_ld" = x"yes"; then
53065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53066 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53067 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53068 if test -n "$cxx_z_relo"; then
53069 OPT_LDFLAGS="-Wl,-z,relro"
53070 ac_ld_relro=yes
53072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53073 $as_echo "$ac_ld_relro" >&6; }
53076 # Set linker optimization flags.
53077 if test x"$with_gnu_ld" = x"yes"; then
53078 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53084 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53086 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53088 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53090 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53092 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53094 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53096 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53098 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53100 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53103 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53105 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53107 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53109 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53111 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53113 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53115 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53117 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53119 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53121 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53123 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53125 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53127 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53129 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53131 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53133 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53135 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53137 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53139 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53141 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53143 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53145 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53147 if test x"long_double_math_on_this_cpu" = x"yes"; then
53148 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53150 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53152 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53156 *-hpux*)
53157 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53160 # If we're not using GNU ld, then there's no point in even trying these
53161 # tests. Check for that first. We should have already tested for gld
53162 # by now (in libtool), but require it now just to be safe...
53163 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53164 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53168 # The name set by libtool depends on the version of libtool. Shame on us
53169 # for depending on an impl detail, but c'est la vie. Older versions used
53170 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53171 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53172 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53173 # set (hence we're using an older libtool), then set it.
53174 if test x${with_gnu_ld+set} != xset; then
53175 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53176 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53177 with_gnu_ld=no
53178 else
53179 with_gnu_ld=$ac_cv_prog_gnu_ld
53183 # Start by getting the version number. I think the libtool test already
53184 # does some of this, but throws away the result.
53185 glibcxx_ld_is_gold=no
53186 if test x"$with_gnu_ld" = x"yes"; then
53187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53188 $as_echo_n "checking for ld version... " >&6; }
53190 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53191 glibcxx_ld_is_gold=yes
53193 ldver=`$LD --version 2>/dev/null |
53194 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'`
53196 glibcxx_gnu_ld_version=`echo $ldver | \
53197 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53199 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53202 # Set --gc-sections.
53203 glibcxx_have_gc_sections=no
53204 if test "$glibcxx_ld_is_gold" = "yes"; then
53205 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53206 glibcxx_have_gc_sections=yes
53208 else
53209 glibcxx_gcsections_min_ld=21602
53210 if test x"$with_gnu_ld" = x"yes" &&
53211 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53212 glibcxx_have_gc_sections=yes
53215 if test "$glibcxx_have_gc_sections" = "yes"; then
53216 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53217 # NB: This flag only works reliably after 2.16.1. Configure tests
53218 # for this are difficult, so hard wire a value that should work.
53220 ac_test_CFLAGS="${CFLAGS+set}"
53221 ac_save_CFLAGS="$CFLAGS"
53222 CFLAGS='-Wl,--gc-sections'
53224 # Check for -Wl,--gc-sections
53225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53226 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53227 if test x$gcc_no_link = xyes; then
53228 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53231 /* end confdefs.h. */
53232 int one(void) { return 1; }
53233 int two(void) { return 2; }
53236 main ()
53238 two();
53240 return 0;
53242 _ACEOF
53243 if ac_fn_c_try_link "$LINENO"; then :
53244 ac_gcsections=yes
53245 else
53246 ac_gcsections=no
53248 rm -f core conftest.err conftest.$ac_objext \
53249 conftest$ac_exeext conftest.$ac_ext
53250 if test "$ac_gcsections" = "yes"; then
53251 rm -f conftest.c
53252 touch conftest.c
53253 if $CC -c conftest.c; then
53254 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53255 grep "Warning: gc-sections option ignored" > /dev/null; then
53256 ac_gcsections=no
53259 rm -f conftest.c conftest.o conftest
53261 if test "$ac_gcsections" = "yes"; then
53262 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53265 $as_echo "$ac_gcsections" >&6; }
53267 if test "$ac_test_CFLAGS" = set; then
53268 CFLAGS="$ac_save_CFLAGS"
53269 else
53270 # this is the suspicious part
53271 CFLAGS=''
53275 # Set -z,relro.
53276 # Note this is only for shared objects.
53277 ac_ld_relro=no
53278 if test x"$with_gnu_ld" = x"yes"; then
53279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53280 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53281 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53282 if test -n "$cxx_z_relo"; then
53283 OPT_LDFLAGS="-Wl,-z,relro"
53284 ac_ld_relro=yes
53286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53287 $as_echo "$ac_ld_relro" >&6; }
53290 # Set linker optimization flags.
53291 if test x"$with_gnu_ld" = x"yes"; then
53292 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53299 # GLIBCXX_CHECK_MATH_SUPPORT
53300 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53302 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53304 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53306 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53308 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53310 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53312 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53314 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53316 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53318 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53320 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53322 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53324 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53326 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53328 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53330 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53332 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53334 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53336 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53338 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53340 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53343 # GLIBCXX_CHECK_STDLIB_SUPPORT
53344 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53349 # Check whether --enable-tls was given.
53350 if test "${enable_tls+set}" = set; then :
53351 enableval=$enable_tls;
53352 case "$enableval" in
53353 yes|no) ;;
53354 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53355 esac
53357 else
53358 enable_tls=yes
53362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53363 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53364 if test "${gcc_cv_have_tls+set}" = set; then :
53365 $as_echo_n "(cached) " >&6
53366 else
53368 if test "$cross_compiling" = yes; then :
53369 if test x$gcc_no_link = xyes; then
53370 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53373 /* end confdefs.h. */
53374 __thread int a; int b; int main() { return a = b; }
53375 _ACEOF
53376 if ac_fn_c_try_link "$LINENO"; then :
53377 chktls_save_LDFLAGS="$LDFLAGS"
53378 case $host in
53379 *-*-linux*)
53380 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53382 esac
53383 chktls_save_CFLAGS="$CFLAGS"
53384 CFLAGS="-fPIC $CFLAGS"
53385 if test x$gcc_no_link = xyes; then
53386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53389 /* end confdefs.h. */
53390 int f() { return 0; }
53391 _ACEOF
53392 if ac_fn_c_try_link "$LINENO"; then :
53393 if test x$gcc_no_link = xyes; then
53394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53397 /* end confdefs.h. */
53398 __thread int a; int b; int f() { return a = b; }
53399 _ACEOF
53400 if ac_fn_c_try_link "$LINENO"; then :
53401 gcc_cv_have_tls=yes
53402 else
53403 gcc_cv_have_tls=no
53405 rm -f core conftest.err conftest.$ac_objext \
53406 conftest$ac_exeext conftest.$ac_ext
53407 else
53408 gcc_cv_have_tls=yes
53410 rm -f core conftest.err conftest.$ac_objext \
53411 conftest$ac_exeext conftest.$ac_ext
53412 CFLAGS="$chktls_save_CFLAGS"
53413 LDFLAGS="$chktls_save_LDFLAGS"
53414 else
53415 gcc_cv_have_tls=no
53417 rm -f core conftest.err conftest.$ac_objext \
53418 conftest$ac_exeext conftest.$ac_ext
53421 else
53422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53423 /* end confdefs.h. */
53424 __thread int a; int b; int main() { return a = b; }
53425 _ACEOF
53426 if ac_fn_c_try_run "$LINENO"; then :
53427 chktls_save_LDFLAGS="$LDFLAGS"
53428 LDFLAGS="-static $LDFLAGS"
53429 if test x$gcc_no_link = xyes; then
53430 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53433 /* end confdefs.h. */
53434 int main() { return 0; }
53435 _ACEOF
53436 if ac_fn_c_try_link "$LINENO"; then :
53437 if test "$cross_compiling" = yes; then :
53438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53440 as_fn_error "cannot run test program while cross compiling
53441 See \`config.log' for more details." "$LINENO" 5; }
53442 else
53443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53444 /* end confdefs.h. */
53445 __thread int a; int b; int main() { return a = b; }
53446 _ACEOF
53447 if ac_fn_c_try_run "$LINENO"; then :
53448 gcc_cv_have_tls=yes
53449 else
53450 gcc_cv_have_tls=no
53452 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53453 conftest.$ac_objext conftest.beam conftest.$ac_ext
53456 else
53457 gcc_cv_have_tls=yes
53459 rm -f core conftest.err conftest.$ac_objext \
53460 conftest$ac_exeext conftest.$ac_ext
53461 LDFLAGS="$chktls_save_LDFLAGS"
53462 if test $gcc_cv_have_tls = yes; then
53463 chktls_save_CFLAGS="$CFLAGS"
53464 thread_CFLAGS=failed
53465 for flag in '' '-pthread' '-lpthread'; do
53466 CFLAGS="$flag $chktls_save_CFLAGS"
53467 if test x$gcc_no_link = xyes; then
53468 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53471 /* end confdefs.h. */
53472 #include <pthread.h>
53473 void *g(void *d) { return NULL; }
53475 main ()
53477 pthread_t t; pthread_create(&t,NULL,g,NULL);
53479 return 0;
53481 _ACEOF
53482 if ac_fn_c_try_link "$LINENO"; then :
53483 thread_CFLAGS="$flag"
53485 rm -f core conftest.err conftest.$ac_objext \
53486 conftest$ac_exeext conftest.$ac_ext
53487 if test "X$thread_CFLAGS" != Xfailed; then
53488 break
53490 done
53491 CFLAGS="$chktls_save_CFLAGS"
53492 if test "X$thread_CFLAGS" != Xfailed; then
53493 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53494 if test "$cross_compiling" = yes; then :
53495 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53497 as_fn_error "cannot run test program while cross compiling
53498 See \`config.log' for more details." "$LINENO" 5; }
53499 else
53500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53501 /* end confdefs.h. */
53502 #include <pthread.h>
53503 __thread int a;
53504 static int *volatile a_in_other_thread;
53505 static void *
53506 thread_func (void *arg)
53508 a_in_other_thread = &a;
53509 return (void *)0;
53512 main ()
53514 pthread_t thread;
53515 void *thread_retval;
53516 int *volatile a_in_main_thread;
53517 a_in_main_thread = &a;
53518 if (pthread_create (&thread, (pthread_attr_t *)0,
53519 thread_func, (void *)0))
53520 return 0;
53521 if (pthread_join (thread, &thread_retval))
53522 return 0;
53523 return (a_in_other_thread == a_in_main_thread);
53525 return 0;
53527 _ACEOF
53528 if ac_fn_c_try_run "$LINENO"; then :
53529 gcc_cv_have_tls=yes
53530 else
53531 gcc_cv_have_tls=no
53533 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53534 conftest.$ac_objext conftest.beam conftest.$ac_ext
53537 CFLAGS="$chktls_save_CFLAGS"
53540 else
53541 gcc_cv_have_tls=no
53543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53544 conftest.$ac_objext conftest.beam conftest.$ac_ext
53548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53549 $as_echo "$gcc_cv_have_tls" >&6; }
53550 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53552 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53555 case "$target" in
53556 *-hpux10*)
53557 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53559 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53561 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53563 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53565 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53568 esac
53570 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53572 # All these tests are for C++; save the language and the compiler flags.
53573 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53574 # found in GLIBCXX_CONFIGURE.
53576 ac_ext=cpp
53577 ac_cpp='$CXXCPP $CPPFLAGS'
53578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53582 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53583 ac_save_CXXFLAGS="$CXXFLAGS"
53585 # Check for maintainer-mode bits.
53586 if test x"$USE_MAINTAINER_MODE" = xno; then
53587 WERROR=''
53588 else
53589 WERROR='-Werror'
53592 # Check for -ffunction-sections -fdata-sections
53593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53594 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53595 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53597 /* end confdefs.h. */
53598 int foo; void bar() { };
53600 main ()
53604 return 0;
53606 _ACEOF
53607 if ac_fn_cxx_try_compile "$LINENO"; then :
53608 ac_fdsections=yes
53609 else
53610 ac_fdsections=no
53612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53613 if test "$ac_test_CXXFLAGS" = set; then
53614 CXXFLAGS="$ac_save_CXXFLAGS"
53615 else
53616 # this is the suspicious part
53617 CXXFLAGS=''
53619 if test x"$ac_fdsections" = x"yes"; then
53620 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53623 $as_echo "$ac_fdsections" >&6; }
53625 ac_ext=c
53626 ac_cpp='$CPP $CPPFLAGS'
53627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53635 # If we're not using GNU ld, then there's no point in even trying these
53636 # tests. Check for that first. We should have already tested for gld
53637 # by now (in libtool), but require it now just to be safe...
53638 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53639 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53643 # The name set by libtool depends on the version of libtool. Shame on us
53644 # for depending on an impl detail, but c'est la vie. Older versions used
53645 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53646 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53647 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53648 # set (hence we're using an older libtool), then set it.
53649 if test x${with_gnu_ld+set} != xset; then
53650 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53651 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53652 with_gnu_ld=no
53653 else
53654 with_gnu_ld=$ac_cv_prog_gnu_ld
53658 # Start by getting the version number. I think the libtool test already
53659 # does some of this, but throws away the result.
53660 glibcxx_ld_is_gold=no
53661 if test x"$with_gnu_ld" = x"yes"; then
53662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53663 $as_echo_n "checking for ld version... " >&6; }
53665 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53666 glibcxx_ld_is_gold=yes
53668 ldver=`$LD --version 2>/dev/null |
53669 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'`
53671 glibcxx_gnu_ld_version=`echo $ldver | \
53672 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53674 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53677 # Set --gc-sections.
53678 glibcxx_have_gc_sections=no
53679 if test "$glibcxx_ld_is_gold" = "yes"; then
53680 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53681 glibcxx_have_gc_sections=yes
53683 else
53684 glibcxx_gcsections_min_ld=21602
53685 if test x"$with_gnu_ld" = x"yes" &&
53686 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53687 glibcxx_have_gc_sections=yes
53690 if test "$glibcxx_have_gc_sections" = "yes"; then
53691 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53692 # NB: This flag only works reliably after 2.16.1. Configure tests
53693 # for this are difficult, so hard wire a value that should work.
53695 ac_test_CFLAGS="${CFLAGS+set}"
53696 ac_save_CFLAGS="$CFLAGS"
53697 CFLAGS='-Wl,--gc-sections'
53699 # Check for -Wl,--gc-sections
53700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53701 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53702 if test x$gcc_no_link = xyes; then
53703 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53706 /* end confdefs.h. */
53707 int one(void) { return 1; }
53708 int two(void) { return 2; }
53711 main ()
53713 two();
53715 return 0;
53717 _ACEOF
53718 if ac_fn_c_try_link "$LINENO"; then :
53719 ac_gcsections=yes
53720 else
53721 ac_gcsections=no
53723 rm -f core conftest.err conftest.$ac_objext \
53724 conftest$ac_exeext conftest.$ac_ext
53725 if test "$ac_gcsections" = "yes"; then
53726 rm -f conftest.c
53727 touch conftest.c
53728 if $CC -c conftest.c; then
53729 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53730 grep "Warning: gc-sections option ignored" > /dev/null; then
53731 ac_gcsections=no
53734 rm -f conftest.c conftest.o conftest
53736 if test "$ac_gcsections" = "yes"; then
53737 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53740 $as_echo "$ac_gcsections" >&6; }
53742 if test "$ac_test_CFLAGS" = set; then
53743 CFLAGS="$ac_save_CFLAGS"
53744 else
53745 # this is the suspicious part
53746 CFLAGS=''
53750 # Set -z,relro.
53751 # Note this is only for shared objects.
53752 ac_ld_relro=no
53753 if test x"$with_gnu_ld" = x"yes"; then
53754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53755 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53756 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53757 if test -n "$cxx_z_relo"; then
53758 OPT_LDFLAGS="-Wl,-z,relro"
53759 ac_ld_relro=yes
53761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53762 $as_echo "$ac_ld_relro" >&6; }
53765 # Set linker optimization flags.
53766 if test x"$with_gnu_ld" = x"yes"; then
53767 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53774 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53775 ac_save_CXXFLAGS="$CXXFLAGS"
53776 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53779 $as_echo_n "checking for sin in -lm... " >&6; }
53780 if test "${ac_cv_lib_m_sin+set}" = set; then :
53781 $as_echo_n "(cached) " >&6
53782 else
53783 ac_check_lib_save_LIBS=$LIBS
53784 LIBS="-lm $LIBS"
53785 if test x$gcc_no_link = xyes; then
53786 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53789 /* end confdefs.h. */
53791 /* Override any GCC internal prototype to avoid an error.
53792 Use char because int might match the return type of a GCC
53793 builtin and then its argument prototype would still apply. */
53794 #ifdef __cplusplus
53795 extern "C"
53796 #endif
53797 char sin ();
53799 main ()
53801 return sin ();
53803 return 0;
53805 _ACEOF
53806 if ac_fn_c_try_link "$LINENO"; then :
53807 ac_cv_lib_m_sin=yes
53808 else
53809 ac_cv_lib_m_sin=no
53811 rm -f core conftest.err conftest.$ac_objext \
53812 conftest$ac_exeext conftest.$ac_ext
53813 LIBS=$ac_check_lib_save_LIBS
53815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53816 $as_echo "$ac_cv_lib_m_sin" >&6; }
53817 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53818 libm="-lm"
53821 ac_save_LIBS="$LIBS"
53822 LIBS="$LIBS $libm"
53826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53827 $as_echo_n "checking for isinf declaration... " >&6; }
53828 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53829 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53830 $as_echo_n "(cached) " >&6
53831 else
53834 ac_ext=cpp
53835 ac_cpp='$CXXCPP $CPPFLAGS'
53836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53841 /* end confdefs.h. */
53842 #include <math.h>
53843 #ifdef HAVE_IEEEFP_H
53844 #include <ieeefp.h>
53845 #endif
53848 main ()
53850 isinf(0);
53852 return 0;
53854 _ACEOF
53855 if ac_fn_cxx_try_compile "$LINENO"; then :
53856 glibcxx_cv_func_isinf_use=yes
53857 else
53858 glibcxx_cv_func_isinf_use=no
53860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53861 ac_ext=c
53862 ac_cpp='$CPP $CPPFLAGS'
53863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53872 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53874 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53875 for ac_func in isinf
53876 do :
53877 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53878 if test "x$ac_cv_func_isinf" = x""yes; then :
53879 cat >>confdefs.h <<_ACEOF
53880 #define HAVE_ISINF 1
53881 _ACEOF
53884 done
53886 else
53888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53889 $as_echo_n "checking for _isinf declaration... " >&6; }
53890 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53891 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53892 $as_echo_n "(cached) " >&6
53893 else
53896 ac_ext=cpp
53897 ac_cpp='$CXXCPP $CPPFLAGS'
53898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53903 /* end confdefs.h. */
53904 #include <math.h>
53905 #ifdef HAVE_IEEEFP_H
53906 #include <ieeefp.h>
53907 #endif
53910 main ()
53912 _isinf(0);
53914 return 0;
53916 _ACEOF
53917 if ac_fn_cxx_try_compile "$LINENO"; then :
53918 glibcxx_cv_func__isinf_use=yes
53919 else
53920 glibcxx_cv_func__isinf_use=no
53922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53923 ac_ext=c
53924 ac_cpp='$CPP $CPPFLAGS'
53925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53934 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53936 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53937 for ac_func in _isinf
53938 do :
53939 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53940 if test "x$ac_cv_func__isinf" = x""yes; then :
53941 cat >>confdefs.h <<_ACEOF
53942 #define HAVE__ISINF 1
53943 _ACEOF
53946 done
53955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53956 $as_echo_n "checking for isnan declaration... " >&6; }
53957 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53958 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53959 $as_echo_n "(cached) " >&6
53960 else
53963 ac_ext=cpp
53964 ac_cpp='$CXXCPP $CPPFLAGS'
53965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53970 /* end confdefs.h. */
53971 #include <math.h>
53972 #ifdef HAVE_IEEEFP_H
53973 #include <ieeefp.h>
53974 #endif
53977 main ()
53979 isnan(0);
53981 return 0;
53983 _ACEOF
53984 if ac_fn_cxx_try_compile "$LINENO"; then :
53985 glibcxx_cv_func_isnan_use=yes
53986 else
53987 glibcxx_cv_func_isnan_use=no
53989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53990 ac_ext=c
53991 ac_cpp='$CPP $CPPFLAGS'
53992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54001 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54003 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54004 for ac_func in isnan
54005 do :
54006 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54007 if test "x$ac_cv_func_isnan" = x""yes; then :
54008 cat >>confdefs.h <<_ACEOF
54009 #define HAVE_ISNAN 1
54010 _ACEOF
54013 done
54015 else
54017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54018 $as_echo_n "checking for _isnan declaration... " >&6; }
54019 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54020 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54021 $as_echo_n "(cached) " >&6
54022 else
54025 ac_ext=cpp
54026 ac_cpp='$CXXCPP $CPPFLAGS'
54027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54032 /* end confdefs.h. */
54033 #include <math.h>
54034 #ifdef HAVE_IEEEFP_H
54035 #include <ieeefp.h>
54036 #endif
54039 main ()
54041 _isnan(0);
54043 return 0;
54045 _ACEOF
54046 if ac_fn_cxx_try_compile "$LINENO"; then :
54047 glibcxx_cv_func__isnan_use=yes
54048 else
54049 glibcxx_cv_func__isnan_use=no
54051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54052 ac_ext=c
54053 ac_cpp='$CPP $CPPFLAGS'
54054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54063 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54065 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54066 for ac_func in _isnan
54067 do :
54068 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54069 if test "x$ac_cv_func__isnan" = x""yes; then :
54070 cat >>confdefs.h <<_ACEOF
54071 #define HAVE__ISNAN 1
54072 _ACEOF
54075 done
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54085 $as_echo_n "checking for finite declaration... " >&6; }
54086 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54087 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54088 $as_echo_n "(cached) " >&6
54089 else
54092 ac_ext=cpp
54093 ac_cpp='$CXXCPP $CPPFLAGS'
54094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54099 /* end confdefs.h. */
54100 #include <math.h>
54101 #ifdef HAVE_IEEEFP_H
54102 #include <ieeefp.h>
54103 #endif
54106 main ()
54108 finite(0);
54110 return 0;
54112 _ACEOF
54113 if ac_fn_cxx_try_compile "$LINENO"; then :
54114 glibcxx_cv_func_finite_use=yes
54115 else
54116 glibcxx_cv_func_finite_use=no
54118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54119 ac_ext=c
54120 ac_cpp='$CPP $CPPFLAGS'
54121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54130 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54132 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54133 for ac_func in finite
54134 do :
54135 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54136 if test "x$ac_cv_func_finite" = x""yes; then :
54137 cat >>confdefs.h <<_ACEOF
54138 #define HAVE_FINITE 1
54139 _ACEOF
54142 done
54144 else
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54147 $as_echo_n "checking for _finite declaration... " >&6; }
54148 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54149 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54150 $as_echo_n "(cached) " >&6
54151 else
54154 ac_ext=cpp
54155 ac_cpp='$CXXCPP $CPPFLAGS'
54156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54161 /* end confdefs.h. */
54162 #include <math.h>
54163 #ifdef HAVE_IEEEFP_H
54164 #include <ieeefp.h>
54165 #endif
54168 main ()
54170 _finite(0);
54172 return 0;
54174 _ACEOF
54175 if ac_fn_cxx_try_compile "$LINENO"; then :
54176 glibcxx_cv_func__finite_use=yes
54177 else
54178 glibcxx_cv_func__finite_use=no
54180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54192 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54194 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54195 for ac_func in _finite
54196 do :
54197 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54198 if test "x$ac_cv_func__finite" = x""yes; then :
54199 cat >>confdefs.h <<_ACEOF
54200 #define HAVE__FINITE 1
54201 _ACEOF
54204 done
54213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54214 $as_echo_n "checking for sincos declaration... " >&6; }
54215 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54216 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54217 $as_echo_n "(cached) " >&6
54218 else
54221 ac_ext=cpp
54222 ac_cpp='$CXXCPP $CPPFLAGS'
54223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54228 /* end confdefs.h. */
54229 #include <math.h>
54231 main ()
54233 sincos(0, 0, 0);
54235 return 0;
54237 _ACEOF
54238 if ac_fn_cxx_try_compile "$LINENO"; then :
54239 glibcxx_cv_func_sincos_use=yes
54240 else
54241 glibcxx_cv_func_sincos_use=no
54243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54244 ac_ext=c
54245 ac_cpp='$CPP $CPPFLAGS'
54246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54255 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54257 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54258 for ac_func in sincos
54259 do :
54260 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54261 if test "x$ac_cv_func_sincos" = x""yes; then :
54262 cat >>confdefs.h <<_ACEOF
54263 #define HAVE_SINCOS 1
54264 _ACEOF
54267 done
54269 else
54271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54272 $as_echo_n "checking for _sincos declaration... " >&6; }
54273 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54274 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54275 $as_echo_n "(cached) " >&6
54276 else
54279 ac_ext=cpp
54280 ac_cpp='$CXXCPP $CPPFLAGS'
54281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54286 /* end confdefs.h. */
54287 #include <math.h>
54289 main ()
54291 _sincos(0, 0, 0);
54293 return 0;
54295 _ACEOF
54296 if ac_fn_cxx_try_compile "$LINENO"; then :
54297 glibcxx_cv_func__sincos_use=yes
54298 else
54299 glibcxx_cv_func__sincos_use=no
54301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54302 ac_ext=c
54303 ac_cpp='$CPP $CPPFLAGS'
54304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54313 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54315 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54316 for ac_func in _sincos
54317 do :
54318 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54319 if test "x$ac_cv_func__sincos" = x""yes; then :
54320 cat >>confdefs.h <<_ACEOF
54321 #define HAVE__SINCOS 1
54322 _ACEOF
54325 done
54334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54335 $as_echo_n "checking for fpclass declaration... " >&6; }
54336 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54337 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54338 $as_echo_n "(cached) " >&6
54339 else
54342 ac_ext=cpp
54343 ac_cpp='$CXXCPP $CPPFLAGS'
54344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54349 /* end confdefs.h. */
54350 #include <math.h>
54351 #ifdef HAVE_IEEEFP_H
54352 #include <ieeefp.h>
54353 #endif
54356 main ()
54358 fpclass(0);
54360 return 0;
54362 _ACEOF
54363 if ac_fn_cxx_try_compile "$LINENO"; then :
54364 glibcxx_cv_func_fpclass_use=yes
54365 else
54366 glibcxx_cv_func_fpclass_use=no
54368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54369 ac_ext=c
54370 ac_cpp='$CPP $CPPFLAGS'
54371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54380 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54382 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54383 for ac_func in fpclass
54384 do :
54385 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54386 if test "x$ac_cv_func_fpclass" = x""yes; then :
54387 cat >>confdefs.h <<_ACEOF
54388 #define HAVE_FPCLASS 1
54389 _ACEOF
54392 done
54394 else
54396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54397 $as_echo_n "checking for _fpclass declaration... " >&6; }
54398 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54399 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54400 $as_echo_n "(cached) " >&6
54401 else
54404 ac_ext=cpp
54405 ac_cpp='$CXXCPP $CPPFLAGS'
54406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54411 /* end confdefs.h. */
54412 #include <math.h>
54413 #ifdef HAVE_IEEEFP_H
54414 #include <ieeefp.h>
54415 #endif
54418 main ()
54420 _fpclass(0);
54422 return 0;
54424 _ACEOF
54425 if ac_fn_cxx_try_compile "$LINENO"; then :
54426 glibcxx_cv_func__fpclass_use=yes
54427 else
54428 glibcxx_cv_func__fpclass_use=no
54430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54431 ac_ext=c
54432 ac_cpp='$CPP $CPPFLAGS'
54433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54442 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54444 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54445 for ac_func in _fpclass
54446 do :
54447 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54448 if test "x$ac_cv_func__fpclass" = x""yes; then :
54449 cat >>confdefs.h <<_ACEOF
54450 #define HAVE__FPCLASS 1
54451 _ACEOF
54454 done
54463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54464 $as_echo_n "checking for qfpclass declaration... " >&6; }
54465 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54466 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54467 $as_echo_n "(cached) " >&6
54468 else
54471 ac_ext=cpp
54472 ac_cpp='$CXXCPP $CPPFLAGS'
54473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54478 /* end confdefs.h. */
54479 #include <math.h>
54480 #ifdef HAVE_IEEEFP_H
54481 #include <ieeefp.h>
54482 #endif
54485 main ()
54487 qfpclass(0);
54489 return 0;
54491 _ACEOF
54492 if ac_fn_cxx_try_compile "$LINENO"; then :
54493 glibcxx_cv_func_qfpclass_use=yes
54494 else
54495 glibcxx_cv_func_qfpclass_use=no
54497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54498 ac_ext=c
54499 ac_cpp='$CPP $CPPFLAGS'
54500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54509 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54511 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54512 for ac_func in qfpclass
54513 do :
54514 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54515 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54516 cat >>confdefs.h <<_ACEOF
54517 #define HAVE_QFPCLASS 1
54518 _ACEOF
54521 done
54523 else
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54526 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54527 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54528 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54529 $as_echo_n "(cached) " >&6
54530 else
54533 ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h. */
54541 #include <math.h>
54542 #ifdef HAVE_IEEEFP_H
54543 #include <ieeefp.h>
54544 #endif
54547 main ()
54549 _qfpclass(0);
54551 return 0;
54553 _ACEOF
54554 if ac_fn_cxx_try_compile "$LINENO"; then :
54555 glibcxx_cv_func__qfpclass_use=yes
54556 else
54557 glibcxx_cv_func__qfpclass_use=no
54559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54560 ac_ext=c
54561 ac_cpp='$CPP $CPPFLAGS'
54562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54571 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54573 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54574 for ac_func in _qfpclass
54575 do :
54576 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54577 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54578 cat >>confdefs.h <<_ACEOF
54579 #define HAVE__QFPCLASS 1
54580 _ACEOF
54583 done
54592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54593 $as_echo_n "checking for hypot declaration... " >&6; }
54594 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54595 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54596 $as_echo_n "(cached) " >&6
54597 else
54600 ac_ext=cpp
54601 ac_cpp='$CXXCPP $CPPFLAGS'
54602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54607 /* end confdefs.h. */
54608 #include <math.h>
54610 main ()
54612 hypot(0, 0);
54614 return 0;
54616 _ACEOF
54617 if ac_fn_cxx_try_compile "$LINENO"; then :
54618 glibcxx_cv_func_hypot_use=yes
54619 else
54620 glibcxx_cv_func_hypot_use=no
54622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54623 ac_ext=c
54624 ac_cpp='$CPP $CPPFLAGS'
54625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54634 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54636 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54637 for ac_func in hypot
54638 do :
54639 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54640 if test "x$ac_cv_func_hypot" = x""yes; then :
54641 cat >>confdefs.h <<_ACEOF
54642 #define HAVE_HYPOT 1
54643 _ACEOF
54646 done
54648 else
54650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54651 $as_echo_n "checking for _hypot declaration... " >&6; }
54652 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54653 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54654 $as_echo_n "(cached) " >&6
54655 else
54658 ac_ext=cpp
54659 ac_cpp='$CXXCPP $CPPFLAGS'
54660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54665 /* end confdefs.h. */
54666 #include <math.h>
54668 main ()
54670 _hypot(0, 0);
54672 return 0;
54674 _ACEOF
54675 if ac_fn_cxx_try_compile "$LINENO"; then :
54676 glibcxx_cv_func__hypot_use=yes
54677 else
54678 glibcxx_cv_func__hypot_use=no
54680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54681 ac_ext=c
54682 ac_cpp='$CPP $CPPFLAGS'
54683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54692 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54694 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54695 for ac_func in _hypot
54696 do :
54697 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54698 if test "x$ac_cv_func__hypot" = x""yes; then :
54699 cat >>confdefs.h <<_ACEOF
54700 #define HAVE__HYPOT 1
54701 _ACEOF
54704 done
54713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54714 $as_echo_n "checking for float trig functions... " >&6; }
54715 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54716 $as_echo_n "(cached) " >&6
54717 else
54720 ac_ext=cpp
54721 ac_cpp='$CXXCPP $CPPFLAGS'
54722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54727 /* end confdefs.h. */
54728 #include <math.h>
54730 main ()
54732 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54734 return 0;
54736 _ACEOF
54737 if ac_fn_cxx_try_compile "$LINENO"; then :
54738 glibcxx_cv_func_float_trig_use=yes
54739 else
54740 glibcxx_cv_func_float_trig_use=no
54742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54743 ac_ext=c
54744 ac_cpp='$CPP $CPPFLAGS'
54745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54752 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54753 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54754 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54755 do :
54756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54758 eval as_val=\$$as_ac_var
54759 if test "x$as_val" = x""yes; then :
54760 cat >>confdefs.h <<_ACEOF
54761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54762 _ACEOF
54765 done
54767 else
54768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54769 $as_echo_n "checking for _float trig functions... " >&6; }
54770 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54771 $as_echo_n "(cached) " >&6
54772 else
54775 ac_ext=cpp
54776 ac_cpp='$CXXCPP $CPPFLAGS'
54777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54782 /* end confdefs.h. */
54783 #include <math.h>
54785 main ()
54787 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54789 return 0;
54791 _ACEOF
54792 if ac_fn_cxx_try_compile "$LINENO"; then :
54793 glibcxx_cv_func__float_trig_use=yes
54794 else
54795 glibcxx_cv_func__float_trig_use=no
54797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54798 ac_ext=c
54799 ac_cpp='$CPP $CPPFLAGS'
54800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54807 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54808 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54809 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54810 do :
54811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54813 eval as_val=\$$as_ac_var
54814 if test "x$as_val" = x""yes; then :
54815 cat >>confdefs.h <<_ACEOF
54816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54817 _ACEOF
54820 done
54829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54830 $as_echo_n "checking for float round functions... " >&6; }
54831 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54832 $as_echo_n "(cached) " >&6
54833 else
54836 ac_ext=cpp
54837 ac_cpp='$CXXCPP $CPPFLAGS'
54838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54843 /* end confdefs.h. */
54844 #include <math.h>
54846 main ()
54848 ceilf (0); floorf (0);
54850 return 0;
54852 _ACEOF
54853 if ac_fn_cxx_try_compile "$LINENO"; then :
54854 glibcxx_cv_func_float_round_use=yes
54855 else
54856 glibcxx_cv_func_float_round_use=no
54858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54859 ac_ext=c
54860 ac_cpp='$CPP $CPPFLAGS'
54861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54868 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54869 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54870 for ac_func in ceilf floorf
54871 do :
54872 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54873 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54874 eval as_val=\$$as_ac_var
54875 if test "x$as_val" = x""yes; then :
54876 cat >>confdefs.h <<_ACEOF
54877 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54878 _ACEOF
54881 done
54883 else
54884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54885 $as_echo_n "checking for _float round functions... " >&6; }
54886 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54887 $as_echo_n "(cached) " >&6
54888 else
54891 ac_ext=cpp
54892 ac_cpp='$CXXCPP $CPPFLAGS'
54893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54898 /* end confdefs.h. */
54899 #include <math.h>
54901 main ()
54903 _ceilf (0); _floorf (0);
54905 return 0;
54907 _ACEOF
54908 if ac_fn_cxx_try_compile "$LINENO"; then :
54909 glibcxx_cv_func__float_round_use=yes
54910 else
54911 glibcxx_cv_func__float_round_use=no
54913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54914 ac_ext=c
54915 ac_cpp='$CPP $CPPFLAGS'
54916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54923 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54924 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54925 for ac_func in _ceilf _floorf
54926 do :
54927 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54928 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54929 eval as_val=\$$as_ac_var
54930 if test "x$as_val" = x""yes; then :
54931 cat >>confdefs.h <<_ACEOF
54932 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54933 _ACEOF
54936 done
54946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54947 $as_echo_n "checking for expf declaration... " >&6; }
54948 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54949 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54950 $as_echo_n "(cached) " >&6
54951 else
54954 ac_ext=cpp
54955 ac_cpp='$CXXCPP $CPPFLAGS'
54956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54961 /* end confdefs.h. */
54962 #include <math.h>
54963 #ifdef HAVE_IEEEFP_H
54964 #include <ieeefp.h>
54965 #endif
54968 main ()
54970 expf(0);
54972 return 0;
54974 _ACEOF
54975 if ac_fn_cxx_try_compile "$LINENO"; then :
54976 glibcxx_cv_func_expf_use=yes
54977 else
54978 glibcxx_cv_func_expf_use=no
54980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54981 ac_ext=c
54982 ac_cpp='$CPP $CPPFLAGS'
54983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54992 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54994 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54995 for ac_func in expf
54996 do :
54997 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54998 if test "x$ac_cv_func_expf" = x""yes; then :
54999 cat >>confdefs.h <<_ACEOF
55000 #define HAVE_EXPF 1
55001 _ACEOF
55004 done
55006 else
55008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55009 $as_echo_n "checking for _expf declaration... " >&6; }
55010 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55011 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55012 $as_echo_n "(cached) " >&6
55013 else
55016 ac_ext=cpp
55017 ac_cpp='$CXXCPP $CPPFLAGS'
55018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55023 /* end confdefs.h. */
55024 #include <math.h>
55025 #ifdef HAVE_IEEEFP_H
55026 #include <ieeefp.h>
55027 #endif
55030 main ()
55032 _expf(0);
55034 return 0;
55036 _ACEOF
55037 if ac_fn_cxx_try_compile "$LINENO"; then :
55038 glibcxx_cv_func__expf_use=yes
55039 else
55040 glibcxx_cv_func__expf_use=no
55042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55043 ac_ext=c
55044 ac_cpp='$CPP $CPPFLAGS'
55045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55054 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55056 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55057 for ac_func in _expf
55058 do :
55059 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55060 if test "x$ac_cv_func__expf" = x""yes; then :
55061 cat >>confdefs.h <<_ACEOF
55062 #define HAVE__EXPF 1
55063 _ACEOF
55066 done
55075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55076 $as_echo_n "checking for isnanf declaration... " >&6; }
55077 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55078 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55079 $as_echo_n "(cached) " >&6
55080 else
55083 ac_ext=cpp
55084 ac_cpp='$CXXCPP $CPPFLAGS'
55085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55090 /* end confdefs.h. */
55091 #include <math.h>
55092 #ifdef HAVE_IEEEFP_H
55093 #include <ieeefp.h>
55094 #endif
55097 main ()
55099 isnanf(0);
55101 return 0;
55103 _ACEOF
55104 if ac_fn_cxx_try_compile "$LINENO"; then :
55105 glibcxx_cv_func_isnanf_use=yes
55106 else
55107 glibcxx_cv_func_isnanf_use=no
55109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55110 ac_ext=c
55111 ac_cpp='$CPP $CPPFLAGS'
55112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55121 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55123 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55124 for ac_func in isnanf
55125 do :
55126 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55127 if test "x$ac_cv_func_isnanf" = x""yes; then :
55128 cat >>confdefs.h <<_ACEOF
55129 #define HAVE_ISNANF 1
55130 _ACEOF
55133 done
55135 else
55137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55138 $as_echo_n "checking for _isnanf declaration... " >&6; }
55139 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55140 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55141 $as_echo_n "(cached) " >&6
55142 else
55145 ac_ext=cpp
55146 ac_cpp='$CXXCPP $CPPFLAGS'
55147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55152 /* end confdefs.h. */
55153 #include <math.h>
55154 #ifdef HAVE_IEEEFP_H
55155 #include <ieeefp.h>
55156 #endif
55159 main ()
55161 _isnanf(0);
55163 return 0;
55165 _ACEOF
55166 if ac_fn_cxx_try_compile "$LINENO"; then :
55167 glibcxx_cv_func__isnanf_use=yes
55168 else
55169 glibcxx_cv_func__isnanf_use=no
55171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55172 ac_ext=c
55173 ac_cpp='$CPP $CPPFLAGS'
55174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55183 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55185 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55186 for ac_func in _isnanf
55187 do :
55188 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55189 if test "x$ac_cv_func__isnanf" = x""yes; then :
55190 cat >>confdefs.h <<_ACEOF
55191 #define HAVE__ISNANF 1
55192 _ACEOF
55195 done
55204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55205 $as_echo_n "checking for isinff declaration... " >&6; }
55206 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55207 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55208 $as_echo_n "(cached) " >&6
55209 else
55212 ac_ext=cpp
55213 ac_cpp='$CXXCPP $CPPFLAGS'
55214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55219 /* end confdefs.h. */
55220 #include <math.h>
55221 #ifdef HAVE_IEEEFP_H
55222 #include <ieeefp.h>
55223 #endif
55226 main ()
55228 isinff(0);
55230 return 0;
55232 _ACEOF
55233 if ac_fn_cxx_try_compile "$LINENO"; then :
55234 glibcxx_cv_func_isinff_use=yes
55235 else
55236 glibcxx_cv_func_isinff_use=no
55238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55239 ac_ext=c
55240 ac_cpp='$CPP $CPPFLAGS'
55241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55250 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55252 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55253 for ac_func in isinff
55254 do :
55255 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55256 if test "x$ac_cv_func_isinff" = x""yes; then :
55257 cat >>confdefs.h <<_ACEOF
55258 #define HAVE_ISINFF 1
55259 _ACEOF
55262 done
55264 else
55266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55267 $as_echo_n "checking for _isinff declaration... " >&6; }
55268 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55269 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55270 $as_echo_n "(cached) " >&6
55271 else
55274 ac_ext=cpp
55275 ac_cpp='$CXXCPP $CPPFLAGS'
55276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55281 /* end confdefs.h. */
55282 #include <math.h>
55283 #ifdef HAVE_IEEEFP_H
55284 #include <ieeefp.h>
55285 #endif
55288 main ()
55290 _isinff(0);
55292 return 0;
55294 _ACEOF
55295 if ac_fn_cxx_try_compile "$LINENO"; then :
55296 glibcxx_cv_func__isinff_use=yes
55297 else
55298 glibcxx_cv_func__isinff_use=no
55300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55301 ac_ext=c
55302 ac_cpp='$CPP $CPPFLAGS'
55303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55312 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55314 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55315 for ac_func in _isinff
55316 do :
55317 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55318 if test "x$ac_cv_func__isinff" = x""yes; then :
55319 cat >>confdefs.h <<_ACEOF
55320 #define HAVE__ISINFF 1
55321 _ACEOF
55324 done
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55334 $as_echo_n "checking for atan2f declaration... " >&6; }
55335 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55336 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55337 $as_echo_n "(cached) " >&6
55338 else
55341 ac_ext=cpp
55342 ac_cpp='$CXXCPP $CPPFLAGS'
55343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55348 /* end confdefs.h. */
55349 #include <math.h>
55351 main ()
55353 atan2f(0, 0);
55355 return 0;
55357 _ACEOF
55358 if ac_fn_cxx_try_compile "$LINENO"; then :
55359 glibcxx_cv_func_atan2f_use=yes
55360 else
55361 glibcxx_cv_func_atan2f_use=no
55363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55364 ac_ext=c
55365 ac_cpp='$CPP $CPPFLAGS'
55366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55375 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55377 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55378 for ac_func in atan2f
55379 do :
55380 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55381 if test "x$ac_cv_func_atan2f" = x""yes; then :
55382 cat >>confdefs.h <<_ACEOF
55383 #define HAVE_ATAN2F 1
55384 _ACEOF
55387 done
55389 else
55391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55392 $as_echo_n "checking for _atan2f declaration... " >&6; }
55393 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55394 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55395 $as_echo_n "(cached) " >&6
55396 else
55399 ac_ext=cpp
55400 ac_cpp='$CXXCPP $CPPFLAGS'
55401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55406 /* end confdefs.h. */
55407 #include <math.h>
55409 main ()
55411 _atan2f(0, 0);
55413 return 0;
55415 _ACEOF
55416 if ac_fn_cxx_try_compile "$LINENO"; then :
55417 glibcxx_cv_func__atan2f_use=yes
55418 else
55419 glibcxx_cv_func__atan2f_use=no
55421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55422 ac_ext=c
55423 ac_cpp='$CPP $CPPFLAGS'
55424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55433 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55435 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55436 for ac_func in _atan2f
55437 do :
55438 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55439 if test "x$ac_cv_func__atan2f" = x""yes; then :
55440 cat >>confdefs.h <<_ACEOF
55441 #define HAVE__ATAN2F 1
55442 _ACEOF
55445 done
55454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55455 $as_echo_n "checking for fabsf declaration... " >&6; }
55456 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55457 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55458 $as_echo_n "(cached) " >&6
55459 else
55462 ac_ext=cpp
55463 ac_cpp='$CXXCPP $CPPFLAGS'
55464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55469 /* end confdefs.h. */
55470 #include <math.h>
55471 #ifdef HAVE_IEEEFP_H
55472 #include <ieeefp.h>
55473 #endif
55476 main ()
55478 fabsf(0);
55480 return 0;
55482 _ACEOF
55483 if ac_fn_cxx_try_compile "$LINENO"; then :
55484 glibcxx_cv_func_fabsf_use=yes
55485 else
55486 glibcxx_cv_func_fabsf_use=no
55488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55489 ac_ext=c
55490 ac_cpp='$CPP $CPPFLAGS'
55491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55500 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55502 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55503 for ac_func in fabsf
55504 do :
55505 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55506 if test "x$ac_cv_func_fabsf" = x""yes; then :
55507 cat >>confdefs.h <<_ACEOF
55508 #define HAVE_FABSF 1
55509 _ACEOF
55512 done
55514 else
55516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55517 $as_echo_n "checking for _fabsf declaration... " >&6; }
55518 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55519 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55520 $as_echo_n "(cached) " >&6
55521 else
55524 ac_ext=cpp
55525 ac_cpp='$CXXCPP $CPPFLAGS'
55526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55531 /* end confdefs.h. */
55532 #include <math.h>
55533 #ifdef HAVE_IEEEFP_H
55534 #include <ieeefp.h>
55535 #endif
55538 main ()
55540 _fabsf(0);
55542 return 0;
55544 _ACEOF
55545 if ac_fn_cxx_try_compile "$LINENO"; then :
55546 glibcxx_cv_func__fabsf_use=yes
55547 else
55548 glibcxx_cv_func__fabsf_use=no
55550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55551 ac_ext=c
55552 ac_cpp='$CPP $CPPFLAGS'
55553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55562 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55564 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55565 for ac_func in _fabsf
55566 do :
55567 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55568 if test "x$ac_cv_func__fabsf" = x""yes; then :
55569 cat >>confdefs.h <<_ACEOF
55570 #define HAVE__FABSF 1
55571 _ACEOF
55574 done
55583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55584 $as_echo_n "checking for fmodf declaration... " >&6; }
55585 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55586 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55587 $as_echo_n "(cached) " >&6
55588 else
55591 ac_ext=cpp
55592 ac_cpp='$CXXCPP $CPPFLAGS'
55593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55598 /* end confdefs.h. */
55599 #include <math.h>
55601 main ()
55603 fmodf(0, 0);
55605 return 0;
55607 _ACEOF
55608 if ac_fn_cxx_try_compile "$LINENO"; then :
55609 glibcxx_cv_func_fmodf_use=yes
55610 else
55611 glibcxx_cv_func_fmodf_use=no
55613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55614 ac_ext=c
55615 ac_cpp='$CPP $CPPFLAGS'
55616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55625 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55627 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55628 for ac_func in fmodf
55629 do :
55630 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55631 if test "x$ac_cv_func_fmodf" = x""yes; then :
55632 cat >>confdefs.h <<_ACEOF
55633 #define HAVE_FMODF 1
55634 _ACEOF
55637 done
55639 else
55641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55642 $as_echo_n "checking for _fmodf declaration... " >&6; }
55643 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55644 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55645 $as_echo_n "(cached) " >&6
55646 else
55649 ac_ext=cpp
55650 ac_cpp='$CXXCPP $CPPFLAGS'
55651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55656 /* end confdefs.h. */
55657 #include <math.h>
55659 main ()
55661 _fmodf(0, 0);
55663 return 0;
55665 _ACEOF
55666 if ac_fn_cxx_try_compile "$LINENO"; then :
55667 glibcxx_cv_func__fmodf_use=yes
55668 else
55669 glibcxx_cv_func__fmodf_use=no
55671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55672 ac_ext=c
55673 ac_cpp='$CPP $CPPFLAGS'
55674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55683 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55685 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55686 for ac_func in _fmodf
55687 do :
55688 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55689 if test "x$ac_cv_func__fmodf" = x""yes; then :
55690 cat >>confdefs.h <<_ACEOF
55691 #define HAVE__FMODF 1
55692 _ACEOF
55695 done
55704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55705 $as_echo_n "checking for frexpf declaration... " >&6; }
55706 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55707 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55708 $as_echo_n "(cached) " >&6
55709 else
55712 ac_ext=cpp
55713 ac_cpp='$CXXCPP $CPPFLAGS'
55714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55719 /* end confdefs.h. */
55720 #include <math.h>
55722 main ()
55724 frexpf(0, 0);
55726 return 0;
55728 _ACEOF
55729 if ac_fn_cxx_try_compile "$LINENO"; then :
55730 glibcxx_cv_func_frexpf_use=yes
55731 else
55732 glibcxx_cv_func_frexpf_use=no
55734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55735 ac_ext=c
55736 ac_cpp='$CPP $CPPFLAGS'
55737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55746 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55748 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55749 for ac_func in frexpf
55750 do :
55751 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55752 if test "x$ac_cv_func_frexpf" = x""yes; then :
55753 cat >>confdefs.h <<_ACEOF
55754 #define HAVE_FREXPF 1
55755 _ACEOF
55758 done
55760 else
55762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55763 $as_echo_n "checking for _frexpf declaration... " >&6; }
55764 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55765 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55766 $as_echo_n "(cached) " >&6
55767 else
55770 ac_ext=cpp
55771 ac_cpp='$CXXCPP $CPPFLAGS'
55772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55777 /* end confdefs.h. */
55778 #include <math.h>
55780 main ()
55782 _frexpf(0, 0);
55784 return 0;
55786 _ACEOF
55787 if ac_fn_cxx_try_compile "$LINENO"; then :
55788 glibcxx_cv_func__frexpf_use=yes
55789 else
55790 glibcxx_cv_func__frexpf_use=no
55792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55793 ac_ext=c
55794 ac_cpp='$CPP $CPPFLAGS'
55795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55804 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55806 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55807 for ac_func in _frexpf
55808 do :
55809 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55810 if test "x$ac_cv_func__frexpf" = x""yes; then :
55811 cat >>confdefs.h <<_ACEOF
55812 #define HAVE__FREXPF 1
55813 _ACEOF
55816 done
55825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55826 $as_echo_n "checking for hypotf declaration... " >&6; }
55827 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55828 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55829 $as_echo_n "(cached) " >&6
55830 else
55833 ac_ext=cpp
55834 ac_cpp='$CXXCPP $CPPFLAGS'
55835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55840 /* end confdefs.h. */
55841 #include <math.h>
55843 main ()
55845 hypotf(0, 0);
55847 return 0;
55849 _ACEOF
55850 if ac_fn_cxx_try_compile "$LINENO"; then :
55851 glibcxx_cv_func_hypotf_use=yes
55852 else
55853 glibcxx_cv_func_hypotf_use=no
55855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55856 ac_ext=c
55857 ac_cpp='$CPP $CPPFLAGS'
55858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55867 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55869 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55870 for ac_func in hypotf
55871 do :
55872 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55873 if test "x$ac_cv_func_hypotf" = x""yes; then :
55874 cat >>confdefs.h <<_ACEOF
55875 #define HAVE_HYPOTF 1
55876 _ACEOF
55879 done
55881 else
55883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55884 $as_echo_n "checking for _hypotf declaration... " >&6; }
55885 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55886 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55887 $as_echo_n "(cached) " >&6
55888 else
55891 ac_ext=cpp
55892 ac_cpp='$CXXCPP $CPPFLAGS'
55893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55898 /* end confdefs.h. */
55899 #include <math.h>
55901 main ()
55903 _hypotf(0, 0);
55905 return 0;
55907 _ACEOF
55908 if ac_fn_cxx_try_compile "$LINENO"; then :
55909 glibcxx_cv_func__hypotf_use=yes
55910 else
55911 glibcxx_cv_func__hypotf_use=no
55913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55914 ac_ext=c
55915 ac_cpp='$CPP $CPPFLAGS'
55916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55925 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55927 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55928 for ac_func in _hypotf
55929 do :
55930 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55931 if test "x$ac_cv_func__hypotf" = x""yes; then :
55932 cat >>confdefs.h <<_ACEOF
55933 #define HAVE__HYPOTF 1
55934 _ACEOF
55937 done
55946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55947 $as_echo_n "checking for ldexpf declaration... " >&6; }
55948 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55949 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55950 $as_echo_n "(cached) " >&6
55951 else
55954 ac_ext=cpp
55955 ac_cpp='$CXXCPP $CPPFLAGS'
55956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55961 /* end confdefs.h. */
55962 #include <math.h>
55964 main ()
55966 ldexpf(0, 0);
55968 return 0;
55970 _ACEOF
55971 if ac_fn_cxx_try_compile "$LINENO"; then :
55972 glibcxx_cv_func_ldexpf_use=yes
55973 else
55974 glibcxx_cv_func_ldexpf_use=no
55976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55977 ac_ext=c
55978 ac_cpp='$CPP $CPPFLAGS'
55979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55988 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55990 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55991 for ac_func in ldexpf
55992 do :
55993 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55994 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55995 cat >>confdefs.h <<_ACEOF
55996 #define HAVE_LDEXPF 1
55997 _ACEOF
56000 done
56002 else
56004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56005 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56006 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56007 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56008 $as_echo_n "(cached) " >&6
56009 else
56012 ac_ext=cpp
56013 ac_cpp='$CXXCPP $CPPFLAGS'
56014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56019 /* end confdefs.h. */
56020 #include <math.h>
56022 main ()
56024 _ldexpf(0, 0);
56026 return 0;
56028 _ACEOF
56029 if ac_fn_cxx_try_compile "$LINENO"; then :
56030 glibcxx_cv_func__ldexpf_use=yes
56031 else
56032 glibcxx_cv_func__ldexpf_use=no
56034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56035 ac_ext=c
56036 ac_cpp='$CPP $CPPFLAGS'
56037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56046 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56048 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56049 for ac_func in _ldexpf
56050 do :
56051 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56052 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56053 cat >>confdefs.h <<_ACEOF
56054 #define HAVE__LDEXPF 1
56055 _ACEOF
56058 done
56067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56068 $as_echo_n "checking for logf declaration... " >&6; }
56069 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56070 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56071 $as_echo_n "(cached) " >&6
56072 else
56075 ac_ext=cpp
56076 ac_cpp='$CXXCPP $CPPFLAGS'
56077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56082 /* end confdefs.h. */
56083 #include <math.h>
56084 #ifdef HAVE_IEEEFP_H
56085 #include <ieeefp.h>
56086 #endif
56089 main ()
56091 logf(0);
56093 return 0;
56095 _ACEOF
56096 if ac_fn_cxx_try_compile "$LINENO"; then :
56097 glibcxx_cv_func_logf_use=yes
56098 else
56099 glibcxx_cv_func_logf_use=no
56101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56102 ac_ext=c
56103 ac_cpp='$CPP $CPPFLAGS'
56104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56113 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56115 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56116 for ac_func in logf
56117 do :
56118 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56119 if test "x$ac_cv_func_logf" = x""yes; then :
56120 cat >>confdefs.h <<_ACEOF
56121 #define HAVE_LOGF 1
56122 _ACEOF
56125 done
56127 else
56129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56130 $as_echo_n "checking for _logf declaration... " >&6; }
56131 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56132 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56133 $as_echo_n "(cached) " >&6
56134 else
56137 ac_ext=cpp
56138 ac_cpp='$CXXCPP $CPPFLAGS'
56139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56144 /* end confdefs.h. */
56145 #include <math.h>
56146 #ifdef HAVE_IEEEFP_H
56147 #include <ieeefp.h>
56148 #endif
56151 main ()
56153 _logf(0);
56155 return 0;
56157 _ACEOF
56158 if ac_fn_cxx_try_compile "$LINENO"; then :
56159 glibcxx_cv_func__logf_use=yes
56160 else
56161 glibcxx_cv_func__logf_use=no
56163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56164 ac_ext=c
56165 ac_cpp='$CPP $CPPFLAGS'
56166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56175 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56177 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56178 for ac_func in _logf
56179 do :
56180 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56181 if test "x$ac_cv_func__logf" = x""yes; then :
56182 cat >>confdefs.h <<_ACEOF
56183 #define HAVE__LOGF 1
56184 _ACEOF
56187 done
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56197 $as_echo_n "checking for log10f declaration... " >&6; }
56198 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56199 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56200 $as_echo_n "(cached) " >&6
56201 else
56204 ac_ext=cpp
56205 ac_cpp='$CXXCPP $CPPFLAGS'
56206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56211 /* end confdefs.h. */
56212 #include <math.h>
56213 #ifdef HAVE_IEEEFP_H
56214 #include <ieeefp.h>
56215 #endif
56218 main ()
56220 log10f(0);
56222 return 0;
56224 _ACEOF
56225 if ac_fn_cxx_try_compile "$LINENO"; then :
56226 glibcxx_cv_func_log10f_use=yes
56227 else
56228 glibcxx_cv_func_log10f_use=no
56230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56231 ac_ext=c
56232 ac_cpp='$CPP $CPPFLAGS'
56233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56242 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56244 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56245 for ac_func in log10f
56246 do :
56247 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56248 if test "x$ac_cv_func_log10f" = x""yes; then :
56249 cat >>confdefs.h <<_ACEOF
56250 #define HAVE_LOG10F 1
56251 _ACEOF
56254 done
56256 else
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56259 $as_echo_n "checking for _log10f declaration... " >&6; }
56260 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56261 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56262 $as_echo_n "(cached) " >&6
56263 else
56266 ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h. */
56274 #include <math.h>
56275 #ifdef HAVE_IEEEFP_H
56276 #include <ieeefp.h>
56277 #endif
56280 main ()
56282 _log10f(0);
56284 return 0;
56286 _ACEOF
56287 if ac_fn_cxx_try_compile "$LINENO"; then :
56288 glibcxx_cv_func__log10f_use=yes
56289 else
56290 glibcxx_cv_func__log10f_use=no
56292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56293 ac_ext=c
56294 ac_cpp='$CPP $CPPFLAGS'
56295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56304 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56306 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56307 for ac_func in _log10f
56308 do :
56309 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56310 if test "x$ac_cv_func__log10f" = x""yes; then :
56311 cat >>confdefs.h <<_ACEOF
56312 #define HAVE__LOG10F 1
56313 _ACEOF
56316 done
56325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56326 $as_echo_n "checking for modff declaration... " >&6; }
56327 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56328 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56329 $as_echo_n "(cached) " >&6
56330 else
56333 ac_ext=cpp
56334 ac_cpp='$CXXCPP $CPPFLAGS'
56335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56340 /* end confdefs.h. */
56341 #include <math.h>
56343 main ()
56345 modff(0, 0);
56347 return 0;
56349 _ACEOF
56350 if ac_fn_cxx_try_compile "$LINENO"; then :
56351 glibcxx_cv_func_modff_use=yes
56352 else
56353 glibcxx_cv_func_modff_use=no
56355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56356 ac_ext=c
56357 ac_cpp='$CPP $CPPFLAGS'
56358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56367 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56369 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56370 for ac_func in modff
56371 do :
56372 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56373 if test "x$ac_cv_func_modff" = x""yes; then :
56374 cat >>confdefs.h <<_ACEOF
56375 #define HAVE_MODFF 1
56376 _ACEOF
56379 done
56381 else
56383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56384 $as_echo_n "checking for _modff declaration... " >&6; }
56385 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56386 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56387 $as_echo_n "(cached) " >&6
56388 else
56391 ac_ext=cpp
56392 ac_cpp='$CXXCPP $CPPFLAGS'
56393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56398 /* end confdefs.h. */
56399 #include <math.h>
56401 main ()
56403 _modff(0, 0);
56405 return 0;
56407 _ACEOF
56408 if ac_fn_cxx_try_compile "$LINENO"; then :
56409 glibcxx_cv_func__modff_use=yes
56410 else
56411 glibcxx_cv_func__modff_use=no
56413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56414 ac_ext=c
56415 ac_cpp='$CPP $CPPFLAGS'
56416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56425 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56427 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56428 for ac_func in _modff
56429 do :
56430 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56431 if test "x$ac_cv_func__modff" = x""yes; then :
56432 cat >>confdefs.h <<_ACEOF
56433 #define HAVE__MODFF 1
56434 _ACEOF
56437 done
56446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56447 $as_echo_n "checking for modf declaration... " >&6; }
56448 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56449 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56450 $as_echo_n "(cached) " >&6
56451 else
56454 ac_ext=cpp
56455 ac_cpp='$CXXCPP $CPPFLAGS'
56456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56461 /* end confdefs.h. */
56462 #include <math.h>
56464 main ()
56466 modf(0, 0);
56468 return 0;
56470 _ACEOF
56471 if ac_fn_cxx_try_compile "$LINENO"; then :
56472 glibcxx_cv_func_modf_use=yes
56473 else
56474 glibcxx_cv_func_modf_use=no
56476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56477 ac_ext=c
56478 ac_cpp='$CPP $CPPFLAGS'
56479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56488 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56490 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56491 for ac_func in modf
56492 do :
56493 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56494 if test "x$ac_cv_func_modf" = x""yes; then :
56495 cat >>confdefs.h <<_ACEOF
56496 #define HAVE_MODF 1
56497 _ACEOF
56500 done
56502 else
56504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56505 $as_echo_n "checking for _modf declaration... " >&6; }
56506 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56507 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56508 $as_echo_n "(cached) " >&6
56509 else
56512 ac_ext=cpp
56513 ac_cpp='$CXXCPP $CPPFLAGS'
56514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56519 /* end confdefs.h. */
56520 #include <math.h>
56522 main ()
56524 _modf(0, 0);
56526 return 0;
56528 _ACEOF
56529 if ac_fn_cxx_try_compile "$LINENO"; then :
56530 glibcxx_cv_func__modf_use=yes
56531 else
56532 glibcxx_cv_func__modf_use=no
56534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56535 ac_ext=c
56536 ac_cpp='$CPP $CPPFLAGS'
56537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56546 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56548 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56549 for ac_func in _modf
56550 do :
56551 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56552 if test "x$ac_cv_func__modf" = x""yes; then :
56553 cat >>confdefs.h <<_ACEOF
56554 #define HAVE__MODF 1
56555 _ACEOF
56558 done
56567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56568 $as_echo_n "checking for powf declaration... " >&6; }
56569 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56570 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56571 $as_echo_n "(cached) " >&6
56572 else
56575 ac_ext=cpp
56576 ac_cpp='$CXXCPP $CPPFLAGS'
56577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56582 /* end confdefs.h. */
56583 #include <math.h>
56585 main ()
56587 powf(0, 0);
56589 return 0;
56591 _ACEOF
56592 if ac_fn_cxx_try_compile "$LINENO"; then :
56593 glibcxx_cv_func_powf_use=yes
56594 else
56595 glibcxx_cv_func_powf_use=no
56597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56598 ac_ext=c
56599 ac_cpp='$CPP $CPPFLAGS'
56600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56609 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56611 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56612 for ac_func in powf
56613 do :
56614 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56615 if test "x$ac_cv_func_powf" = x""yes; then :
56616 cat >>confdefs.h <<_ACEOF
56617 #define HAVE_POWF 1
56618 _ACEOF
56621 done
56623 else
56625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56626 $as_echo_n "checking for _powf declaration... " >&6; }
56627 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56628 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56629 $as_echo_n "(cached) " >&6
56630 else
56633 ac_ext=cpp
56634 ac_cpp='$CXXCPP $CPPFLAGS'
56635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56640 /* end confdefs.h. */
56641 #include <math.h>
56643 main ()
56645 _powf(0, 0);
56647 return 0;
56649 _ACEOF
56650 if ac_fn_cxx_try_compile "$LINENO"; then :
56651 glibcxx_cv_func__powf_use=yes
56652 else
56653 glibcxx_cv_func__powf_use=no
56655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56656 ac_ext=c
56657 ac_cpp='$CPP $CPPFLAGS'
56658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56667 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56669 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56670 for ac_func in _powf
56671 do :
56672 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56673 if test "x$ac_cv_func__powf" = x""yes; then :
56674 cat >>confdefs.h <<_ACEOF
56675 #define HAVE__POWF 1
56676 _ACEOF
56679 done
56688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56689 $as_echo_n "checking for sqrtf declaration... " >&6; }
56690 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56691 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56692 $as_echo_n "(cached) " >&6
56693 else
56696 ac_ext=cpp
56697 ac_cpp='$CXXCPP $CPPFLAGS'
56698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56703 /* end confdefs.h. */
56704 #include <math.h>
56705 #ifdef HAVE_IEEEFP_H
56706 #include <ieeefp.h>
56707 #endif
56710 main ()
56712 sqrtf(0);
56714 return 0;
56716 _ACEOF
56717 if ac_fn_cxx_try_compile "$LINENO"; then :
56718 glibcxx_cv_func_sqrtf_use=yes
56719 else
56720 glibcxx_cv_func_sqrtf_use=no
56722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56723 ac_ext=c
56724 ac_cpp='$CPP $CPPFLAGS'
56725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56734 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56736 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56737 for ac_func in sqrtf
56738 do :
56739 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56740 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56741 cat >>confdefs.h <<_ACEOF
56742 #define HAVE_SQRTF 1
56743 _ACEOF
56746 done
56748 else
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56751 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56752 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56753 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56754 $as_echo_n "(cached) " >&6
56755 else
56758 ac_ext=cpp
56759 ac_cpp='$CXXCPP $CPPFLAGS'
56760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56765 /* end confdefs.h. */
56766 #include <math.h>
56767 #ifdef HAVE_IEEEFP_H
56768 #include <ieeefp.h>
56769 #endif
56772 main ()
56774 _sqrtf(0);
56776 return 0;
56778 _ACEOF
56779 if ac_fn_cxx_try_compile "$LINENO"; then :
56780 glibcxx_cv_func__sqrtf_use=yes
56781 else
56782 glibcxx_cv_func__sqrtf_use=no
56784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56785 ac_ext=c
56786 ac_cpp='$CPP $CPPFLAGS'
56787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56796 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56798 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56799 for ac_func in _sqrtf
56800 do :
56801 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56802 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56803 cat >>confdefs.h <<_ACEOF
56804 #define HAVE__SQRTF 1
56805 _ACEOF
56808 done
56817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56818 $as_echo_n "checking for sincosf declaration... " >&6; }
56819 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56820 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56821 $as_echo_n "(cached) " >&6
56822 else
56825 ac_ext=cpp
56826 ac_cpp='$CXXCPP $CPPFLAGS'
56827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56832 /* end confdefs.h. */
56833 #include <math.h>
56835 main ()
56837 sincosf(0, 0, 0);
56839 return 0;
56841 _ACEOF
56842 if ac_fn_cxx_try_compile "$LINENO"; then :
56843 glibcxx_cv_func_sincosf_use=yes
56844 else
56845 glibcxx_cv_func_sincosf_use=no
56847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56848 ac_ext=c
56849 ac_cpp='$CPP $CPPFLAGS'
56850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56859 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56861 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56862 for ac_func in sincosf
56863 do :
56864 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56865 if test "x$ac_cv_func_sincosf" = x""yes; then :
56866 cat >>confdefs.h <<_ACEOF
56867 #define HAVE_SINCOSF 1
56868 _ACEOF
56871 done
56873 else
56875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56876 $as_echo_n "checking for _sincosf declaration... " >&6; }
56877 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56878 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56879 $as_echo_n "(cached) " >&6
56880 else
56883 ac_ext=cpp
56884 ac_cpp='$CXXCPP $CPPFLAGS'
56885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56890 /* end confdefs.h. */
56891 #include <math.h>
56893 main ()
56895 _sincosf(0, 0, 0);
56897 return 0;
56899 _ACEOF
56900 if ac_fn_cxx_try_compile "$LINENO"; then :
56901 glibcxx_cv_func__sincosf_use=yes
56902 else
56903 glibcxx_cv_func__sincosf_use=no
56905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56906 ac_ext=c
56907 ac_cpp='$CPP $CPPFLAGS'
56908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56917 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56919 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56920 for ac_func in _sincosf
56921 do :
56922 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56923 if test "x$ac_cv_func__sincosf" = x""yes; then :
56924 cat >>confdefs.h <<_ACEOF
56925 #define HAVE__SINCOSF 1
56926 _ACEOF
56929 done
56938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56939 $as_echo_n "checking for finitef declaration... " >&6; }
56940 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56941 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56942 $as_echo_n "(cached) " >&6
56943 else
56946 ac_ext=cpp
56947 ac_cpp='$CXXCPP $CPPFLAGS'
56948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56953 /* end confdefs.h. */
56954 #include <math.h>
56955 #ifdef HAVE_IEEEFP_H
56956 #include <ieeefp.h>
56957 #endif
56960 main ()
56962 finitef(0);
56964 return 0;
56966 _ACEOF
56967 if ac_fn_cxx_try_compile "$LINENO"; then :
56968 glibcxx_cv_func_finitef_use=yes
56969 else
56970 glibcxx_cv_func_finitef_use=no
56972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56973 ac_ext=c
56974 ac_cpp='$CPP $CPPFLAGS'
56975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56984 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56986 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56987 for ac_func in finitef
56988 do :
56989 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56990 if test "x$ac_cv_func_finitef" = x""yes; then :
56991 cat >>confdefs.h <<_ACEOF
56992 #define HAVE_FINITEF 1
56993 _ACEOF
56996 done
56998 else
57000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57001 $as_echo_n "checking for _finitef declaration... " >&6; }
57002 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57003 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
57004 $as_echo_n "(cached) " >&6
57005 else
57008 ac_ext=cpp
57009 ac_cpp='$CXXCPP $CPPFLAGS'
57010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57015 /* end confdefs.h. */
57016 #include <math.h>
57017 #ifdef HAVE_IEEEFP_H
57018 #include <ieeefp.h>
57019 #endif
57022 main ()
57024 _finitef(0);
57026 return 0;
57028 _ACEOF
57029 if ac_fn_cxx_try_compile "$LINENO"; then :
57030 glibcxx_cv_func__finitef_use=yes
57031 else
57032 glibcxx_cv_func__finitef_use=no
57034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57035 ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57046 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57048 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57049 for ac_func in _finitef
57050 do :
57051 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57052 if test "x$ac_cv_func__finitef" = x""yes; then :
57053 cat >>confdefs.h <<_ACEOF
57054 #define HAVE__FINITEF 1
57055 _ACEOF
57058 done
57067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57068 $as_echo_n "checking for long double trig functions... " >&6; }
57069 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57070 $as_echo_n "(cached) " >&6
57071 else
57074 ac_ext=cpp
57075 ac_cpp='$CXXCPP $CPPFLAGS'
57076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57081 /* end confdefs.h. */
57082 #include <math.h>
57084 main ()
57086 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57088 return 0;
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092 glibcxx_cv_func_long_double_trig_use=yes
57093 else
57094 glibcxx_cv_func_long_double_trig_use=no
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097 ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57106 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57107 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57108 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57109 do :
57110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57112 eval as_val=\$$as_ac_var
57113 if test "x$as_val" = x""yes; then :
57114 cat >>confdefs.h <<_ACEOF
57115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57116 _ACEOF
57119 done
57121 else
57122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57123 $as_echo_n "checking for _long double trig functions... " >&6; }
57124 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57125 $as_echo_n "(cached) " >&6
57126 else
57129 ac_ext=cpp
57130 ac_cpp='$CXXCPP $CPPFLAGS'
57131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57136 /* end confdefs.h. */
57137 #include <math.h>
57139 main ()
57141 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57143 return 0;
57145 _ACEOF
57146 if ac_fn_cxx_try_compile "$LINENO"; then :
57147 glibcxx_cv_func__long_double_trig_use=yes
57148 else
57149 glibcxx_cv_func__long_double_trig_use=no
57151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57152 ac_ext=c
57153 ac_cpp='$CPP $CPPFLAGS'
57154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57161 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57162 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57163 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57164 do :
57165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57167 eval as_val=\$$as_ac_var
57168 if test "x$as_val" = x""yes; then :
57169 cat >>confdefs.h <<_ACEOF
57170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57171 _ACEOF
57174 done
57183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57184 $as_echo_n "checking for long double round functions... " >&6; }
57185 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57186 $as_echo_n "(cached) " >&6
57187 else
57190 ac_ext=cpp
57191 ac_cpp='$CXXCPP $CPPFLAGS'
57192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57197 /* end confdefs.h. */
57198 #include <math.h>
57200 main ()
57202 ceill (0); floorl (0);
57204 return 0;
57206 _ACEOF
57207 if ac_fn_cxx_try_compile "$LINENO"; then :
57208 glibcxx_cv_func_long_double_round_use=yes
57209 else
57210 glibcxx_cv_func_long_double_round_use=no
57212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57213 ac_ext=c
57214 ac_cpp='$CPP $CPPFLAGS'
57215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57222 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57223 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57224 for ac_func in ceill floorl
57225 do :
57226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57228 eval as_val=\$$as_ac_var
57229 if test "x$as_val" = x""yes; then :
57230 cat >>confdefs.h <<_ACEOF
57231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57232 _ACEOF
57235 done
57237 else
57238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57239 $as_echo_n "checking for _long double round functions... " >&6; }
57240 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57241 $as_echo_n "(cached) " >&6
57242 else
57245 ac_ext=cpp
57246 ac_cpp='$CXXCPP $CPPFLAGS'
57247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57252 /* end confdefs.h. */
57253 #include <math.h>
57255 main ()
57257 _ceill (0); _floorl (0);
57259 return 0;
57261 _ACEOF
57262 if ac_fn_cxx_try_compile "$LINENO"; then :
57263 glibcxx_cv_func__long_double_round_use=yes
57264 else
57265 glibcxx_cv_func__long_double_round_use=no
57267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57268 ac_ext=c
57269 ac_cpp='$CPP $CPPFLAGS'
57270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57277 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57278 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57279 for ac_func in _ceill _floorl
57280 do :
57281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57283 eval as_val=\$$as_ac_var
57284 if test "x$as_val" = x""yes; then :
57285 cat >>confdefs.h <<_ACEOF
57286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57287 _ACEOF
57290 done
57300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57301 $as_echo_n "checking for isnanl declaration... " >&6; }
57302 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57303 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57304 $as_echo_n "(cached) " >&6
57305 else
57308 ac_ext=cpp
57309 ac_cpp='$CXXCPP $CPPFLAGS'
57310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57315 /* end confdefs.h. */
57316 #include <math.h>
57317 #ifdef HAVE_IEEEFP_H
57318 #include <ieeefp.h>
57319 #endif
57322 main ()
57324 isnanl(0);
57326 return 0;
57328 _ACEOF
57329 if ac_fn_cxx_try_compile "$LINENO"; then :
57330 glibcxx_cv_func_isnanl_use=yes
57331 else
57332 glibcxx_cv_func_isnanl_use=no
57334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57335 ac_ext=c
57336 ac_cpp='$CPP $CPPFLAGS'
57337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57346 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57348 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57349 for ac_func in isnanl
57350 do :
57351 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57352 if test "x$ac_cv_func_isnanl" = x""yes; then :
57353 cat >>confdefs.h <<_ACEOF
57354 #define HAVE_ISNANL 1
57355 _ACEOF
57358 done
57360 else
57362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57363 $as_echo_n "checking for _isnanl declaration... " >&6; }
57364 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57365 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57366 $as_echo_n "(cached) " >&6
57367 else
57370 ac_ext=cpp
57371 ac_cpp='$CXXCPP $CPPFLAGS'
57372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57377 /* end confdefs.h. */
57378 #include <math.h>
57379 #ifdef HAVE_IEEEFP_H
57380 #include <ieeefp.h>
57381 #endif
57384 main ()
57386 _isnanl(0);
57388 return 0;
57390 _ACEOF
57391 if ac_fn_cxx_try_compile "$LINENO"; then :
57392 glibcxx_cv_func__isnanl_use=yes
57393 else
57394 glibcxx_cv_func__isnanl_use=no
57396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57397 ac_ext=c
57398 ac_cpp='$CPP $CPPFLAGS'
57399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57408 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57410 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57411 for ac_func in _isnanl
57412 do :
57413 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57414 if test "x$ac_cv_func__isnanl" = x""yes; then :
57415 cat >>confdefs.h <<_ACEOF
57416 #define HAVE__ISNANL 1
57417 _ACEOF
57420 done
57429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57430 $as_echo_n "checking for isinfl declaration... " >&6; }
57431 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57432 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57433 $as_echo_n "(cached) " >&6
57434 else
57437 ac_ext=cpp
57438 ac_cpp='$CXXCPP $CPPFLAGS'
57439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57444 /* end confdefs.h. */
57445 #include <math.h>
57446 #ifdef HAVE_IEEEFP_H
57447 #include <ieeefp.h>
57448 #endif
57451 main ()
57453 isinfl(0);
57455 return 0;
57457 _ACEOF
57458 if ac_fn_cxx_try_compile "$LINENO"; then :
57459 glibcxx_cv_func_isinfl_use=yes
57460 else
57461 glibcxx_cv_func_isinfl_use=no
57463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57464 ac_ext=c
57465 ac_cpp='$CPP $CPPFLAGS'
57466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57475 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57477 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57478 for ac_func in isinfl
57479 do :
57480 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57481 if test "x$ac_cv_func_isinfl" = x""yes; then :
57482 cat >>confdefs.h <<_ACEOF
57483 #define HAVE_ISINFL 1
57484 _ACEOF
57487 done
57489 else
57491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57492 $as_echo_n "checking for _isinfl declaration... " >&6; }
57493 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57494 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57495 $as_echo_n "(cached) " >&6
57496 else
57499 ac_ext=cpp
57500 ac_cpp='$CXXCPP $CPPFLAGS'
57501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57506 /* end confdefs.h. */
57507 #include <math.h>
57508 #ifdef HAVE_IEEEFP_H
57509 #include <ieeefp.h>
57510 #endif
57513 main ()
57515 _isinfl(0);
57517 return 0;
57519 _ACEOF
57520 if ac_fn_cxx_try_compile "$LINENO"; then :
57521 glibcxx_cv_func__isinfl_use=yes
57522 else
57523 glibcxx_cv_func__isinfl_use=no
57525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57526 ac_ext=c
57527 ac_cpp='$CPP $CPPFLAGS'
57528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57537 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57539 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57540 for ac_func in _isinfl
57541 do :
57542 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57543 if test "x$ac_cv_func__isinfl" = x""yes; then :
57544 cat >>confdefs.h <<_ACEOF
57545 #define HAVE__ISINFL 1
57546 _ACEOF
57549 done
57558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57559 $as_echo_n "checking for atan2l declaration... " >&6; }
57560 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57561 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57562 $as_echo_n "(cached) " >&6
57563 else
57566 ac_ext=cpp
57567 ac_cpp='$CXXCPP $CPPFLAGS'
57568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57573 /* end confdefs.h. */
57574 #include <math.h>
57576 main ()
57578 atan2l(0, 0);
57580 return 0;
57582 _ACEOF
57583 if ac_fn_cxx_try_compile "$LINENO"; then :
57584 glibcxx_cv_func_atan2l_use=yes
57585 else
57586 glibcxx_cv_func_atan2l_use=no
57588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57589 ac_ext=c
57590 ac_cpp='$CPP $CPPFLAGS'
57591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57600 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57602 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57603 for ac_func in atan2l
57604 do :
57605 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57606 if test "x$ac_cv_func_atan2l" = x""yes; then :
57607 cat >>confdefs.h <<_ACEOF
57608 #define HAVE_ATAN2L 1
57609 _ACEOF
57612 done
57614 else
57616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57617 $as_echo_n "checking for _atan2l declaration... " >&6; }
57618 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57619 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57620 $as_echo_n "(cached) " >&6
57621 else
57624 ac_ext=cpp
57625 ac_cpp='$CXXCPP $CPPFLAGS'
57626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57631 /* end confdefs.h. */
57632 #include <math.h>
57634 main ()
57636 _atan2l(0, 0);
57638 return 0;
57640 _ACEOF
57641 if ac_fn_cxx_try_compile "$LINENO"; then :
57642 glibcxx_cv_func__atan2l_use=yes
57643 else
57644 glibcxx_cv_func__atan2l_use=no
57646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57647 ac_ext=c
57648 ac_cpp='$CPP $CPPFLAGS'
57649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57658 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57660 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57661 for ac_func in _atan2l
57662 do :
57663 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57664 if test "x$ac_cv_func__atan2l" = x""yes; then :
57665 cat >>confdefs.h <<_ACEOF
57666 #define HAVE__ATAN2L 1
57667 _ACEOF
57670 done
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57680 $as_echo_n "checking for expl declaration... " >&6; }
57681 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57682 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57683 $as_echo_n "(cached) " >&6
57684 else
57687 ac_ext=cpp
57688 ac_cpp='$CXXCPP $CPPFLAGS'
57689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57694 /* end confdefs.h. */
57695 #include <math.h>
57696 #ifdef HAVE_IEEEFP_H
57697 #include <ieeefp.h>
57698 #endif
57701 main ()
57703 expl(0);
57705 return 0;
57707 _ACEOF
57708 if ac_fn_cxx_try_compile "$LINENO"; then :
57709 glibcxx_cv_func_expl_use=yes
57710 else
57711 glibcxx_cv_func_expl_use=no
57713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57714 ac_ext=c
57715 ac_cpp='$CPP $CPPFLAGS'
57716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57725 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57727 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57728 for ac_func in expl
57729 do :
57730 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57731 if test "x$ac_cv_func_expl" = x""yes; then :
57732 cat >>confdefs.h <<_ACEOF
57733 #define HAVE_EXPL 1
57734 _ACEOF
57737 done
57739 else
57741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57742 $as_echo_n "checking for _expl declaration... " >&6; }
57743 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57744 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57749 ac_ext=cpp
57750 ac_cpp='$CXXCPP $CPPFLAGS'
57751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57756 /* end confdefs.h. */
57757 #include <math.h>
57758 #ifdef HAVE_IEEEFP_H
57759 #include <ieeefp.h>
57760 #endif
57763 main ()
57765 _expl(0);
57767 return 0;
57769 _ACEOF
57770 if ac_fn_cxx_try_compile "$LINENO"; then :
57771 glibcxx_cv_func__expl_use=yes
57772 else
57773 glibcxx_cv_func__expl_use=no
57775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57776 ac_ext=c
57777 ac_cpp='$CPP $CPPFLAGS'
57778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57787 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57789 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57790 for ac_func in _expl
57791 do :
57792 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57793 if test "x$ac_cv_func__expl" = x""yes; then :
57794 cat >>confdefs.h <<_ACEOF
57795 #define HAVE__EXPL 1
57796 _ACEOF
57799 done
57808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57809 $as_echo_n "checking for fabsl declaration... " >&6; }
57810 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57811 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57812 $as_echo_n "(cached) " >&6
57813 else
57816 ac_ext=cpp
57817 ac_cpp='$CXXCPP $CPPFLAGS'
57818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57823 /* end confdefs.h. */
57824 #include <math.h>
57825 #ifdef HAVE_IEEEFP_H
57826 #include <ieeefp.h>
57827 #endif
57830 main ()
57832 fabsl(0);
57834 return 0;
57836 _ACEOF
57837 if ac_fn_cxx_try_compile "$LINENO"; then :
57838 glibcxx_cv_func_fabsl_use=yes
57839 else
57840 glibcxx_cv_func_fabsl_use=no
57842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57843 ac_ext=c
57844 ac_cpp='$CPP $CPPFLAGS'
57845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57854 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57856 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57857 for ac_func in fabsl
57858 do :
57859 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57860 if test "x$ac_cv_func_fabsl" = x""yes; then :
57861 cat >>confdefs.h <<_ACEOF
57862 #define HAVE_FABSL 1
57863 _ACEOF
57866 done
57868 else
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57871 $as_echo_n "checking for _fabsl declaration... " >&6; }
57872 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57873 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57874 $as_echo_n "(cached) " >&6
57875 else
57878 ac_ext=cpp
57879 ac_cpp='$CXXCPP $CPPFLAGS'
57880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57885 /* end confdefs.h. */
57886 #include <math.h>
57887 #ifdef HAVE_IEEEFP_H
57888 #include <ieeefp.h>
57889 #endif
57892 main ()
57894 _fabsl(0);
57896 return 0;
57898 _ACEOF
57899 if ac_fn_cxx_try_compile "$LINENO"; then :
57900 glibcxx_cv_func__fabsl_use=yes
57901 else
57902 glibcxx_cv_func__fabsl_use=no
57904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57905 ac_ext=c
57906 ac_cpp='$CPP $CPPFLAGS'
57907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57916 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57918 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57919 for ac_func in _fabsl
57920 do :
57921 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57922 if test "x$ac_cv_func__fabsl" = x""yes; then :
57923 cat >>confdefs.h <<_ACEOF
57924 #define HAVE__FABSL 1
57925 _ACEOF
57928 done
57937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57938 $as_echo_n "checking for fmodl declaration... " >&6; }
57939 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57940 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57941 $as_echo_n "(cached) " >&6
57942 else
57945 ac_ext=cpp
57946 ac_cpp='$CXXCPP $CPPFLAGS'
57947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57952 /* end confdefs.h. */
57953 #include <math.h>
57955 main ()
57957 fmodl(0, 0);
57959 return 0;
57961 _ACEOF
57962 if ac_fn_cxx_try_compile "$LINENO"; then :
57963 glibcxx_cv_func_fmodl_use=yes
57964 else
57965 glibcxx_cv_func_fmodl_use=no
57967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57968 ac_ext=c
57969 ac_cpp='$CPP $CPPFLAGS'
57970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57979 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57981 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57982 for ac_func in fmodl
57983 do :
57984 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57985 if test "x$ac_cv_func_fmodl" = x""yes; then :
57986 cat >>confdefs.h <<_ACEOF
57987 #define HAVE_FMODL 1
57988 _ACEOF
57991 done
57993 else
57995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57996 $as_echo_n "checking for _fmodl declaration... " >&6; }
57997 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57998 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57999 $as_echo_n "(cached) " >&6
58000 else
58003 ac_ext=cpp
58004 ac_cpp='$CXXCPP $CPPFLAGS'
58005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58010 /* end confdefs.h. */
58011 #include <math.h>
58013 main ()
58015 _fmodl(0, 0);
58017 return 0;
58019 _ACEOF
58020 if ac_fn_cxx_try_compile "$LINENO"; then :
58021 glibcxx_cv_func__fmodl_use=yes
58022 else
58023 glibcxx_cv_func__fmodl_use=no
58025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58026 ac_ext=c
58027 ac_cpp='$CPP $CPPFLAGS'
58028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58037 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58039 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58040 for ac_func in _fmodl
58041 do :
58042 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58043 if test "x$ac_cv_func__fmodl" = x""yes; then :
58044 cat >>confdefs.h <<_ACEOF
58045 #define HAVE__FMODL 1
58046 _ACEOF
58049 done
58058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58059 $as_echo_n "checking for frexpl declaration... " >&6; }
58060 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58061 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58062 $as_echo_n "(cached) " >&6
58063 else
58066 ac_ext=cpp
58067 ac_cpp='$CXXCPP $CPPFLAGS'
58068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58073 /* end confdefs.h. */
58074 #include <math.h>
58076 main ()
58078 frexpl(0, 0);
58080 return 0;
58082 _ACEOF
58083 if ac_fn_cxx_try_compile "$LINENO"; then :
58084 glibcxx_cv_func_frexpl_use=yes
58085 else
58086 glibcxx_cv_func_frexpl_use=no
58088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58089 ac_ext=c
58090 ac_cpp='$CPP $CPPFLAGS'
58091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58100 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58102 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58103 for ac_func in frexpl
58104 do :
58105 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58106 if test "x$ac_cv_func_frexpl" = x""yes; then :
58107 cat >>confdefs.h <<_ACEOF
58108 #define HAVE_FREXPL 1
58109 _ACEOF
58112 done
58114 else
58116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58117 $as_echo_n "checking for _frexpl declaration... " >&6; }
58118 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58119 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58120 $as_echo_n "(cached) " >&6
58121 else
58124 ac_ext=cpp
58125 ac_cpp='$CXXCPP $CPPFLAGS'
58126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58131 /* end confdefs.h. */
58132 #include <math.h>
58134 main ()
58136 _frexpl(0, 0);
58138 return 0;
58140 _ACEOF
58141 if ac_fn_cxx_try_compile "$LINENO"; then :
58142 glibcxx_cv_func__frexpl_use=yes
58143 else
58144 glibcxx_cv_func__frexpl_use=no
58146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58147 ac_ext=c
58148 ac_cpp='$CPP $CPPFLAGS'
58149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58158 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58160 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58161 for ac_func in _frexpl
58162 do :
58163 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58164 if test "x$ac_cv_func__frexpl" = x""yes; then :
58165 cat >>confdefs.h <<_ACEOF
58166 #define HAVE__FREXPL 1
58167 _ACEOF
58170 done
58179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58180 $as_echo_n "checking for hypotl declaration... " >&6; }
58181 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58182 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58183 $as_echo_n "(cached) " >&6
58184 else
58187 ac_ext=cpp
58188 ac_cpp='$CXXCPP $CPPFLAGS'
58189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58194 /* end confdefs.h. */
58195 #include <math.h>
58197 main ()
58199 hypotl(0, 0);
58201 return 0;
58203 _ACEOF
58204 if ac_fn_cxx_try_compile "$LINENO"; then :
58205 glibcxx_cv_func_hypotl_use=yes
58206 else
58207 glibcxx_cv_func_hypotl_use=no
58209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58210 ac_ext=c
58211 ac_cpp='$CPP $CPPFLAGS'
58212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58221 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58223 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58224 for ac_func in hypotl
58225 do :
58226 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58227 if test "x$ac_cv_func_hypotl" = x""yes; then :
58228 cat >>confdefs.h <<_ACEOF
58229 #define HAVE_HYPOTL 1
58230 _ACEOF
58233 done
58235 else
58237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58238 $as_echo_n "checking for _hypotl declaration... " >&6; }
58239 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58240 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58241 $as_echo_n "(cached) " >&6
58242 else
58245 ac_ext=cpp
58246 ac_cpp='$CXXCPP $CPPFLAGS'
58247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58252 /* end confdefs.h. */
58253 #include <math.h>
58255 main ()
58257 _hypotl(0, 0);
58259 return 0;
58261 _ACEOF
58262 if ac_fn_cxx_try_compile "$LINENO"; then :
58263 glibcxx_cv_func__hypotl_use=yes
58264 else
58265 glibcxx_cv_func__hypotl_use=no
58267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58268 ac_ext=c
58269 ac_cpp='$CPP $CPPFLAGS'
58270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58279 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58281 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58282 for ac_func in _hypotl
58283 do :
58284 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58285 if test "x$ac_cv_func__hypotl" = x""yes; then :
58286 cat >>confdefs.h <<_ACEOF
58287 #define HAVE__HYPOTL 1
58288 _ACEOF
58291 done
58300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58301 $as_echo_n "checking for ldexpl declaration... " >&6; }
58302 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58303 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58304 $as_echo_n "(cached) " >&6
58305 else
58308 ac_ext=cpp
58309 ac_cpp='$CXXCPP $CPPFLAGS'
58310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58315 /* end confdefs.h. */
58316 #include <math.h>
58318 main ()
58320 ldexpl(0, 0);
58322 return 0;
58324 _ACEOF
58325 if ac_fn_cxx_try_compile "$LINENO"; then :
58326 glibcxx_cv_func_ldexpl_use=yes
58327 else
58328 glibcxx_cv_func_ldexpl_use=no
58330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58331 ac_ext=c
58332 ac_cpp='$CPP $CPPFLAGS'
58333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58342 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58344 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58345 for ac_func in ldexpl
58346 do :
58347 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58348 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58349 cat >>confdefs.h <<_ACEOF
58350 #define HAVE_LDEXPL 1
58351 _ACEOF
58354 done
58356 else
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58359 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58360 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58361 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <math.h>
58376 main ()
58378 _ldexpl(0, 0);
58380 return 0;
58382 _ACEOF
58383 if ac_fn_cxx_try_compile "$LINENO"; then :
58384 glibcxx_cv_func__ldexpl_use=yes
58385 else
58386 glibcxx_cv_func__ldexpl_use=no
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 ac_ext=c
58390 ac_cpp='$CPP $CPPFLAGS'
58391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58400 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58402 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58403 for ac_func in _ldexpl
58404 do :
58405 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58406 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58407 cat >>confdefs.h <<_ACEOF
58408 #define HAVE__LDEXPL 1
58409 _ACEOF
58412 done
58421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58422 $as_echo_n "checking for logl declaration... " >&6; }
58423 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58424 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58425 $as_echo_n "(cached) " >&6
58426 else
58429 ac_ext=cpp
58430 ac_cpp='$CXXCPP $CPPFLAGS'
58431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58436 /* end confdefs.h. */
58437 #include <math.h>
58438 #ifdef HAVE_IEEEFP_H
58439 #include <ieeefp.h>
58440 #endif
58443 main ()
58445 logl(0);
58447 return 0;
58449 _ACEOF
58450 if ac_fn_cxx_try_compile "$LINENO"; then :
58451 glibcxx_cv_func_logl_use=yes
58452 else
58453 glibcxx_cv_func_logl_use=no
58455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58456 ac_ext=c
58457 ac_cpp='$CPP $CPPFLAGS'
58458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58467 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58469 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58470 for ac_func in logl
58471 do :
58472 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58473 if test "x$ac_cv_func_logl" = x""yes; then :
58474 cat >>confdefs.h <<_ACEOF
58475 #define HAVE_LOGL 1
58476 _ACEOF
58479 done
58481 else
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58484 $as_echo_n "checking for _logl declaration... " >&6; }
58485 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58486 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58487 $as_echo_n "(cached) " >&6
58488 else
58491 ac_ext=cpp
58492 ac_cpp='$CXXCPP $CPPFLAGS'
58493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58498 /* end confdefs.h. */
58499 #include <math.h>
58500 #ifdef HAVE_IEEEFP_H
58501 #include <ieeefp.h>
58502 #endif
58505 main ()
58507 _logl(0);
58509 return 0;
58511 _ACEOF
58512 if ac_fn_cxx_try_compile "$LINENO"; then :
58513 glibcxx_cv_func__logl_use=yes
58514 else
58515 glibcxx_cv_func__logl_use=no
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58529 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58531 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58532 for ac_func in _logl
58533 do :
58534 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58535 if test "x$ac_cv_func__logl" = x""yes; then :
58536 cat >>confdefs.h <<_ACEOF
58537 #define HAVE__LOGL 1
58538 _ACEOF
58541 done
58550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58551 $as_echo_n "checking for log10l declaration... " >&6; }
58552 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58553 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58554 $as_echo_n "(cached) " >&6
58555 else
58558 ac_ext=cpp
58559 ac_cpp='$CXXCPP $CPPFLAGS'
58560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58565 /* end confdefs.h. */
58566 #include <math.h>
58567 #ifdef HAVE_IEEEFP_H
58568 #include <ieeefp.h>
58569 #endif
58572 main ()
58574 log10l(0);
58576 return 0;
58578 _ACEOF
58579 if ac_fn_cxx_try_compile "$LINENO"; then :
58580 glibcxx_cv_func_log10l_use=yes
58581 else
58582 glibcxx_cv_func_log10l_use=no
58584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58585 ac_ext=c
58586 ac_cpp='$CPP $CPPFLAGS'
58587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58596 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58598 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58599 for ac_func in log10l
58600 do :
58601 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58602 if test "x$ac_cv_func_log10l" = x""yes; then :
58603 cat >>confdefs.h <<_ACEOF
58604 #define HAVE_LOG10L 1
58605 _ACEOF
58608 done
58610 else
58612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58613 $as_echo_n "checking for _log10l declaration... " >&6; }
58614 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58615 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58616 $as_echo_n "(cached) " >&6
58617 else
58620 ac_ext=cpp
58621 ac_cpp='$CXXCPP $CPPFLAGS'
58622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58627 /* end confdefs.h. */
58628 #include <math.h>
58629 #ifdef HAVE_IEEEFP_H
58630 #include <ieeefp.h>
58631 #endif
58634 main ()
58636 _log10l(0);
58638 return 0;
58640 _ACEOF
58641 if ac_fn_cxx_try_compile "$LINENO"; then :
58642 glibcxx_cv_func__log10l_use=yes
58643 else
58644 glibcxx_cv_func__log10l_use=no
58646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58647 ac_ext=c
58648 ac_cpp='$CPP $CPPFLAGS'
58649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58658 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58660 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58661 for ac_func in _log10l
58662 do :
58663 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58664 if test "x$ac_cv_func__log10l" = x""yes; then :
58665 cat >>confdefs.h <<_ACEOF
58666 #define HAVE__LOG10L 1
58667 _ACEOF
58670 done
58679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58680 $as_echo_n "checking for modfl declaration... " >&6; }
58681 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58682 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58683 $as_echo_n "(cached) " >&6
58684 else
58687 ac_ext=cpp
58688 ac_cpp='$CXXCPP $CPPFLAGS'
58689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58694 /* end confdefs.h. */
58695 #include <math.h>
58697 main ()
58699 modfl(0, 0);
58701 return 0;
58703 _ACEOF
58704 if ac_fn_cxx_try_compile "$LINENO"; then :
58705 glibcxx_cv_func_modfl_use=yes
58706 else
58707 glibcxx_cv_func_modfl_use=no
58709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58710 ac_ext=c
58711 ac_cpp='$CPP $CPPFLAGS'
58712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58721 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58723 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58724 for ac_func in modfl
58725 do :
58726 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58727 if test "x$ac_cv_func_modfl" = x""yes; then :
58728 cat >>confdefs.h <<_ACEOF
58729 #define HAVE_MODFL 1
58730 _ACEOF
58733 done
58735 else
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58738 $as_echo_n "checking for _modfl declaration... " >&6; }
58739 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58740 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58741 $as_echo_n "(cached) " >&6
58742 else
58745 ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <math.h>
58755 main ()
58757 _modfl(0, 0);
58759 return 0;
58761 _ACEOF
58762 if ac_fn_cxx_try_compile "$LINENO"; then :
58763 glibcxx_cv_func__modfl_use=yes
58764 else
58765 glibcxx_cv_func__modfl_use=no
58767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58768 ac_ext=c
58769 ac_cpp='$CPP $CPPFLAGS'
58770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58779 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58781 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58782 for ac_func in _modfl
58783 do :
58784 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58785 if test "x$ac_cv_func__modfl" = x""yes; then :
58786 cat >>confdefs.h <<_ACEOF
58787 #define HAVE__MODFL 1
58788 _ACEOF
58791 done
58800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58801 $as_echo_n "checking for powl declaration... " >&6; }
58802 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58803 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58804 $as_echo_n "(cached) " >&6
58805 else
58808 ac_ext=cpp
58809 ac_cpp='$CXXCPP $CPPFLAGS'
58810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58815 /* end confdefs.h. */
58816 #include <math.h>
58818 main ()
58820 powl(0, 0);
58822 return 0;
58824 _ACEOF
58825 if ac_fn_cxx_try_compile "$LINENO"; then :
58826 glibcxx_cv_func_powl_use=yes
58827 else
58828 glibcxx_cv_func_powl_use=no
58830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58831 ac_ext=c
58832 ac_cpp='$CPP $CPPFLAGS'
58833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58842 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58844 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58845 for ac_func in powl
58846 do :
58847 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58848 if test "x$ac_cv_func_powl" = x""yes; then :
58849 cat >>confdefs.h <<_ACEOF
58850 #define HAVE_POWL 1
58851 _ACEOF
58854 done
58856 else
58858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58859 $as_echo_n "checking for _powl declaration... " >&6; }
58860 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58861 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58862 $as_echo_n "(cached) " >&6
58863 else
58866 ac_ext=cpp
58867 ac_cpp='$CXXCPP $CPPFLAGS'
58868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58873 /* end confdefs.h. */
58874 #include <math.h>
58876 main ()
58878 _powl(0, 0);
58880 return 0;
58882 _ACEOF
58883 if ac_fn_cxx_try_compile "$LINENO"; then :
58884 glibcxx_cv_func__powl_use=yes
58885 else
58886 glibcxx_cv_func__powl_use=no
58888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58889 ac_ext=c
58890 ac_cpp='$CPP $CPPFLAGS'
58891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58900 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58902 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58903 for ac_func in _powl
58904 do :
58905 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58906 if test "x$ac_cv_func__powl" = x""yes; then :
58907 cat >>confdefs.h <<_ACEOF
58908 #define HAVE__POWL 1
58909 _ACEOF
58912 done
58921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58922 $as_echo_n "checking for sqrtl declaration... " >&6; }
58923 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58924 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58925 $as_echo_n "(cached) " >&6
58926 else
58929 ac_ext=cpp
58930 ac_cpp='$CXXCPP $CPPFLAGS'
58931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58936 /* end confdefs.h. */
58937 #include <math.h>
58938 #ifdef HAVE_IEEEFP_H
58939 #include <ieeefp.h>
58940 #endif
58943 main ()
58945 sqrtl(0);
58947 return 0;
58949 _ACEOF
58950 if ac_fn_cxx_try_compile "$LINENO"; then :
58951 glibcxx_cv_func_sqrtl_use=yes
58952 else
58953 glibcxx_cv_func_sqrtl_use=no
58955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58956 ac_ext=c
58957 ac_cpp='$CPP $CPPFLAGS'
58958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58967 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58969 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58970 for ac_func in sqrtl
58971 do :
58972 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58973 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58974 cat >>confdefs.h <<_ACEOF
58975 #define HAVE_SQRTL 1
58976 _ACEOF
58979 done
58981 else
58983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58984 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58985 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58986 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58987 $as_echo_n "(cached) " >&6
58988 else
58991 ac_ext=cpp
58992 ac_cpp='$CXXCPP $CPPFLAGS'
58993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58998 /* end confdefs.h. */
58999 #include <math.h>
59000 #ifdef HAVE_IEEEFP_H
59001 #include <ieeefp.h>
59002 #endif
59005 main ()
59007 _sqrtl(0);
59009 return 0;
59011 _ACEOF
59012 if ac_fn_cxx_try_compile "$LINENO"; then :
59013 glibcxx_cv_func__sqrtl_use=yes
59014 else
59015 glibcxx_cv_func__sqrtl_use=no
59017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59018 ac_ext=c
59019 ac_cpp='$CPP $CPPFLAGS'
59020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59029 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59031 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59032 for ac_func in _sqrtl
59033 do :
59034 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59035 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59036 cat >>confdefs.h <<_ACEOF
59037 #define HAVE__SQRTL 1
59038 _ACEOF
59041 done
59050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59051 $as_echo_n "checking for sincosl declaration... " >&6; }
59052 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59053 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59054 $as_echo_n "(cached) " >&6
59055 else
59058 ac_ext=cpp
59059 ac_cpp='$CXXCPP $CPPFLAGS'
59060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59065 /* end confdefs.h. */
59066 #include <math.h>
59068 main ()
59070 sincosl(0, 0, 0);
59072 return 0;
59074 _ACEOF
59075 if ac_fn_cxx_try_compile "$LINENO"; then :
59076 glibcxx_cv_func_sincosl_use=yes
59077 else
59078 glibcxx_cv_func_sincosl_use=no
59080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59081 ac_ext=c
59082 ac_cpp='$CPP $CPPFLAGS'
59083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59092 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59094 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59095 for ac_func in sincosl
59096 do :
59097 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59098 if test "x$ac_cv_func_sincosl" = x""yes; then :
59099 cat >>confdefs.h <<_ACEOF
59100 #define HAVE_SINCOSL 1
59101 _ACEOF
59104 done
59106 else
59108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59109 $as_echo_n "checking for _sincosl declaration... " >&6; }
59110 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59111 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59112 $as_echo_n "(cached) " >&6
59113 else
59116 ac_ext=cpp
59117 ac_cpp='$CXXCPP $CPPFLAGS'
59118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59123 /* end confdefs.h. */
59124 #include <math.h>
59126 main ()
59128 _sincosl(0, 0, 0);
59130 return 0;
59132 _ACEOF
59133 if ac_fn_cxx_try_compile "$LINENO"; then :
59134 glibcxx_cv_func__sincosl_use=yes
59135 else
59136 glibcxx_cv_func__sincosl_use=no
59138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59139 ac_ext=c
59140 ac_cpp='$CPP $CPPFLAGS'
59141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59150 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59152 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59153 for ac_func in _sincosl
59154 do :
59155 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59156 if test "x$ac_cv_func__sincosl" = x""yes; then :
59157 cat >>confdefs.h <<_ACEOF
59158 #define HAVE__SINCOSL 1
59159 _ACEOF
59162 done
59171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59172 $as_echo_n "checking for finitel declaration... " >&6; }
59173 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59174 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59175 $as_echo_n "(cached) " >&6
59176 else
59179 ac_ext=cpp
59180 ac_cpp='$CXXCPP $CPPFLAGS'
59181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59186 /* end confdefs.h. */
59187 #include <math.h>
59188 #ifdef HAVE_IEEEFP_H
59189 #include <ieeefp.h>
59190 #endif
59193 main ()
59195 finitel(0);
59197 return 0;
59199 _ACEOF
59200 if ac_fn_cxx_try_compile "$LINENO"; then :
59201 glibcxx_cv_func_finitel_use=yes
59202 else
59203 glibcxx_cv_func_finitel_use=no
59205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59206 ac_ext=c
59207 ac_cpp='$CPP $CPPFLAGS'
59208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59217 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59219 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59220 for ac_func in finitel
59221 do :
59222 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59223 if test "x$ac_cv_func_finitel" = x""yes; then :
59224 cat >>confdefs.h <<_ACEOF
59225 #define HAVE_FINITEL 1
59226 _ACEOF
59229 done
59231 else
59233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59234 $as_echo_n "checking for _finitel declaration... " >&6; }
59235 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59236 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59237 $as_echo_n "(cached) " >&6
59238 else
59241 ac_ext=cpp
59242 ac_cpp='$CXXCPP $CPPFLAGS'
59243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59248 /* end confdefs.h. */
59249 #include <math.h>
59250 #ifdef HAVE_IEEEFP_H
59251 #include <ieeefp.h>
59252 #endif
59255 main ()
59257 _finitel(0);
59259 return 0;
59261 _ACEOF
59262 if ac_fn_cxx_try_compile "$LINENO"; then :
59263 glibcxx_cv_func__finitel_use=yes
59264 else
59265 glibcxx_cv_func__finitel_use=no
59267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59268 ac_ext=c
59269 ac_cpp='$CPP $CPPFLAGS'
59270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59279 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59281 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59282 for ac_func in _finitel
59283 do :
59284 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59285 if test "x$ac_cv_func__finitel" = x""yes; then :
59286 cat >>confdefs.h <<_ACEOF
59287 #define HAVE__FINITEL 1
59288 _ACEOF
59291 done
59299 LIBS="$ac_save_LIBS"
59300 CXXFLAGS="$ac_save_CXXFLAGS"
59303 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59304 ac_save_CXXFLAGS="$CXXFLAGS"
59305 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59309 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59310 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59311 if test "${glibcxx_cv_func_at_quick_exit_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 <stdlib.h>
59326 main ()
59328 at_quick_exit(0);
59330 return 0;
59332 _ACEOF
59333 if ac_fn_cxx_try_compile "$LINENO"; then :
59334 glibcxx_cv_func_at_quick_exit_use=yes
59335 else
59336 glibcxx_cv_func_at_quick_exit_use=no
59338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59339 ac_ext=c
59340 ac_cpp='$CPP $CPPFLAGS'
59341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59350 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59351 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59352 for ac_func in at_quick_exit
59353 do :
59354 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59355 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE_AT_QUICK_EXIT 1
59358 _ACEOF
59361 done
59366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59367 $as_echo_n "checking for quick_exit declaration... " >&6; }
59368 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59369 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59370 $as_echo_n "(cached) " >&6
59371 else
59374 ac_ext=cpp
59375 ac_cpp='$CXXCPP $CPPFLAGS'
59376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59381 /* end confdefs.h. */
59382 #include <stdlib.h>
59384 main ()
59386 quick_exit(0);
59388 return 0;
59390 _ACEOF
59391 if ac_fn_cxx_try_compile "$LINENO"; then :
59392 glibcxx_cv_func_quick_exit_use=yes
59393 else
59394 glibcxx_cv_func_quick_exit_use=no
59396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59397 ac_ext=c
59398 ac_cpp='$CPP $CPPFLAGS'
59399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59408 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59409 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59410 for ac_func in quick_exit
59411 do :
59412 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59413 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59414 cat >>confdefs.h <<_ACEOF
59415 #define HAVE_QUICK_EXIT 1
59416 _ACEOF
59419 done
59424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59425 $as_echo_n "checking for strtold declaration... " >&6; }
59426 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59427 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59428 $as_echo_n "(cached) " >&6
59429 else
59432 ac_ext=cpp
59433 ac_cpp='$CXXCPP $CPPFLAGS'
59434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59439 /* end confdefs.h. */
59440 #include <stdlib.h>
59442 main ()
59444 strtold(0, 0);
59446 return 0;
59448 _ACEOF
59449 if ac_fn_cxx_try_compile "$LINENO"; then :
59450 glibcxx_cv_func_strtold_use=yes
59451 else
59452 glibcxx_cv_func_strtold_use=no
59454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59455 ac_ext=c
59456 ac_cpp='$CPP $CPPFLAGS'
59457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59466 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59467 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59468 for ac_func in strtold
59469 do :
59470 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59471 if test "x$ac_cv_func_strtold" = x""yes; then :
59472 cat >>confdefs.h <<_ACEOF
59473 #define HAVE_STRTOLD 1
59474 _ACEOF
59477 done
59484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59485 $as_echo_n "checking for strtof declaration... " >&6; }
59486 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59487 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59488 $as_echo_n "(cached) " >&6
59489 else
59492 ac_ext=cpp
59493 ac_cpp='$CXXCPP $CPPFLAGS'
59494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59499 /* end confdefs.h. */
59500 #include <stdlib.h>
59502 main ()
59504 strtof(0, 0);
59506 return 0;
59508 _ACEOF
59509 if ac_fn_cxx_try_compile "$LINENO"; then :
59510 glibcxx_cv_func_strtof_use=yes
59511 else
59512 glibcxx_cv_func_strtof_use=no
59514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59515 ac_ext=c
59516 ac_cpp='$CPP $CPPFLAGS'
59517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
59526 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59527 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59528 for ac_func in strtof
59529 do :
59530 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59531 if test "x$ac_cv_func_strtof" = x""yes; then :
59532 cat >>confdefs.h <<_ACEOF
59533 #define HAVE_STRTOF 1
59534 _ACEOF
59537 done
59544 CXXFLAGS="$ac_save_CXXFLAGS"
59546 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59550 # Check whether --enable-tls was given.
59551 if test "${enable_tls+set}" = set; then :
59552 enableval=$enable_tls;
59553 case "$enableval" in
59554 yes|no) ;;
59555 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59556 esac
59558 else
59559 enable_tls=yes
59563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59564 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59565 if test "${gcc_cv_have_tls+set}" = set; then :
59566 $as_echo_n "(cached) " >&6
59567 else
59569 if test "$cross_compiling" = yes; then :
59570 if test x$gcc_no_link = xyes; then
59571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59574 /* end confdefs.h. */
59575 __thread int a; int b; int main() { return a = b; }
59576 _ACEOF
59577 if ac_fn_c_try_link "$LINENO"; then :
59578 chktls_save_LDFLAGS="$LDFLAGS"
59579 case $host in
59580 *-*-linux*)
59581 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59583 esac
59584 chktls_save_CFLAGS="$CFLAGS"
59585 CFLAGS="-fPIC $CFLAGS"
59586 if test x$gcc_no_link = xyes; then
59587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59590 /* end confdefs.h. */
59591 int f() { return 0; }
59592 _ACEOF
59593 if ac_fn_c_try_link "$LINENO"; then :
59594 if test x$gcc_no_link = xyes; then
59595 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59598 /* end confdefs.h. */
59599 __thread int a; int b; int f() { return a = b; }
59600 _ACEOF
59601 if ac_fn_c_try_link "$LINENO"; then :
59602 gcc_cv_have_tls=yes
59603 else
59604 gcc_cv_have_tls=no
59606 rm -f core conftest.err conftest.$ac_objext \
59607 conftest$ac_exeext conftest.$ac_ext
59608 else
59609 gcc_cv_have_tls=yes
59611 rm -f core conftest.err conftest.$ac_objext \
59612 conftest$ac_exeext conftest.$ac_ext
59613 CFLAGS="$chktls_save_CFLAGS"
59614 LDFLAGS="$chktls_save_LDFLAGS"
59615 else
59616 gcc_cv_have_tls=no
59618 rm -f core conftest.err conftest.$ac_objext \
59619 conftest$ac_exeext conftest.$ac_ext
59622 else
59623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59624 /* end confdefs.h. */
59625 __thread int a; int b; int main() { return a = b; }
59626 _ACEOF
59627 if ac_fn_c_try_run "$LINENO"; then :
59628 chktls_save_LDFLAGS="$LDFLAGS"
59629 LDFLAGS="-static $LDFLAGS"
59630 if test x$gcc_no_link = xyes; then
59631 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59634 /* end confdefs.h. */
59635 int main() { return 0; }
59636 _ACEOF
59637 if ac_fn_c_try_link "$LINENO"; then :
59638 if test "$cross_compiling" = yes; then :
59639 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59640 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59641 as_fn_error "cannot run test program while cross compiling
59642 See \`config.log' for more details." "$LINENO" 5; }
59643 else
59644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59645 /* end confdefs.h. */
59646 __thread int a; int b; int main() { return a = b; }
59647 _ACEOF
59648 if ac_fn_c_try_run "$LINENO"; then :
59649 gcc_cv_have_tls=yes
59650 else
59651 gcc_cv_have_tls=no
59653 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59654 conftest.$ac_objext conftest.beam conftest.$ac_ext
59657 else
59658 gcc_cv_have_tls=yes
59660 rm -f core conftest.err conftest.$ac_objext \
59661 conftest$ac_exeext conftest.$ac_ext
59662 LDFLAGS="$chktls_save_LDFLAGS"
59663 if test $gcc_cv_have_tls = yes; then
59664 chktls_save_CFLAGS="$CFLAGS"
59665 thread_CFLAGS=failed
59666 for flag in '' '-pthread' '-lpthread'; do
59667 CFLAGS="$flag $chktls_save_CFLAGS"
59668 if test x$gcc_no_link = xyes; then
59669 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59672 /* end confdefs.h. */
59673 #include <pthread.h>
59674 void *g(void *d) { return NULL; }
59676 main ()
59678 pthread_t t; pthread_create(&t,NULL,g,NULL);
59680 return 0;
59682 _ACEOF
59683 if ac_fn_c_try_link "$LINENO"; then :
59684 thread_CFLAGS="$flag"
59686 rm -f core conftest.err conftest.$ac_objext \
59687 conftest$ac_exeext conftest.$ac_ext
59688 if test "X$thread_CFLAGS" != Xfailed; then
59689 break
59691 done
59692 CFLAGS="$chktls_save_CFLAGS"
59693 if test "X$thread_CFLAGS" != Xfailed; then
59694 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59695 if test "$cross_compiling" = yes; then :
59696 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59697 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59698 as_fn_error "cannot run test program while cross compiling
59699 See \`config.log' for more details." "$LINENO" 5; }
59700 else
59701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59702 /* end confdefs.h. */
59703 #include <pthread.h>
59704 __thread int a;
59705 static int *volatile a_in_other_thread;
59706 static void *
59707 thread_func (void *arg)
59709 a_in_other_thread = &a;
59710 return (void *)0;
59713 main ()
59715 pthread_t thread;
59716 void *thread_retval;
59717 int *volatile a_in_main_thread;
59718 a_in_main_thread = &a;
59719 if (pthread_create (&thread, (pthread_attr_t *)0,
59720 thread_func, (void *)0))
59721 return 0;
59722 if (pthread_join (thread, &thread_retval))
59723 return 0;
59724 return (a_in_other_thread == a_in_main_thread);
59726 return 0;
59728 _ACEOF
59729 if ac_fn_c_try_run "$LINENO"; then :
59730 gcc_cv_have_tls=yes
59731 else
59732 gcc_cv_have_tls=no
59734 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59735 conftest.$ac_objext conftest.beam conftest.$ac_ext
59738 CFLAGS="$chktls_save_CFLAGS"
59741 else
59742 gcc_cv_have_tls=no
59744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59745 conftest.$ac_objext conftest.beam conftest.$ac_ext
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59750 $as_echo "$gcc_cv_have_tls" >&6; }
59751 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59753 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59756 for ac_func in __cxa_thread_atexit_impl
59757 do :
59758 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59759 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59760 cat >>confdefs.h <<_ACEOF
59761 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59762 _ACEOF
59765 done
59772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59773 $as_echo_n "checking for iconv... " >&6; }
59774 if test "${am_cv_func_iconv+set}" = set; then :
59775 $as_echo_n "(cached) " >&6
59776 else
59778 am_cv_func_iconv="no, consider installing GNU libiconv"
59779 am_cv_lib_iconv=no
59780 am_save_CPPFLAGS="$CPPFLAGS"
59781 CPPFLAGS="$CPPFLAGS $INCICONV"
59782 if test x$gcc_no_link = xyes; then
59783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59786 /* end confdefs.h. */
59787 #include <stdlib.h>
59788 #include <iconv.h>
59790 main ()
59792 iconv_t cd = iconv_open("","");
59793 iconv(cd,NULL,NULL,NULL,NULL);
59794 iconv_close(cd);
59796 return 0;
59798 _ACEOF
59799 if ac_fn_c_try_link "$LINENO"; then :
59800 am_cv_func_iconv=yes
59802 rm -f core conftest.err conftest.$ac_objext \
59803 conftest$ac_exeext conftest.$ac_ext
59804 CPPFLAGS="$am_save_CPPFLAGS"
59806 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59807 for _libs in .libs _libs; do
59808 am_save_CPPFLAGS="$CPPFLAGS"
59809 am_save_LIBS="$LIBS"
59810 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59811 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59812 if test x$gcc_no_link = xyes; then
59813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59816 /* end confdefs.h. */
59817 #include <stdlib.h>
59818 #include <iconv.h>
59820 main ()
59822 iconv_t cd = iconv_open("","");
59823 iconv(cd,NULL,NULL,NULL,NULL);
59824 iconv_close(cd);
59826 return 0;
59828 _ACEOF
59829 if ac_fn_c_try_link "$LINENO"; then :
59830 INCICONV="-I../libiconv/include"
59831 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59832 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59833 am_cv_lib_iconv=yes
59834 am_cv_func_iconv=yes
59836 rm -f core conftest.err conftest.$ac_objext \
59837 conftest$ac_exeext conftest.$ac_ext
59838 CPPFLAGS="$am_save_CPPFLAGS"
59839 LIBS="$am_save_LIBS"
59840 if test "$am_cv_func_iconv" = "yes"; then
59841 break
59843 done
59846 if test "$am_cv_func_iconv" != yes; then
59847 am_save_CPPFLAGS="$CPPFLAGS"
59848 am_save_LIBS="$LIBS"
59849 CPPFLAGS="$LIBS $INCICONV"
59850 LIBS="$LIBS $LIBICONV"
59851 if test x$gcc_no_link = xyes; then
59852 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59855 /* end confdefs.h. */
59856 #include <stdlib.h>
59857 #include <iconv.h>
59859 main ()
59861 iconv_t cd = iconv_open("","");
59862 iconv(cd,NULL,NULL,NULL,NULL);
59863 iconv_close(cd);
59865 return 0;
59867 _ACEOF
59868 if ac_fn_c_try_link "$LINENO"; then :
59869 am_cv_lib_iconv=yes
59870 am_cv_func_iconv=yes
59872 rm -f core conftest.err conftest.$ac_objext \
59873 conftest$ac_exeext conftest.$ac_ext
59874 CPPFLAGS="$am_save_CPPFLAGS"
59875 LIBS="$am_save_LIBS"
59879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59880 $as_echo "$am_cv_func_iconv" >&6; }
59881 if test "$am_cv_func_iconv" = yes; then
59883 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59886 if test "$am_cv_lib_iconv" = yes; then
59888 for element in $INCICONV; do
59889 haveit=
59890 for x in $CPPFLAGS; do
59892 acl_save_prefix="$prefix"
59893 prefix="$acl_final_prefix"
59894 acl_save_exec_prefix="$exec_prefix"
59895 exec_prefix="$acl_final_exec_prefix"
59896 eval x=\"$x\"
59897 exec_prefix="$acl_save_exec_prefix"
59898 prefix="$acl_save_prefix"
59900 if test "X$x" = "X$element"; then
59901 haveit=yes
59902 break
59904 done
59905 if test -z "$haveit"; then
59906 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59908 done
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59911 $as_echo_n "checking how to link with libiconv... " >&6; }
59912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59913 $as_echo "$LIBICONV" >&6; }
59914 else
59915 LIBICONV=
59916 LTLIBICONV=
59921 if test "$am_cv_func_iconv" = yes; then
59922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59923 $as_echo_n "checking for iconv declaration... " >&6; }
59924 if test "${am_cv_proto_iconv+set}" = set; then :
59925 $as_echo_n "(cached) " >&6
59926 else
59928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59929 /* end confdefs.h. */
59931 #include <stdlib.h>
59932 #include <iconv.h>
59933 extern
59934 #ifdef __cplusplus
59936 #endif
59937 #if defined(__STDC__) || defined(__cplusplus)
59938 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59939 #else
59940 size_t iconv();
59941 #endif
59944 main ()
59948 return 0;
59950 _ACEOF
59951 if ac_fn_c_try_compile "$LINENO"; then :
59952 am_cv_proto_iconv_arg1=""
59953 else
59954 am_cv_proto_iconv_arg1="const"
59956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59957 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);"
59960 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59962 }$am_cv_proto_iconv" >&5
59963 $as_echo "${ac_t:-
59964 }$am_cv_proto_iconv" >&6; }
59966 cat >>confdefs.h <<_ACEOF
59967 #define ICONV_CONST $am_cv_proto_iconv_arg1
59968 _ACEOF
59973 *-mingw32*)
59975 # If we're not using GNU ld, then there's no point in even trying these
59976 # tests. Check for that first. We should have already tested for gld
59977 # by now (in libtool), but require it now just to be safe...
59978 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59979 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59983 # The name set by libtool depends on the version of libtool. Shame on us
59984 # for depending on an impl detail, but c'est la vie. Older versions used
59985 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59986 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59987 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59988 # set (hence we're using an older libtool), then set it.
59989 if test x${with_gnu_ld+set} != xset; then
59990 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59991 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59992 with_gnu_ld=no
59993 else
59994 with_gnu_ld=$ac_cv_prog_gnu_ld
59998 # Start by getting the version number. I think the libtool test already
59999 # does some of this, but throws away the result.
60000 glibcxx_ld_is_gold=no
60001 if test x"$with_gnu_ld" = x"yes"; then
60002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60003 $as_echo_n "checking for ld version... " >&6; }
60005 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60006 glibcxx_ld_is_gold=yes
60008 ldver=`$LD --version 2>/dev/null |
60009 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'`
60011 glibcxx_gnu_ld_version=`echo $ldver | \
60012 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60014 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60017 # Set --gc-sections.
60018 glibcxx_have_gc_sections=no
60019 if test "$glibcxx_ld_is_gold" = "yes"; then
60020 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60021 glibcxx_have_gc_sections=yes
60023 else
60024 glibcxx_gcsections_min_ld=21602
60025 if test x"$with_gnu_ld" = x"yes" &&
60026 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60027 glibcxx_have_gc_sections=yes
60030 if test "$glibcxx_have_gc_sections" = "yes"; then
60031 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60032 # NB: This flag only works reliably after 2.16.1. Configure tests
60033 # for this are difficult, so hard wire a value that should work.
60035 ac_test_CFLAGS="${CFLAGS+set}"
60036 ac_save_CFLAGS="$CFLAGS"
60037 CFLAGS='-Wl,--gc-sections'
60039 # Check for -Wl,--gc-sections
60040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60041 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60042 if test x$gcc_no_link = xyes; then
60043 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60046 /* end confdefs.h. */
60047 int one(void) { return 1; }
60048 int two(void) { return 2; }
60051 main ()
60053 two();
60055 return 0;
60057 _ACEOF
60058 if ac_fn_c_try_link "$LINENO"; then :
60059 ac_gcsections=yes
60060 else
60061 ac_gcsections=no
60063 rm -f core conftest.err conftest.$ac_objext \
60064 conftest$ac_exeext conftest.$ac_ext
60065 if test "$ac_gcsections" = "yes"; then
60066 rm -f conftest.c
60067 touch conftest.c
60068 if $CC -c conftest.c; then
60069 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60070 grep "Warning: gc-sections option ignored" > /dev/null; then
60071 ac_gcsections=no
60074 rm -f conftest.c conftest.o conftest
60076 if test "$ac_gcsections" = "yes"; then
60077 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60080 $as_echo "$ac_gcsections" >&6; }
60082 if test "$ac_test_CFLAGS" = set; then
60083 CFLAGS="$ac_save_CFLAGS"
60084 else
60085 # this is the suspicious part
60086 CFLAGS=''
60090 # Set -z,relro.
60091 # Note this is only for shared objects.
60092 ac_ld_relro=no
60093 if test x"$with_gnu_ld" = x"yes"; then
60094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60095 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60096 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60097 if test -n "$cxx_z_relo"; then
60098 OPT_LDFLAGS="-Wl,-z,relro"
60099 ac_ld_relro=yes
60101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60102 $as_echo "$ac_ld_relro" >&6; }
60105 # Set linker optimization flags.
60106 if test x"$with_gnu_ld" = x"yes"; then
60107 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60114 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60115 ac_save_CXXFLAGS="$CXXFLAGS"
60116 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60119 $as_echo_n "checking for sin in -lm... " >&6; }
60120 if test "${ac_cv_lib_m_sin+set}" = set; then :
60121 $as_echo_n "(cached) " >&6
60122 else
60123 ac_check_lib_save_LIBS=$LIBS
60124 LIBS="-lm $LIBS"
60125 if test x$gcc_no_link = xyes; then
60126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60129 /* end confdefs.h. */
60131 /* Override any GCC internal prototype to avoid an error.
60132 Use char because int might match the return type of a GCC
60133 builtin and then its argument prototype would still apply. */
60134 #ifdef __cplusplus
60135 extern "C"
60136 #endif
60137 char sin ();
60139 main ()
60141 return sin ();
60143 return 0;
60145 _ACEOF
60146 if ac_fn_c_try_link "$LINENO"; then :
60147 ac_cv_lib_m_sin=yes
60148 else
60149 ac_cv_lib_m_sin=no
60151 rm -f core conftest.err conftest.$ac_objext \
60152 conftest$ac_exeext conftest.$ac_ext
60153 LIBS=$ac_check_lib_save_LIBS
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60156 $as_echo "$ac_cv_lib_m_sin" >&6; }
60157 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60158 libm="-lm"
60161 ac_save_LIBS="$LIBS"
60162 LIBS="$LIBS $libm"
60166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60167 $as_echo_n "checking for isinf declaration... " >&6; }
60168 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60169 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60170 $as_echo_n "(cached) " >&6
60171 else
60174 ac_ext=cpp
60175 ac_cpp='$CXXCPP $CPPFLAGS'
60176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60181 /* end confdefs.h. */
60182 #include <math.h>
60183 #ifdef HAVE_IEEEFP_H
60184 #include <ieeefp.h>
60185 #endif
60188 main ()
60190 isinf(0);
60192 return 0;
60194 _ACEOF
60195 if ac_fn_cxx_try_compile "$LINENO"; then :
60196 glibcxx_cv_func_isinf_use=yes
60197 else
60198 glibcxx_cv_func_isinf_use=no
60200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60201 ac_ext=c
60202 ac_cpp='$CPP $CPPFLAGS'
60203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60212 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60214 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60215 for ac_func in isinf
60216 do :
60217 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60218 if test "x$ac_cv_func_isinf" = x""yes; then :
60219 cat >>confdefs.h <<_ACEOF
60220 #define HAVE_ISINF 1
60221 _ACEOF
60224 done
60226 else
60228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60229 $as_echo_n "checking for _isinf declaration... " >&6; }
60230 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60231 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60232 $as_echo_n "(cached) " >&6
60233 else
60236 ac_ext=cpp
60237 ac_cpp='$CXXCPP $CPPFLAGS'
60238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60243 /* end confdefs.h. */
60244 #include <math.h>
60245 #ifdef HAVE_IEEEFP_H
60246 #include <ieeefp.h>
60247 #endif
60250 main ()
60252 _isinf(0);
60254 return 0;
60256 _ACEOF
60257 if ac_fn_cxx_try_compile "$LINENO"; then :
60258 glibcxx_cv_func__isinf_use=yes
60259 else
60260 glibcxx_cv_func__isinf_use=no
60262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60263 ac_ext=c
60264 ac_cpp='$CPP $CPPFLAGS'
60265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60274 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60276 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60277 for ac_func in _isinf
60278 do :
60279 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60280 if test "x$ac_cv_func__isinf" = x""yes; then :
60281 cat >>confdefs.h <<_ACEOF
60282 #define HAVE__ISINF 1
60283 _ACEOF
60286 done
60295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60296 $as_echo_n "checking for isnan declaration... " >&6; }
60297 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60298 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60299 $as_echo_n "(cached) " >&6
60300 else
60303 ac_ext=cpp
60304 ac_cpp='$CXXCPP $CPPFLAGS'
60305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60310 /* end confdefs.h. */
60311 #include <math.h>
60312 #ifdef HAVE_IEEEFP_H
60313 #include <ieeefp.h>
60314 #endif
60317 main ()
60319 isnan(0);
60321 return 0;
60323 _ACEOF
60324 if ac_fn_cxx_try_compile "$LINENO"; then :
60325 glibcxx_cv_func_isnan_use=yes
60326 else
60327 glibcxx_cv_func_isnan_use=no
60329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60330 ac_ext=c
60331 ac_cpp='$CPP $CPPFLAGS'
60332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60341 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60343 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60344 for ac_func in isnan
60345 do :
60346 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60347 if test "x$ac_cv_func_isnan" = x""yes; then :
60348 cat >>confdefs.h <<_ACEOF
60349 #define HAVE_ISNAN 1
60350 _ACEOF
60353 done
60355 else
60357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60358 $as_echo_n "checking for _isnan declaration... " >&6; }
60359 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60360 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60361 $as_echo_n "(cached) " >&6
60362 else
60365 ac_ext=cpp
60366 ac_cpp='$CXXCPP $CPPFLAGS'
60367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60372 /* end confdefs.h. */
60373 #include <math.h>
60374 #ifdef HAVE_IEEEFP_H
60375 #include <ieeefp.h>
60376 #endif
60379 main ()
60381 _isnan(0);
60383 return 0;
60385 _ACEOF
60386 if ac_fn_cxx_try_compile "$LINENO"; then :
60387 glibcxx_cv_func__isnan_use=yes
60388 else
60389 glibcxx_cv_func__isnan_use=no
60391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60392 ac_ext=c
60393 ac_cpp='$CPP $CPPFLAGS'
60394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60403 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60405 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60406 for ac_func in _isnan
60407 do :
60408 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60409 if test "x$ac_cv_func__isnan" = x""yes; then :
60410 cat >>confdefs.h <<_ACEOF
60411 #define HAVE__ISNAN 1
60412 _ACEOF
60415 done
60424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60425 $as_echo_n "checking for finite declaration... " >&6; }
60426 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60427 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60428 $as_echo_n "(cached) " >&6
60429 else
60432 ac_ext=cpp
60433 ac_cpp='$CXXCPP $CPPFLAGS'
60434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60439 /* end confdefs.h. */
60440 #include <math.h>
60441 #ifdef HAVE_IEEEFP_H
60442 #include <ieeefp.h>
60443 #endif
60446 main ()
60448 finite(0);
60450 return 0;
60452 _ACEOF
60453 if ac_fn_cxx_try_compile "$LINENO"; then :
60454 glibcxx_cv_func_finite_use=yes
60455 else
60456 glibcxx_cv_func_finite_use=no
60458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60459 ac_ext=c
60460 ac_cpp='$CPP $CPPFLAGS'
60461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60470 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60472 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60473 for ac_func in finite
60474 do :
60475 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60476 if test "x$ac_cv_func_finite" = x""yes; then :
60477 cat >>confdefs.h <<_ACEOF
60478 #define HAVE_FINITE 1
60479 _ACEOF
60482 done
60484 else
60486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60487 $as_echo_n "checking for _finite declaration... " >&6; }
60488 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60489 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60490 $as_echo_n "(cached) " >&6
60491 else
60494 ac_ext=cpp
60495 ac_cpp='$CXXCPP $CPPFLAGS'
60496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60501 /* end confdefs.h. */
60502 #include <math.h>
60503 #ifdef HAVE_IEEEFP_H
60504 #include <ieeefp.h>
60505 #endif
60508 main ()
60510 _finite(0);
60512 return 0;
60514 _ACEOF
60515 if ac_fn_cxx_try_compile "$LINENO"; then :
60516 glibcxx_cv_func__finite_use=yes
60517 else
60518 glibcxx_cv_func__finite_use=no
60520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60521 ac_ext=c
60522 ac_cpp='$CPP $CPPFLAGS'
60523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60532 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60534 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60535 for ac_func in _finite
60536 do :
60537 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60538 if test "x$ac_cv_func__finite" = x""yes; then :
60539 cat >>confdefs.h <<_ACEOF
60540 #define HAVE__FINITE 1
60541 _ACEOF
60544 done
60553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60554 $as_echo_n "checking for sincos declaration... " >&6; }
60555 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60556 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60557 $as_echo_n "(cached) " >&6
60558 else
60561 ac_ext=cpp
60562 ac_cpp='$CXXCPP $CPPFLAGS'
60563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60568 /* end confdefs.h. */
60569 #include <math.h>
60571 main ()
60573 sincos(0, 0, 0);
60575 return 0;
60577 _ACEOF
60578 if ac_fn_cxx_try_compile "$LINENO"; then :
60579 glibcxx_cv_func_sincos_use=yes
60580 else
60581 glibcxx_cv_func_sincos_use=no
60583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60584 ac_ext=c
60585 ac_cpp='$CPP $CPPFLAGS'
60586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60595 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60597 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60598 for ac_func in sincos
60599 do :
60600 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60601 if test "x$ac_cv_func_sincos" = x""yes; then :
60602 cat >>confdefs.h <<_ACEOF
60603 #define HAVE_SINCOS 1
60604 _ACEOF
60607 done
60609 else
60611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60612 $as_echo_n "checking for _sincos declaration... " >&6; }
60613 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60614 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60615 $as_echo_n "(cached) " >&6
60616 else
60619 ac_ext=cpp
60620 ac_cpp='$CXXCPP $CPPFLAGS'
60621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60626 /* end confdefs.h. */
60627 #include <math.h>
60629 main ()
60631 _sincos(0, 0, 0);
60633 return 0;
60635 _ACEOF
60636 if ac_fn_cxx_try_compile "$LINENO"; then :
60637 glibcxx_cv_func__sincos_use=yes
60638 else
60639 glibcxx_cv_func__sincos_use=no
60641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60642 ac_ext=c
60643 ac_cpp='$CPP $CPPFLAGS'
60644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60653 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60655 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60656 for ac_func in _sincos
60657 do :
60658 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60659 if test "x$ac_cv_func__sincos" = x""yes; then :
60660 cat >>confdefs.h <<_ACEOF
60661 #define HAVE__SINCOS 1
60662 _ACEOF
60665 done
60674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60675 $as_echo_n "checking for fpclass declaration... " >&6; }
60676 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60677 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60678 $as_echo_n "(cached) " >&6
60679 else
60682 ac_ext=cpp
60683 ac_cpp='$CXXCPP $CPPFLAGS'
60684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60689 /* end confdefs.h. */
60690 #include <math.h>
60691 #ifdef HAVE_IEEEFP_H
60692 #include <ieeefp.h>
60693 #endif
60696 main ()
60698 fpclass(0);
60700 return 0;
60702 _ACEOF
60703 if ac_fn_cxx_try_compile "$LINENO"; then :
60704 glibcxx_cv_func_fpclass_use=yes
60705 else
60706 glibcxx_cv_func_fpclass_use=no
60708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60709 ac_ext=c
60710 ac_cpp='$CPP $CPPFLAGS'
60711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60720 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60722 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60723 for ac_func in fpclass
60724 do :
60725 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60726 if test "x$ac_cv_func_fpclass" = x""yes; then :
60727 cat >>confdefs.h <<_ACEOF
60728 #define HAVE_FPCLASS 1
60729 _ACEOF
60732 done
60734 else
60736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60737 $as_echo_n "checking for _fpclass declaration... " >&6; }
60738 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60739 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60740 $as_echo_n "(cached) " >&6
60741 else
60744 ac_ext=cpp
60745 ac_cpp='$CXXCPP $CPPFLAGS'
60746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60751 /* end confdefs.h. */
60752 #include <math.h>
60753 #ifdef HAVE_IEEEFP_H
60754 #include <ieeefp.h>
60755 #endif
60758 main ()
60760 _fpclass(0);
60762 return 0;
60764 _ACEOF
60765 if ac_fn_cxx_try_compile "$LINENO"; then :
60766 glibcxx_cv_func__fpclass_use=yes
60767 else
60768 glibcxx_cv_func__fpclass_use=no
60770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60771 ac_ext=c
60772 ac_cpp='$CPP $CPPFLAGS'
60773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60782 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60784 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60785 for ac_func in _fpclass
60786 do :
60787 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60788 if test "x$ac_cv_func__fpclass" = x""yes; then :
60789 cat >>confdefs.h <<_ACEOF
60790 #define HAVE__FPCLASS 1
60791 _ACEOF
60794 done
60803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60804 $as_echo_n "checking for qfpclass declaration... " >&6; }
60805 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60806 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60807 $as_echo_n "(cached) " >&6
60808 else
60811 ac_ext=cpp
60812 ac_cpp='$CXXCPP $CPPFLAGS'
60813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60818 /* end confdefs.h. */
60819 #include <math.h>
60820 #ifdef HAVE_IEEEFP_H
60821 #include <ieeefp.h>
60822 #endif
60825 main ()
60827 qfpclass(0);
60829 return 0;
60831 _ACEOF
60832 if ac_fn_cxx_try_compile "$LINENO"; then :
60833 glibcxx_cv_func_qfpclass_use=yes
60834 else
60835 glibcxx_cv_func_qfpclass_use=no
60837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60838 ac_ext=c
60839 ac_cpp='$CPP $CPPFLAGS'
60840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60849 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60851 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60852 for ac_func in qfpclass
60853 do :
60854 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60855 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60856 cat >>confdefs.h <<_ACEOF
60857 #define HAVE_QFPCLASS 1
60858 _ACEOF
60861 done
60863 else
60865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60866 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60867 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60868 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60869 $as_echo_n "(cached) " >&6
60870 else
60873 ac_ext=cpp
60874 ac_cpp='$CXXCPP $CPPFLAGS'
60875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60880 /* end confdefs.h. */
60881 #include <math.h>
60882 #ifdef HAVE_IEEEFP_H
60883 #include <ieeefp.h>
60884 #endif
60887 main ()
60889 _qfpclass(0);
60891 return 0;
60893 _ACEOF
60894 if ac_fn_cxx_try_compile "$LINENO"; then :
60895 glibcxx_cv_func__qfpclass_use=yes
60896 else
60897 glibcxx_cv_func__qfpclass_use=no
60899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60900 ac_ext=c
60901 ac_cpp='$CPP $CPPFLAGS'
60902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60911 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60913 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60914 for ac_func in _qfpclass
60915 do :
60916 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60917 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60918 cat >>confdefs.h <<_ACEOF
60919 #define HAVE__QFPCLASS 1
60920 _ACEOF
60923 done
60932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60933 $as_echo_n "checking for hypot declaration... " >&6; }
60934 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60935 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60936 $as_echo_n "(cached) " >&6
60937 else
60940 ac_ext=cpp
60941 ac_cpp='$CXXCPP $CPPFLAGS'
60942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60947 /* end confdefs.h. */
60948 #include <math.h>
60950 main ()
60952 hypot(0, 0);
60954 return 0;
60956 _ACEOF
60957 if ac_fn_cxx_try_compile "$LINENO"; then :
60958 glibcxx_cv_func_hypot_use=yes
60959 else
60960 glibcxx_cv_func_hypot_use=no
60962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60963 ac_ext=c
60964 ac_cpp='$CPP $CPPFLAGS'
60965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60974 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60976 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60977 for ac_func in hypot
60978 do :
60979 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60980 if test "x$ac_cv_func_hypot" = x""yes; then :
60981 cat >>confdefs.h <<_ACEOF
60982 #define HAVE_HYPOT 1
60983 _ACEOF
60986 done
60988 else
60990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60991 $as_echo_n "checking for _hypot declaration... " >&6; }
60992 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60993 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60994 $as_echo_n "(cached) " >&6
60995 else
60998 ac_ext=cpp
60999 ac_cpp='$CXXCPP $CPPFLAGS'
61000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61005 /* end confdefs.h. */
61006 #include <math.h>
61008 main ()
61010 _hypot(0, 0);
61012 return 0;
61014 _ACEOF
61015 if ac_fn_cxx_try_compile "$LINENO"; then :
61016 glibcxx_cv_func__hypot_use=yes
61017 else
61018 glibcxx_cv_func__hypot_use=no
61020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61021 ac_ext=c
61022 ac_cpp='$CPP $CPPFLAGS'
61023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61032 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61034 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61035 for ac_func in _hypot
61036 do :
61037 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61038 if test "x$ac_cv_func__hypot" = x""yes; then :
61039 cat >>confdefs.h <<_ACEOF
61040 #define HAVE__HYPOT 1
61041 _ACEOF
61044 done
61053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61054 $as_echo_n "checking for float trig functions... " >&6; }
61055 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61056 $as_echo_n "(cached) " >&6
61057 else
61060 ac_ext=cpp
61061 ac_cpp='$CXXCPP $CPPFLAGS'
61062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61067 /* end confdefs.h. */
61068 #include <math.h>
61070 main ()
61072 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61074 return 0;
61076 _ACEOF
61077 if ac_fn_cxx_try_compile "$LINENO"; then :
61078 glibcxx_cv_func_float_trig_use=yes
61079 else
61080 glibcxx_cv_func_float_trig_use=no
61082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61083 ac_ext=c
61084 ac_cpp='$CPP $CPPFLAGS'
61085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61092 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61093 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61094 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61095 do :
61096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61098 eval as_val=\$$as_ac_var
61099 if test "x$as_val" = x""yes; then :
61100 cat >>confdefs.h <<_ACEOF
61101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61102 _ACEOF
61105 done
61107 else
61108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61109 $as_echo_n "checking for _float trig functions... " >&6; }
61110 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61111 $as_echo_n "(cached) " >&6
61112 else
61115 ac_ext=cpp
61116 ac_cpp='$CXXCPP $CPPFLAGS'
61117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61122 /* end confdefs.h. */
61123 #include <math.h>
61125 main ()
61127 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61129 return 0;
61131 _ACEOF
61132 if ac_fn_cxx_try_compile "$LINENO"; then :
61133 glibcxx_cv_func__float_trig_use=yes
61134 else
61135 glibcxx_cv_func__float_trig_use=no
61137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61138 ac_ext=c
61139 ac_cpp='$CPP $CPPFLAGS'
61140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61147 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61148 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61149 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61150 do :
61151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61153 eval as_val=\$$as_ac_var
61154 if test "x$as_val" = x""yes; then :
61155 cat >>confdefs.h <<_ACEOF
61156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61157 _ACEOF
61160 done
61169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61170 $as_echo_n "checking for float round functions... " >&6; }
61171 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61172 $as_echo_n "(cached) " >&6
61173 else
61176 ac_ext=cpp
61177 ac_cpp='$CXXCPP $CPPFLAGS'
61178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61183 /* end confdefs.h. */
61184 #include <math.h>
61186 main ()
61188 ceilf (0); floorf (0);
61190 return 0;
61192 _ACEOF
61193 if ac_fn_cxx_try_compile "$LINENO"; then :
61194 glibcxx_cv_func_float_round_use=yes
61195 else
61196 glibcxx_cv_func_float_round_use=no
61198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61199 ac_ext=c
61200 ac_cpp='$CPP $CPPFLAGS'
61201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61208 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61209 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61210 for ac_func in ceilf floorf
61211 do :
61212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61214 eval as_val=\$$as_ac_var
61215 if test "x$as_val" = x""yes; then :
61216 cat >>confdefs.h <<_ACEOF
61217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61218 _ACEOF
61221 done
61223 else
61224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61225 $as_echo_n "checking for _float round functions... " >&6; }
61226 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61227 $as_echo_n "(cached) " >&6
61228 else
61231 ac_ext=cpp
61232 ac_cpp='$CXXCPP $CPPFLAGS'
61233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61238 /* end confdefs.h. */
61239 #include <math.h>
61241 main ()
61243 _ceilf (0); _floorf (0);
61245 return 0;
61247 _ACEOF
61248 if ac_fn_cxx_try_compile "$LINENO"; then :
61249 glibcxx_cv_func__float_round_use=yes
61250 else
61251 glibcxx_cv_func__float_round_use=no
61253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61254 ac_ext=c
61255 ac_cpp='$CPP $CPPFLAGS'
61256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61263 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61264 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61265 for ac_func in _ceilf _floorf
61266 do :
61267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61269 eval as_val=\$$as_ac_var
61270 if test "x$as_val" = x""yes; then :
61271 cat >>confdefs.h <<_ACEOF
61272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61273 _ACEOF
61276 done
61286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61287 $as_echo_n "checking for expf declaration... " >&6; }
61288 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61289 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61290 $as_echo_n "(cached) " >&6
61291 else
61294 ac_ext=cpp
61295 ac_cpp='$CXXCPP $CPPFLAGS'
61296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61301 /* end confdefs.h. */
61302 #include <math.h>
61303 #ifdef HAVE_IEEEFP_H
61304 #include <ieeefp.h>
61305 #endif
61308 main ()
61310 expf(0);
61312 return 0;
61314 _ACEOF
61315 if ac_fn_cxx_try_compile "$LINENO"; then :
61316 glibcxx_cv_func_expf_use=yes
61317 else
61318 glibcxx_cv_func_expf_use=no
61320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61321 ac_ext=c
61322 ac_cpp='$CPP $CPPFLAGS'
61323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61332 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61334 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61335 for ac_func in expf
61336 do :
61337 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61338 if test "x$ac_cv_func_expf" = x""yes; then :
61339 cat >>confdefs.h <<_ACEOF
61340 #define HAVE_EXPF 1
61341 _ACEOF
61344 done
61346 else
61348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61349 $as_echo_n "checking for _expf declaration... " >&6; }
61350 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61351 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61352 $as_echo_n "(cached) " >&6
61353 else
61356 ac_ext=cpp
61357 ac_cpp='$CXXCPP $CPPFLAGS'
61358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61363 /* end confdefs.h. */
61364 #include <math.h>
61365 #ifdef HAVE_IEEEFP_H
61366 #include <ieeefp.h>
61367 #endif
61370 main ()
61372 _expf(0);
61374 return 0;
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__expf_use=yes
61379 else
61380 glibcxx_cv_func__expf_use=no
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61394 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61396 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61397 for ac_func in _expf
61398 do :
61399 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61400 if test "x$ac_cv_func__expf" = x""yes; then :
61401 cat >>confdefs.h <<_ACEOF
61402 #define HAVE__EXPF 1
61403 _ACEOF
61406 done
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61416 $as_echo_n "checking for isnanf declaration... " >&6; }
61417 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61418 if test "${glibcxx_cv_func_isnanf_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>
61432 #ifdef HAVE_IEEEFP_H
61433 #include <ieeefp.h>
61434 #endif
61437 main ()
61439 isnanf(0);
61441 return 0;
61443 _ACEOF
61444 if ac_fn_cxx_try_compile "$LINENO"; then :
61445 glibcxx_cv_func_isnanf_use=yes
61446 else
61447 glibcxx_cv_func_isnanf_use=no
61449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61450 ac_ext=c
61451 ac_cpp='$CPP $CPPFLAGS'
61452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61461 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61463 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61464 for ac_func in isnanf
61465 do :
61466 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61467 if test "x$ac_cv_func_isnanf" = x""yes; then :
61468 cat >>confdefs.h <<_ACEOF
61469 #define HAVE_ISNANF 1
61470 _ACEOF
61473 done
61475 else
61477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61478 $as_echo_n "checking for _isnanf declaration... " >&6; }
61479 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61480 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61481 $as_echo_n "(cached) " >&6
61482 else
61485 ac_ext=cpp
61486 ac_cpp='$CXXCPP $CPPFLAGS'
61487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61492 /* end confdefs.h. */
61493 #include <math.h>
61494 #ifdef HAVE_IEEEFP_H
61495 #include <ieeefp.h>
61496 #endif
61499 main ()
61501 _isnanf(0);
61503 return 0;
61505 _ACEOF
61506 if ac_fn_cxx_try_compile "$LINENO"; then :
61507 glibcxx_cv_func__isnanf_use=yes
61508 else
61509 glibcxx_cv_func__isnanf_use=no
61511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61512 ac_ext=c
61513 ac_cpp='$CPP $CPPFLAGS'
61514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61523 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61525 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61526 for ac_func in _isnanf
61527 do :
61528 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61529 if test "x$ac_cv_func__isnanf" = x""yes; then :
61530 cat >>confdefs.h <<_ACEOF
61531 #define HAVE__ISNANF 1
61532 _ACEOF
61535 done
61544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61545 $as_echo_n "checking for isinff declaration... " >&6; }
61546 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61547 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61548 $as_echo_n "(cached) " >&6
61549 else
61552 ac_ext=cpp
61553 ac_cpp='$CXXCPP $CPPFLAGS'
61554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61559 /* end confdefs.h. */
61560 #include <math.h>
61561 #ifdef HAVE_IEEEFP_H
61562 #include <ieeefp.h>
61563 #endif
61566 main ()
61568 isinff(0);
61570 return 0;
61572 _ACEOF
61573 if ac_fn_cxx_try_compile "$LINENO"; then :
61574 glibcxx_cv_func_isinff_use=yes
61575 else
61576 glibcxx_cv_func_isinff_use=no
61578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61579 ac_ext=c
61580 ac_cpp='$CPP $CPPFLAGS'
61581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61590 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61592 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61593 for ac_func in isinff
61594 do :
61595 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61596 if test "x$ac_cv_func_isinff" = x""yes; then :
61597 cat >>confdefs.h <<_ACEOF
61598 #define HAVE_ISINFF 1
61599 _ACEOF
61602 done
61604 else
61606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61607 $as_echo_n "checking for _isinff declaration... " >&6; }
61608 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61609 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61610 $as_echo_n "(cached) " >&6
61611 else
61614 ac_ext=cpp
61615 ac_cpp='$CXXCPP $CPPFLAGS'
61616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61621 /* end confdefs.h. */
61622 #include <math.h>
61623 #ifdef HAVE_IEEEFP_H
61624 #include <ieeefp.h>
61625 #endif
61628 main ()
61630 _isinff(0);
61632 return 0;
61634 _ACEOF
61635 if ac_fn_cxx_try_compile "$LINENO"; then :
61636 glibcxx_cv_func__isinff_use=yes
61637 else
61638 glibcxx_cv_func__isinff_use=no
61640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61641 ac_ext=c
61642 ac_cpp='$CPP $CPPFLAGS'
61643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61652 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61654 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61655 for ac_func in _isinff
61656 do :
61657 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61658 if test "x$ac_cv_func__isinff" = x""yes; then :
61659 cat >>confdefs.h <<_ACEOF
61660 #define HAVE__ISINFF 1
61661 _ACEOF
61664 done
61673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61674 $as_echo_n "checking for atan2f declaration... " >&6; }
61675 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61676 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61677 $as_echo_n "(cached) " >&6
61678 else
61681 ac_ext=cpp
61682 ac_cpp='$CXXCPP $CPPFLAGS'
61683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61688 /* end confdefs.h. */
61689 #include <math.h>
61691 main ()
61693 atan2f(0, 0);
61695 return 0;
61697 _ACEOF
61698 if ac_fn_cxx_try_compile "$LINENO"; then :
61699 glibcxx_cv_func_atan2f_use=yes
61700 else
61701 glibcxx_cv_func_atan2f_use=no
61703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61704 ac_ext=c
61705 ac_cpp='$CPP $CPPFLAGS'
61706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61715 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61717 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61718 for ac_func in atan2f
61719 do :
61720 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61721 if test "x$ac_cv_func_atan2f" = x""yes; then :
61722 cat >>confdefs.h <<_ACEOF
61723 #define HAVE_ATAN2F 1
61724 _ACEOF
61727 done
61729 else
61731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61732 $as_echo_n "checking for _atan2f declaration... " >&6; }
61733 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61734 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61735 $as_echo_n "(cached) " >&6
61736 else
61739 ac_ext=cpp
61740 ac_cpp='$CXXCPP $CPPFLAGS'
61741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61746 /* end confdefs.h. */
61747 #include <math.h>
61749 main ()
61751 _atan2f(0, 0);
61753 return 0;
61755 _ACEOF
61756 if ac_fn_cxx_try_compile "$LINENO"; then :
61757 glibcxx_cv_func__atan2f_use=yes
61758 else
61759 glibcxx_cv_func__atan2f_use=no
61761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61762 ac_ext=c
61763 ac_cpp='$CPP $CPPFLAGS'
61764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61773 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61775 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61776 for ac_func in _atan2f
61777 do :
61778 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61779 if test "x$ac_cv_func__atan2f" = x""yes; then :
61780 cat >>confdefs.h <<_ACEOF
61781 #define HAVE__ATAN2F 1
61782 _ACEOF
61785 done
61794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61795 $as_echo_n "checking for fabsf declaration... " >&6; }
61796 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61797 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61798 $as_echo_n "(cached) " >&6
61799 else
61802 ac_ext=cpp
61803 ac_cpp='$CXXCPP $CPPFLAGS'
61804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61809 /* end confdefs.h. */
61810 #include <math.h>
61811 #ifdef HAVE_IEEEFP_H
61812 #include <ieeefp.h>
61813 #endif
61816 main ()
61818 fabsf(0);
61820 return 0;
61822 _ACEOF
61823 if ac_fn_cxx_try_compile "$LINENO"; then :
61824 glibcxx_cv_func_fabsf_use=yes
61825 else
61826 glibcxx_cv_func_fabsf_use=no
61828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61829 ac_ext=c
61830 ac_cpp='$CPP $CPPFLAGS'
61831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61840 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61842 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61843 for ac_func in fabsf
61844 do :
61845 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61846 if test "x$ac_cv_func_fabsf" = x""yes; then :
61847 cat >>confdefs.h <<_ACEOF
61848 #define HAVE_FABSF 1
61849 _ACEOF
61852 done
61854 else
61856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61857 $as_echo_n "checking for _fabsf declaration... " >&6; }
61858 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61859 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61860 $as_echo_n "(cached) " >&6
61861 else
61864 ac_ext=cpp
61865 ac_cpp='$CXXCPP $CPPFLAGS'
61866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61871 /* end confdefs.h. */
61872 #include <math.h>
61873 #ifdef HAVE_IEEEFP_H
61874 #include <ieeefp.h>
61875 #endif
61878 main ()
61880 _fabsf(0);
61882 return 0;
61884 _ACEOF
61885 if ac_fn_cxx_try_compile "$LINENO"; then :
61886 glibcxx_cv_func__fabsf_use=yes
61887 else
61888 glibcxx_cv_func__fabsf_use=no
61890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61891 ac_ext=c
61892 ac_cpp='$CPP $CPPFLAGS'
61893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61902 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61904 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61905 for ac_func in _fabsf
61906 do :
61907 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61908 if test "x$ac_cv_func__fabsf" = x""yes; then :
61909 cat >>confdefs.h <<_ACEOF
61910 #define HAVE__FABSF 1
61911 _ACEOF
61914 done
61923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61924 $as_echo_n "checking for fmodf declaration... " >&6; }
61925 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61926 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61927 $as_echo_n "(cached) " >&6
61928 else
61931 ac_ext=cpp
61932 ac_cpp='$CXXCPP $CPPFLAGS'
61933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61938 /* end confdefs.h. */
61939 #include <math.h>
61941 main ()
61943 fmodf(0, 0);
61945 return 0;
61947 _ACEOF
61948 if ac_fn_cxx_try_compile "$LINENO"; then :
61949 glibcxx_cv_func_fmodf_use=yes
61950 else
61951 glibcxx_cv_func_fmodf_use=no
61953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61954 ac_ext=c
61955 ac_cpp='$CPP $CPPFLAGS'
61956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61965 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61967 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61968 for ac_func in fmodf
61969 do :
61970 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61971 if test "x$ac_cv_func_fmodf" = x""yes; then :
61972 cat >>confdefs.h <<_ACEOF
61973 #define HAVE_FMODF 1
61974 _ACEOF
61977 done
61979 else
61981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61982 $as_echo_n "checking for _fmodf declaration... " >&6; }
61983 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61984 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61985 $as_echo_n "(cached) " >&6
61986 else
61989 ac_ext=cpp
61990 ac_cpp='$CXXCPP $CPPFLAGS'
61991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61996 /* end confdefs.h. */
61997 #include <math.h>
61999 main ()
62001 _fmodf(0, 0);
62003 return 0;
62005 _ACEOF
62006 if ac_fn_cxx_try_compile "$LINENO"; then :
62007 glibcxx_cv_func__fmodf_use=yes
62008 else
62009 glibcxx_cv_func__fmodf_use=no
62011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62012 ac_ext=c
62013 ac_cpp='$CPP $CPPFLAGS'
62014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62023 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62025 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62026 for ac_func in _fmodf
62027 do :
62028 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62029 if test "x$ac_cv_func__fmodf" = x""yes; then :
62030 cat >>confdefs.h <<_ACEOF
62031 #define HAVE__FMODF 1
62032 _ACEOF
62035 done
62044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62045 $as_echo_n "checking for frexpf declaration... " >&6; }
62046 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62047 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62048 $as_echo_n "(cached) " >&6
62049 else
62052 ac_ext=cpp
62053 ac_cpp='$CXXCPP $CPPFLAGS'
62054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62059 /* end confdefs.h. */
62060 #include <math.h>
62062 main ()
62064 frexpf(0, 0);
62066 return 0;
62068 _ACEOF
62069 if ac_fn_cxx_try_compile "$LINENO"; then :
62070 glibcxx_cv_func_frexpf_use=yes
62071 else
62072 glibcxx_cv_func_frexpf_use=no
62074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62075 ac_ext=c
62076 ac_cpp='$CPP $CPPFLAGS'
62077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62086 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62088 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62089 for ac_func in frexpf
62090 do :
62091 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62092 if test "x$ac_cv_func_frexpf" = x""yes; then :
62093 cat >>confdefs.h <<_ACEOF
62094 #define HAVE_FREXPF 1
62095 _ACEOF
62098 done
62100 else
62102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62103 $as_echo_n "checking for _frexpf declaration... " >&6; }
62104 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62105 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62106 $as_echo_n "(cached) " >&6
62107 else
62110 ac_ext=cpp
62111 ac_cpp='$CXXCPP $CPPFLAGS'
62112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62117 /* end confdefs.h. */
62118 #include <math.h>
62120 main ()
62122 _frexpf(0, 0);
62124 return 0;
62126 _ACEOF
62127 if ac_fn_cxx_try_compile "$LINENO"; then :
62128 glibcxx_cv_func__frexpf_use=yes
62129 else
62130 glibcxx_cv_func__frexpf_use=no
62132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62133 ac_ext=c
62134 ac_cpp='$CPP $CPPFLAGS'
62135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62144 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62146 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62147 for ac_func in _frexpf
62148 do :
62149 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62150 if test "x$ac_cv_func__frexpf" = x""yes; then :
62151 cat >>confdefs.h <<_ACEOF
62152 #define HAVE__FREXPF 1
62153 _ACEOF
62156 done
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62166 $as_echo_n "checking for hypotf declaration... " >&6; }
62167 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62168 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62169 $as_echo_n "(cached) " >&6
62170 else
62173 ac_ext=cpp
62174 ac_cpp='$CXXCPP $CPPFLAGS'
62175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62180 /* end confdefs.h. */
62181 #include <math.h>
62183 main ()
62185 hypotf(0, 0);
62187 return 0;
62189 _ACEOF
62190 if ac_fn_cxx_try_compile "$LINENO"; then :
62191 glibcxx_cv_func_hypotf_use=yes
62192 else
62193 glibcxx_cv_func_hypotf_use=no
62195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62196 ac_ext=c
62197 ac_cpp='$CPP $CPPFLAGS'
62198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62207 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62209 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62210 for ac_func in hypotf
62211 do :
62212 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62213 if test "x$ac_cv_func_hypotf" = x""yes; then :
62214 cat >>confdefs.h <<_ACEOF
62215 #define HAVE_HYPOTF 1
62216 _ACEOF
62219 done
62221 else
62223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62224 $as_echo_n "checking for _hypotf declaration... " >&6; }
62225 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62226 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62227 $as_echo_n "(cached) " >&6
62228 else
62231 ac_ext=cpp
62232 ac_cpp='$CXXCPP $CPPFLAGS'
62233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62238 /* end confdefs.h. */
62239 #include <math.h>
62241 main ()
62243 _hypotf(0, 0);
62245 return 0;
62247 _ACEOF
62248 if ac_fn_cxx_try_compile "$LINENO"; then :
62249 glibcxx_cv_func__hypotf_use=yes
62250 else
62251 glibcxx_cv_func__hypotf_use=no
62253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62254 ac_ext=c
62255 ac_cpp='$CPP $CPPFLAGS'
62256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62265 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62267 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62268 for ac_func in _hypotf
62269 do :
62270 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62271 if test "x$ac_cv_func__hypotf" = x""yes; then :
62272 cat >>confdefs.h <<_ACEOF
62273 #define HAVE__HYPOTF 1
62274 _ACEOF
62277 done
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62287 $as_echo_n "checking for ldexpf declaration... " >&6; }
62288 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62289 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62290 $as_echo_n "(cached) " >&6
62291 else
62294 ac_ext=cpp
62295 ac_cpp='$CXXCPP $CPPFLAGS'
62296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62301 /* end confdefs.h. */
62302 #include <math.h>
62304 main ()
62306 ldexpf(0, 0);
62308 return 0;
62310 _ACEOF
62311 if ac_fn_cxx_try_compile "$LINENO"; then :
62312 glibcxx_cv_func_ldexpf_use=yes
62313 else
62314 glibcxx_cv_func_ldexpf_use=no
62316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62317 ac_ext=c
62318 ac_cpp='$CPP $CPPFLAGS'
62319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62328 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62330 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62331 for ac_func in ldexpf
62332 do :
62333 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62334 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62335 cat >>confdefs.h <<_ACEOF
62336 #define HAVE_LDEXPF 1
62337 _ACEOF
62340 done
62342 else
62344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62345 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62346 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62347 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62348 $as_echo_n "(cached) " >&6
62349 else
62352 ac_ext=cpp
62353 ac_cpp='$CXXCPP $CPPFLAGS'
62354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62359 /* end confdefs.h. */
62360 #include <math.h>
62362 main ()
62364 _ldexpf(0, 0);
62366 return 0;
62368 _ACEOF
62369 if ac_fn_cxx_try_compile "$LINENO"; then :
62370 glibcxx_cv_func__ldexpf_use=yes
62371 else
62372 glibcxx_cv_func__ldexpf_use=no
62374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62375 ac_ext=c
62376 ac_cpp='$CPP $CPPFLAGS'
62377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62386 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62388 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62389 for ac_func in _ldexpf
62390 do :
62391 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62392 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62393 cat >>confdefs.h <<_ACEOF
62394 #define HAVE__LDEXPF 1
62395 _ACEOF
62398 done
62407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62408 $as_echo_n "checking for logf declaration... " >&6; }
62409 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62410 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62411 $as_echo_n "(cached) " >&6
62412 else
62415 ac_ext=cpp
62416 ac_cpp='$CXXCPP $CPPFLAGS'
62417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62422 /* end confdefs.h. */
62423 #include <math.h>
62424 #ifdef HAVE_IEEEFP_H
62425 #include <ieeefp.h>
62426 #endif
62429 main ()
62431 logf(0);
62433 return 0;
62435 _ACEOF
62436 if ac_fn_cxx_try_compile "$LINENO"; then :
62437 glibcxx_cv_func_logf_use=yes
62438 else
62439 glibcxx_cv_func_logf_use=no
62441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62442 ac_ext=c
62443 ac_cpp='$CPP $CPPFLAGS'
62444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62453 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62455 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62456 for ac_func in logf
62457 do :
62458 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62459 if test "x$ac_cv_func_logf" = x""yes; then :
62460 cat >>confdefs.h <<_ACEOF
62461 #define HAVE_LOGF 1
62462 _ACEOF
62465 done
62467 else
62469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62470 $as_echo_n "checking for _logf declaration... " >&6; }
62471 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62472 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62473 $as_echo_n "(cached) " >&6
62474 else
62477 ac_ext=cpp
62478 ac_cpp='$CXXCPP $CPPFLAGS'
62479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62484 /* end confdefs.h. */
62485 #include <math.h>
62486 #ifdef HAVE_IEEEFP_H
62487 #include <ieeefp.h>
62488 #endif
62491 main ()
62493 _logf(0);
62495 return 0;
62497 _ACEOF
62498 if ac_fn_cxx_try_compile "$LINENO"; then :
62499 glibcxx_cv_func__logf_use=yes
62500 else
62501 glibcxx_cv_func__logf_use=no
62503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62504 ac_ext=c
62505 ac_cpp='$CPP $CPPFLAGS'
62506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62515 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62517 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62518 for ac_func in _logf
62519 do :
62520 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62521 if test "x$ac_cv_func__logf" = x""yes; then :
62522 cat >>confdefs.h <<_ACEOF
62523 #define HAVE__LOGF 1
62524 _ACEOF
62527 done
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62537 $as_echo_n "checking for log10f declaration... " >&6; }
62538 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62539 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62540 $as_echo_n "(cached) " >&6
62541 else
62544 ac_ext=cpp
62545 ac_cpp='$CXXCPP $CPPFLAGS'
62546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62551 /* end confdefs.h. */
62552 #include <math.h>
62553 #ifdef HAVE_IEEEFP_H
62554 #include <ieeefp.h>
62555 #endif
62558 main ()
62560 log10f(0);
62562 return 0;
62564 _ACEOF
62565 if ac_fn_cxx_try_compile "$LINENO"; then :
62566 glibcxx_cv_func_log10f_use=yes
62567 else
62568 glibcxx_cv_func_log10f_use=no
62570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62571 ac_ext=c
62572 ac_cpp='$CPP $CPPFLAGS'
62573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62582 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62584 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62585 for ac_func in log10f
62586 do :
62587 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62588 if test "x$ac_cv_func_log10f" = x""yes; then :
62589 cat >>confdefs.h <<_ACEOF
62590 #define HAVE_LOG10F 1
62591 _ACEOF
62594 done
62596 else
62598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62599 $as_echo_n "checking for _log10f declaration... " >&6; }
62600 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62601 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62602 $as_echo_n "(cached) " >&6
62603 else
62606 ac_ext=cpp
62607 ac_cpp='$CXXCPP $CPPFLAGS'
62608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62613 /* end confdefs.h. */
62614 #include <math.h>
62615 #ifdef HAVE_IEEEFP_H
62616 #include <ieeefp.h>
62617 #endif
62620 main ()
62622 _log10f(0);
62624 return 0;
62626 _ACEOF
62627 if ac_fn_cxx_try_compile "$LINENO"; then :
62628 glibcxx_cv_func__log10f_use=yes
62629 else
62630 glibcxx_cv_func__log10f_use=no
62632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62633 ac_ext=c
62634 ac_cpp='$CPP $CPPFLAGS'
62635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62644 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62646 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62647 for ac_func in _log10f
62648 do :
62649 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62650 if test "x$ac_cv_func__log10f" = x""yes; then :
62651 cat >>confdefs.h <<_ACEOF
62652 #define HAVE__LOG10F 1
62653 _ACEOF
62656 done
62665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62666 $as_echo_n "checking for modff declaration... " >&6; }
62667 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62668 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62669 $as_echo_n "(cached) " >&6
62670 else
62673 ac_ext=cpp
62674 ac_cpp='$CXXCPP $CPPFLAGS'
62675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62680 /* end confdefs.h. */
62681 #include <math.h>
62683 main ()
62685 modff(0, 0);
62687 return 0;
62689 _ACEOF
62690 if ac_fn_cxx_try_compile "$LINENO"; then :
62691 glibcxx_cv_func_modff_use=yes
62692 else
62693 glibcxx_cv_func_modff_use=no
62695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62696 ac_ext=c
62697 ac_cpp='$CPP $CPPFLAGS'
62698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62707 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62709 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62710 for ac_func in modff
62711 do :
62712 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62713 if test "x$ac_cv_func_modff" = x""yes; then :
62714 cat >>confdefs.h <<_ACEOF
62715 #define HAVE_MODFF 1
62716 _ACEOF
62719 done
62721 else
62723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62724 $as_echo_n "checking for _modff declaration... " >&6; }
62725 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62726 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62727 $as_echo_n "(cached) " >&6
62728 else
62731 ac_ext=cpp
62732 ac_cpp='$CXXCPP $CPPFLAGS'
62733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62738 /* end confdefs.h. */
62739 #include <math.h>
62741 main ()
62743 _modff(0, 0);
62745 return 0;
62747 _ACEOF
62748 if ac_fn_cxx_try_compile "$LINENO"; then :
62749 glibcxx_cv_func__modff_use=yes
62750 else
62751 glibcxx_cv_func__modff_use=no
62753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62754 ac_ext=c
62755 ac_cpp='$CPP $CPPFLAGS'
62756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62765 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62767 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62768 for ac_func in _modff
62769 do :
62770 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62771 if test "x$ac_cv_func__modff" = x""yes; then :
62772 cat >>confdefs.h <<_ACEOF
62773 #define HAVE__MODFF 1
62774 _ACEOF
62777 done
62786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62787 $as_echo_n "checking for modf declaration... " >&6; }
62788 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62789 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62790 $as_echo_n "(cached) " >&6
62791 else
62794 ac_ext=cpp
62795 ac_cpp='$CXXCPP $CPPFLAGS'
62796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62801 /* end confdefs.h. */
62802 #include <math.h>
62804 main ()
62806 modf(0, 0);
62808 return 0;
62810 _ACEOF
62811 if ac_fn_cxx_try_compile "$LINENO"; then :
62812 glibcxx_cv_func_modf_use=yes
62813 else
62814 glibcxx_cv_func_modf_use=no
62816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62817 ac_ext=c
62818 ac_cpp='$CPP $CPPFLAGS'
62819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62828 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62830 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62831 for ac_func in modf
62832 do :
62833 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62834 if test "x$ac_cv_func_modf" = x""yes; then :
62835 cat >>confdefs.h <<_ACEOF
62836 #define HAVE_MODF 1
62837 _ACEOF
62840 done
62842 else
62844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62845 $as_echo_n "checking for _modf declaration... " >&6; }
62846 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62847 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62848 $as_echo_n "(cached) " >&6
62849 else
62852 ac_ext=cpp
62853 ac_cpp='$CXXCPP $CPPFLAGS'
62854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62859 /* end confdefs.h. */
62860 #include <math.h>
62862 main ()
62864 _modf(0, 0);
62866 return 0;
62868 _ACEOF
62869 if ac_fn_cxx_try_compile "$LINENO"; then :
62870 glibcxx_cv_func__modf_use=yes
62871 else
62872 glibcxx_cv_func__modf_use=no
62874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62875 ac_ext=c
62876 ac_cpp='$CPP $CPPFLAGS'
62877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62886 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62888 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62889 for ac_func in _modf
62890 do :
62891 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62892 if test "x$ac_cv_func__modf" = x""yes; then :
62893 cat >>confdefs.h <<_ACEOF
62894 #define HAVE__MODF 1
62895 _ACEOF
62898 done
62907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62908 $as_echo_n "checking for powf declaration... " >&6; }
62909 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62910 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62911 $as_echo_n "(cached) " >&6
62912 else
62915 ac_ext=cpp
62916 ac_cpp='$CXXCPP $CPPFLAGS'
62917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62922 /* end confdefs.h. */
62923 #include <math.h>
62925 main ()
62927 powf(0, 0);
62929 return 0;
62931 _ACEOF
62932 if ac_fn_cxx_try_compile "$LINENO"; then :
62933 glibcxx_cv_func_powf_use=yes
62934 else
62935 glibcxx_cv_func_powf_use=no
62937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62938 ac_ext=c
62939 ac_cpp='$CPP $CPPFLAGS'
62940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62949 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62951 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62952 for ac_func in powf
62953 do :
62954 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62955 if test "x$ac_cv_func_powf" = x""yes; then :
62956 cat >>confdefs.h <<_ACEOF
62957 #define HAVE_POWF 1
62958 _ACEOF
62961 done
62963 else
62965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62966 $as_echo_n "checking for _powf declaration... " >&6; }
62967 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62968 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62969 $as_echo_n "(cached) " >&6
62970 else
62973 ac_ext=cpp
62974 ac_cpp='$CXXCPP $CPPFLAGS'
62975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62980 /* end confdefs.h. */
62981 #include <math.h>
62983 main ()
62985 _powf(0, 0);
62987 return 0;
62989 _ACEOF
62990 if ac_fn_cxx_try_compile "$LINENO"; then :
62991 glibcxx_cv_func__powf_use=yes
62992 else
62993 glibcxx_cv_func__powf_use=no
62995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62996 ac_ext=c
62997 ac_cpp='$CPP $CPPFLAGS'
62998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63007 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63009 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63010 for ac_func in _powf
63011 do :
63012 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63013 if test "x$ac_cv_func__powf" = x""yes; then :
63014 cat >>confdefs.h <<_ACEOF
63015 #define HAVE__POWF 1
63016 _ACEOF
63019 done
63028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63029 $as_echo_n "checking for sqrtf declaration... " >&6; }
63030 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63031 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63032 $as_echo_n "(cached) " >&6
63033 else
63036 ac_ext=cpp
63037 ac_cpp='$CXXCPP $CPPFLAGS'
63038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63043 /* end confdefs.h. */
63044 #include <math.h>
63045 #ifdef HAVE_IEEEFP_H
63046 #include <ieeefp.h>
63047 #endif
63050 main ()
63052 sqrtf(0);
63054 return 0;
63056 _ACEOF
63057 if ac_fn_cxx_try_compile "$LINENO"; then :
63058 glibcxx_cv_func_sqrtf_use=yes
63059 else
63060 glibcxx_cv_func_sqrtf_use=no
63062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63063 ac_ext=c
63064 ac_cpp='$CPP $CPPFLAGS'
63065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63074 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63076 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63077 for ac_func in sqrtf
63078 do :
63079 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63080 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63081 cat >>confdefs.h <<_ACEOF
63082 #define HAVE_SQRTF 1
63083 _ACEOF
63086 done
63088 else
63090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63091 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63092 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63093 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63094 $as_echo_n "(cached) " >&6
63095 else
63098 ac_ext=cpp
63099 ac_cpp='$CXXCPP $CPPFLAGS'
63100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63105 /* end confdefs.h. */
63106 #include <math.h>
63107 #ifdef HAVE_IEEEFP_H
63108 #include <ieeefp.h>
63109 #endif
63112 main ()
63114 _sqrtf(0);
63116 return 0;
63118 _ACEOF
63119 if ac_fn_cxx_try_compile "$LINENO"; then :
63120 glibcxx_cv_func__sqrtf_use=yes
63121 else
63122 glibcxx_cv_func__sqrtf_use=no
63124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63125 ac_ext=c
63126 ac_cpp='$CPP $CPPFLAGS'
63127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63136 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63138 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63139 for ac_func in _sqrtf
63140 do :
63141 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63142 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63143 cat >>confdefs.h <<_ACEOF
63144 #define HAVE__SQRTF 1
63145 _ACEOF
63148 done
63157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63158 $as_echo_n "checking for sincosf declaration... " >&6; }
63159 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63160 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63161 $as_echo_n "(cached) " >&6
63162 else
63165 ac_ext=cpp
63166 ac_cpp='$CXXCPP $CPPFLAGS'
63167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63172 /* end confdefs.h. */
63173 #include <math.h>
63175 main ()
63177 sincosf(0, 0, 0);
63179 return 0;
63181 _ACEOF
63182 if ac_fn_cxx_try_compile "$LINENO"; then :
63183 glibcxx_cv_func_sincosf_use=yes
63184 else
63185 glibcxx_cv_func_sincosf_use=no
63187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63188 ac_ext=c
63189 ac_cpp='$CPP $CPPFLAGS'
63190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63199 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63201 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63202 for ac_func in sincosf
63203 do :
63204 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63205 if test "x$ac_cv_func_sincosf" = x""yes; then :
63206 cat >>confdefs.h <<_ACEOF
63207 #define HAVE_SINCOSF 1
63208 _ACEOF
63211 done
63213 else
63215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63216 $as_echo_n "checking for _sincosf declaration... " >&6; }
63217 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63218 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63219 $as_echo_n "(cached) " >&6
63220 else
63223 ac_ext=cpp
63224 ac_cpp='$CXXCPP $CPPFLAGS'
63225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63230 /* end confdefs.h. */
63231 #include <math.h>
63233 main ()
63235 _sincosf(0, 0, 0);
63237 return 0;
63239 _ACEOF
63240 if ac_fn_cxx_try_compile "$LINENO"; then :
63241 glibcxx_cv_func__sincosf_use=yes
63242 else
63243 glibcxx_cv_func__sincosf_use=no
63245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63246 ac_ext=c
63247 ac_cpp='$CPP $CPPFLAGS'
63248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63257 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63259 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63260 for ac_func in _sincosf
63261 do :
63262 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63263 if test "x$ac_cv_func__sincosf" = x""yes; then :
63264 cat >>confdefs.h <<_ACEOF
63265 #define HAVE__SINCOSF 1
63266 _ACEOF
63269 done
63278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63279 $as_echo_n "checking for finitef declaration... " >&6; }
63280 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63281 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63282 $as_echo_n "(cached) " >&6
63283 else
63286 ac_ext=cpp
63287 ac_cpp='$CXXCPP $CPPFLAGS'
63288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63293 /* end confdefs.h. */
63294 #include <math.h>
63295 #ifdef HAVE_IEEEFP_H
63296 #include <ieeefp.h>
63297 #endif
63300 main ()
63302 finitef(0);
63304 return 0;
63306 _ACEOF
63307 if ac_fn_cxx_try_compile "$LINENO"; then :
63308 glibcxx_cv_func_finitef_use=yes
63309 else
63310 glibcxx_cv_func_finitef_use=no
63312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63313 ac_ext=c
63314 ac_cpp='$CPP $CPPFLAGS'
63315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63324 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63326 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63327 for ac_func in finitef
63328 do :
63329 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63330 if test "x$ac_cv_func_finitef" = x""yes; then :
63331 cat >>confdefs.h <<_ACEOF
63332 #define HAVE_FINITEF 1
63333 _ACEOF
63336 done
63338 else
63340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63341 $as_echo_n "checking for _finitef declaration... " >&6; }
63342 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63343 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63344 $as_echo_n "(cached) " >&6
63345 else
63348 ac_ext=cpp
63349 ac_cpp='$CXXCPP $CPPFLAGS'
63350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63355 /* end confdefs.h. */
63356 #include <math.h>
63357 #ifdef HAVE_IEEEFP_H
63358 #include <ieeefp.h>
63359 #endif
63362 main ()
63364 _finitef(0);
63366 return 0;
63368 _ACEOF
63369 if ac_fn_cxx_try_compile "$LINENO"; then :
63370 glibcxx_cv_func__finitef_use=yes
63371 else
63372 glibcxx_cv_func__finitef_use=no
63374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63375 ac_ext=c
63376 ac_cpp='$CPP $CPPFLAGS'
63377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63386 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63388 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63389 for ac_func in _finitef
63390 do :
63391 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63392 if test "x$ac_cv_func__finitef" = x""yes; then :
63393 cat >>confdefs.h <<_ACEOF
63394 #define HAVE__FINITEF 1
63395 _ACEOF
63398 done
63407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63408 $as_echo_n "checking for long double trig functions... " >&6; }
63409 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <math.h>
63424 main ()
63426 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63428 return 0;
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func_long_double_trig_use=yes
63433 else
63434 glibcxx_cv_func_long_double_trig_use=no
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63446 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63447 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63448 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63449 do :
63450 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63451 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63452 eval as_val=\$$as_ac_var
63453 if test "x$as_val" = x""yes; then :
63454 cat >>confdefs.h <<_ACEOF
63455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63456 _ACEOF
63459 done
63461 else
63462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63463 $as_echo_n "checking for _long double trig functions... " >&6; }
63464 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63465 $as_echo_n "(cached) " >&6
63466 else
63469 ac_ext=cpp
63470 ac_cpp='$CXXCPP $CPPFLAGS'
63471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63476 /* end confdefs.h. */
63477 #include <math.h>
63479 main ()
63481 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63483 return 0;
63485 _ACEOF
63486 if ac_fn_cxx_try_compile "$LINENO"; then :
63487 glibcxx_cv_func__long_double_trig_use=yes
63488 else
63489 glibcxx_cv_func__long_double_trig_use=no
63491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63492 ac_ext=c
63493 ac_cpp='$CPP $CPPFLAGS'
63494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63501 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63502 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63503 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63504 do :
63505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63507 eval as_val=\$$as_ac_var
63508 if test "x$as_val" = x""yes; then :
63509 cat >>confdefs.h <<_ACEOF
63510 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63511 _ACEOF
63514 done
63523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63524 $as_echo_n "checking for long double round functions... " >&6; }
63525 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63526 $as_echo_n "(cached) " >&6
63527 else
63530 ac_ext=cpp
63531 ac_cpp='$CXXCPP $CPPFLAGS'
63532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63537 /* end confdefs.h. */
63538 #include <math.h>
63540 main ()
63542 ceill (0); floorl (0);
63544 return 0;
63546 _ACEOF
63547 if ac_fn_cxx_try_compile "$LINENO"; then :
63548 glibcxx_cv_func_long_double_round_use=yes
63549 else
63550 glibcxx_cv_func_long_double_round_use=no
63552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63553 ac_ext=c
63554 ac_cpp='$CPP $CPPFLAGS'
63555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63562 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63563 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63564 for ac_func in ceill floorl
63565 do :
63566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63568 eval as_val=\$$as_ac_var
63569 if test "x$as_val" = x""yes; then :
63570 cat >>confdefs.h <<_ACEOF
63571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63572 _ACEOF
63575 done
63577 else
63578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63579 $as_echo_n "checking for _long double round functions... " >&6; }
63580 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63581 $as_echo_n "(cached) " >&6
63582 else
63585 ac_ext=cpp
63586 ac_cpp='$CXXCPP $CPPFLAGS'
63587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63592 /* end confdefs.h. */
63593 #include <math.h>
63595 main ()
63597 _ceill (0); _floorl (0);
63599 return 0;
63601 _ACEOF
63602 if ac_fn_cxx_try_compile "$LINENO"; then :
63603 glibcxx_cv_func__long_double_round_use=yes
63604 else
63605 glibcxx_cv_func__long_double_round_use=no
63607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63608 ac_ext=c
63609 ac_cpp='$CPP $CPPFLAGS'
63610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63617 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63618 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63619 for ac_func in _ceill _floorl
63620 do :
63621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63623 eval as_val=\$$as_ac_var
63624 if test "x$as_val" = x""yes; then :
63625 cat >>confdefs.h <<_ACEOF
63626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63627 _ACEOF
63630 done
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63641 $as_echo_n "checking for isnanl declaration... " >&6; }
63642 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63643 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63644 $as_echo_n "(cached) " >&6
63645 else
63648 ac_ext=cpp
63649 ac_cpp='$CXXCPP $CPPFLAGS'
63650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63662 main ()
63664 isnanl(0);
63666 return 0;
63668 _ACEOF
63669 if ac_fn_cxx_try_compile "$LINENO"; then :
63670 glibcxx_cv_func_isnanl_use=yes
63671 else
63672 glibcxx_cv_func_isnanl_use=no
63674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63686 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63688 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63689 for ac_func in isnanl
63690 do :
63691 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63692 if test "x$ac_cv_func_isnanl" = x""yes; then :
63693 cat >>confdefs.h <<_ACEOF
63694 #define HAVE_ISNANL 1
63695 _ACEOF
63698 done
63700 else
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63703 $as_echo_n "checking for _isnanl declaration... " >&6; }
63704 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63705 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63706 $as_echo_n "(cached) " >&6
63707 else
63710 ac_ext=cpp
63711 ac_cpp='$CXXCPP $CPPFLAGS'
63712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h. */
63718 #include <math.h>
63719 #ifdef HAVE_IEEEFP_H
63720 #include <ieeefp.h>
63721 #endif
63724 main ()
63726 _isnanl(0);
63728 return 0;
63730 _ACEOF
63731 if ac_fn_cxx_try_compile "$LINENO"; then :
63732 glibcxx_cv_func__isnanl_use=yes
63733 else
63734 glibcxx_cv_func__isnanl_use=no
63736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63737 ac_ext=c
63738 ac_cpp='$CPP $CPPFLAGS'
63739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63748 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63750 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63751 for ac_func in _isnanl
63752 do :
63753 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63754 if test "x$ac_cv_func__isnanl" = x""yes; then :
63755 cat >>confdefs.h <<_ACEOF
63756 #define HAVE__ISNANL 1
63757 _ACEOF
63760 done
63769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63770 $as_echo_n "checking for isinfl declaration... " >&6; }
63771 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63772 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63773 $as_echo_n "(cached) " >&6
63774 else
63777 ac_ext=cpp
63778 ac_cpp='$CXXCPP $CPPFLAGS'
63779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63784 /* end confdefs.h. */
63785 #include <math.h>
63786 #ifdef HAVE_IEEEFP_H
63787 #include <ieeefp.h>
63788 #endif
63791 main ()
63793 isinfl(0);
63795 return 0;
63797 _ACEOF
63798 if ac_fn_cxx_try_compile "$LINENO"; then :
63799 glibcxx_cv_func_isinfl_use=yes
63800 else
63801 glibcxx_cv_func_isinfl_use=no
63803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63804 ac_ext=c
63805 ac_cpp='$CPP $CPPFLAGS'
63806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63815 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63817 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63818 for ac_func in isinfl
63819 do :
63820 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63821 if test "x$ac_cv_func_isinfl" = x""yes; then :
63822 cat >>confdefs.h <<_ACEOF
63823 #define HAVE_ISINFL 1
63824 _ACEOF
63827 done
63829 else
63831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63832 $as_echo_n "checking for _isinfl declaration... " >&6; }
63833 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63834 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63835 $as_echo_n "(cached) " >&6
63836 else
63839 ac_ext=cpp
63840 ac_cpp='$CXXCPP $CPPFLAGS'
63841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63846 /* end confdefs.h. */
63847 #include <math.h>
63848 #ifdef HAVE_IEEEFP_H
63849 #include <ieeefp.h>
63850 #endif
63853 main ()
63855 _isinfl(0);
63857 return 0;
63859 _ACEOF
63860 if ac_fn_cxx_try_compile "$LINENO"; then :
63861 glibcxx_cv_func__isinfl_use=yes
63862 else
63863 glibcxx_cv_func__isinfl_use=no
63865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63866 ac_ext=c
63867 ac_cpp='$CPP $CPPFLAGS'
63868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63877 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63879 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63880 for ac_func in _isinfl
63881 do :
63882 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63883 if test "x$ac_cv_func__isinfl" = x""yes; then :
63884 cat >>confdefs.h <<_ACEOF
63885 #define HAVE__ISINFL 1
63886 _ACEOF
63889 done
63898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63899 $as_echo_n "checking for atan2l declaration... " >&6; }
63900 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63901 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63902 $as_echo_n "(cached) " >&6
63903 else
63906 ac_ext=cpp
63907 ac_cpp='$CXXCPP $CPPFLAGS'
63908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63913 /* end confdefs.h. */
63914 #include <math.h>
63916 main ()
63918 atan2l(0, 0);
63920 return 0;
63922 _ACEOF
63923 if ac_fn_cxx_try_compile "$LINENO"; then :
63924 glibcxx_cv_func_atan2l_use=yes
63925 else
63926 glibcxx_cv_func_atan2l_use=no
63928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63929 ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63940 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63942 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63943 for ac_func in atan2l
63944 do :
63945 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63946 if test "x$ac_cv_func_atan2l" = x""yes; then :
63947 cat >>confdefs.h <<_ACEOF
63948 #define HAVE_ATAN2L 1
63949 _ACEOF
63952 done
63954 else
63956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63957 $as_echo_n "checking for _atan2l declaration... " >&6; }
63958 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63959 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63960 $as_echo_n "(cached) " >&6
63961 else
63964 ac_ext=cpp
63965 ac_cpp='$CXXCPP $CPPFLAGS'
63966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63971 /* end confdefs.h. */
63972 #include <math.h>
63974 main ()
63976 _atan2l(0, 0);
63978 return 0;
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func__atan2l_use=yes
63983 else
63984 glibcxx_cv_func__atan2l_use=no
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63998 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64000 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64001 for ac_func in _atan2l
64002 do :
64003 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64004 if test "x$ac_cv_func__atan2l" = x""yes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE__ATAN2L 1
64007 _ACEOF
64010 done
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64020 $as_echo_n "checking for expl declaration... " >&6; }
64021 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64022 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64036 #ifdef HAVE_IEEEFP_H
64037 #include <ieeefp.h>
64038 #endif
64041 main ()
64043 expl(0);
64045 return 0;
64047 _ACEOF
64048 if ac_fn_cxx_try_compile "$LINENO"; then :
64049 glibcxx_cv_func_expl_use=yes
64050 else
64051 glibcxx_cv_func_expl_use=no
64053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64054 ac_ext=c
64055 ac_cpp='$CPP $CPPFLAGS'
64056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64065 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64067 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64068 for ac_func in expl
64069 do :
64070 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64071 if test "x$ac_cv_func_expl" = x""yes; then :
64072 cat >>confdefs.h <<_ACEOF
64073 #define HAVE_EXPL 1
64074 _ACEOF
64077 done
64079 else
64081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64082 $as_echo_n "checking for _expl declaration... " >&6; }
64083 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64084 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64085 $as_echo_n "(cached) " >&6
64086 else
64089 ac_ext=cpp
64090 ac_cpp='$CXXCPP $CPPFLAGS'
64091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64096 /* end confdefs.h. */
64097 #include <math.h>
64098 #ifdef HAVE_IEEEFP_H
64099 #include <ieeefp.h>
64100 #endif
64103 main ()
64105 _expl(0);
64107 return 0;
64109 _ACEOF
64110 if ac_fn_cxx_try_compile "$LINENO"; then :
64111 glibcxx_cv_func__expl_use=yes
64112 else
64113 glibcxx_cv_func__expl_use=no
64115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64116 ac_ext=c
64117 ac_cpp='$CPP $CPPFLAGS'
64118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64127 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64129 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64130 for ac_func in _expl
64131 do :
64132 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64133 if test "x$ac_cv_func__expl" = x""yes; then :
64134 cat >>confdefs.h <<_ACEOF
64135 #define HAVE__EXPL 1
64136 _ACEOF
64139 done
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64149 $as_echo_n "checking for fabsl declaration... " >&6; }
64150 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64151 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64152 $as_echo_n "(cached) " >&6
64153 else
64156 ac_ext=cpp
64157 ac_cpp='$CXXCPP $CPPFLAGS'
64158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64163 /* end confdefs.h. */
64164 #include <math.h>
64165 #ifdef HAVE_IEEEFP_H
64166 #include <ieeefp.h>
64167 #endif
64170 main ()
64172 fabsl(0);
64174 return 0;
64176 _ACEOF
64177 if ac_fn_cxx_try_compile "$LINENO"; then :
64178 glibcxx_cv_func_fabsl_use=yes
64179 else
64180 glibcxx_cv_func_fabsl_use=no
64182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64183 ac_ext=c
64184 ac_cpp='$CPP $CPPFLAGS'
64185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64194 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64196 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64197 for ac_func in fabsl
64198 do :
64199 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64200 if test "x$ac_cv_func_fabsl" = x""yes; then :
64201 cat >>confdefs.h <<_ACEOF
64202 #define HAVE_FABSL 1
64203 _ACEOF
64206 done
64208 else
64210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64211 $as_echo_n "checking for _fabsl declaration... " >&6; }
64212 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64213 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64214 $as_echo_n "(cached) " >&6
64215 else
64218 ac_ext=cpp
64219 ac_cpp='$CXXCPP $CPPFLAGS'
64220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64225 /* end confdefs.h. */
64226 #include <math.h>
64227 #ifdef HAVE_IEEEFP_H
64228 #include <ieeefp.h>
64229 #endif
64232 main ()
64234 _fabsl(0);
64236 return 0;
64238 _ACEOF
64239 if ac_fn_cxx_try_compile "$LINENO"; then :
64240 glibcxx_cv_func__fabsl_use=yes
64241 else
64242 glibcxx_cv_func__fabsl_use=no
64244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64245 ac_ext=c
64246 ac_cpp='$CPP $CPPFLAGS'
64247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64256 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64258 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64259 for ac_func in _fabsl
64260 do :
64261 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64262 if test "x$ac_cv_func__fabsl" = x""yes; then :
64263 cat >>confdefs.h <<_ACEOF
64264 #define HAVE__FABSL 1
64265 _ACEOF
64268 done
64277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64278 $as_echo_n "checking for fmodl declaration... " >&6; }
64279 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64280 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64281 $as_echo_n "(cached) " >&6
64282 else
64285 ac_ext=cpp
64286 ac_cpp='$CXXCPP $CPPFLAGS'
64287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64292 /* end confdefs.h. */
64293 #include <math.h>
64295 main ()
64297 fmodl(0, 0);
64299 return 0;
64301 _ACEOF
64302 if ac_fn_cxx_try_compile "$LINENO"; then :
64303 glibcxx_cv_func_fmodl_use=yes
64304 else
64305 glibcxx_cv_func_fmodl_use=no
64307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64308 ac_ext=c
64309 ac_cpp='$CPP $CPPFLAGS'
64310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64319 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64321 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64322 for ac_func in fmodl
64323 do :
64324 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64325 if test "x$ac_cv_func_fmodl" = x""yes; then :
64326 cat >>confdefs.h <<_ACEOF
64327 #define HAVE_FMODL 1
64328 _ACEOF
64331 done
64333 else
64335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64336 $as_echo_n "checking for _fmodl declaration... " >&6; }
64337 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64338 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64339 $as_echo_n "(cached) " >&6
64340 else
64343 ac_ext=cpp
64344 ac_cpp='$CXXCPP $CPPFLAGS'
64345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64350 /* end confdefs.h. */
64351 #include <math.h>
64353 main ()
64355 _fmodl(0, 0);
64357 return 0;
64359 _ACEOF
64360 if ac_fn_cxx_try_compile "$LINENO"; then :
64361 glibcxx_cv_func__fmodl_use=yes
64362 else
64363 glibcxx_cv_func__fmodl_use=no
64365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64366 ac_ext=c
64367 ac_cpp='$CPP $CPPFLAGS'
64368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64377 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64379 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64380 for ac_func in _fmodl
64381 do :
64382 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64383 if test "x$ac_cv_func__fmodl" = x""yes; then :
64384 cat >>confdefs.h <<_ACEOF
64385 #define HAVE__FMODL 1
64386 _ACEOF
64389 done
64398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64399 $as_echo_n "checking for frexpl declaration... " >&6; }
64400 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64401 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64402 $as_echo_n "(cached) " >&6
64403 else
64406 ac_ext=cpp
64407 ac_cpp='$CXXCPP $CPPFLAGS'
64408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64413 /* end confdefs.h. */
64414 #include <math.h>
64416 main ()
64418 frexpl(0, 0);
64420 return 0;
64422 _ACEOF
64423 if ac_fn_cxx_try_compile "$LINENO"; then :
64424 glibcxx_cv_func_frexpl_use=yes
64425 else
64426 glibcxx_cv_func_frexpl_use=no
64428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64429 ac_ext=c
64430 ac_cpp='$CPP $CPPFLAGS'
64431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64440 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64442 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64443 for ac_func in frexpl
64444 do :
64445 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64446 if test "x$ac_cv_func_frexpl" = x""yes; then :
64447 cat >>confdefs.h <<_ACEOF
64448 #define HAVE_FREXPL 1
64449 _ACEOF
64452 done
64454 else
64456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64457 $as_echo_n "checking for _frexpl declaration... " >&6; }
64458 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64459 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64460 $as_echo_n "(cached) " >&6
64461 else
64464 ac_ext=cpp
64465 ac_cpp='$CXXCPP $CPPFLAGS'
64466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64471 /* end confdefs.h. */
64472 #include <math.h>
64474 main ()
64476 _frexpl(0, 0);
64478 return 0;
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func__frexpl_use=yes
64483 else
64484 glibcxx_cv_func__frexpl_use=no
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64498 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64500 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64501 for ac_func in _frexpl
64502 do :
64503 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64504 if test "x$ac_cv_func__frexpl" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE__FREXPL 1
64507 _ACEOF
64510 done
64519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64520 $as_echo_n "checking for hypotl declaration... " >&6; }
64521 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64522 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64523 $as_echo_n "(cached) " >&6
64524 else
64527 ac_ext=cpp
64528 ac_cpp='$CXXCPP $CPPFLAGS'
64529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64534 /* end confdefs.h. */
64535 #include <math.h>
64537 main ()
64539 hypotl(0, 0);
64541 return 0;
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func_hypotl_use=yes
64546 else
64547 glibcxx_cv_func_hypotl_use=no
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64561 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64563 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64564 for ac_func in hypotl
64565 do :
64566 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64567 if test "x$ac_cv_func_hypotl" = x""yes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE_HYPOTL 1
64570 _ACEOF
64573 done
64575 else
64577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64578 $as_echo_n "checking for _hypotl declaration... " >&6; }
64579 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64580 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64581 $as_echo_n "(cached) " >&6
64582 else
64585 ac_ext=cpp
64586 ac_cpp='$CXXCPP $CPPFLAGS'
64587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64592 /* end confdefs.h. */
64593 #include <math.h>
64595 main ()
64597 _hypotl(0, 0);
64599 return 0;
64601 _ACEOF
64602 if ac_fn_cxx_try_compile "$LINENO"; then :
64603 glibcxx_cv_func__hypotl_use=yes
64604 else
64605 glibcxx_cv_func__hypotl_use=no
64607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64608 ac_ext=c
64609 ac_cpp='$CPP $CPPFLAGS'
64610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64619 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64621 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64622 for ac_func in _hypotl
64623 do :
64624 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64625 if test "x$ac_cv_func__hypotl" = x""yes; then :
64626 cat >>confdefs.h <<_ACEOF
64627 #define HAVE__HYPOTL 1
64628 _ACEOF
64631 done
64640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64641 $as_echo_n "checking for ldexpl declaration... " >&6; }
64642 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64643 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64644 $as_echo_n "(cached) " >&6
64645 else
64648 ac_ext=cpp
64649 ac_cpp='$CXXCPP $CPPFLAGS'
64650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64655 /* end confdefs.h. */
64656 #include <math.h>
64658 main ()
64660 ldexpl(0, 0);
64662 return 0;
64664 _ACEOF
64665 if ac_fn_cxx_try_compile "$LINENO"; then :
64666 glibcxx_cv_func_ldexpl_use=yes
64667 else
64668 glibcxx_cv_func_ldexpl_use=no
64670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64671 ac_ext=c
64672 ac_cpp='$CPP $CPPFLAGS'
64673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64682 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64684 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64685 for ac_func in ldexpl
64686 do :
64687 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64688 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64689 cat >>confdefs.h <<_ACEOF
64690 #define HAVE_LDEXPL 1
64691 _ACEOF
64694 done
64696 else
64698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64699 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64700 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64701 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64702 $as_echo_n "(cached) " >&6
64703 else
64706 ac_ext=cpp
64707 ac_cpp='$CXXCPP $CPPFLAGS'
64708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64713 /* end confdefs.h. */
64714 #include <math.h>
64716 main ()
64718 _ldexpl(0, 0);
64720 return 0;
64722 _ACEOF
64723 if ac_fn_cxx_try_compile "$LINENO"; then :
64724 glibcxx_cv_func__ldexpl_use=yes
64725 else
64726 glibcxx_cv_func__ldexpl_use=no
64728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64729 ac_ext=c
64730 ac_cpp='$CPP $CPPFLAGS'
64731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64740 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64742 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64743 for ac_func in _ldexpl
64744 do :
64745 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64746 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64747 cat >>confdefs.h <<_ACEOF
64748 #define HAVE__LDEXPL 1
64749 _ACEOF
64752 done
64761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64762 $as_echo_n "checking for logl declaration... " >&6; }
64763 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64764 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64765 $as_echo_n "(cached) " >&6
64766 else
64769 ac_ext=cpp
64770 ac_cpp='$CXXCPP $CPPFLAGS'
64771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64776 /* end confdefs.h. */
64777 #include <math.h>
64778 #ifdef HAVE_IEEEFP_H
64779 #include <ieeefp.h>
64780 #endif
64783 main ()
64785 logl(0);
64787 return 0;
64789 _ACEOF
64790 if ac_fn_cxx_try_compile "$LINENO"; then :
64791 glibcxx_cv_func_logl_use=yes
64792 else
64793 glibcxx_cv_func_logl_use=no
64795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64796 ac_ext=c
64797 ac_cpp='$CPP $CPPFLAGS'
64798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64807 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64809 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64810 for ac_func in logl
64811 do :
64812 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64813 if test "x$ac_cv_func_logl" = x""yes; then :
64814 cat >>confdefs.h <<_ACEOF
64815 #define HAVE_LOGL 1
64816 _ACEOF
64819 done
64821 else
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64824 $as_echo_n "checking for _logl declaration... " >&6; }
64825 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64826 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64827 $as_echo_n "(cached) " >&6
64828 else
64831 ac_ext=cpp
64832 ac_cpp='$CXXCPP $CPPFLAGS'
64833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64838 /* end confdefs.h. */
64839 #include <math.h>
64840 #ifdef HAVE_IEEEFP_H
64841 #include <ieeefp.h>
64842 #endif
64845 main ()
64847 _logl(0);
64849 return 0;
64851 _ACEOF
64852 if ac_fn_cxx_try_compile "$LINENO"; then :
64853 glibcxx_cv_func__logl_use=yes
64854 else
64855 glibcxx_cv_func__logl_use=no
64857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64858 ac_ext=c
64859 ac_cpp='$CPP $CPPFLAGS'
64860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64869 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64871 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64872 for ac_func in _logl
64873 do :
64874 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64875 if test "x$ac_cv_func__logl" = x""yes; then :
64876 cat >>confdefs.h <<_ACEOF
64877 #define HAVE__LOGL 1
64878 _ACEOF
64881 done
64890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64891 $as_echo_n "checking for log10l declaration... " >&6; }
64892 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64893 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64894 $as_echo_n "(cached) " >&6
64895 else
64898 ac_ext=cpp
64899 ac_cpp='$CXXCPP $CPPFLAGS'
64900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64905 /* end confdefs.h. */
64906 #include <math.h>
64907 #ifdef HAVE_IEEEFP_H
64908 #include <ieeefp.h>
64909 #endif
64912 main ()
64914 log10l(0);
64916 return 0;
64918 _ACEOF
64919 if ac_fn_cxx_try_compile "$LINENO"; then :
64920 glibcxx_cv_func_log10l_use=yes
64921 else
64922 glibcxx_cv_func_log10l_use=no
64924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64925 ac_ext=c
64926 ac_cpp='$CPP $CPPFLAGS'
64927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64936 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64938 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64939 for ac_func in log10l
64940 do :
64941 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64942 if test "x$ac_cv_func_log10l" = x""yes; then :
64943 cat >>confdefs.h <<_ACEOF
64944 #define HAVE_LOG10L 1
64945 _ACEOF
64948 done
64950 else
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64953 $as_echo_n "checking for _log10l declaration... " >&6; }
64954 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64955 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64956 $as_echo_n "(cached) " >&6
64957 else
64960 ac_ext=cpp
64961 ac_cpp='$CXXCPP $CPPFLAGS'
64962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64967 /* end confdefs.h. */
64968 #include <math.h>
64969 #ifdef HAVE_IEEEFP_H
64970 #include <ieeefp.h>
64971 #endif
64974 main ()
64976 _log10l(0);
64978 return 0;
64980 _ACEOF
64981 if ac_fn_cxx_try_compile "$LINENO"; then :
64982 glibcxx_cv_func__log10l_use=yes
64983 else
64984 glibcxx_cv_func__log10l_use=no
64986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64987 ac_ext=c
64988 ac_cpp='$CPP $CPPFLAGS'
64989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64998 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65000 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65001 for ac_func in _log10l
65002 do :
65003 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65004 if test "x$ac_cv_func__log10l" = x""yes; then :
65005 cat >>confdefs.h <<_ACEOF
65006 #define HAVE__LOG10L 1
65007 _ACEOF
65010 done
65019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65020 $as_echo_n "checking for modfl declaration... " >&6; }
65021 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65022 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65023 $as_echo_n "(cached) " >&6
65024 else
65027 ac_ext=cpp
65028 ac_cpp='$CXXCPP $CPPFLAGS'
65029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65034 /* end confdefs.h. */
65035 #include <math.h>
65037 main ()
65039 modfl(0, 0);
65041 return 0;
65043 _ACEOF
65044 if ac_fn_cxx_try_compile "$LINENO"; then :
65045 glibcxx_cv_func_modfl_use=yes
65046 else
65047 glibcxx_cv_func_modfl_use=no
65049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65050 ac_ext=c
65051 ac_cpp='$CPP $CPPFLAGS'
65052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65061 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65063 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65064 for ac_func in modfl
65065 do :
65066 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65067 if test "x$ac_cv_func_modfl" = x""yes; then :
65068 cat >>confdefs.h <<_ACEOF
65069 #define HAVE_MODFL 1
65070 _ACEOF
65073 done
65075 else
65077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65078 $as_echo_n "checking for _modfl declaration... " >&6; }
65079 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65080 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65081 $as_echo_n "(cached) " >&6
65082 else
65085 ac_ext=cpp
65086 ac_cpp='$CXXCPP $CPPFLAGS'
65087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65092 /* end confdefs.h. */
65093 #include <math.h>
65095 main ()
65097 _modfl(0, 0);
65099 return 0;
65101 _ACEOF
65102 if ac_fn_cxx_try_compile "$LINENO"; then :
65103 glibcxx_cv_func__modfl_use=yes
65104 else
65105 glibcxx_cv_func__modfl_use=no
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 ac_ext=c
65109 ac_cpp='$CPP $CPPFLAGS'
65110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65119 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65121 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65122 for ac_func in _modfl
65123 do :
65124 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65125 if test "x$ac_cv_func__modfl" = x""yes; then :
65126 cat >>confdefs.h <<_ACEOF
65127 #define HAVE__MODFL 1
65128 _ACEOF
65131 done
65140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65141 $as_echo_n "checking for powl declaration... " >&6; }
65142 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65143 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65144 $as_echo_n "(cached) " >&6
65145 else
65148 ac_ext=cpp
65149 ac_cpp='$CXXCPP $CPPFLAGS'
65150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65155 /* end confdefs.h. */
65156 #include <math.h>
65158 main ()
65160 powl(0, 0);
65162 return 0;
65164 _ACEOF
65165 if ac_fn_cxx_try_compile "$LINENO"; then :
65166 glibcxx_cv_func_powl_use=yes
65167 else
65168 glibcxx_cv_func_powl_use=no
65170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65171 ac_ext=c
65172 ac_cpp='$CPP $CPPFLAGS'
65173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65182 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65184 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65185 for ac_func in powl
65186 do :
65187 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65188 if test "x$ac_cv_func_powl" = x""yes; then :
65189 cat >>confdefs.h <<_ACEOF
65190 #define HAVE_POWL 1
65191 _ACEOF
65194 done
65196 else
65198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65199 $as_echo_n "checking for _powl declaration... " >&6; }
65200 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65201 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65202 $as_echo_n "(cached) " >&6
65203 else
65206 ac_ext=cpp
65207 ac_cpp='$CXXCPP $CPPFLAGS'
65208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65213 /* end confdefs.h. */
65214 #include <math.h>
65216 main ()
65218 _powl(0, 0);
65220 return 0;
65222 _ACEOF
65223 if ac_fn_cxx_try_compile "$LINENO"; then :
65224 glibcxx_cv_func__powl_use=yes
65225 else
65226 glibcxx_cv_func__powl_use=no
65228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65229 ac_ext=c
65230 ac_cpp='$CPP $CPPFLAGS'
65231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65240 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65242 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65243 for ac_func in _powl
65244 do :
65245 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65246 if test "x$ac_cv_func__powl" = x""yes; then :
65247 cat >>confdefs.h <<_ACEOF
65248 #define HAVE__POWL 1
65249 _ACEOF
65252 done
65261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65262 $as_echo_n "checking for sqrtl declaration... " >&6; }
65263 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65264 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65265 $as_echo_n "(cached) " >&6
65266 else
65269 ac_ext=cpp
65270 ac_cpp='$CXXCPP $CPPFLAGS'
65271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65276 /* end confdefs.h. */
65277 #include <math.h>
65278 #ifdef HAVE_IEEEFP_H
65279 #include <ieeefp.h>
65280 #endif
65283 main ()
65285 sqrtl(0);
65287 return 0;
65289 _ACEOF
65290 if ac_fn_cxx_try_compile "$LINENO"; then :
65291 glibcxx_cv_func_sqrtl_use=yes
65292 else
65293 glibcxx_cv_func_sqrtl_use=no
65295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65296 ac_ext=c
65297 ac_cpp='$CPP $CPPFLAGS'
65298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65307 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65309 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65310 for ac_func in sqrtl
65311 do :
65312 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65313 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65314 cat >>confdefs.h <<_ACEOF
65315 #define HAVE_SQRTL 1
65316 _ACEOF
65319 done
65321 else
65323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65324 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65325 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65326 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65327 $as_echo_n "(cached) " >&6
65328 else
65331 ac_ext=cpp
65332 ac_cpp='$CXXCPP $CPPFLAGS'
65333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65338 /* end confdefs.h. */
65339 #include <math.h>
65340 #ifdef HAVE_IEEEFP_H
65341 #include <ieeefp.h>
65342 #endif
65345 main ()
65347 _sqrtl(0);
65349 return 0;
65351 _ACEOF
65352 if ac_fn_cxx_try_compile "$LINENO"; then :
65353 glibcxx_cv_func__sqrtl_use=yes
65354 else
65355 glibcxx_cv_func__sqrtl_use=no
65357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65358 ac_ext=c
65359 ac_cpp='$CPP $CPPFLAGS'
65360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65369 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65371 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65372 for ac_func in _sqrtl
65373 do :
65374 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65375 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65376 cat >>confdefs.h <<_ACEOF
65377 #define HAVE__SQRTL 1
65378 _ACEOF
65381 done
65390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65391 $as_echo_n "checking for sincosl declaration... " >&6; }
65392 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65393 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65394 $as_echo_n "(cached) " >&6
65395 else
65398 ac_ext=cpp
65399 ac_cpp='$CXXCPP $CPPFLAGS'
65400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65405 /* end confdefs.h. */
65406 #include <math.h>
65408 main ()
65410 sincosl(0, 0, 0);
65412 return 0;
65414 _ACEOF
65415 if ac_fn_cxx_try_compile "$LINENO"; then :
65416 glibcxx_cv_func_sincosl_use=yes
65417 else
65418 glibcxx_cv_func_sincosl_use=no
65420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65421 ac_ext=c
65422 ac_cpp='$CPP $CPPFLAGS'
65423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65432 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65434 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65435 for ac_func in sincosl
65436 do :
65437 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65438 if test "x$ac_cv_func_sincosl" = x""yes; then :
65439 cat >>confdefs.h <<_ACEOF
65440 #define HAVE_SINCOSL 1
65441 _ACEOF
65444 done
65446 else
65448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65449 $as_echo_n "checking for _sincosl declaration... " >&6; }
65450 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65451 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65452 $as_echo_n "(cached) " >&6
65453 else
65456 ac_ext=cpp
65457 ac_cpp='$CXXCPP $CPPFLAGS'
65458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65463 /* end confdefs.h. */
65464 #include <math.h>
65466 main ()
65468 _sincosl(0, 0, 0);
65470 return 0;
65472 _ACEOF
65473 if ac_fn_cxx_try_compile "$LINENO"; then :
65474 glibcxx_cv_func__sincosl_use=yes
65475 else
65476 glibcxx_cv_func__sincosl_use=no
65478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65479 ac_ext=c
65480 ac_cpp='$CPP $CPPFLAGS'
65481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65490 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65492 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65493 for ac_func in _sincosl
65494 do :
65495 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65496 if test "x$ac_cv_func__sincosl" = x""yes; then :
65497 cat >>confdefs.h <<_ACEOF
65498 #define HAVE__SINCOSL 1
65499 _ACEOF
65502 done
65511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65512 $as_echo_n "checking for finitel declaration... " >&6; }
65513 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65514 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65515 $as_echo_n "(cached) " >&6
65516 else
65519 ac_ext=cpp
65520 ac_cpp='$CXXCPP $CPPFLAGS'
65521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65526 /* end confdefs.h. */
65527 #include <math.h>
65528 #ifdef HAVE_IEEEFP_H
65529 #include <ieeefp.h>
65530 #endif
65533 main ()
65535 finitel(0);
65537 return 0;
65539 _ACEOF
65540 if ac_fn_cxx_try_compile "$LINENO"; then :
65541 glibcxx_cv_func_finitel_use=yes
65542 else
65543 glibcxx_cv_func_finitel_use=no
65545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65546 ac_ext=c
65547 ac_cpp='$CPP $CPPFLAGS'
65548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65557 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65559 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65560 for ac_func in finitel
65561 do :
65562 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65563 if test "x$ac_cv_func_finitel" = x""yes; then :
65564 cat >>confdefs.h <<_ACEOF
65565 #define HAVE_FINITEL 1
65566 _ACEOF
65569 done
65571 else
65573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65574 $as_echo_n "checking for _finitel declaration... " >&6; }
65575 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65576 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65577 $as_echo_n "(cached) " >&6
65578 else
65581 ac_ext=cpp
65582 ac_cpp='$CXXCPP $CPPFLAGS'
65583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65588 /* end confdefs.h. */
65589 #include <math.h>
65590 #ifdef HAVE_IEEEFP_H
65591 #include <ieeefp.h>
65592 #endif
65595 main ()
65597 _finitel(0);
65599 return 0;
65601 _ACEOF
65602 if ac_fn_cxx_try_compile "$LINENO"; then :
65603 glibcxx_cv_func__finitel_use=yes
65604 else
65605 glibcxx_cv_func__finitel_use=no
65607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65608 ac_ext=c
65609 ac_cpp='$CPP $CPPFLAGS'
65610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65619 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65621 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65622 for ac_func in _finitel
65623 do :
65624 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65625 if test "x$ac_cv_func__finitel" = x""yes; then :
65626 cat >>confdefs.h <<_ACEOF
65627 #define HAVE__FINITEL 1
65628 _ACEOF
65631 done
65639 LIBS="$ac_save_LIBS"
65640 CXXFLAGS="$ac_save_CXXFLAGS"
65643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65644 ac_save_CXXFLAGS="$CXXFLAGS"
65645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65649 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65650 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65651 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65652 $as_echo_n "(cached) " >&6
65653 else
65656 ac_ext=cpp
65657 ac_cpp='$CXXCPP $CPPFLAGS'
65658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65663 /* end confdefs.h. */
65664 #include <stdlib.h>
65666 main ()
65668 at_quick_exit(0);
65670 return 0;
65672 _ACEOF
65673 if ac_fn_cxx_try_compile "$LINENO"; then :
65674 glibcxx_cv_func_at_quick_exit_use=yes
65675 else
65676 glibcxx_cv_func_at_quick_exit_use=no
65678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65679 ac_ext=c
65680 ac_cpp='$CPP $CPPFLAGS'
65681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65690 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65691 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65692 for ac_func in at_quick_exit
65693 do :
65694 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65695 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65696 cat >>confdefs.h <<_ACEOF
65697 #define HAVE_AT_QUICK_EXIT 1
65698 _ACEOF
65701 done
65706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65707 $as_echo_n "checking for quick_exit declaration... " >&6; }
65708 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65709 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65710 $as_echo_n "(cached) " >&6
65711 else
65714 ac_ext=cpp
65715 ac_cpp='$CXXCPP $CPPFLAGS'
65716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65721 /* end confdefs.h. */
65722 #include <stdlib.h>
65724 main ()
65726 quick_exit(0);
65728 return 0;
65730 _ACEOF
65731 if ac_fn_cxx_try_compile "$LINENO"; then :
65732 glibcxx_cv_func_quick_exit_use=yes
65733 else
65734 glibcxx_cv_func_quick_exit_use=no
65736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65737 ac_ext=c
65738 ac_cpp='$CPP $CPPFLAGS'
65739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65748 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65749 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65750 for ac_func in quick_exit
65751 do :
65752 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65753 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65754 cat >>confdefs.h <<_ACEOF
65755 #define HAVE_QUICK_EXIT 1
65756 _ACEOF
65759 done
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65765 $as_echo_n "checking for strtold declaration... " >&6; }
65766 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65767 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65768 $as_echo_n "(cached) " >&6
65769 else
65772 ac_ext=cpp
65773 ac_cpp='$CXXCPP $CPPFLAGS'
65774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65779 /* end confdefs.h. */
65780 #include <stdlib.h>
65782 main ()
65784 strtold(0, 0);
65786 return 0;
65788 _ACEOF
65789 if ac_fn_cxx_try_compile "$LINENO"; then :
65790 glibcxx_cv_func_strtold_use=yes
65791 else
65792 glibcxx_cv_func_strtold_use=no
65794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65795 ac_ext=c
65796 ac_cpp='$CPP $CPPFLAGS'
65797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65806 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65807 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65808 for ac_func in strtold
65809 do :
65810 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65811 if test "x$ac_cv_func_strtold" = x""yes; then :
65812 cat >>confdefs.h <<_ACEOF
65813 #define HAVE_STRTOLD 1
65814 _ACEOF
65817 done
65824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65825 $as_echo_n "checking for strtof declaration... " >&6; }
65826 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65827 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65828 $as_echo_n "(cached) " >&6
65829 else
65832 ac_ext=cpp
65833 ac_cpp='$CXXCPP $CPPFLAGS'
65834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65839 /* end confdefs.h. */
65840 #include <stdlib.h>
65842 main ()
65844 strtof(0, 0);
65846 return 0;
65848 _ACEOF
65849 if ac_fn_cxx_try_compile "$LINENO"; then :
65850 glibcxx_cv_func_strtof_use=yes
65851 else
65852 glibcxx_cv_func_strtof_use=no
65854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65855 ac_ext=c
65856 ac_cpp='$CPP $CPPFLAGS'
65857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65866 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65867 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65868 for ac_func in strtof
65869 do :
65870 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65871 if test "x$ac_cv_func_strtof" = x""yes; then :
65872 cat >>confdefs.h <<_ACEOF
65873 #define HAVE_STRTOF 1
65874 _ACEOF
65877 done
65884 CXXFLAGS="$ac_save_CXXFLAGS"
65887 *-netbsd*)
65888 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65891 # If we're not using GNU ld, then there's no point in even trying these
65892 # tests. Check for that first. We should have already tested for gld
65893 # by now (in libtool), but require it now just to be safe...
65894 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65895 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65899 # The name set by libtool depends on the version of libtool. Shame on us
65900 # for depending on an impl detail, but c'est la vie. Older versions used
65901 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65902 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65903 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65904 # set (hence we're using an older libtool), then set it.
65905 if test x${with_gnu_ld+set} != xset; then
65906 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65907 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65908 with_gnu_ld=no
65909 else
65910 with_gnu_ld=$ac_cv_prog_gnu_ld
65914 # Start by getting the version number. I think the libtool test already
65915 # does some of this, but throws away the result.
65916 glibcxx_ld_is_gold=no
65917 if test x"$with_gnu_ld" = x"yes"; then
65918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65919 $as_echo_n "checking for ld version... " >&6; }
65921 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65922 glibcxx_ld_is_gold=yes
65924 ldver=`$LD --version 2>/dev/null |
65925 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'`
65927 glibcxx_gnu_ld_version=`echo $ldver | \
65928 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65930 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65933 # Set --gc-sections.
65934 glibcxx_have_gc_sections=no
65935 if test "$glibcxx_ld_is_gold" = "yes"; then
65936 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65937 glibcxx_have_gc_sections=yes
65939 else
65940 glibcxx_gcsections_min_ld=21602
65941 if test x"$with_gnu_ld" = x"yes" &&
65942 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65943 glibcxx_have_gc_sections=yes
65946 if test "$glibcxx_have_gc_sections" = "yes"; then
65947 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65948 # NB: This flag only works reliably after 2.16.1. Configure tests
65949 # for this are difficult, so hard wire a value that should work.
65951 ac_test_CFLAGS="${CFLAGS+set}"
65952 ac_save_CFLAGS="$CFLAGS"
65953 CFLAGS='-Wl,--gc-sections'
65955 # Check for -Wl,--gc-sections
65956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65957 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65958 if test x$gcc_no_link = xyes; then
65959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65962 /* end confdefs.h. */
65963 int one(void) { return 1; }
65964 int two(void) { return 2; }
65967 main ()
65969 two();
65971 return 0;
65973 _ACEOF
65974 if ac_fn_c_try_link "$LINENO"; then :
65975 ac_gcsections=yes
65976 else
65977 ac_gcsections=no
65979 rm -f core conftest.err conftest.$ac_objext \
65980 conftest$ac_exeext conftest.$ac_ext
65981 if test "$ac_gcsections" = "yes"; then
65982 rm -f conftest.c
65983 touch conftest.c
65984 if $CC -c conftest.c; then
65985 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65986 grep "Warning: gc-sections option ignored" > /dev/null; then
65987 ac_gcsections=no
65990 rm -f conftest.c conftest.o conftest
65992 if test "$ac_gcsections" = "yes"; then
65993 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65996 $as_echo "$ac_gcsections" >&6; }
65998 if test "$ac_test_CFLAGS" = set; then
65999 CFLAGS="$ac_save_CFLAGS"
66000 else
66001 # this is the suspicious part
66002 CFLAGS=''
66006 # Set -z,relro.
66007 # Note this is only for shared objects.
66008 ac_ld_relro=no
66009 if test x"$with_gnu_ld" = x"yes"; then
66010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66011 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66012 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66013 if test -n "$cxx_z_relo"; then
66014 OPT_LDFLAGS="-Wl,-z,relro"
66015 ac_ld_relro=yes
66017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66018 $as_echo "$ac_ld_relro" >&6; }
66021 # Set linker optimization flags.
66022 if test x"$with_gnu_ld" = x"yes"; then
66023 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66029 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66031 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66033 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66035 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66037 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66039 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66041 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66043 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66045 if test x"long_double_math_on_this_cpu" = x"yes"; then
66046 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66048 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66050 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66054 *-qnx6.1* | *-qnx6.2*)
66055 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66058 # If we're not using GNU ld, then there's no point in even trying these
66059 # tests. Check for that first. We should have already tested for gld
66060 # by now (in libtool), but require it now just to be safe...
66061 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66062 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66066 # The name set by libtool depends on the version of libtool. Shame on us
66067 # for depending on an impl detail, but c'est la vie. Older versions used
66068 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66069 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66070 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66071 # set (hence we're using an older libtool), then set it.
66072 if test x${with_gnu_ld+set} != xset; then
66073 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66074 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66075 with_gnu_ld=no
66076 else
66077 with_gnu_ld=$ac_cv_prog_gnu_ld
66081 # Start by getting the version number. I think the libtool test already
66082 # does some of this, but throws away the result.
66083 glibcxx_ld_is_gold=no
66084 if test x"$with_gnu_ld" = x"yes"; then
66085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66086 $as_echo_n "checking for ld version... " >&6; }
66088 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66089 glibcxx_ld_is_gold=yes
66091 ldver=`$LD --version 2>/dev/null |
66092 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'`
66094 glibcxx_gnu_ld_version=`echo $ldver | \
66095 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66097 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66100 # Set --gc-sections.
66101 glibcxx_have_gc_sections=no
66102 if test "$glibcxx_ld_is_gold" = "yes"; then
66103 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66104 glibcxx_have_gc_sections=yes
66106 else
66107 glibcxx_gcsections_min_ld=21602
66108 if test x"$with_gnu_ld" = x"yes" &&
66109 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66110 glibcxx_have_gc_sections=yes
66113 if test "$glibcxx_have_gc_sections" = "yes"; then
66114 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66115 # NB: This flag only works reliably after 2.16.1. Configure tests
66116 # for this are difficult, so hard wire a value that should work.
66118 ac_test_CFLAGS="${CFLAGS+set}"
66119 ac_save_CFLAGS="$CFLAGS"
66120 CFLAGS='-Wl,--gc-sections'
66122 # Check for -Wl,--gc-sections
66123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66124 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66125 if test x$gcc_no_link = xyes; then
66126 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66129 /* end confdefs.h. */
66130 int one(void) { return 1; }
66131 int two(void) { return 2; }
66134 main ()
66136 two();
66138 return 0;
66140 _ACEOF
66141 if ac_fn_c_try_link "$LINENO"; then :
66142 ac_gcsections=yes
66143 else
66144 ac_gcsections=no
66146 rm -f core conftest.err conftest.$ac_objext \
66147 conftest$ac_exeext conftest.$ac_ext
66148 if test "$ac_gcsections" = "yes"; then
66149 rm -f conftest.c
66150 touch conftest.c
66151 if $CC -c conftest.c; then
66152 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66153 grep "Warning: gc-sections option ignored" > /dev/null; then
66154 ac_gcsections=no
66157 rm -f conftest.c conftest.o conftest
66159 if test "$ac_gcsections" = "yes"; then
66160 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66163 $as_echo "$ac_gcsections" >&6; }
66165 if test "$ac_test_CFLAGS" = set; then
66166 CFLAGS="$ac_save_CFLAGS"
66167 else
66168 # this is the suspicious part
66169 CFLAGS=''
66173 # Set -z,relro.
66174 # Note this is only for shared objects.
66175 ac_ld_relro=no
66176 if test x"$with_gnu_ld" = x"yes"; then
66177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66178 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66179 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66180 if test -n "$cxx_z_relo"; then
66181 OPT_LDFLAGS="-Wl,-z,relro"
66182 ac_ld_relro=yes
66184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66185 $as_echo "$ac_ld_relro" >&6; }
66188 # Set linker optimization flags.
66189 if test x"$with_gnu_ld" = x"yes"; then
66190 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66196 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66198 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66200 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66202 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66204 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66206 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66208 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66210 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66212 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66214 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66216 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66218 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66221 *-rtems*)
66223 # All these tests are for C++; save the language and the compiler flags.
66224 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66225 # found in GLIBCXX_CONFIGURE.
66227 ac_ext=cpp
66228 ac_cpp='$CXXCPP $CPPFLAGS'
66229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66233 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66234 ac_save_CXXFLAGS="$CXXFLAGS"
66236 # Check for maintainer-mode bits.
66237 if test x"$USE_MAINTAINER_MODE" = xno; then
66238 WERROR=''
66239 else
66240 WERROR='-Werror'
66243 # Check for -ffunction-sections -fdata-sections
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66245 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66246 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66248 /* end confdefs.h. */
66249 int foo; void bar() { };
66251 main ()
66255 return 0;
66257 _ACEOF
66258 if ac_fn_cxx_try_compile "$LINENO"; then :
66259 ac_fdsections=yes
66260 else
66261 ac_fdsections=no
66263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66264 if test "$ac_test_CXXFLAGS" = set; then
66265 CXXFLAGS="$ac_save_CXXFLAGS"
66266 else
66267 # this is the suspicious part
66268 CXXFLAGS=''
66270 if test x"$ac_fdsections" = x"yes"; then
66271 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66274 $as_echo "$ac_fdsections" >&6; }
66276 ac_ext=c
66277 ac_cpp='$CPP $CPPFLAGS'
66278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66286 # If we're not using GNU ld, then there's no point in even trying these
66287 # tests. Check for that first. We should have already tested for gld
66288 # by now (in libtool), but require it now just to be safe...
66289 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66290 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66294 # The name set by libtool depends on the version of libtool. Shame on us
66295 # for depending on an impl detail, but c'est la vie. Older versions used
66296 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66297 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66298 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66299 # set (hence we're using an older libtool), then set it.
66300 if test x${with_gnu_ld+set} != xset; then
66301 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66302 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66303 with_gnu_ld=no
66304 else
66305 with_gnu_ld=$ac_cv_prog_gnu_ld
66309 # Start by getting the version number. I think the libtool test already
66310 # does some of this, but throws away the result.
66311 glibcxx_ld_is_gold=no
66312 if test x"$with_gnu_ld" = x"yes"; then
66313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66314 $as_echo_n "checking for ld version... " >&6; }
66316 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66317 glibcxx_ld_is_gold=yes
66319 ldver=`$LD --version 2>/dev/null |
66320 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'`
66322 glibcxx_gnu_ld_version=`echo $ldver | \
66323 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66325 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66328 # Set --gc-sections.
66329 glibcxx_have_gc_sections=no
66330 if test "$glibcxx_ld_is_gold" = "yes"; then
66331 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66332 glibcxx_have_gc_sections=yes
66334 else
66335 glibcxx_gcsections_min_ld=21602
66336 if test x"$with_gnu_ld" = x"yes" &&
66337 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66338 glibcxx_have_gc_sections=yes
66341 if test "$glibcxx_have_gc_sections" = "yes"; then
66342 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66343 # NB: This flag only works reliably after 2.16.1. Configure tests
66344 # for this are difficult, so hard wire a value that should work.
66346 ac_test_CFLAGS="${CFLAGS+set}"
66347 ac_save_CFLAGS="$CFLAGS"
66348 CFLAGS='-Wl,--gc-sections'
66350 # Check for -Wl,--gc-sections
66351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66352 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66353 if test x$gcc_no_link = xyes; then
66354 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66357 /* end confdefs.h. */
66358 int one(void) { return 1; }
66359 int two(void) { return 2; }
66362 main ()
66364 two();
66366 return 0;
66368 _ACEOF
66369 if ac_fn_c_try_link "$LINENO"; then :
66370 ac_gcsections=yes
66371 else
66372 ac_gcsections=no
66374 rm -f core conftest.err conftest.$ac_objext \
66375 conftest$ac_exeext conftest.$ac_ext
66376 if test "$ac_gcsections" = "yes"; then
66377 rm -f conftest.c
66378 touch conftest.c
66379 if $CC -c conftest.c; then
66380 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66381 grep "Warning: gc-sections option ignored" > /dev/null; then
66382 ac_gcsections=no
66385 rm -f conftest.c conftest.o conftest
66387 if test "$ac_gcsections" = "yes"; then
66388 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66391 $as_echo "$ac_gcsections" >&6; }
66393 if test "$ac_test_CFLAGS" = set; then
66394 CFLAGS="$ac_save_CFLAGS"
66395 else
66396 # this is the suspicious part
66397 CFLAGS=''
66401 # Set -z,relro.
66402 # Note this is only for shared objects.
66403 ac_ld_relro=no
66404 if test x"$with_gnu_ld" = x"yes"; then
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66406 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66407 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66408 if test -n "$cxx_z_relo"; then
66409 OPT_LDFLAGS="-Wl,-z,relro"
66410 ac_ld_relro=yes
66412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66413 $as_echo "$ac_ld_relro" >&6; }
66416 # Set linker optimization flags.
66417 if test x"$with_gnu_ld" = x"yes"; then
66418 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66425 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66426 ac_save_CXXFLAGS="$CXXFLAGS"
66427 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66430 $as_echo_n "checking for sin in -lm... " >&6; }
66431 if test "${ac_cv_lib_m_sin+set}" = set; then :
66432 $as_echo_n "(cached) " >&6
66433 else
66434 ac_check_lib_save_LIBS=$LIBS
66435 LIBS="-lm $LIBS"
66436 if test x$gcc_no_link = xyes; then
66437 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66440 /* end confdefs.h. */
66442 /* Override any GCC internal prototype to avoid an error.
66443 Use char because int might match the return type of a GCC
66444 builtin and then its argument prototype would still apply. */
66445 #ifdef __cplusplus
66446 extern "C"
66447 #endif
66448 char sin ();
66450 main ()
66452 return sin ();
66454 return 0;
66456 _ACEOF
66457 if ac_fn_c_try_link "$LINENO"; then :
66458 ac_cv_lib_m_sin=yes
66459 else
66460 ac_cv_lib_m_sin=no
66462 rm -f core conftest.err conftest.$ac_objext \
66463 conftest$ac_exeext conftest.$ac_ext
66464 LIBS=$ac_check_lib_save_LIBS
66466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66467 $as_echo "$ac_cv_lib_m_sin" >&6; }
66468 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66469 libm="-lm"
66472 ac_save_LIBS="$LIBS"
66473 LIBS="$LIBS $libm"
66477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66478 $as_echo_n "checking for isinf declaration... " >&6; }
66479 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66480 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66481 $as_echo_n "(cached) " >&6
66482 else
66485 ac_ext=cpp
66486 ac_cpp='$CXXCPP $CPPFLAGS'
66487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66492 /* end confdefs.h. */
66493 #include <math.h>
66494 #ifdef HAVE_IEEEFP_H
66495 #include <ieeefp.h>
66496 #endif
66499 main ()
66501 isinf(0);
66503 return 0;
66505 _ACEOF
66506 if ac_fn_cxx_try_compile "$LINENO"; then :
66507 glibcxx_cv_func_isinf_use=yes
66508 else
66509 glibcxx_cv_func_isinf_use=no
66511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66512 ac_ext=c
66513 ac_cpp='$CPP $CPPFLAGS'
66514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66523 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66525 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66526 for ac_func in isinf
66527 do :
66528 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66529 if test "x$ac_cv_func_isinf" = x""yes; then :
66530 cat >>confdefs.h <<_ACEOF
66531 #define HAVE_ISINF 1
66532 _ACEOF
66535 done
66537 else
66539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66540 $as_echo_n "checking for _isinf declaration... " >&6; }
66541 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66542 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66543 $as_echo_n "(cached) " >&6
66544 else
66547 ac_ext=cpp
66548 ac_cpp='$CXXCPP $CPPFLAGS'
66549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66554 /* end confdefs.h. */
66555 #include <math.h>
66556 #ifdef HAVE_IEEEFP_H
66557 #include <ieeefp.h>
66558 #endif
66561 main ()
66563 _isinf(0);
66565 return 0;
66567 _ACEOF
66568 if ac_fn_cxx_try_compile "$LINENO"; then :
66569 glibcxx_cv_func__isinf_use=yes
66570 else
66571 glibcxx_cv_func__isinf_use=no
66573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66574 ac_ext=c
66575 ac_cpp='$CPP $CPPFLAGS'
66576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66585 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66587 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66588 for ac_func in _isinf
66589 do :
66590 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66591 if test "x$ac_cv_func__isinf" = x""yes; then :
66592 cat >>confdefs.h <<_ACEOF
66593 #define HAVE__ISINF 1
66594 _ACEOF
66597 done
66606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66607 $as_echo_n "checking for isnan declaration... " >&6; }
66608 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66609 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66610 $as_echo_n "(cached) " >&6
66611 else
66614 ac_ext=cpp
66615 ac_cpp='$CXXCPP $CPPFLAGS'
66616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66621 /* end confdefs.h. */
66622 #include <math.h>
66623 #ifdef HAVE_IEEEFP_H
66624 #include <ieeefp.h>
66625 #endif
66628 main ()
66630 isnan(0);
66632 return 0;
66634 _ACEOF
66635 if ac_fn_cxx_try_compile "$LINENO"; then :
66636 glibcxx_cv_func_isnan_use=yes
66637 else
66638 glibcxx_cv_func_isnan_use=no
66640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66641 ac_ext=c
66642 ac_cpp='$CPP $CPPFLAGS'
66643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66652 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66654 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66655 for ac_func in isnan
66656 do :
66657 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66658 if test "x$ac_cv_func_isnan" = x""yes; then :
66659 cat >>confdefs.h <<_ACEOF
66660 #define HAVE_ISNAN 1
66661 _ACEOF
66664 done
66666 else
66668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66669 $as_echo_n "checking for _isnan declaration... " >&6; }
66670 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66671 if test "${glibcxx_cv_func__isnan_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>
66685 #ifdef HAVE_IEEEFP_H
66686 #include <ieeefp.h>
66687 #endif
66690 main ()
66692 _isnan(0);
66694 return 0;
66696 _ACEOF
66697 if ac_fn_cxx_try_compile "$LINENO"; then :
66698 glibcxx_cv_func__isnan_use=yes
66699 else
66700 glibcxx_cv_func__isnan_use=no
66702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66703 ac_ext=c
66704 ac_cpp='$CPP $CPPFLAGS'
66705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66714 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66716 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66717 for ac_func in _isnan
66718 do :
66719 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66720 if test "x$ac_cv_func__isnan" = x""yes; then :
66721 cat >>confdefs.h <<_ACEOF
66722 #define HAVE__ISNAN 1
66723 _ACEOF
66726 done
66735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66736 $as_echo_n "checking for finite declaration... " >&6; }
66737 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66738 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66739 $as_echo_n "(cached) " >&6
66740 else
66743 ac_ext=cpp
66744 ac_cpp='$CXXCPP $CPPFLAGS'
66745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66750 /* end confdefs.h. */
66751 #include <math.h>
66752 #ifdef HAVE_IEEEFP_H
66753 #include <ieeefp.h>
66754 #endif
66757 main ()
66759 finite(0);
66761 return 0;
66763 _ACEOF
66764 if ac_fn_cxx_try_compile "$LINENO"; then :
66765 glibcxx_cv_func_finite_use=yes
66766 else
66767 glibcxx_cv_func_finite_use=no
66769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66770 ac_ext=c
66771 ac_cpp='$CPP $CPPFLAGS'
66772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66781 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66783 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66784 for ac_func in finite
66785 do :
66786 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66787 if test "x$ac_cv_func_finite" = x""yes; then :
66788 cat >>confdefs.h <<_ACEOF
66789 #define HAVE_FINITE 1
66790 _ACEOF
66793 done
66795 else
66797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66798 $as_echo_n "checking for _finite declaration... " >&6; }
66799 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66800 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66801 $as_echo_n "(cached) " >&6
66802 else
66805 ac_ext=cpp
66806 ac_cpp='$CXXCPP $CPPFLAGS'
66807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66812 /* end confdefs.h. */
66813 #include <math.h>
66814 #ifdef HAVE_IEEEFP_H
66815 #include <ieeefp.h>
66816 #endif
66819 main ()
66821 _finite(0);
66823 return 0;
66825 _ACEOF
66826 if ac_fn_cxx_try_compile "$LINENO"; then :
66827 glibcxx_cv_func__finite_use=yes
66828 else
66829 glibcxx_cv_func__finite_use=no
66831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66832 ac_ext=c
66833 ac_cpp='$CPP $CPPFLAGS'
66834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66843 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66845 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66846 for ac_func in _finite
66847 do :
66848 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66849 if test "x$ac_cv_func__finite" = x""yes; then :
66850 cat >>confdefs.h <<_ACEOF
66851 #define HAVE__FINITE 1
66852 _ACEOF
66855 done
66864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66865 $as_echo_n "checking for sincos declaration... " >&6; }
66866 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66867 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66868 $as_echo_n "(cached) " >&6
66869 else
66872 ac_ext=cpp
66873 ac_cpp='$CXXCPP $CPPFLAGS'
66874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66879 /* end confdefs.h. */
66880 #include <math.h>
66882 main ()
66884 sincos(0, 0, 0);
66886 return 0;
66888 _ACEOF
66889 if ac_fn_cxx_try_compile "$LINENO"; then :
66890 glibcxx_cv_func_sincos_use=yes
66891 else
66892 glibcxx_cv_func_sincos_use=no
66894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66895 ac_ext=c
66896 ac_cpp='$CPP $CPPFLAGS'
66897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66906 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66908 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66909 for ac_func in sincos
66910 do :
66911 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66912 if test "x$ac_cv_func_sincos" = x""yes; then :
66913 cat >>confdefs.h <<_ACEOF
66914 #define HAVE_SINCOS 1
66915 _ACEOF
66918 done
66920 else
66922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66923 $as_echo_n "checking for _sincos declaration... " >&6; }
66924 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66925 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66926 $as_echo_n "(cached) " >&6
66927 else
66930 ac_ext=cpp
66931 ac_cpp='$CXXCPP $CPPFLAGS'
66932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66937 /* end confdefs.h. */
66938 #include <math.h>
66940 main ()
66942 _sincos(0, 0, 0);
66944 return 0;
66946 _ACEOF
66947 if ac_fn_cxx_try_compile "$LINENO"; then :
66948 glibcxx_cv_func__sincos_use=yes
66949 else
66950 glibcxx_cv_func__sincos_use=no
66952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66953 ac_ext=c
66954 ac_cpp='$CPP $CPPFLAGS'
66955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66964 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66966 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66967 for ac_func in _sincos
66968 do :
66969 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66970 if test "x$ac_cv_func__sincos" = x""yes; then :
66971 cat >>confdefs.h <<_ACEOF
66972 #define HAVE__SINCOS 1
66973 _ACEOF
66976 done
66985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66986 $as_echo_n "checking for fpclass declaration... " >&6; }
66987 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66988 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66989 $as_echo_n "(cached) " >&6
66990 else
66993 ac_ext=cpp
66994 ac_cpp='$CXXCPP $CPPFLAGS'
66995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67000 /* end confdefs.h. */
67001 #include <math.h>
67002 #ifdef HAVE_IEEEFP_H
67003 #include <ieeefp.h>
67004 #endif
67007 main ()
67009 fpclass(0);
67011 return 0;
67013 _ACEOF
67014 if ac_fn_cxx_try_compile "$LINENO"; then :
67015 glibcxx_cv_func_fpclass_use=yes
67016 else
67017 glibcxx_cv_func_fpclass_use=no
67019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67020 ac_ext=c
67021 ac_cpp='$CPP $CPPFLAGS'
67022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67031 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67033 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67034 for ac_func in fpclass
67035 do :
67036 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67037 if test "x$ac_cv_func_fpclass" = x""yes; then :
67038 cat >>confdefs.h <<_ACEOF
67039 #define HAVE_FPCLASS 1
67040 _ACEOF
67043 done
67045 else
67047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67048 $as_echo_n "checking for _fpclass declaration... " >&6; }
67049 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67050 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67051 $as_echo_n "(cached) " >&6
67052 else
67055 ac_ext=cpp
67056 ac_cpp='$CXXCPP $CPPFLAGS'
67057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67062 /* end confdefs.h. */
67063 #include <math.h>
67064 #ifdef HAVE_IEEEFP_H
67065 #include <ieeefp.h>
67066 #endif
67069 main ()
67071 _fpclass(0);
67073 return 0;
67075 _ACEOF
67076 if ac_fn_cxx_try_compile "$LINENO"; then :
67077 glibcxx_cv_func__fpclass_use=yes
67078 else
67079 glibcxx_cv_func__fpclass_use=no
67081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67082 ac_ext=c
67083 ac_cpp='$CPP $CPPFLAGS'
67084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67093 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67095 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67096 for ac_func in _fpclass
67097 do :
67098 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67099 if test "x$ac_cv_func__fpclass" = x""yes; then :
67100 cat >>confdefs.h <<_ACEOF
67101 #define HAVE__FPCLASS 1
67102 _ACEOF
67105 done
67114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67115 $as_echo_n "checking for qfpclass declaration... " >&6; }
67116 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67117 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67118 $as_echo_n "(cached) " >&6
67119 else
67122 ac_ext=cpp
67123 ac_cpp='$CXXCPP $CPPFLAGS'
67124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67129 /* end confdefs.h. */
67130 #include <math.h>
67131 #ifdef HAVE_IEEEFP_H
67132 #include <ieeefp.h>
67133 #endif
67136 main ()
67138 qfpclass(0);
67140 return 0;
67142 _ACEOF
67143 if ac_fn_cxx_try_compile "$LINENO"; then :
67144 glibcxx_cv_func_qfpclass_use=yes
67145 else
67146 glibcxx_cv_func_qfpclass_use=no
67148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67149 ac_ext=c
67150 ac_cpp='$CPP $CPPFLAGS'
67151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67160 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67162 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67163 for ac_func in qfpclass
67164 do :
67165 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67166 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67167 cat >>confdefs.h <<_ACEOF
67168 #define HAVE_QFPCLASS 1
67169 _ACEOF
67172 done
67174 else
67176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67177 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67178 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67179 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67180 $as_echo_n "(cached) " >&6
67181 else
67184 ac_ext=cpp
67185 ac_cpp='$CXXCPP $CPPFLAGS'
67186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67191 /* end confdefs.h. */
67192 #include <math.h>
67193 #ifdef HAVE_IEEEFP_H
67194 #include <ieeefp.h>
67195 #endif
67198 main ()
67200 _qfpclass(0);
67202 return 0;
67204 _ACEOF
67205 if ac_fn_cxx_try_compile "$LINENO"; then :
67206 glibcxx_cv_func__qfpclass_use=yes
67207 else
67208 glibcxx_cv_func__qfpclass_use=no
67210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67211 ac_ext=c
67212 ac_cpp='$CPP $CPPFLAGS'
67213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67222 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67224 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67225 for ac_func in _qfpclass
67226 do :
67227 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67228 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67229 cat >>confdefs.h <<_ACEOF
67230 #define HAVE__QFPCLASS 1
67231 _ACEOF
67234 done
67243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67244 $as_echo_n "checking for hypot declaration... " >&6; }
67245 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67246 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67247 $as_echo_n "(cached) " >&6
67248 else
67251 ac_ext=cpp
67252 ac_cpp='$CXXCPP $CPPFLAGS'
67253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67258 /* end confdefs.h. */
67259 #include <math.h>
67261 main ()
67263 hypot(0, 0);
67265 return 0;
67267 _ACEOF
67268 if ac_fn_cxx_try_compile "$LINENO"; then :
67269 glibcxx_cv_func_hypot_use=yes
67270 else
67271 glibcxx_cv_func_hypot_use=no
67273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67274 ac_ext=c
67275 ac_cpp='$CPP $CPPFLAGS'
67276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67285 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67287 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67288 for ac_func in hypot
67289 do :
67290 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67291 if test "x$ac_cv_func_hypot" = x""yes; then :
67292 cat >>confdefs.h <<_ACEOF
67293 #define HAVE_HYPOT 1
67294 _ACEOF
67297 done
67299 else
67301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67302 $as_echo_n "checking for _hypot declaration... " >&6; }
67303 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67304 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67305 $as_echo_n "(cached) " >&6
67306 else
67309 ac_ext=cpp
67310 ac_cpp='$CXXCPP $CPPFLAGS'
67311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67316 /* end confdefs.h. */
67317 #include <math.h>
67319 main ()
67321 _hypot(0, 0);
67323 return 0;
67325 _ACEOF
67326 if ac_fn_cxx_try_compile "$LINENO"; then :
67327 glibcxx_cv_func__hypot_use=yes
67328 else
67329 glibcxx_cv_func__hypot_use=no
67331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67332 ac_ext=c
67333 ac_cpp='$CPP $CPPFLAGS'
67334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67343 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67345 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67346 for ac_func in _hypot
67347 do :
67348 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67349 if test "x$ac_cv_func__hypot" = x""yes; then :
67350 cat >>confdefs.h <<_ACEOF
67351 #define HAVE__HYPOT 1
67352 _ACEOF
67355 done
67364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67365 $as_echo_n "checking for float trig functions... " >&6; }
67366 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67367 $as_echo_n "(cached) " >&6
67368 else
67371 ac_ext=cpp
67372 ac_cpp='$CXXCPP $CPPFLAGS'
67373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67378 /* end confdefs.h. */
67379 #include <math.h>
67381 main ()
67383 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67385 return 0;
67387 _ACEOF
67388 if ac_fn_cxx_try_compile "$LINENO"; then :
67389 glibcxx_cv_func_float_trig_use=yes
67390 else
67391 glibcxx_cv_func_float_trig_use=no
67393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67394 ac_ext=c
67395 ac_cpp='$CPP $CPPFLAGS'
67396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67403 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67404 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67405 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67406 do :
67407 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67408 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67409 eval as_val=\$$as_ac_var
67410 if test "x$as_val" = x""yes; then :
67411 cat >>confdefs.h <<_ACEOF
67412 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67413 _ACEOF
67416 done
67418 else
67419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67420 $as_echo_n "checking for _float trig functions... " >&6; }
67421 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67422 $as_echo_n "(cached) " >&6
67423 else
67426 ac_ext=cpp
67427 ac_cpp='$CXXCPP $CPPFLAGS'
67428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67433 /* end confdefs.h. */
67434 #include <math.h>
67436 main ()
67438 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67440 return 0;
67442 _ACEOF
67443 if ac_fn_cxx_try_compile "$LINENO"; then :
67444 glibcxx_cv_func__float_trig_use=yes
67445 else
67446 glibcxx_cv_func__float_trig_use=no
67448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67449 ac_ext=c
67450 ac_cpp='$CPP $CPPFLAGS'
67451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67458 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67459 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67460 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67461 do :
67462 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67463 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67464 eval as_val=\$$as_ac_var
67465 if test "x$as_val" = x""yes; then :
67466 cat >>confdefs.h <<_ACEOF
67467 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67468 _ACEOF
67471 done
67480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67481 $as_echo_n "checking for float round functions... " >&6; }
67482 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67483 $as_echo_n "(cached) " >&6
67484 else
67487 ac_ext=cpp
67488 ac_cpp='$CXXCPP $CPPFLAGS'
67489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67494 /* end confdefs.h. */
67495 #include <math.h>
67497 main ()
67499 ceilf (0); floorf (0);
67501 return 0;
67503 _ACEOF
67504 if ac_fn_cxx_try_compile "$LINENO"; then :
67505 glibcxx_cv_func_float_round_use=yes
67506 else
67507 glibcxx_cv_func_float_round_use=no
67509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67510 ac_ext=c
67511 ac_cpp='$CPP $CPPFLAGS'
67512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67519 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67520 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67521 for ac_func in ceilf floorf
67522 do :
67523 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67524 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67525 eval as_val=\$$as_ac_var
67526 if test "x$as_val" = x""yes; then :
67527 cat >>confdefs.h <<_ACEOF
67528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67529 _ACEOF
67532 done
67534 else
67535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67536 $as_echo_n "checking for _float round functions... " >&6; }
67537 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67552 main ()
67554 _ceilf (0); _floorf (0);
67556 return 0;
67558 _ACEOF
67559 if ac_fn_cxx_try_compile "$LINENO"; then :
67560 glibcxx_cv_func__float_round_use=yes
67561 else
67562 glibcxx_cv_func__float_round_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
67573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67574 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67575 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67576 for ac_func in _ceilf _floorf
67577 do :
67578 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67579 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67580 eval as_val=\$$as_ac_var
67581 if test "x$as_val" = x""yes; then :
67582 cat >>confdefs.h <<_ACEOF
67583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67584 _ACEOF
67587 done
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67598 $as_echo_n "checking for expf declaration... " >&6; }
67599 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67600 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67601 $as_echo_n "(cached) " >&6
67602 else
67605 ac_ext=cpp
67606 ac_cpp='$CXXCPP $CPPFLAGS'
67607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67612 /* end confdefs.h. */
67613 #include <math.h>
67614 #ifdef HAVE_IEEEFP_H
67615 #include <ieeefp.h>
67616 #endif
67619 main ()
67621 expf(0);
67623 return 0;
67625 _ACEOF
67626 if ac_fn_cxx_try_compile "$LINENO"; then :
67627 glibcxx_cv_func_expf_use=yes
67628 else
67629 glibcxx_cv_func_expf_use=no
67631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67632 ac_ext=c
67633 ac_cpp='$CPP $CPPFLAGS'
67634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67643 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67645 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67646 for ac_func in expf
67647 do :
67648 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67649 if test "x$ac_cv_func_expf" = x""yes; then :
67650 cat >>confdefs.h <<_ACEOF
67651 #define HAVE_EXPF 1
67652 _ACEOF
67655 done
67657 else
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67660 $as_echo_n "checking for _expf declaration... " >&6; }
67661 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67662 if test "${glibcxx_cv_func__expf_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>
67676 #ifdef HAVE_IEEEFP_H
67677 #include <ieeefp.h>
67678 #endif
67681 main ()
67683 _expf(0);
67685 return 0;
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func__expf_use=yes
67690 else
67691 glibcxx_cv_func__expf_use=no
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694 ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67705 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67707 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67708 for ac_func in _expf
67709 do :
67710 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67711 if test "x$ac_cv_func__expf" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE__EXPF 1
67714 _ACEOF
67717 done
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67727 $as_echo_n "checking for isnanf declaration... " >&6; }
67728 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67729 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67730 $as_echo_n "(cached) " >&6
67731 else
67734 ac_ext=cpp
67735 ac_cpp='$CXXCPP $CPPFLAGS'
67736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67741 /* end confdefs.h. */
67742 #include <math.h>
67743 #ifdef HAVE_IEEEFP_H
67744 #include <ieeefp.h>
67745 #endif
67748 main ()
67750 isnanf(0);
67752 return 0;
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756 glibcxx_cv_func_isnanf_use=yes
67757 else
67758 glibcxx_cv_func_isnanf_use=no
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761 ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67772 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67774 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67775 for ac_func in isnanf
67776 do :
67777 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67778 if test "x$ac_cv_func_isnanf" = x""yes; then :
67779 cat >>confdefs.h <<_ACEOF
67780 #define HAVE_ISNANF 1
67781 _ACEOF
67784 done
67786 else
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67789 $as_echo_n "checking for _isnanf declaration... " >&6; }
67790 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67791 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67792 $as_echo_n "(cached) " >&6
67793 else
67796 ac_ext=cpp
67797 ac_cpp='$CXXCPP $CPPFLAGS'
67798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803 /* end confdefs.h. */
67804 #include <math.h>
67805 #ifdef HAVE_IEEEFP_H
67806 #include <ieeefp.h>
67807 #endif
67810 main ()
67812 _isnanf(0);
67814 return 0;
67816 _ACEOF
67817 if ac_fn_cxx_try_compile "$LINENO"; then :
67818 glibcxx_cv_func__isnanf_use=yes
67819 else
67820 glibcxx_cv_func__isnanf_use=no
67822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67823 ac_ext=c
67824 ac_cpp='$CPP $CPPFLAGS'
67825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67834 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67836 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67837 for ac_func in _isnanf
67838 do :
67839 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67840 if test "x$ac_cv_func__isnanf" = x""yes; then :
67841 cat >>confdefs.h <<_ACEOF
67842 #define HAVE__ISNANF 1
67843 _ACEOF
67846 done
67855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67856 $as_echo_n "checking for isinff declaration... " >&6; }
67857 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67858 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67859 $as_echo_n "(cached) " >&6
67860 else
67863 ac_ext=cpp
67864 ac_cpp='$CXXCPP $CPPFLAGS'
67865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67870 /* end confdefs.h. */
67871 #include <math.h>
67872 #ifdef HAVE_IEEEFP_H
67873 #include <ieeefp.h>
67874 #endif
67877 main ()
67879 isinff(0);
67881 return 0;
67883 _ACEOF
67884 if ac_fn_cxx_try_compile "$LINENO"; then :
67885 glibcxx_cv_func_isinff_use=yes
67886 else
67887 glibcxx_cv_func_isinff_use=no
67889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67890 ac_ext=c
67891 ac_cpp='$CPP $CPPFLAGS'
67892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67901 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67903 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67904 for ac_func in isinff
67905 do :
67906 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67907 if test "x$ac_cv_func_isinff" = x""yes; then :
67908 cat >>confdefs.h <<_ACEOF
67909 #define HAVE_ISINFF 1
67910 _ACEOF
67913 done
67915 else
67917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67918 $as_echo_n "checking for _isinff declaration... " >&6; }
67919 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67920 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67921 $as_echo_n "(cached) " >&6
67922 else
67925 ac_ext=cpp
67926 ac_cpp='$CXXCPP $CPPFLAGS'
67927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67932 /* end confdefs.h. */
67933 #include <math.h>
67934 #ifdef HAVE_IEEEFP_H
67935 #include <ieeefp.h>
67936 #endif
67939 main ()
67941 _isinff(0);
67943 return 0;
67945 _ACEOF
67946 if ac_fn_cxx_try_compile "$LINENO"; then :
67947 glibcxx_cv_func__isinff_use=yes
67948 else
67949 glibcxx_cv_func__isinff_use=no
67951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67952 ac_ext=c
67953 ac_cpp='$CPP $CPPFLAGS'
67954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67963 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67965 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67966 for ac_func in _isinff
67967 do :
67968 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67969 if test "x$ac_cv_func__isinff" = x""yes; then :
67970 cat >>confdefs.h <<_ACEOF
67971 #define HAVE__ISINFF 1
67972 _ACEOF
67975 done
67984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67985 $as_echo_n "checking for atan2f declaration... " >&6; }
67986 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67987 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67988 $as_echo_n "(cached) " >&6
67989 else
67992 ac_ext=cpp
67993 ac_cpp='$CXXCPP $CPPFLAGS'
67994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67999 /* end confdefs.h. */
68000 #include <math.h>
68002 main ()
68004 atan2f(0, 0);
68006 return 0;
68008 _ACEOF
68009 if ac_fn_cxx_try_compile "$LINENO"; then :
68010 glibcxx_cv_func_atan2f_use=yes
68011 else
68012 glibcxx_cv_func_atan2f_use=no
68014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68015 ac_ext=c
68016 ac_cpp='$CPP $CPPFLAGS'
68017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68026 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68028 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68029 for ac_func in atan2f
68030 do :
68031 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68032 if test "x$ac_cv_func_atan2f" = x""yes; then :
68033 cat >>confdefs.h <<_ACEOF
68034 #define HAVE_ATAN2F 1
68035 _ACEOF
68038 done
68040 else
68042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68043 $as_echo_n "checking for _atan2f declaration... " >&6; }
68044 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68045 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68046 $as_echo_n "(cached) " >&6
68047 else
68050 ac_ext=cpp
68051 ac_cpp='$CXXCPP $CPPFLAGS'
68052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68057 /* end confdefs.h. */
68058 #include <math.h>
68060 main ()
68062 _atan2f(0, 0);
68064 return 0;
68066 _ACEOF
68067 if ac_fn_cxx_try_compile "$LINENO"; then :
68068 glibcxx_cv_func__atan2f_use=yes
68069 else
68070 glibcxx_cv_func__atan2f_use=no
68072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68073 ac_ext=c
68074 ac_cpp='$CPP $CPPFLAGS'
68075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68084 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68086 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68087 for ac_func in _atan2f
68088 do :
68089 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68090 if test "x$ac_cv_func__atan2f" = x""yes; then :
68091 cat >>confdefs.h <<_ACEOF
68092 #define HAVE__ATAN2F 1
68093 _ACEOF
68096 done
68105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68106 $as_echo_n "checking for fabsf declaration... " >&6; }
68107 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68108 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68109 $as_echo_n "(cached) " >&6
68110 else
68113 ac_ext=cpp
68114 ac_cpp='$CXXCPP $CPPFLAGS'
68115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68120 /* end confdefs.h. */
68121 #include <math.h>
68122 #ifdef HAVE_IEEEFP_H
68123 #include <ieeefp.h>
68124 #endif
68127 main ()
68129 fabsf(0);
68131 return 0;
68133 _ACEOF
68134 if ac_fn_cxx_try_compile "$LINENO"; then :
68135 glibcxx_cv_func_fabsf_use=yes
68136 else
68137 glibcxx_cv_func_fabsf_use=no
68139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68140 ac_ext=c
68141 ac_cpp='$CPP $CPPFLAGS'
68142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68151 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68153 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68154 for ac_func in fabsf
68155 do :
68156 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68157 if test "x$ac_cv_func_fabsf" = x""yes; then :
68158 cat >>confdefs.h <<_ACEOF
68159 #define HAVE_FABSF 1
68160 _ACEOF
68163 done
68165 else
68167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68168 $as_echo_n "checking for _fabsf declaration... " >&6; }
68169 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68170 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68171 $as_echo_n "(cached) " >&6
68172 else
68175 ac_ext=cpp
68176 ac_cpp='$CXXCPP $CPPFLAGS'
68177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68182 /* end confdefs.h. */
68183 #include <math.h>
68184 #ifdef HAVE_IEEEFP_H
68185 #include <ieeefp.h>
68186 #endif
68189 main ()
68191 _fabsf(0);
68193 return 0;
68195 _ACEOF
68196 if ac_fn_cxx_try_compile "$LINENO"; then :
68197 glibcxx_cv_func__fabsf_use=yes
68198 else
68199 glibcxx_cv_func__fabsf_use=no
68201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68202 ac_ext=c
68203 ac_cpp='$CPP $CPPFLAGS'
68204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68213 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68215 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68216 for ac_func in _fabsf
68217 do :
68218 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68219 if test "x$ac_cv_func__fabsf" = x""yes; then :
68220 cat >>confdefs.h <<_ACEOF
68221 #define HAVE__FABSF 1
68222 _ACEOF
68225 done
68234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68235 $as_echo_n "checking for fmodf declaration... " >&6; }
68236 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68237 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68238 $as_echo_n "(cached) " >&6
68239 else
68242 ac_ext=cpp
68243 ac_cpp='$CXXCPP $CPPFLAGS'
68244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68249 /* end confdefs.h. */
68250 #include <math.h>
68252 main ()
68254 fmodf(0, 0);
68256 return 0;
68258 _ACEOF
68259 if ac_fn_cxx_try_compile "$LINENO"; then :
68260 glibcxx_cv_func_fmodf_use=yes
68261 else
68262 glibcxx_cv_func_fmodf_use=no
68264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68265 ac_ext=c
68266 ac_cpp='$CPP $CPPFLAGS'
68267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68276 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68278 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68279 for ac_func in fmodf
68280 do :
68281 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68282 if test "x$ac_cv_func_fmodf" = x""yes; then :
68283 cat >>confdefs.h <<_ACEOF
68284 #define HAVE_FMODF 1
68285 _ACEOF
68288 done
68290 else
68292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68293 $as_echo_n "checking for _fmodf declaration... " >&6; }
68294 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68295 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68296 $as_echo_n "(cached) " >&6
68297 else
68300 ac_ext=cpp
68301 ac_cpp='$CXXCPP $CPPFLAGS'
68302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68307 /* end confdefs.h. */
68308 #include <math.h>
68310 main ()
68312 _fmodf(0, 0);
68314 return 0;
68316 _ACEOF
68317 if ac_fn_cxx_try_compile "$LINENO"; then :
68318 glibcxx_cv_func__fmodf_use=yes
68319 else
68320 glibcxx_cv_func__fmodf_use=no
68322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68323 ac_ext=c
68324 ac_cpp='$CPP $CPPFLAGS'
68325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68334 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68336 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68337 for ac_func in _fmodf
68338 do :
68339 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68340 if test "x$ac_cv_func__fmodf" = x""yes; then :
68341 cat >>confdefs.h <<_ACEOF
68342 #define HAVE__FMODF 1
68343 _ACEOF
68346 done
68355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68356 $as_echo_n "checking for frexpf declaration... " >&6; }
68357 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68358 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68359 $as_echo_n "(cached) " >&6
68360 else
68363 ac_ext=cpp
68364 ac_cpp='$CXXCPP $CPPFLAGS'
68365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68370 /* end confdefs.h. */
68371 #include <math.h>
68373 main ()
68375 frexpf(0, 0);
68377 return 0;
68379 _ACEOF
68380 if ac_fn_cxx_try_compile "$LINENO"; then :
68381 glibcxx_cv_func_frexpf_use=yes
68382 else
68383 glibcxx_cv_func_frexpf_use=no
68385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68386 ac_ext=c
68387 ac_cpp='$CPP $CPPFLAGS'
68388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68397 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68399 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68400 for ac_func in frexpf
68401 do :
68402 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68403 if test "x$ac_cv_func_frexpf" = x""yes; then :
68404 cat >>confdefs.h <<_ACEOF
68405 #define HAVE_FREXPF 1
68406 _ACEOF
68409 done
68411 else
68413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68414 $as_echo_n "checking for _frexpf declaration... " >&6; }
68415 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68416 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68417 $as_echo_n "(cached) " >&6
68418 else
68421 ac_ext=cpp
68422 ac_cpp='$CXXCPP $CPPFLAGS'
68423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68428 /* end confdefs.h. */
68429 #include <math.h>
68431 main ()
68433 _frexpf(0, 0);
68435 return 0;
68437 _ACEOF
68438 if ac_fn_cxx_try_compile "$LINENO"; then :
68439 glibcxx_cv_func__frexpf_use=yes
68440 else
68441 glibcxx_cv_func__frexpf_use=no
68443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68444 ac_ext=c
68445 ac_cpp='$CPP $CPPFLAGS'
68446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68455 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68457 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68458 for ac_func in _frexpf
68459 do :
68460 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68461 if test "x$ac_cv_func__frexpf" = x""yes; then :
68462 cat >>confdefs.h <<_ACEOF
68463 #define HAVE__FREXPF 1
68464 _ACEOF
68467 done
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68477 $as_echo_n "checking for hypotf declaration... " >&6; }
68478 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68479 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68480 $as_echo_n "(cached) " >&6
68481 else
68484 ac_ext=cpp
68485 ac_cpp='$CXXCPP $CPPFLAGS'
68486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68491 /* end confdefs.h. */
68492 #include <math.h>
68494 main ()
68496 hypotf(0, 0);
68498 return 0;
68500 _ACEOF
68501 if ac_fn_cxx_try_compile "$LINENO"; then :
68502 glibcxx_cv_func_hypotf_use=yes
68503 else
68504 glibcxx_cv_func_hypotf_use=no
68506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68507 ac_ext=c
68508 ac_cpp='$CPP $CPPFLAGS'
68509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68518 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68520 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68521 for ac_func in hypotf
68522 do :
68523 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68524 if test "x$ac_cv_func_hypotf" = x""yes; then :
68525 cat >>confdefs.h <<_ACEOF
68526 #define HAVE_HYPOTF 1
68527 _ACEOF
68530 done
68532 else
68534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68535 $as_echo_n "checking for _hypotf declaration... " >&6; }
68536 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68537 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68538 $as_echo_n "(cached) " >&6
68539 else
68542 ac_ext=cpp
68543 ac_cpp='$CXXCPP $CPPFLAGS'
68544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68549 /* end confdefs.h. */
68550 #include <math.h>
68552 main ()
68554 _hypotf(0, 0);
68556 return 0;
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__hypotf_use=yes
68561 else
68562 glibcxx_cv_func__hypotf_use=no
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68576 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68578 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68579 for ac_func in _hypotf
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68582 if test "x$ac_cv_func__hypotf" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__HYPOTF 1
68585 _ACEOF
68588 done
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68598 $as_echo_n "checking for ldexpf declaration... " >&6; }
68599 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68600 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68601 $as_echo_n "(cached) " >&6
68602 else
68605 ac_ext=cpp
68606 ac_cpp='$CXXCPP $CPPFLAGS'
68607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68612 /* end confdefs.h. */
68613 #include <math.h>
68615 main ()
68617 ldexpf(0, 0);
68619 return 0;
68621 _ACEOF
68622 if ac_fn_cxx_try_compile "$LINENO"; then :
68623 glibcxx_cv_func_ldexpf_use=yes
68624 else
68625 glibcxx_cv_func_ldexpf_use=no
68627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68628 ac_ext=c
68629 ac_cpp='$CPP $CPPFLAGS'
68630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68639 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68641 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68642 for ac_func in ldexpf
68643 do :
68644 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68645 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68646 cat >>confdefs.h <<_ACEOF
68647 #define HAVE_LDEXPF 1
68648 _ACEOF
68651 done
68653 else
68655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68656 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68657 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68658 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68659 $as_echo_n "(cached) " >&6
68660 else
68663 ac_ext=cpp
68664 ac_cpp='$CXXCPP $CPPFLAGS'
68665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68670 /* end confdefs.h. */
68671 #include <math.h>
68673 main ()
68675 _ldexpf(0, 0);
68677 return 0;
68679 _ACEOF
68680 if ac_fn_cxx_try_compile "$LINENO"; then :
68681 glibcxx_cv_func__ldexpf_use=yes
68682 else
68683 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
68697 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68699 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68700 for ac_func in _ldexpf
68701 do :
68702 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68703 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68704 cat >>confdefs.h <<_ACEOF
68705 #define HAVE__LDEXPF 1
68706 _ACEOF
68709 done
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68719 $as_echo_n "checking for logf declaration... " >&6; }
68720 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68721 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68722 $as_echo_n "(cached) " >&6
68723 else
68726 ac_ext=cpp
68727 ac_cpp='$CXXCPP $CPPFLAGS'
68728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68733 /* end confdefs.h. */
68734 #include <math.h>
68735 #ifdef HAVE_IEEEFP_H
68736 #include <ieeefp.h>
68737 #endif
68740 main ()
68742 logf(0);
68744 return 0;
68746 _ACEOF
68747 if ac_fn_cxx_try_compile "$LINENO"; then :
68748 glibcxx_cv_func_logf_use=yes
68749 else
68750 glibcxx_cv_func_logf_use=no
68752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68753 ac_ext=c
68754 ac_cpp='$CPP $CPPFLAGS'
68755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68764 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68766 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68767 for ac_func in logf
68768 do :
68769 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68770 if test "x$ac_cv_func_logf" = x""yes; then :
68771 cat >>confdefs.h <<_ACEOF
68772 #define HAVE_LOGF 1
68773 _ACEOF
68776 done
68778 else
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68781 $as_echo_n "checking for _logf declaration... " >&6; }
68782 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68783 if test "${glibcxx_cv_func__logf_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>
68797 #ifdef HAVE_IEEEFP_H
68798 #include <ieeefp.h>
68799 #endif
68802 main ()
68804 _logf(0);
68806 return 0;
68808 _ACEOF
68809 if ac_fn_cxx_try_compile "$LINENO"; then :
68810 glibcxx_cv_func__logf_use=yes
68811 else
68812 glibcxx_cv_func__logf_use=no
68814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68815 ac_ext=c
68816 ac_cpp='$CPP $CPPFLAGS'
68817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68826 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68828 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68829 for ac_func in _logf
68830 do :
68831 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68832 if test "x$ac_cv_func__logf" = x""yes; then :
68833 cat >>confdefs.h <<_ACEOF
68834 #define HAVE__LOGF 1
68835 _ACEOF
68838 done
68847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68848 $as_echo_n "checking for log10f declaration... " >&6; }
68849 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68850 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68851 $as_echo_n "(cached) " >&6
68852 else
68855 ac_ext=cpp
68856 ac_cpp='$CXXCPP $CPPFLAGS'
68857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68862 /* end confdefs.h. */
68863 #include <math.h>
68864 #ifdef HAVE_IEEEFP_H
68865 #include <ieeefp.h>
68866 #endif
68869 main ()
68871 log10f(0);
68873 return 0;
68875 _ACEOF
68876 if ac_fn_cxx_try_compile "$LINENO"; then :
68877 glibcxx_cv_func_log10f_use=yes
68878 else
68879 glibcxx_cv_func_log10f_use=no
68881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68882 ac_ext=c
68883 ac_cpp='$CPP $CPPFLAGS'
68884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68893 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68895 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68896 for ac_func in log10f
68897 do :
68898 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68899 if test "x$ac_cv_func_log10f" = x""yes; then :
68900 cat >>confdefs.h <<_ACEOF
68901 #define HAVE_LOG10F 1
68902 _ACEOF
68905 done
68907 else
68909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68910 $as_echo_n "checking for _log10f declaration... " >&6; }
68911 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68912 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68913 $as_echo_n "(cached) " >&6
68914 else
68917 ac_ext=cpp
68918 ac_cpp='$CXXCPP $CPPFLAGS'
68919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68924 /* end confdefs.h. */
68925 #include <math.h>
68926 #ifdef HAVE_IEEEFP_H
68927 #include <ieeefp.h>
68928 #endif
68931 main ()
68933 _log10f(0);
68935 return 0;
68937 _ACEOF
68938 if ac_fn_cxx_try_compile "$LINENO"; then :
68939 glibcxx_cv_func__log10f_use=yes
68940 else
68941 glibcxx_cv_func__log10f_use=no
68943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68944 ac_ext=c
68945 ac_cpp='$CPP $CPPFLAGS'
68946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68955 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68957 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68958 for ac_func in _log10f
68959 do :
68960 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68961 if test "x$ac_cv_func__log10f" = x""yes; then :
68962 cat >>confdefs.h <<_ACEOF
68963 #define HAVE__LOG10F 1
68964 _ACEOF
68967 done
68976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68977 $as_echo_n "checking for modff declaration... " >&6; }
68978 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68979 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68980 $as_echo_n "(cached) " >&6
68981 else
68984 ac_ext=cpp
68985 ac_cpp='$CXXCPP $CPPFLAGS'
68986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68991 /* end confdefs.h. */
68992 #include <math.h>
68994 main ()
68996 modff(0, 0);
68998 return 0;
69000 _ACEOF
69001 if ac_fn_cxx_try_compile "$LINENO"; then :
69002 glibcxx_cv_func_modff_use=yes
69003 else
69004 glibcxx_cv_func_modff_use=no
69006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69007 ac_ext=c
69008 ac_cpp='$CPP $CPPFLAGS'
69009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69018 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69020 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69021 for ac_func in modff
69022 do :
69023 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69024 if test "x$ac_cv_func_modff" = x""yes; then :
69025 cat >>confdefs.h <<_ACEOF
69026 #define HAVE_MODFF 1
69027 _ACEOF
69030 done
69032 else
69034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69035 $as_echo_n "checking for _modff declaration... " >&6; }
69036 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69037 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69038 $as_echo_n "(cached) " >&6
69039 else
69042 ac_ext=cpp
69043 ac_cpp='$CXXCPP $CPPFLAGS'
69044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69049 /* end confdefs.h. */
69050 #include <math.h>
69052 main ()
69054 _modff(0, 0);
69056 return 0;
69058 _ACEOF
69059 if ac_fn_cxx_try_compile "$LINENO"; then :
69060 glibcxx_cv_func__modff_use=yes
69061 else
69062 glibcxx_cv_func__modff_use=no
69064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69065 ac_ext=c
69066 ac_cpp='$CPP $CPPFLAGS'
69067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69076 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69078 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69079 for ac_func in _modff
69080 do :
69081 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69082 if test "x$ac_cv_func__modff" = x""yes; then :
69083 cat >>confdefs.h <<_ACEOF
69084 #define HAVE__MODFF 1
69085 _ACEOF
69088 done
69097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69098 $as_echo_n "checking for modf declaration... " >&6; }
69099 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69100 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69101 $as_echo_n "(cached) " >&6
69102 else
69105 ac_ext=cpp
69106 ac_cpp='$CXXCPP $CPPFLAGS'
69107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69112 /* end confdefs.h. */
69113 #include <math.h>
69115 main ()
69117 modf(0, 0);
69119 return 0;
69121 _ACEOF
69122 if ac_fn_cxx_try_compile "$LINENO"; then :
69123 glibcxx_cv_func_modf_use=yes
69124 else
69125 glibcxx_cv_func_modf_use=no
69127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69128 ac_ext=c
69129 ac_cpp='$CPP $CPPFLAGS'
69130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69139 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69141 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69142 for ac_func in modf
69143 do :
69144 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69145 if test "x$ac_cv_func_modf" = x""yes; then :
69146 cat >>confdefs.h <<_ACEOF
69147 #define HAVE_MODF 1
69148 _ACEOF
69151 done
69153 else
69155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69156 $as_echo_n "checking for _modf declaration... " >&6; }
69157 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69158 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69159 $as_echo_n "(cached) " >&6
69160 else
69163 ac_ext=cpp
69164 ac_cpp='$CXXCPP $CPPFLAGS'
69165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69170 /* end confdefs.h. */
69171 #include <math.h>
69173 main ()
69175 _modf(0, 0);
69177 return 0;
69179 _ACEOF
69180 if ac_fn_cxx_try_compile "$LINENO"; then :
69181 glibcxx_cv_func__modf_use=yes
69182 else
69183 glibcxx_cv_func__modf_use=no
69185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69186 ac_ext=c
69187 ac_cpp='$CPP $CPPFLAGS'
69188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69197 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69199 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69200 for ac_func in _modf
69201 do :
69202 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69203 if test "x$ac_cv_func__modf" = x""yes; then :
69204 cat >>confdefs.h <<_ACEOF
69205 #define HAVE__MODF 1
69206 _ACEOF
69209 done
69218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69219 $as_echo_n "checking for powf declaration... " >&6; }
69220 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69221 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69222 $as_echo_n "(cached) " >&6
69223 else
69226 ac_ext=cpp
69227 ac_cpp='$CXXCPP $CPPFLAGS'
69228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69233 /* end confdefs.h. */
69234 #include <math.h>
69236 main ()
69238 powf(0, 0);
69240 return 0;
69242 _ACEOF
69243 if ac_fn_cxx_try_compile "$LINENO"; then :
69244 glibcxx_cv_func_powf_use=yes
69245 else
69246 glibcxx_cv_func_powf_use=no
69248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69249 ac_ext=c
69250 ac_cpp='$CPP $CPPFLAGS'
69251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69260 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69262 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69263 for ac_func in powf
69264 do :
69265 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69266 if test "x$ac_cv_func_powf" = x""yes; then :
69267 cat >>confdefs.h <<_ACEOF
69268 #define HAVE_POWF 1
69269 _ACEOF
69272 done
69274 else
69276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69277 $as_echo_n "checking for _powf declaration... " >&6; }
69278 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69279 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69280 $as_echo_n "(cached) " >&6
69281 else
69284 ac_ext=cpp
69285 ac_cpp='$CXXCPP $CPPFLAGS'
69286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69291 /* end confdefs.h. */
69292 #include <math.h>
69294 main ()
69296 _powf(0, 0);
69298 return 0;
69300 _ACEOF
69301 if ac_fn_cxx_try_compile "$LINENO"; then :
69302 glibcxx_cv_func__powf_use=yes
69303 else
69304 glibcxx_cv_func__powf_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__powf_use" >&5
69318 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69320 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69321 for ac_func in _powf
69322 do :
69323 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69324 if test "x$ac_cv_func__powf" = x""yes; then :
69325 cat >>confdefs.h <<_ACEOF
69326 #define HAVE__POWF 1
69327 _ACEOF
69330 done
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69340 $as_echo_n "checking for sqrtf declaration... " >&6; }
69341 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69342 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69343 $as_echo_n "(cached) " >&6
69344 else
69347 ac_ext=cpp
69348 ac_cpp='$CXXCPP $CPPFLAGS'
69349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69354 /* end confdefs.h. */
69355 #include <math.h>
69356 #ifdef HAVE_IEEEFP_H
69357 #include <ieeefp.h>
69358 #endif
69361 main ()
69363 sqrtf(0);
69365 return 0;
69367 _ACEOF
69368 if ac_fn_cxx_try_compile "$LINENO"; then :
69369 glibcxx_cv_func_sqrtf_use=yes
69370 else
69371 glibcxx_cv_func_sqrtf_use=no
69373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69374 ac_ext=c
69375 ac_cpp='$CPP $CPPFLAGS'
69376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69385 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69387 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69388 for ac_func in sqrtf
69389 do :
69390 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69391 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69392 cat >>confdefs.h <<_ACEOF
69393 #define HAVE_SQRTF 1
69394 _ACEOF
69397 done
69399 else
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69402 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69403 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69404 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69405 $as_echo_n "(cached) " >&6
69406 else
69409 ac_ext=cpp
69410 ac_cpp='$CXXCPP $CPPFLAGS'
69411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69416 /* end confdefs.h. */
69417 #include <math.h>
69418 #ifdef HAVE_IEEEFP_H
69419 #include <ieeefp.h>
69420 #endif
69423 main ()
69425 _sqrtf(0);
69427 return 0;
69429 _ACEOF
69430 if ac_fn_cxx_try_compile "$LINENO"; then :
69431 glibcxx_cv_func__sqrtf_use=yes
69432 else
69433 glibcxx_cv_func__sqrtf_use=no
69435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69436 ac_ext=c
69437 ac_cpp='$CPP $CPPFLAGS'
69438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69447 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69449 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69450 for ac_func in _sqrtf
69451 do :
69452 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69453 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69454 cat >>confdefs.h <<_ACEOF
69455 #define HAVE__SQRTF 1
69456 _ACEOF
69459 done
69468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69469 $as_echo_n "checking for sincosf declaration... " >&6; }
69470 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69471 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69472 $as_echo_n "(cached) " >&6
69473 else
69476 ac_ext=cpp
69477 ac_cpp='$CXXCPP $CPPFLAGS'
69478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69483 /* end confdefs.h. */
69484 #include <math.h>
69486 main ()
69488 sincosf(0, 0, 0);
69490 return 0;
69492 _ACEOF
69493 if ac_fn_cxx_try_compile "$LINENO"; then :
69494 glibcxx_cv_func_sincosf_use=yes
69495 else
69496 glibcxx_cv_func_sincosf_use=no
69498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69499 ac_ext=c
69500 ac_cpp='$CPP $CPPFLAGS'
69501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69510 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69512 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69513 for ac_func in sincosf
69514 do :
69515 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69516 if test "x$ac_cv_func_sincosf" = x""yes; then :
69517 cat >>confdefs.h <<_ACEOF
69518 #define HAVE_SINCOSF 1
69519 _ACEOF
69522 done
69524 else
69526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69527 $as_echo_n "checking for _sincosf declaration... " >&6; }
69528 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69529 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69530 $as_echo_n "(cached) " >&6
69531 else
69534 ac_ext=cpp
69535 ac_cpp='$CXXCPP $CPPFLAGS'
69536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69541 /* end confdefs.h. */
69542 #include <math.h>
69544 main ()
69546 _sincosf(0, 0, 0);
69548 return 0;
69550 _ACEOF
69551 if ac_fn_cxx_try_compile "$LINENO"; then :
69552 glibcxx_cv_func__sincosf_use=yes
69553 else
69554 glibcxx_cv_func__sincosf_use=no
69556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69557 ac_ext=c
69558 ac_cpp='$CPP $CPPFLAGS'
69559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69568 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69570 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69571 for ac_func in _sincosf
69572 do :
69573 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69574 if test "x$ac_cv_func__sincosf" = x""yes; then :
69575 cat >>confdefs.h <<_ACEOF
69576 #define HAVE__SINCOSF 1
69577 _ACEOF
69580 done
69589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69590 $as_echo_n "checking for finitef declaration... " >&6; }
69591 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69592 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69593 $as_echo_n "(cached) " >&6
69594 else
69597 ac_ext=cpp
69598 ac_cpp='$CXXCPP $CPPFLAGS'
69599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69604 /* end confdefs.h. */
69605 #include <math.h>
69606 #ifdef HAVE_IEEEFP_H
69607 #include <ieeefp.h>
69608 #endif
69611 main ()
69613 finitef(0);
69615 return 0;
69617 _ACEOF
69618 if ac_fn_cxx_try_compile "$LINENO"; then :
69619 glibcxx_cv_func_finitef_use=yes
69620 else
69621 glibcxx_cv_func_finitef_use=no
69623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69624 ac_ext=c
69625 ac_cpp='$CPP $CPPFLAGS'
69626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69635 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69637 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69638 for ac_func in finitef
69639 do :
69640 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69641 if test "x$ac_cv_func_finitef" = x""yes; then :
69642 cat >>confdefs.h <<_ACEOF
69643 #define HAVE_FINITEF 1
69644 _ACEOF
69647 done
69649 else
69651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69652 $as_echo_n "checking for _finitef declaration... " >&6; }
69653 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69654 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69655 $as_echo_n "(cached) " >&6
69656 else
69659 ac_ext=cpp
69660 ac_cpp='$CXXCPP $CPPFLAGS'
69661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69666 /* end confdefs.h. */
69667 #include <math.h>
69668 #ifdef HAVE_IEEEFP_H
69669 #include <ieeefp.h>
69670 #endif
69673 main ()
69675 _finitef(0);
69677 return 0;
69679 _ACEOF
69680 if ac_fn_cxx_try_compile "$LINENO"; then :
69681 glibcxx_cv_func__finitef_use=yes
69682 else
69683 glibcxx_cv_func__finitef_use=no
69685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69686 ac_ext=c
69687 ac_cpp='$CPP $CPPFLAGS'
69688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69697 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69699 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69700 for ac_func in _finitef
69701 do :
69702 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69703 if test "x$ac_cv_func__finitef" = x""yes; then :
69704 cat >>confdefs.h <<_ACEOF
69705 #define HAVE__FINITEF 1
69706 _ACEOF
69709 done
69718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69719 $as_echo_n "checking for long double trig functions... " >&6; }
69720 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69721 $as_echo_n "(cached) " >&6
69722 else
69725 ac_ext=cpp
69726 ac_cpp='$CXXCPP $CPPFLAGS'
69727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69732 /* end confdefs.h. */
69733 #include <math.h>
69735 main ()
69737 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69739 return 0;
69741 _ACEOF
69742 if ac_fn_cxx_try_compile "$LINENO"; then :
69743 glibcxx_cv_func_long_double_trig_use=yes
69744 else
69745 glibcxx_cv_func_long_double_trig_use=no
69747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69748 ac_ext=c
69749 ac_cpp='$CPP $CPPFLAGS'
69750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69757 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69758 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69759 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69760 do :
69761 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69762 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69763 eval as_val=\$$as_ac_var
69764 if test "x$as_val" = x""yes; then :
69765 cat >>confdefs.h <<_ACEOF
69766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69767 _ACEOF
69770 done
69772 else
69773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69774 $as_echo_n "checking for _long double trig functions... " >&6; }
69775 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69776 $as_echo_n "(cached) " >&6
69777 else
69780 ac_ext=cpp
69781 ac_cpp='$CXXCPP $CPPFLAGS'
69782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69787 /* end confdefs.h. */
69788 #include <math.h>
69790 main ()
69792 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69794 return 0;
69796 _ACEOF
69797 if ac_fn_cxx_try_compile "$LINENO"; then :
69798 glibcxx_cv_func__long_double_trig_use=yes
69799 else
69800 glibcxx_cv_func__long_double_trig_use=no
69802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69803 ac_ext=c
69804 ac_cpp='$CPP $CPPFLAGS'
69805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69812 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69813 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69814 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69815 do :
69816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69818 eval as_val=\$$as_ac_var
69819 if test "x$as_val" = x""yes; then :
69820 cat >>confdefs.h <<_ACEOF
69821 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69822 _ACEOF
69825 done
69834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69835 $as_echo_n "checking for long double round functions... " >&6; }
69836 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69837 $as_echo_n "(cached) " >&6
69838 else
69841 ac_ext=cpp
69842 ac_cpp='$CXXCPP $CPPFLAGS'
69843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69848 /* end confdefs.h. */
69849 #include <math.h>
69851 main ()
69853 ceill (0); floorl (0);
69855 return 0;
69857 _ACEOF
69858 if ac_fn_cxx_try_compile "$LINENO"; then :
69859 glibcxx_cv_func_long_double_round_use=yes
69860 else
69861 glibcxx_cv_func_long_double_round_use=no
69863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69864 ac_ext=c
69865 ac_cpp='$CPP $CPPFLAGS'
69866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69873 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69874 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69875 for ac_func in ceill floorl
69876 do :
69877 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69878 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69879 eval as_val=\$$as_ac_var
69880 if test "x$as_val" = x""yes; then :
69881 cat >>confdefs.h <<_ACEOF
69882 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69883 _ACEOF
69886 done
69888 else
69889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69890 $as_echo_n "checking for _long double round functions... " >&6; }
69891 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69892 $as_echo_n "(cached) " >&6
69893 else
69896 ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h. */
69904 #include <math.h>
69906 main ()
69908 _ceill (0); _floorl (0);
69910 return 0;
69912 _ACEOF
69913 if ac_fn_cxx_try_compile "$LINENO"; then :
69914 glibcxx_cv_func__long_double_round_use=yes
69915 else
69916 glibcxx_cv_func__long_double_round_use=no
69918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69919 ac_ext=c
69920 ac_cpp='$CPP $CPPFLAGS'
69921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69928 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69929 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69930 for ac_func in _ceill _floorl
69931 do :
69932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69934 eval as_val=\$$as_ac_var
69935 if test "x$as_val" = x""yes; then :
69936 cat >>confdefs.h <<_ACEOF
69937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69938 _ACEOF
69941 done
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69952 $as_echo_n "checking for isnanl declaration... " >&6; }
69953 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69954 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69955 $as_echo_n "(cached) " >&6
69956 else
69959 ac_ext=cpp
69960 ac_cpp='$CXXCPP $CPPFLAGS'
69961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69966 /* end confdefs.h. */
69967 #include <math.h>
69968 #ifdef HAVE_IEEEFP_H
69969 #include <ieeefp.h>
69970 #endif
69973 main ()
69975 isnanl(0);
69977 return 0;
69979 _ACEOF
69980 if ac_fn_cxx_try_compile "$LINENO"; then :
69981 glibcxx_cv_func_isnanl_use=yes
69982 else
69983 glibcxx_cv_func_isnanl_use=no
69985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69986 ac_ext=c
69987 ac_cpp='$CPP $CPPFLAGS'
69988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69997 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69999 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70000 for ac_func in isnanl
70001 do :
70002 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70003 if test "x$ac_cv_func_isnanl" = x""yes; then :
70004 cat >>confdefs.h <<_ACEOF
70005 #define HAVE_ISNANL 1
70006 _ACEOF
70009 done
70011 else
70013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70014 $as_echo_n "checking for _isnanl declaration... " >&6; }
70015 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70016 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70017 $as_echo_n "(cached) " >&6
70018 else
70021 ac_ext=cpp
70022 ac_cpp='$CXXCPP $CPPFLAGS'
70023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70028 /* end confdefs.h. */
70029 #include <math.h>
70030 #ifdef HAVE_IEEEFP_H
70031 #include <ieeefp.h>
70032 #endif
70035 main ()
70037 _isnanl(0);
70039 return 0;
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func__isnanl_use=yes
70044 else
70045 glibcxx_cv_func__isnanl_use=no
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70059 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70061 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70062 for ac_func in _isnanl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70065 if test "x$ac_cv_func__isnanl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE__ISNANL 1
70068 _ACEOF
70071 done
70080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70081 $as_echo_n "checking for isinfl declaration... " >&6; }
70082 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70083 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70097 #ifdef HAVE_IEEEFP_H
70098 #include <ieeefp.h>
70099 #endif
70102 main ()
70104 isinfl(0);
70106 return 0;
70108 _ACEOF
70109 if ac_fn_cxx_try_compile "$LINENO"; then :
70110 glibcxx_cv_func_isinfl_use=yes
70111 else
70112 glibcxx_cv_func_isinfl_use=no
70114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70115 ac_ext=c
70116 ac_cpp='$CPP $CPPFLAGS'
70117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70126 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70128 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70129 for ac_func in isinfl
70130 do :
70131 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70132 if test "x$ac_cv_func_isinfl" = x""yes; then :
70133 cat >>confdefs.h <<_ACEOF
70134 #define HAVE_ISINFL 1
70135 _ACEOF
70138 done
70140 else
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70143 $as_echo_n "checking for _isinfl declaration... " >&6; }
70144 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70145 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70146 $as_echo_n "(cached) " >&6
70147 else
70150 ac_ext=cpp
70151 ac_cpp='$CXXCPP $CPPFLAGS'
70152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70157 /* end confdefs.h. */
70158 #include <math.h>
70159 #ifdef HAVE_IEEEFP_H
70160 #include <ieeefp.h>
70161 #endif
70164 main ()
70166 _isinfl(0);
70168 return 0;
70170 _ACEOF
70171 if ac_fn_cxx_try_compile "$LINENO"; then :
70172 glibcxx_cv_func__isinfl_use=yes
70173 else
70174 glibcxx_cv_func__isinfl_use=no
70176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70177 ac_ext=c
70178 ac_cpp='$CPP $CPPFLAGS'
70179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70188 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70190 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70191 for ac_func in _isinfl
70192 do :
70193 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70194 if test "x$ac_cv_func__isinfl" = x""yes; then :
70195 cat >>confdefs.h <<_ACEOF
70196 #define HAVE__ISINFL 1
70197 _ACEOF
70200 done
70209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70210 $as_echo_n "checking for atan2l declaration... " >&6; }
70211 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70212 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70213 $as_echo_n "(cached) " >&6
70214 else
70217 ac_ext=cpp
70218 ac_cpp='$CXXCPP $CPPFLAGS'
70219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70224 /* end confdefs.h. */
70225 #include <math.h>
70227 main ()
70229 atan2l(0, 0);
70231 return 0;
70233 _ACEOF
70234 if ac_fn_cxx_try_compile "$LINENO"; then :
70235 glibcxx_cv_func_atan2l_use=yes
70236 else
70237 glibcxx_cv_func_atan2l_use=no
70239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70240 ac_ext=c
70241 ac_cpp='$CPP $CPPFLAGS'
70242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70251 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70253 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70254 for ac_func in atan2l
70255 do :
70256 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70257 if test "x$ac_cv_func_atan2l" = x""yes; then :
70258 cat >>confdefs.h <<_ACEOF
70259 #define HAVE_ATAN2L 1
70260 _ACEOF
70263 done
70265 else
70267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70268 $as_echo_n "checking for _atan2l declaration... " >&6; }
70269 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70270 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70271 $as_echo_n "(cached) " >&6
70272 else
70275 ac_ext=cpp
70276 ac_cpp='$CXXCPP $CPPFLAGS'
70277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70282 /* end confdefs.h. */
70283 #include <math.h>
70285 main ()
70287 _atan2l(0, 0);
70289 return 0;
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func__atan2l_use=yes
70294 else
70295 glibcxx_cv_func__atan2l_use=no
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70309 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70311 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70312 for ac_func in _atan2l
70313 do :
70314 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70315 if test "x$ac_cv_func__atan2l" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE__ATAN2L 1
70318 _ACEOF
70321 done
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70331 $as_echo_n "checking for expl declaration... " >&6; }
70332 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70333 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70334 $as_echo_n "(cached) " >&6
70335 else
70338 ac_ext=cpp
70339 ac_cpp='$CXXCPP $CPPFLAGS'
70340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70345 /* end confdefs.h. */
70346 #include <math.h>
70347 #ifdef HAVE_IEEEFP_H
70348 #include <ieeefp.h>
70349 #endif
70352 main ()
70354 expl(0);
70356 return 0;
70358 _ACEOF
70359 if ac_fn_cxx_try_compile "$LINENO"; then :
70360 glibcxx_cv_func_expl_use=yes
70361 else
70362 glibcxx_cv_func_expl_use=no
70364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70365 ac_ext=c
70366 ac_cpp='$CPP $CPPFLAGS'
70367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70376 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70378 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70379 for ac_func in expl
70380 do :
70381 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70382 if test "x$ac_cv_func_expl" = x""yes; then :
70383 cat >>confdefs.h <<_ACEOF
70384 #define HAVE_EXPL 1
70385 _ACEOF
70388 done
70390 else
70392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70393 $as_echo_n "checking for _expl declaration... " >&6; }
70394 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70395 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70396 $as_echo_n "(cached) " >&6
70397 else
70400 ac_ext=cpp
70401 ac_cpp='$CXXCPP $CPPFLAGS'
70402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70407 /* end confdefs.h. */
70408 #include <math.h>
70409 #ifdef HAVE_IEEEFP_H
70410 #include <ieeefp.h>
70411 #endif
70414 main ()
70416 _expl(0);
70418 return 0;
70420 _ACEOF
70421 if ac_fn_cxx_try_compile "$LINENO"; then :
70422 glibcxx_cv_func__expl_use=yes
70423 else
70424 glibcxx_cv_func__expl_use=no
70426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70427 ac_ext=c
70428 ac_cpp='$CPP $CPPFLAGS'
70429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70438 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70440 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70441 for ac_func in _expl
70442 do :
70443 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70444 if test "x$ac_cv_func__expl" = x""yes; then :
70445 cat >>confdefs.h <<_ACEOF
70446 #define HAVE__EXPL 1
70447 _ACEOF
70450 done
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70460 $as_echo_n "checking for fabsl declaration... " >&6; }
70461 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70462 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70463 $as_echo_n "(cached) " >&6
70464 else
70467 ac_ext=cpp
70468 ac_cpp='$CXXCPP $CPPFLAGS'
70469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70474 /* end confdefs.h. */
70475 #include <math.h>
70476 #ifdef HAVE_IEEEFP_H
70477 #include <ieeefp.h>
70478 #endif
70481 main ()
70483 fabsl(0);
70485 return 0;
70487 _ACEOF
70488 if ac_fn_cxx_try_compile "$LINENO"; then :
70489 glibcxx_cv_func_fabsl_use=yes
70490 else
70491 glibcxx_cv_func_fabsl_use=no
70493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70494 ac_ext=c
70495 ac_cpp='$CPP $CPPFLAGS'
70496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70505 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70507 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70508 for ac_func in fabsl
70509 do :
70510 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70511 if test "x$ac_cv_func_fabsl" = x""yes; then :
70512 cat >>confdefs.h <<_ACEOF
70513 #define HAVE_FABSL 1
70514 _ACEOF
70517 done
70519 else
70521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70522 $as_echo_n "checking for _fabsl declaration... " >&6; }
70523 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70524 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70525 $as_echo_n "(cached) " >&6
70526 else
70529 ac_ext=cpp
70530 ac_cpp='$CXXCPP $CPPFLAGS'
70531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70536 /* end confdefs.h. */
70537 #include <math.h>
70538 #ifdef HAVE_IEEEFP_H
70539 #include <ieeefp.h>
70540 #endif
70543 main ()
70545 _fabsl(0);
70547 return 0;
70549 _ACEOF
70550 if ac_fn_cxx_try_compile "$LINENO"; then :
70551 glibcxx_cv_func__fabsl_use=yes
70552 else
70553 glibcxx_cv_func__fabsl_use=no
70555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70556 ac_ext=c
70557 ac_cpp='$CPP $CPPFLAGS'
70558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70567 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70569 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70570 for ac_func in _fabsl
70571 do :
70572 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70573 if test "x$ac_cv_func__fabsl" = x""yes; then :
70574 cat >>confdefs.h <<_ACEOF
70575 #define HAVE__FABSL 1
70576 _ACEOF
70579 done
70588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70589 $as_echo_n "checking for fmodl declaration... " >&6; }
70590 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70591 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70592 $as_echo_n "(cached) " >&6
70593 else
70596 ac_ext=cpp
70597 ac_cpp='$CXXCPP $CPPFLAGS'
70598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70603 /* end confdefs.h. */
70604 #include <math.h>
70606 main ()
70608 fmodl(0, 0);
70610 return 0;
70612 _ACEOF
70613 if ac_fn_cxx_try_compile "$LINENO"; then :
70614 glibcxx_cv_func_fmodl_use=yes
70615 else
70616 glibcxx_cv_func_fmodl_use=no
70618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70619 ac_ext=c
70620 ac_cpp='$CPP $CPPFLAGS'
70621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70630 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70632 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70633 for ac_func in fmodl
70634 do :
70635 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70636 if test "x$ac_cv_func_fmodl" = x""yes; then :
70637 cat >>confdefs.h <<_ACEOF
70638 #define HAVE_FMODL 1
70639 _ACEOF
70642 done
70644 else
70646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70647 $as_echo_n "checking for _fmodl declaration... " >&6; }
70648 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70649 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70650 $as_echo_n "(cached) " >&6
70651 else
70654 ac_ext=cpp
70655 ac_cpp='$CXXCPP $CPPFLAGS'
70656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70661 /* end confdefs.h. */
70662 #include <math.h>
70664 main ()
70666 _fmodl(0, 0);
70668 return 0;
70670 _ACEOF
70671 if ac_fn_cxx_try_compile "$LINENO"; then :
70672 glibcxx_cv_func__fmodl_use=yes
70673 else
70674 glibcxx_cv_func__fmodl_use=no
70676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70677 ac_ext=c
70678 ac_cpp='$CPP $CPPFLAGS'
70679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70688 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70690 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70691 for ac_func in _fmodl
70692 do :
70693 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70694 if test "x$ac_cv_func__fmodl" = x""yes; then :
70695 cat >>confdefs.h <<_ACEOF
70696 #define HAVE__FMODL 1
70697 _ACEOF
70700 done
70709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70710 $as_echo_n "checking for frexpl declaration... " >&6; }
70711 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70712 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70713 $as_echo_n "(cached) " >&6
70714 else
70717 ac_ext=cpp
70718 ac_cpp='$CXXCPP $CPPFLAGS'
70719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70724 /* end confdefs.h. */
70725 #include <math.h>
70727 main ()
70729 frexpl(0, 0);
70731 return 0;
70733 _ACEOF
70734 if ac_fn_cxx_try_compile "$LINENO"; then :
70735 glibcxx_cv_func_frexpl_use=yes
70736 else
70737 glibcxx_cv_func_frexpl_use=no
70739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70740 ac_ext=c
70741 ac_cpp='$CPP $CPPFLAGS'
70742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70751 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70753 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70754 for ac_func in frexpl
70755 do :
70756 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70757 if test "x$ac_cv_func_frexpl" = x""yes; then :
70758 cat >>confdefs.h <<_ACEOF
70759 #define HAVE_FREXPL 1
70760 _ACEOF
70763 done
70765 else
70767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70768 $as_echo_n "checking for _frexpl declaration... " >&6; }
70769 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70770 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70771 $as_echo_n "(cached) " >&6
70772 else
70775 ac_ext=cpp
70776 ac_cpp='$CXXCPP $CPPFLAGS'
70777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70782 /* end confdefs.h. */
70783 #include <math.h>
70785 main ()
70787 _frexpl(0, 0);
70789 return 0;
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__frexpl_use=yes
70794 else
70795 glibcxx_cv_func__frexpl_use=no
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70809 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70811 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70812 for ac_func in _frexpl
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70815 if test "x$ac_cv_func__frexpl" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__FREXPL 1
70818 _ACEOF
70821 done
70830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70831 $as_echo_n "checking for hypotl declaration... " >&6; }
70832 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70833 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70834 $as_echo_n "(cached) " >&6
70835 else
70838 ac_ext=cpp
70839 ac_cpp='$CXXCPP $CPPFLAGS'
70840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70845 /* end confdefs.h. */
70846 #include <math.h>
70848 main ()
70850 hypotl(0, 0);
70852 return 0;
70854 _ACEOF
70855 if ac_fn_cxx_try_compile "$LINENO"; then :
70856 glibcxx_cv_func_hypotl_use=yes
70857 else
70858 glibcxx_cv_func_hypotl_use=no
70860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70861 ac_ext=c
70862 ac_cpp='$CPP $CPPFLAGS'
70863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70872 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70874 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70875 for ac_func in hypotl
70876 do :
70877 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70878 if test "x$ac_cv_func_hypotl" = x""yes; then :
70879 cat >>confdefs.h <<_ACEOF
70880 #define HAVE_HYPOTL 1
70881 _ACEOF
70884 done
70886 else
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70889 $as_echo_n "checking for _hypotl declaration... " >&6; }
70890 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70891 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70892 $as_echo_n "(cached) " >&6
70893 else
70896 ac_ext=cpp
70897 ac_cpp='$CXXCPP $CPPFLAGS'
70898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70903 /* end confdefs.h. */
70904 #include <math.h>
70906 main ()
70908 _hypotl(0, 0);
70910 return 0;
70912 _ACEOF
70913 if ac_fn_cxx_try_compile "$LINENO"; then :
70914 glibcxx_cv_func__hypotl_use=yes
70915 else
70916 glibcxx_cv_func__hypotl_use=no
70918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70919 ac_ext=c
70920 ac_cpp='$CPP $CPPFLAGS'
70921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70930 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70932 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70933 for ac_func in _hypotl
70934 do :
70935 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70936 if test "x$ac_cv_func__hypotl" = x""yes; then :
70937 cat >>confdefs.h <<_ACEOF
70938 #define HAVE__HYPOTL 1
70939 _ACEOF
70942 done
70951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70952 $as_echo_n "checking for ldexpl declaration... " >&6; }
70953 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70954 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70955 $as_echo_n "(cached) " >&6
70956 else
70959 ac_ext=cpp
70960 ac_cpp='$CXXCPP $CPPFLAGS'
70961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70966 /* end confdefs.h. */
70967 #include <math.h>
70969 main ()
70971 ldexpl(0, 0);
70973 return 0;
70975 _ACEOF
70976 if ac_fn_cxx_try_compile "$LINENO"; then :
70977 glibcxx_cv_func_ldexpl_use=yes
70978 else
70979 glibcxx_cv_func_ldexpl_use=no
70981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70982 ac_ext=c
70983 ac_cpp='$CPP $CPPFLAGS'
70984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70993 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70995 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70996 for ac_func in ldexpl
70997 do :
70998 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70999 if test "x$ac_cv_func_ldexpl" = x""yes; then :
71000 cat >>confdefs.h <<_ACEOF
71001 #define HAVE_LDEXPL 1
71002 _ACEOF
71005 done
71007 else
71009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71010 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71011 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71012 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71013 $as_echo_n "(cached) " >&6
71014 else
71017 ac_ext=cpp
71018 ac_cpp='$CXXCPP $CPPFLAGS'
71019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71024 /* end confdefs.h. */
71025 #include <math.h>
71027 main ()
71029 _ldexpl(0, 0);
71031 return 0;
71033 _ACEOF
71034 if ac_fn_cxx_try_compile "$LINENO"; then :
71035 glibcxx_cv_func__ldexpl_use=yes
71036 else
71037 glibcxx_cv_func__ldexpl_use=no
71039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71040 ac_ext=c
71041 ac_cpp='$CPP $CPPFLAGS'
71042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71051 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71053 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71054 for ac_func in _ldexpl
71055 do :
71056 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71057 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71058 cat >>confdefs.h <<_ACEOF
71059 #define HAVE__LDEXPL 1
71060 _ACEOF
71063 done
71072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71073 $as_echo_n "checking for logl declaration... " >&6; }
71074 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71075 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71076 $as_echo_n "(cached) " >&6
71077 else
71080 ac_ext=cpp
71081 ac_cpp='$CXXCPP $CPPFLAGS'
71082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71087 /* end confdefs.h. */
71088 #include <math.h>
71089 #ifdef HAVE_IEEEFP_H
71090 #include <ieeefp.h>
71091 #endif
71094 main ()
71096 logl(0);
71098 return 0;
71100 _ACEOF
71101 if ac_fn_cxx_try_compile "$LINENO"; then :
71102 glibcxx_cv_func_logl_use=yes
71103 else
71104 glibcxx_cv_func_logl_use=no
71106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71107 ac_ext=c
71108 ac_cpp='$CPP $CPPFLAGS'
71109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71118 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71120 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71121 for ac_func in logl
71122 do :
71123 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71124 if test "x$ac_cv_func_logl" = x""yes; then :
71125 cat >>confdefs.h <<_ACEOF
71126 #define HAVE_LOGL 1
71127 _ACEOF
71130 done
71132 else
71134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71135 $as_echo_n "checking for _logl declaration... " >&6; }
71136 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71137 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71138 $as_echo_n "(cached) " >&6
71139 else
71142 ac_ext=cpp
71143 ac_cpp='$CXXCPP $CPPFLAGS'
71144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71149 /* end confdefs.h. */
71150 #include <math.h>
71151 #ifdef HAVE_IEEEFP_H
71152 #include <ieeefp.h>
71153 #endif
71156 main ()
71158 _logl(0);
71160 return 0;
71162 _ACEOF
71163 if ac_fn_cxx_try_compile "$LINENO"; then :
71164 glibcxx_cv_func__logl_use=yes
71165 else
71166 glibcxx_cv_func__logl_use=no
71168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71169 ac_ext=c
71170 ac_cpp='$CPP $CPPFLAGS'
71171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71180 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71182 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71183 for ac_func in _logl
71184 do :
71185 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71186 if test "x$ac_cv_func__logl" = x""yes; then :
71187 cat >>confdefs.h <<_ACEOF
71188 #define HAVE__LOGL 1
71189 _ACEOF
71192 done
71201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71202 $as_echo_n "checking for log10l declaration... " >&6; }
71203 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71204 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71205 $as_echo_n "(cached) " >&6
71206 else
71209 ac_ext=cpp
71210 ac_cpp='$CXXCPP $CPPFLAGS'
71211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71216 /* end confdefs.h. */
71217 #include <math.h>
71218 #ifdef HAVE_IEEEFP_H
71219 #include <ieeefp.h>
71220 #endif
71223 main ()
71225 log10l(0);
71227 return 0;
71229 _ACEOF
71230 if ac_fn_cxx_try_compile "$LINENO"; then :
71231 glibcxx_cv_func_log10l_use=yes
71232 else
71233 glibcxx_cv_func_log10l_use=no
71235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71236 ac_ext=c
71237 ac_cpp='$CPP $CPPFLAGS'
71238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71247 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71249 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71250 for ac_func in log10l
71251 do :
71252 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71253 if test "x$ac_cv_func_log10l" = x""yes; then :
71254 cat >>confdefs.h <<_ACEOF
71255 #define HAVE_LOG10L 1
71256 _ACEOF
71259 done
71261 else
71263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71264 $as_echo_n "checking for _log10l declaration... " >&6; }
71265 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71266 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71267 $as_echo_n "(cached) " >&6
71268 else
71271 ac_ext=cpp
71272 ac_cpp='$CXXCPP $CPPFLAGS'
71273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71278 /* end confdefs.h. */
71279 #include <math.h>
71280 #ifdef HAVE_IEEEFP_H
71281 #include <ieeefp.h>
71282 #endif
71285 main ()
71287 _log10l(0);
71289 return 0;
71291 _ACEOF
71292 if ac_fn_cxx_try_compile "$LINENO"; then :
71293 glibcxx_cv_func__log10l_use=yes
71294 else
71295 glibcxx_cv_func__log10l_use=no
71297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71298 ac_ext=c
71299 ac_cpp='$CPP $CPPFLAGS'
71300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71309 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71311 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71312 for ac_func in _log10l
71313 do :
71314 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71315 if test "x$ac_cv_func__log10l" = x""yes; then :
71316 cat >>confdefs.h <<_ACEOF
71317 #define HAVE__LOG10L 1
71318 _ACEOF
71321 done
71330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71331 $as_echo_n "checking for modfl declaration... " >&6; }
71332 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71333 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71334 $as_echo_n "(cached) " >&6
71335 else
71338 ac_ext=cpp
71339 ac_cpp='$CXXCPP $CPPFLAGS'
71340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71345 /* end confdefs.h. */
71346 #include <math.h>
71348 main ()
71350 modfl(0, 0);
71352 return 0;
71354 _ACEOF
71355 if ac_fn_cxx_try_compile "$LINENO"; then :
71356 glibcxx_cv_func_modfl_use=yes
71357 else
71358 glibcxx_cv_func_modfl_use=no
71360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71361 ac_ext=c
71362 ac_cpp='$CPP $CPPFLAGS'
71363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71372 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71374 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71375 for ac_func in modfl
71376 do :
71377 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71378 if test "x$ac_cv_func_modfl" = x""yes; then :
71379 cat >>confdefs.h <<_ACEOF
71380 #define HAVE_MODFL 1
71381 _ACEOF
71384 done
71386 else
71388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71389 $as_echo_n "checking for _modfl declaration... " >&6; }
71390 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71391 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
71392 $as_echo_n "(cached) " >&6
71393 else
71396 ac_ext=cpp
71397 ac_cpp='$CXXCPP $CPPFLAGS'
71398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71403 /* end confdefs.h. */
71404 #include <math.h>
71406 main ()
71408 _modfl(0, 0);
71410 return 0;
71412 _ACEOF
71413 if ac_fn_cxx_try_compile "$LINENO"; then :
71414 glibcxx_cv_func__modfl_use=yes
71415 else
71416 glibcxx_cv_func__modfl_use=no
71418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71419 ac_ext=c
71420 ac_cpp='$CPP $CPPFLAGS'
71421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71430 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71432 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71433 for ac_func in _modfl
71434 do :
71435 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71436 if test "x$ac_cv_func__modfl" = x""yes; then :
71437 cat >>confdefs.h <<_ACEOF
71438 #define HAVE__MODFL 1
71439 _ACEOF
71442 done
71451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71452 $as_echo_n "checking for powl declaration... " >&6; }
71453 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71454 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71455 $as_echo_n "(cached) " >&6
71456 else
71459 ac_ext=cpp
71460 ac_cpp='$CXXCPP $CPPFLAGS'
71461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71466 /* end confdefs.h. */
71467 #include <math.h>
71469 main ()
71471 powl(0, 0);
71473 return 0;
71475 _ACEOF
71476 if ac_fn_cxx_try_compile "$LINENO"; then :
71477 glibcxx_cv_func_powl_use=yes
71478 else
71479 glibcxx_cv_func_powl_use=no
71481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71482 ac_ext=c
71483 ac_cpp='$CPP $CPPFLAGS'
71484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71493 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71495 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71496 for ac_func in powl
71497 do :
71498 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71499 if test "x$ac_cv_func_powl" = x""yes; then :
71500 cat >>confdefs.h <<_ACEOF
71501 #define HAVE_POWL 1
71502 _ACEOF
71505 done
71507 else
71509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71510 $as_echo_n "checking for _powl declaration... " >&6; }
71511 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71512 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71513 $as_echo_n "(cached) " >&6
71514 else
71517 ac_ext=cpp
71518 ac_cpp='$CXXCPP $CPPFLAGS'
71519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71524 /* end confdefs.h. */
71525 #include <math.h>
71527 main ()
71529 _powl(0, 0);
71531 return 0;
71533 _ACEOF
71534 if ac_fn_cxx_try_compile "$LINENO"; then :
71535 glibcxx_cv_func__powl_use=yes
71536 else
71537 glibcxx_cv_func__powl_use=no
71539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71540 ac_ext=c
71541 ac_cpp='$CPP $CPPFLAGS'
71542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71551 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71553 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71554 for ac_func in _powl
71555 do :
71556 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71557 if test "x$ac_cv_func__powl" = x""yes; then :
71558 cat >>confdefs.h <<_ACEOF
71559 #define HAVE__POWL 1
71560 _ACEOF
71563 done
71572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71573 $as_echo_n "checking for sqrtl declaration... " >&6; }
71574 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71575 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71576 $as_echo_n "(cached) " >&6
71577 else
71580 ac_ext=cpp
71581 ac_cpp='$CXXCPP $CPPFLAGS'
71582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71587 /* end confdefs.h. */
71588 #include <math.h>
71589 #ifdef HAVE_IEEEFP_H
71590 #include <ieeefp.h>
71591 #endif
71594 main ()
71596 sqrtl(0);
71598 return 0;
71600 _ACEOF
71601 if ac_fn_cxx_try_compile "$LINENO"; then :
71602 glibcxx_cv_func_sqrtl_use=yes
71603 else
71604 glibcxx_cv_func_sqrtl_use=no
71606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71607 ac_ext=c
71608 ac_cpp='$CPP $CPPFLAGS'
71609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71618 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71620 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71621 for ac_func in sqrtl
71622 do :
71623 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71624 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71625 cat >>confdefs.h <<_ACEOF
71626 #define HAVE_SQRTL 1
71627 _ACEOF
71630 done
71632 else
71634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71635 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71636 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71637 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71638 $as_echo_n "(cached) " >&6
71639 else
71642 ac_ext=cpp
71643 ac_cpp='$CXXCPP $CPPFLAGS'
71644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71649 /* end confdefs.h. */
71650 #include <math.h>
71651 #ifdef HAVE_IEEEFP_H
71652 #include <ieeefp.h>
71653 #endif
71656 main ()
71658 _sqrtl(0);
71660 return 0;
71662 _ACEOF
71663 if ac_fn_cxx_try_compile "$LINENO"; then :
71664 glibcxx_cv_func__sqrtl_use=yes
71665 else
71666 glibcxx_cv_func__sqrtl_use=no
71668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71669 ac_ext=c
71670 ac_cpp='$CPP $CPPFLAGS'
71671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71680 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71682 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71683 for ac_func in _sqrtl
71684 do :
71685 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71686 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71687 cat >>confdefs.h <<_ACEOF
71688 #define HAVE__SQRTL 1
71689 _ACEOF
71692 done
71701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71702 $as_echo_n "checking for sincosl declaration... " >&6; }
71703 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71704 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71705 $as_echo_n "(cached) " >&6
71706 else
71709 ac_ext=cpp
71710 ac_cpp='$CXXCPP $CPPFLAGS'
71711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71716 /* end confdefs.h. */
71717 #include <math.h>
71719 main ()
71721 sincosl(0, 0, 0);
71723 return 0;
71725 _ACEOF
71726 if ac_fn_cxx_try_compile "$LINENO"; then :
71727 glibcxx_cv_func_sincosl_use=yes
71728 else
71729 glibcxx_cv_func_sincosl_use=no
71731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71732 ac_ext=c
71733 ac_cpp='$CPP $CPPFLAGS'
71734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71743 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71745 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71746 for ac_func in sincosl
71747 do :
71748 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71749 if test "x$ac_cv_func_sincosl" = x""yes; then :
71750 cat >>confdefs.h <<_ACEOF
71751 #define HAVE_SINCOSL 1
71752 _ACEOF
71755 done
71757 else
71759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71760 $as_echo_n "checking for _sincosl declaration... " >&6; }
71761 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71762 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71763 $as_echo_n "(cached) " >&6
71764 else
71767 ac_ext=cpp
71768 ac_cpp='$CXXCPP $CPPFLAGS'
71769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71774 /* end confdefs.h. */
71775 #include <math.h>
71777 main ()
71779 _sincosl(0, 0, 0);
71781 return 0;
71783 _ACEOF
71784 if ac_fn_cxx_try_compile "$LINENO"; then :
71785 glibcxx_cv_func__sincosl_use=yes
71786 else
71787 glibcxx_cv_func__sincosl_use=no
71789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71790 ac_ext=c
71791 ac_cpp='$CPP $CPPFLAGS'
71792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71801 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71803 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71804 for ac_func in _sincosl
71805 do :
71806 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71807 if test "x$ac_cv_func__sincosl" = x""yes; then :
71808 cat >>confdefs.h <<_ACEOF
71809 #define HAVE__SINCOSL 1
71810 _ACEOF
71813 done
71822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71823 $as_echo_n "checking for finitel declaration... " >&6; }
71824 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71825 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71826 $as_echo_n "(cached) " >&6
71827 else
71830 ac_ext=cpp
71831 ac_cpp='$CXXCPP $CPPFLAGS'
71832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71837 /* end confdefs.h. */
71838 #include <math.h>
71839 #ifdef HAVE_IEEEFP_H
71840 #include <ieeefp.h>
71841 #endif
71844 main ()
71846 finitel(0);
71848 return 0;
71850 _ACEOF
71851 if ac_fn_cxx_try_compile "$LINENO"; then :
71852 glibcxx_cv_func_finitel_use=yes
71853 else
71854 glibcxx_cv_func_finitel_use=no
71856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71857 ac_ext=c
71858 ac_cpp='$CPP $CPPFLAGS'
71859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71868 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71870 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71871 for ac_func in finitel
71872 do :
71873 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71874 if test "x$ac_cv_func_finitel" = x""yes; then :
71875 cat >>confdefs.h <<_ACEOF
71876 #define HAVE_FINITEL 1
71877 _ACEOF
71880 done
71882 else
71884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71885 $as_echo_n "checking for _finitel declaration... " >&6; }
71886 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71887 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71888 $as_echo_n "(cached) " >&6
71889 else
71892 ac_ext=cpp
71893 ac_cpp='$CXXCPP $CPPFLAGS'
71894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71899 /* end confdefs.h. */
71900 #include <math.h>
71901 #ifdef HAVE_IEEEFP_H
71902 #include <ieeefp.h>
71903 #endif
71906 main ()
71908 _finitel(0);
71910 return 0;
71912 _ACEOF
71913 if ac_fn_cxx_try_compile "$LINENO"; then :
71914 glibcxx_cv_func__finitel_use=yes
71915 else
71916 glibcxx_cv_func__finitel_use=no
71918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71919 ac_ext=c
71920 ac_cpp='$CPP $CPPFLAGS'
71921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71930 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71932 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71933 for ac_func in _finitel
71934 do :
71935 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71936 if test "x$ac_cv_func__finitel" = x""yes; then :
71937 cat >>confdefs.h <<_ACEOF
71938 #define HAVE__FINITEL 1
71939 _ACEOF
71942 done
71950 LIBS="$ac_save_LIBS"
71951 CXXFLAGS="$ac_save_CXXFLAGS"
71954 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71955 ac_save_CXXFLAGS="$CXXFLAGS"
71956 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71960 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71961 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71962 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71963 $as_echo_n "(cached) " >&6
71964 else
71967 ac_ext=cpp
71968 ac_cpp='$CXXCPP $CPPFLAGS'
71969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71974 /* end confdefs.h. */
71975 #include <stdlib.h>
71977 main ()
71979 at_quick_exit(0);
71981 return 0;
71983 _ACEOF
71984 if ac_fn_cxx_try_compile "$LINENO"; then :
71985 glibcxx_cv_func_at_quick_exit_use=yes
71986 else
71987 glibcxx_cv_func_at_quick_exit_use=no
71989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71990 ac_ext=c
71991 ac_cpp='$CPP $CPPFLAGS'
71992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72001 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72002 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72003 for ac_func in at_quick_exit
72004 do :
72005 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72006 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72007 cat >>confdefs.h <<_ACEOF
72008 #define HAVE_AT_QUICK_EXIT 1
72009 _ACEOF
72012 done
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72018 $as_echo_n "checking for quick_exit declaration... " >&6; }
72019 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72020 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72021 $as_echo_n "(cached) " >&6
72022 else
72025 ac_ext=cpp
72026 ac_cpp='$CXXCPP $CPPFLAGS'
72027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72032 /* end confdefs.h. */
72033 #include <stdlib.h>
72035 main ()
72037 quick_exit(0);
72039 return 0;
72041 _ACEOF
72042 if ac_fn_cxx_try_compile "$LINENO"; then :
72043 glibcxx_cv_func_quick_exit_use=yes
72044 else
72045 glibcxx_cv_func_quick_exit_use=no
72047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72048 ac_ext=c
72049 ac_cpp='$CPP $CPPFLAGS'
72050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72059 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72060 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72061 for ac_func in quick_exit
72062 do :
72063 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72064 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72065 cat >>confdefs.h <<_ACEOF
72066 #define HAVE_QUICK_EXIT 1
72067 _ACEOF
72070 done
72075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72076 $as_echo_n "checking for strtold declaration... " >&6; }
72077 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72078 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72079 $as_echo_n "(cached) " >&6
72080 else
72083 ac_ext=cpp
72084 ac_cpp='$CXXCPP $CPPFLAGS'
72085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72090 /* end confdefs.h. */
72091 #include <stdlib.h>
72093 main ()
72095 strtold(0, 0);
72097 return 0;
72099 _ACEOF
72100 if ac_fn_cxx_try_compile "$LINENO"; then :
72101 glibcxx_cv_func_strtold_use=yes
72102 else
72103 glibcxx_cv_func_strtold_use=no
72105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72106 ac_ext=c
72107 ac_cpp='$CPP $CPPFLAGS'
72108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72117 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72118 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72119 for ac_func in strtold
72120 do :
72121 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72122 if test "x$ac_cv_func_strtold" = x""yes; then :
72123 cat >>confdefs.h <<_ACEOF
72124 #define HAVE_STRTOLD 1
72125 _ACEOF
72128 done
72135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72136 $as_echo_n "checking for strtof declaration... " >&6; }
72137 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72138 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72139 $as_echo_n "(cached) " >&6
72140 else
72143 ac_ext=cpp
72144 ac_cpp='$CXXCPP $CPPFLAGS'
72145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72150 /* end confdefs.h. */
72151 #include <stdlib.h>
72153 main ()
72155 strtof(0, 0);
72157 return 0;
72159 _ACEOF
72160 if ac_fn_cxx_try_compile "$LINENO"; then :
72161 glibcxx_cv_func_strtof_use=yes
72162 else
72163 glibcxx_cv_func_strtof_use=no
72165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72166 ac_ext=c
72167 ac_cpp='$CPP $CPPFLAGS'
72168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72177 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72178 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72179 for ac_func in strtof
72180 do :
72181 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72182 if test "x$ac_cv_func_strtof" = x""yes; then :
72183 cat >>confdefs.h <<_ACEOF
72184 #define HAVE_STRTOF 1
72185 _ACEOF
72188 done
72195 CXXFLAGS="$ac_save_CXXFLAGS"
72198 *-solaris*)
72200 # If we're not using GNU ld, then there's no point in even trying these
72201 # tests. Check for that first. We should have already tested for gld
72202 # by now (in libtool), but require it now just to be safe...
72203 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72204 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72208 # The name set by libtool depends on the version of libtool. Shame on us
72209 # for depending on an impl detail, but c'est la vie. Older versions used
72210 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72211 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72212 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72213 # set (hence we're using an older libtool), then set it.
72214 if test x${with_gnu_ld+set} != xset; then
72215 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72216 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72217 with_gnu_ld=no
72218 else
72219 with_gnu_ld=$ac_cv_prog_gnu_ld
72223 # Start by getting the version number. I think the libtool test already
72224 # does some of this, but throws away the result.
72225 glibcxx_ld_is_gold=no
72226 if test x"$with_gnu_ld" = x"yes"; then
72227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72228 $as_echo_n "checking for ld version... " >&6; }
72230 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72231 glibcxx_ld_is_gold=yes
72233 ldver=`$LD --version 2>/dev/null |
72234 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'`
72236 glibcxx_gnu_ld_version=`echo $ldver | \
72237 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72239 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72242 # Set --gc-sections.
72243 glibcxx_have_gc_sections=no
72244 if test "$glibcxx_ld_is_gold" = "yes"; then
72245 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72246 glibcxx_have_gc_sections=yes
72248 else
72249 glibcxx_gcsections_min_ld=21602
72250 if test x"$with_gnu_ld" = x"yes" &&
72251 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72252 glibcxx_have_gc_sections=yes
72255 if test "$glibcxx_have_gc_sections" = "yes"; then
72256 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72257 # NB: This flag only works reliably after 2.16.1. Configure tests
72258 # for this are difficult, so hard wire a value that should work.
72260 ac_test_CFLAGS="${CFLAGS+set}"
72261 ac_save_CFLAGS="$CFLAGS"
72262 CFLAGS='-Wl,--gc-sections'
72264 # Check for -Wl,--gc-sections
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72266 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72267 if test x$gcc_no_link = xyes; then
72268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72271 /* end confdefs.h. */
72272 int one(void) { return 1; }
72273 int two(void) { return 2; }
72276 main ()
72278 two();
72280 return 0;
72282 _ACEOF
72283 if ac_fn_c_try_link "$LINENO"; then :
72284 ac_gcsections=yes
72285 else
72286 ac_gcsections=no
72288 rm -f core conftest.err conftest.$ac_objext \
72289 conftest$ac_exeext conftest.$ac_ext
72290 if test "$ac_gcsections" = "yes"; then
72291 rm -f conftest.c
72292 touch conftest.c
72293 if $CC -c conftest.c; then
72294 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72295 grep "Warning: gc-sections option ignored" > /dev/null; then
72296 ac_gcsections=no
72299 rm -f conftest.c conftest.o conftest
72301 if test "$ac_gcsections" = "yes"; then
72302 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72305 $as_echo "$ac_gcsections" >&6; }
72307 if test "$ac_test_CFLAGS" = set; then
72308 CFLAGS="$ac_save_CFLAGS"
72309 else
72310 # this is the suspicious part
72311 CFLAGS=''
72315 # Set -z,relro.
72316 # Note this is only for shared objects.
72317 ac_ld_relro=no
72318 if test x"$with_gnu_ld" = x"yes"; then
72319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72320 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72321 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72322 if test -n "$cxx_z_relo"; then
72323 OPT_LDFLAGS="-Wl,-z,relro"
72324 ac_ld_relro=yes
72326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72327 $as_echo "$ac_ld_relro" >&6; }
72330 # Set linker optimization flags.
72331 if test x"$with_gnu_ld" = x"yes"; then
72332 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72338 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72340 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72342 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72344 # All of the dependencies for wide character support are here, so
72345 # turn it on.
72346 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72348 # These two C99 functions are present only in Solaris >= 10
72349 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72351 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72353 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72355 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72357 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72359 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72362 *-tpf)
72363 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72364 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72366 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72368 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72370 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72372 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72374 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72376 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72378 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72380 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72382 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72384 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72386 if test x"long_double_math_on_this_cpu" = x"yes"; then
72387 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72389 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72391 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72393 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72397 *-*vms*)
72398 # Check for available headers.
72399 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72401 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72402 ac_save_CXXFLAGS="$CXXFLAGS"
72403 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72406 $as_echo_n "checking for sin in -lm... " >&6; }
72407 if test "${ac_cv_lib_m_sin+set}" = set; then :
72408 $as_echo_n "(cached) " >&6
72409 else
72410 ac_check_lib_save_LIBS=$LIBS
72411 LIBS="-lm $LIBS"
72412 if test x$gcc_no_link = xyes; then
72413 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72416 /* end confdefs.h. */
72418 /* Override any GCC internal prototype to avoid an error.
72419 Use char because int might match the return type of a GCC
72420 builtin and then its argument prototype would still apply. */
72421 #ifdef __cplusplus
72422 extern "C"
72423 #endif
72424 char sin ();
72426 main ()
72428 return sin ();
72430 return 0;
72432 _ACEOF
72433 if ac_fn_c_try_link "$LINENO"; then :
72434 ac_cv_lib_m_sin=yes
72435 else
72436 ac_cv_lib_m_sin=no
72438 rm -f core conftest.err conftest.$ac_objext \
72439 conftest$ac_exeext conftest.$ac_ext
72440 LIBS=$ac_check_lib_save_LIBS
72442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72443 $as_echo "$ac_cv_lib_m_sin" >&6; }
72444 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72445 libm="-lm"
72448 ac_save_LIBS="$LIBS"
72449 LIBS="$LIBS $libm"
72453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72454 $as_echo_n "checking for isinf declaration... " >&6; }
72455 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72456 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72457 $as_echo_n "(cached) " >&6
72458 else
72461 ac_ext=cpp
72462 ac_cpp='$CXXCPP $CPPFLAGS'
72463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72468 /* end confdefs.h. */
72469 #include <math.h>
72470 #ifdef HAVE_IEEEFP_H
72471 #include <ieeefp.h>
72472 #endif
72475 main ()
72477 isinf(0);
72479 return 0;
72481 _ACEOF
72482 if ac_fn_cxx_try_compile "$LINENO"; then :
72483 glibcxx_cv_func_isinf_use=yes
72484 else
72485 glibcxx_cv_func_isinf_use=no
72487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72488 ac_ext=c
72489 ac_cpp='$CPP $CPPFLAGS'
72490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72499 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72501 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72502 for ac_func in isinf
72503 do :
72504 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72505 if test "x$ac_cv_func_isinf" = x""yes; then :
72506 cat >>confdefs.h <<_ACEOF
72507 #define HAVE_ISINF 1
72508 _ACEOF
72511 done
72513 else
72515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72516 $as_echo_n "checking for _isinf declaration... " >&6; }
72517 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72518 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72519 $as_echo_n "(cached) " >&6
72520 else
72523 ac_ext=cpp
72524 ac_cpp='$CXXCPP $CPPFLAGS'
72525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72530 /* end confdefs.h. */
72531 #include <math.h>
72532 #ifdef HAVE_IEEEFP_H
72533 #include <ieeefp.h>
72534 #endif
72537 main ()
72539 _isinf(0);
72541 return 0;
72543 _ACEOF
72544 if ac_fn_cxx_try_compile "$LINENO"; then :
72545 glibcxx_cv_func__isinf_use=yes
72546 else
72547 glibcxx_cv_func__isinf_use=no
72549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72550 ac_ext=c
72551 ac_cpp='$CPP $CPPFLAGS'
72552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72561 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72563 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72564 for ac_func in _isinf
72565 do :
72566 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72567 if test "x$ac_cv_func__isinf" = x""yes; then :
72568 cat >>confdefs.h <<_ACEOF
72569 #define HAVE__ISINF 1
72570 _ACEOF
72573 done
72582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72583 $as_echo_n "checking for isnan declaration... " >&6; }
72584 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72585 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72586 $as_echo_n "(cached) " >&6
72587 else
72590 ac_ext=cpp
72591 ac_cpp='$CXXCPP $CPPFLAGS'
72592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72597 /* end confdefs.h. */
72598 #include <math.h>
72599 #ifdef HAVE_IEEEFP_H
72600 #include <ieeefp.h>
72601 #endif
72604 main ()
72606 isnan(0);
72608 return 0;
72610 _ACEOF
72611 if ac_fn_cxx_try_compile "$LINENO"; then :
72612 glibcxx_cv_func_isnan_use=yes
72613 else
72614 glibcxx_cv_func_isnan_use=no
72616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72617 ac_ext=c
72618 ac_cpp='$CPP $CPPFLAGS'
72619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72628 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72630 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72631 for ac_func in isnan
72632 do :
72633 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72634 if test "x$ac_cv_func_isnan" = x""yes; then :
72635 cat >>confdefs.h <<_ACEOF
72636 #define HAVE_ISNAN 1
72637 _ACEOF
72640 done
72642 else
72644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72645 $as_echo_n "checking for _isnan declaration... " >&6; }
72646 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72647 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72648 $as_echo_n "(cached) " >&6
72649 else
72652 ac_ext=cpp
72653 ac_cpp='$CXXCPP $CPPFLAGS'
72654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72659 /* end confdefs.h. */
72660 #include <math.h>
72661 #ifdef HAVE_IEEEFP_H
72662 #include <ieeefp.h>
72663 #endif
72666 main ()
72668 _isnan(0);
72670 return 0;
72672 _ACEOF
72673 if ac_fn_cxx_try_compile "$LINENO"; then :
72674 glibcxx_cv_func__isnan_use=yes
72675 else
72676 glibcxx_cv_func__isnan_use=no
72678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72679 ac_ext=c
72680 ac_cpp='$CPP $CPPFLAGS'
72681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72690 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72692 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72693 for ac_func in _isnan
72694 do :
72695 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72696 if test "x$ac_cv_func__isnan" = x""yes; then :
72697 cat >>confdefs.h <<_ACEOF
72698 #define HAVE__ISNAN 1
72699 _ACEOF
72702 done
72711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72712 $as_echo_n "checking for finite declaration... " >&6; }
72713 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72714 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72715 $as_echo_n "(cached) " >&6
72716 else
72719 ac_ext=cpp
72720 ac_cpp='$CXXCPP $CPPFLAGS'
72721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72726 /* end confdefs.h. */
72727 #include <math.h>
72728 #ifdef HAVE_IEEEFP_H
72729 #include <ieeefp.h>
72730 #endif
72733 main ()
72735 finite(0);
72737 return 0;
72739 _ACEOF
72740 if ac_fn_cxx_try_compile "$LINENO"; then :
72741 glibcxx_cv_func_finite_use=yes
72742 else
72743 glibcxx_cv_func_finite_use=no
72745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72746 ac_ext=c
72747 ac_cpp='$CPP $CPPFLAGS'
72748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72757 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72759 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72760 for ac_func in finite
72761 do :
72762 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72763 if test "x$ac_cv_func_finite" = x""yes; then :
72764 cat >>confdefs.h <<_ACEOF
72765 #define HAVE_FINITE 1
72766 _ACEOF
72769 done
72771 else
72773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72774 $as_echo_n "checking for _finite declaration... " >&6; }
72775 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72776 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72777 $as_echo_n "(cached) " >&6
72778 else
72781 ac_ext=cpp
72782 ac_cpp='$CXXCPP $CPPFLAGS'
72783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72788 /* end confdefs.h. */
72789 #include <math.h>
72790 #ifdef HAVE_IEEEFP_H
72791 #include <ieeefp.h>
72792 #endif
72795 main ()
72797 _finite(0);
72799 return 0;
72801 _ACEOF
72802 if ac_fn_cxx_try_compile "$LINENO"; then :
72803 glibcxx_cv_func__finite_use=yes
72804 else
72805 glibcxx_cv_func__finite_use=no
72807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72808 ac_ext=c
72809 ac_cpp='$CPP $CPPFLAGS'
72810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72819 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72821 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72822 for ac_func in _finite
72823 do :
72824 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72825 if test "x$ac_cv_func__finite" = x""yes; then :
72826 cat >>confdefs.h <<_ACEOF
72827 #define HAVE__FINITE 1
72828 _ACEOF
72831 done
72840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72841 $as_echo_n "checking for sincos declaration... " >&6; }
72842 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72843 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72844 $as_echo_n "(cached) " >&6
72845 else
72848 ac_ext=cpp
72849 ac_cpp='$CXXCPP $CPPFLAGS'
72850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72855 /* end confdefs.h. */
72856 #include <math.h>
72858 main ()
72860 sincos(0, 0, 0);
72862 return 0;
72864 _ACEOF
72865 if ac_fn_cxx_try_compile "$LINENO"; then :
72866 glibcxx_cv_func_sincos_use=yes
72867 else
72868 glibcxx_cv_func_sincos_use=no
72870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72871 ac_ext=c
72872 ac_cpp='$CPP $CPPFLAGS'
72873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72882 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72884 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72885 for ac_func in sincos
72886 do :
72887 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72888 if test "x$ac_cv_func_sincos" = x""yes; then :
72889 cat >>confdefs.h <<_ACEOF
72890 #define HAVE_SINCOS 1
72891 _ACEOF
72894 done
72896 else
72898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72899 $as_echo_n "checking for _sincos declaration... " >&6; }
72900 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72901 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72902 $as_echo_n "(cached) " >&6
72903 else
72906 ac_ext=cpp
72907 ac_cpp='$CXXCPP $CPPFLAGS'
72908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72913 /* end confdefs.h. */
72914 #include <math.h>
72916 main ()
72918 _sincos(0, 0, 0);
72920 return 0;
72922 _ACEOF
72923 if ac_fn_cxx_try_compile "$LINENO"; then :
72924 glibcxx_cv_func__sincos_use=yes
72925 else
72926 glibcxx_cv_func__sincos_use=no
72928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72929 ac_ext=c
72930 ac_cpp='$CPP $CPPFLAGS'
72931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72940 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72942 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72943 for ac_func in _sincos
72944 do :
72945 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72946 if test "x$ac_cv_func__sincos" = x""yes; then :
72947 cat >>confdefs.h <<_ACEOF
72948 #define HAVE__SINCOS 1
72949 _ACEOF
72952 done
72961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72962 $as_echo_n "checking for fpclass declaration... " >&6; }
72963 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72964 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72965 $as_echo_n "(cached) " >&6
72966 else
72969 ac_ext=cpp
72970 ac_cpp='$CXXCPP $CPPFLAGS'
72971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72976 /* end confdefs.h. */
72977 #include <math.h>
72978 #ifdef HAVE_IEEEFP_H
72979 #include <ieeefp.h>
72980 #endif
72983 main ()
72985 fpclass(0);
72987 return 0;
72989 _ACEOF
72990 if ac_fn_cxx_try_compile "$LINENO"; then :
72991 glibcxx_cv_func_fpclass_use=yes
72992 else
72993 glibcxx_cv_func_fpclass_use=no
72995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72996 ac_ext=c
72997 ac_cpp='$CPP $CPPFLAGS'
72998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73007 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73009 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73010 for ac_func in fpclass
73011 do :
73012 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73013 if test "x$ac_cv_func_fpclass" = x""yes; then :
73014 cat >>confdefs.h <<_ACEOF
73015 #define HAVE_FPCLASS 1
73016 _ACEOF
73019 done
73021 else
73023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73024 $as_echo_n "checking for _fpclass declaration... " >&6; }
73025 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73026 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73027 $as_echo_n "(cached) " >&6
73028 else
73031 ac_ext=cpp
73032 ac_cpp='$CXXCPP $CPPFLAGS'
73033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73038 /* end confdefs.h. */
73039 #include <math.h>
73040 #ifdef HAVE_IEEEFP_H
73041 #include <ieeefp.h>
73042 #endif
73045 main ()
73047 _fpclass(0);
73049 return 0;
73051 _ACEOF
73052 if ac_fn_cxx_try_compile "$LINENO"; then :
73053 glibcxx_cv_func__fpclass_use=yes
73054 else
73055 glibcxx_cv_func__fpclass_use=no
73057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73058 ac_ext=c
73059 ac_cpp='$CPP $CPPFLAGS'
73060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73069 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73071 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73072 for ac_func in _fpclass
73073 do :
73074 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73075 if test "x$ac_cv_func__fpclass" = x""yes; then :
73076 cat >>confdefs.h <<_ACEOF
73077 #define HAVE__FPCLASS 1
73078 _ACEOF
73081 done
73090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73091 $as_echo_n "checking for qfpclass declaration... " >&6; }
73092 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73093 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73094 $as_echo_n "(cached) " >&6
73095 else
73098 ac_ext=cpp
73099 ac_cpp='$CXXCPP $CPPFLAGS'
73100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73105 /* end confdefs.h. */
73106 #include <math.h>
73107 #ifdef HAVE_IEEEFP_H
73108 #include <ieeefp.h>
73109 #endif
73112 main ()
73114 qfpclass(0);
73116 return 0;
73118 _ACEOF
73119 if ac_fn_cxx_try_compile "$LINENO"; then :
73120 glibcxx_cv_func_qfpclass_use=yes
73121 else
73122 glibcxx_cv_func_qfpclass_use=no
73124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73125 ac_ext=c
73126 ac_cpp='$CPP $CPPFLAGS'
73127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73136 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73138 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73139 for ac_func in qfpclass
73140 do :
73141 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73142 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73143 cat >>confdefs.h <<_ACEOF
73144 #define HAVE_QFPCLASS 1
73145 _ACEOF
73148 done
73150 else
73152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73153 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73154 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73155 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73156 $as_echo_n "(cached) " >&6
73157 else
73160 ac_ext=cpp
73161 ac_cpp='$CXXCPP $CPPFLAGS'
73162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73167 /* end confdefs.h. */
73168 #include <math.h>
73169 #ifdef HAVE_IEEEFP_H
73170 #include <ieeefp.h>
73171 #endif
73174 main ()
73176 _qfpclass(0);
73178 return 0;
73180 _ACEOF
73181 if ac_fn_cxx_try_compile "$LINENO"; then :
73182 glibcxx_cv_func__qfpclass_use=yes
73183 else
73184 glibcxx_cv_func__qfpclass_use=no
73186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73187 ac_ext=c
73188 ac_cpp='$CPP $CPPFLAGS'
73189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73198 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73200 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73201 for ac_func in _qfpclass
73202 do :
73203 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73204 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73205 cat >>confdefs.h <<_ACEOF
73206 #define HAVE__QFPCLASS 1
73207 _ACEOF
73210 done
73219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73220 $as_echo_n "checking for hypot declaration... " >&6; }
73221 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73222 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73223 $as_echo_n "(cached) " >&6
73224 else
73227 ac_ext=cpp
73228 ac_cpp='$CXXCPP $CPPFLAGS'
73229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73234 /* end confdefs.h. */
73235 #include <math.h>
73237 main ()
73239 hypot(0, 0);
73241 return 0;
73243 _ACEOF
73244 if ac_fn_cxx_try_compile "$LINENO"; then :
73245 glibcxx_cv_func_hypot_use=yes
73246 else
73247 glibcxx_cv_func_hypot_use=no
73249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73250 ac_ext=c
73251 ac_cpp='$CPP $CPPFLAGS'
73252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73261 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73263 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73264 for ac_func in hypot
73265 do :
73266 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73267 if test "x$ac_cv_func_hypot" = x""yes; then :
73268 cat >>confdefs.h <<_ACEOF
73269 #define HAVE_HYPOT 1
73270 _ACEOF
73273 done
73275 else
73277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73278 $as_echo_n "checking for _hypot declaration... " >&6; }
73279 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73280 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73281 $as_echo_n "(cached) " >&6
73282 else
73285 ac_ext=cpp
73286 ac_cpp='$CXXCPP $CPPFLAGS'
73287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73292 /* end confdefs.h. */
73293 #include <math.h>
73295 main ()
73297 _hypot(0, 0);
73299 return 0;
73301 _ACEOF
73302 if ac_fn_cxx_try_compile "$LINENO"; then :
73303 glibcxx_cv_func__hypot_use=yes
73304 else
73305 glibcxx_cv_func__hypot_use=no
73307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73308 ac_ext=c
73309 ac_cpp='$CPP $CPPFLAGS'
73310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73319 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73321 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73322 for ac_func in _hypot
73323 do :
73324 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73325 if test "x$ac_cv_func__hypot" = x""yes; then :
73326 cat >>confdefs.h <<_ACEOF
73327 #define HAVE__HYPOT 1
73328 _ACEOF
73331 done
73340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73341 $as_echo_n "checking for float trig functions... " >&6; }
73342 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73343 $as_echo_n "(cached) " >&6
73344 else
73347 ac_ext=cpp
73348 ac_cpp='$CXXCPP $CPPFLAGS'
73349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73354 /* end confdefs.h. */
73355 #include <math.h>
73357 main ()
73359 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73361 return 0;
73363 _ACEOF
73364 if ac_fn_cxx_try_compile "$LINENO"; then :
73365 glibcxx_cv_func_float_trig_use=yes
73366 else
73367 glibcxx_cv_func_float_trig_use=no
73369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73370 ac_ext=c
73371 ac_cpp='$CPP $CPPFLAGS'
73372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73379 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73380 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73381 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73382 do :
73383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73385 eval as_val=\$$as_ac_var
73386 if test "x$as_val" = x""yes; then :
73387 cat >>confdefs.h <<_ACEOF
73388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73389 _ACEOF
73392 done
73394 else
73395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73396 $as_echo_n "checking for _float trig functions... " >&6; }
73397 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73398 $as_echo_n "(cached) " >&6
73399 else
73402 ac_ext=cpp
73403 ac_cpp='$CXXCPP $CPPFLAGS'
73404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73409 /* end confdefs.h. */
73410 #include <math.h>
73412 main ()
73414 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73416 return 0;
73418 _ACEOF
73419 if ac_fn_cxx_try_compile "$LINENO"; then :
73420 glibcxx_cv_func__float_trig_use=yes
73421 else
73422 glibcxx_cv_func__float_trig_use=no
73424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73425 ac_ext=c
73426 ac_cpp='$CPP $CPPFLAGS'
73427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73434 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73435 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73436 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73437 do :
73438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73440 eval as_val=\$$as_ac_var
73441 if test "x$as_val" = x""yes; then :
73442 cat >>confdefs.h <<_ACEOF
73443 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73444 _ACEOF
73447 done
73456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73457 $as_echo_n "checking for float round functions... " >&6; }
73458 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73459 $as_echo_n "(cached) " >&6
73460 else
73463 ac_ext=cpp
73464 ac_cpp='$CXXCPP $CPPFLAGS'
73465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73470 /* end confdefs.h. */
73471 #include <math.h>
73473 main ()
73475 ceilf (0); floorf (0);
73477 return 0;
73479 _ACEOF
73480 if ac_fn_cxx_try_compile "$LINENO"; then :
73481 glibcxx_cv_func_float_round_use=yes
73482 else
73483 glibcxx_cv_func_float_round_use=no
73485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73486 ac_ext=c
73487 ac_cpp='$CPP $CPPFLAGS'
73488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73495 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73496 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73497 for ac_func in ceilf floorf
73498 do :
73499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73501 eval as_val=\$$as_ac_var
73502 if test "x$as_val" = x""yes; then :
73503 cat >>confdefs.h <<_ACEOF
73504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73505 _ACEOF
73508 done
73510 else
73511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73512 $as_echo_n "checking for _float round functions... " >&6; }
73513 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73514 $as_echo_n "(cached) " >&6
73515 else
73518 ac_ext=cpp
73519 ac_cpp='$CXXCPP $CPPFLAGS'
73520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73525 /* end confdefs.h. */
73526 #include <math.h>
73528 main ()
73530 _ceilf (0); _floorf (0);
73532 return 0;
73534 _ACEOF
73535 if ac_fn_cxx_try_compile "$LINENO"; then :
73536 glibcxx_cv_func__float_round_use=yes
73537 else
73538 glibcxx_cv_func__float_round_use=no
73540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73541 ac_ext=c
73542 ac_cpp='$CPP $CPPFLAGS'
73543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73550 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73551 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73552 for ac_func in _ceilf _floorf
73553 do :
73554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73556 eval as_val=\$$as_ac_var
73557 if test "x$as_val" = x""yes; then :
73558 cat >>confdefs.h <<_ACEOF
73559 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73560 _ACEOF
73563 done
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73574 $as_echo_n "checking for expf declaration... " >&6; }
73575 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73576 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73577 $as_echo_n "(cached) " >&6
73578 else
73581 ac_ext=cpp
73582 ac_cpp='$CXXCPP $CPPFLAGS'
73583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73588 /* end confdefs.h. */
73589 #include <math.h>
73590 #ifdef HAVE_IEEEFP_H
73591 #include <ieeefp.h>
73592 #endif
73595 main ()
73597 expf(0);
73599 return 0;
73601 _ACEOF
73602 if ac_fn_cxx_try_compile "$LINENO"; then :
73603 glibcxx_cv_func_expf_use=yes
73604 else
73605 glibcxx_cv_func_expf_use=no
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608 ac_ext=c
73609 ac_cpp='$CPP $CPPFLAGS'
73610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73619 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73621 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73622 for ac_func in expf
73623 do :
73624 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73625 if test "x$ac_cv_func_expf" = x""yes; then :
73626 cat >>confdefs.h <<_ACEOF
73627 #define HAVE_EXPF 1
73628 _ACEOF
73631 done
73633 else
73635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73636 $as_echo_n "checking for _expf declaration... " >&6; }
73637 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73638 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73639 $as_echo_n "(cached) " >&6
73640 else
73643 ac_ext=cpp
73644 ac_cpp='$CXXCPP $CPPFLAGS'
73645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73650 /* end confdefs.h. */
73651 #include <math.h>
73652 #ifdef HAVE_IEEEFP_H
73653 #include <ieeefp.h>
73654 #endif
73657 main ()
73659 _expf(0);
73661 return 0;
73663 _ACEOF
73664 if ac_fn_cxx_try_compile "$LINENO"; then :
73665 glibcxx_cv_func__expf_use=yes
73666 else
73667 glibcxx_cv_func__expf_use=no
73669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73681 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73683 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73684 for ac_func in _expf
73685 do :
73686 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73687 if test "x$ac_cv_func__expf" = x""yes; then :
73688 cat >>confdefs.h <<_ACEOF
73689 #define HAVE__EXPF 1
73690 _ACEOF
73693 done
73702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73703 $as_echo_n "checking for isnanf declaration... " >&6; }
73704 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73705 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73706 $as_echo_n "(cached) " >&6
73707 else
73710 ac_ext=cpp
73711 ac_cpp='$CXXCPP $CPPFLAGS'
73712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73717 /* end confdefs.h. */
73718 #include <math.h>
73719 #ifdef HAVE_IEEEFP_H
73720 #include <ieeefp.h>
73721 #endif
73724 main ()
73726 isnanf(0);
73728 return 0;
73730 _ACEOF
73731 if ac_fn_cxx_try_compile "$LINENO"; then :
73732 glibcxx_cv_func_isnanf_use=yes
73733 else
73734 glibcxx_cv_func_isnanf_use=no
73736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73737 ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73748 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73750 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73751 for ac_func in isnanf
73752 do :
73753 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73754 if test "x$ac_cv_func_isnanf" = x""yes; then :
73755 cat >>confdefs.h <<_ACEOF
73756 #define HAVE_ISNANF 1
73757 _ACEOF
73760 done
73762 else
73764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73765 $as_echo_n "checking for _isnanf declaration... " >&6; }
73766 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73767 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73768 $as_echo_n "(cached) " >&6
73769 else
73772 ac_ext=cpp
73773 ac_cpp='$CXXCPP $CPPFLAGS'
73774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73779 /* end confdefs.h. */
73780 #include <math.h>
73781 #ifdef HAVE_IEEEFP_H
73782 #include <ieeefp.h>
73783 #endif
73786 main ()
73788 _isnanf(0);
73790 return 0;
73792 _ACEOF
73793 if ac_fn_cxx_try_compile "$LINENO"; then :
73794 glibcxx_cv_func__isnanf_use=yes
73795 else
73796 glibcxx_cv_func__isnanf_use=no
73798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73799 ac_ext=c
73800 ac_cpp='$CPP $CPPFLAGS'
73801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73810 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73812 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73813 for ac_func in _isnanf
73814 do :
73815 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73816 if test "x$ac_cv_func__isnanf" = x""yes; then :
73817 cat >>confdefs.h <<_ACEOF
73818 #define HAVE__ISNANF 1
73819 _ACEOF
73822 done
73831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73832 $as_echo_n "checking for isinff declaration... " >&6; }
73833 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73834 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73835 $as_echo_n "(cached) " >&6
73836 else
73839 ac_ext=cpp
73840 ac_cpp='$CXXCPP $CPPFLAGS'
73841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73846 /* end confdefs.h. */
73847 #include <math.h>
73848 #ifdef HAVE_IEEEFP_H
73849 #include <ieeefp.h>
73850 #endif
73853 main ()
73855 isinff(0);
73857 return 0;
73859 _ACEOF
73860 if ac_fn_cxx_try_compile "$LINENO"; then :
73861 glibcxx_cv_func_isinff_use=yes
73862 else
73863 glibcxx_cv_func_isinff_use=no
73865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73866 ac_ext=c
73867 ac_cpp='$CPP $CPPFLAGS'
73868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73877 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73879 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73880 for ac_func in isinff
73881 do :
73882 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73883 if test "x$ac_cv_func_isinff" = x""yes; then :
73884 cat >>confdefs.h <<_ACEOF
73885 #define HAVE_ISINFF 1
73886 _ACEOF
73889 done
73891 else
73893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73894 $as_echo_n "checking for _isinff declaration... " >&6; }
73895 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73896 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73897 $as_echo_n "(cached) " >&6
73898 else
73901 ac_ext=cpp
73902 ac_cpp='$CXXCPP $CPPFLAGS'
73903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73908 /* end confdefs.h. */
73909 #include <math.h>
73910 #ifdef HAVE_IEEEFP_H
73911 #include <ieeefp.h>
73912 #endif
73915 main ()
73917 _isinff(0);
73919 return 0;
73921 _ACEOF
73922 if ac_fn_cxx_try_compile "$LINENO"; then :
73923 glibcxx_cv_func__isinff_use=yes
73924 else
73925 glibcxx_cv_func__isinff_use=no
73927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73928 ac_ext=c
73929 ac_cpp='$CPP $CPPFLAGS'
73930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73939 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73941 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73942 for ac_func in _isinff
73943 do :
73944 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73945 if test "x$ac_cv_func__isinff" = x""yes; then :
73946 cat >>confdefs.h <<_ACEOF
73947 #define HAVE__ISINFF 1
73948 _ACEOF
73951 done
73960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73961 $as_echo_n "checking for atan2f declaration... " >&6; }
73962 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73963 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73964 $as_echo_n "(cached) " >&6
73965 else
73968 ac_ext=cpp
73969 ac_cpp='$CXXCPP $CPPFLAGS'
73970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73975 /* end confdefs.h. */
73976 #include <math.h>
73978 main ()
73980 atan2f(0, 0);
73982 return 0;
73984 _ACEOF
73985 if ac_fn_cxx_try_compile "$LINENO"; then :
73986 glibcxx_cv_func_atan2f_use=yes
73987 else
73988 glibcxx_cv_func_atan2f_use=no
73990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73991 ac_ext=c
73992 ac_cpp='$CPP $CPPFLAGS'
73993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74002 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74004 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74005 for ac_func in atan2f
74006 do :
74007 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74008 if test "x$ac_cv_func_atan2f" = x""yes; then :
74009 cat >>confdefs.h <<_ACEOF
74010 #define HAVE_ATAN2F 1
74011 _ACEOF
74014 done
74016 else
74018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74019 $as_echo_n "checking for _atan2f declaration... " >&6; }
74020 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74021 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74022 $as_echo_n "(cached) " >&6
74023 else
74026 ac_ext=cpp
74027 ac_cpp='$CXXCPP $CPPFLAGS'
74028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74033 /* end confdefs.h. */
74034 #include <math.h>
74036 main ()
74038 _atan2f(0, 0);
74040 return 0;
74042 _ACEOF
74043 if ac_fn_cxx_try_compile "$LINENO"; then :
74044 glibcxx_cv_func__atan2f_use=yes
74045 else
74046 glibcxx_cv_func__atan2f_use=no
74048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74049 ac_ext=c
74050 ac_cpp='$CPP $CPPFLAGS'
74051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74060 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74062 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74063 for ac_func in _atan2f
74064 do :
74065 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74066 if test "x$ac_cv_func__atan2f" = x""yes; then :
74067 cat >>confdefs.h <<_ACEOF
74068 #define HAVE__ATAN2F 1
74069 _ACEOF
74072 done
74081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74082 $as_echo_n "checking for fabsf declaration... " >&6; }
74083 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74084 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74085 $as_echo_n "(cached) " >&6
74086 else
74089 ac_ext=cpp
74090 ac_cpp='$CXXCPP $CPPFLAGS'
74091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74096 /* end confdefs.h. */
74097 #include <math.h>
74098 #ifdef HAVE_IEEEFP_H
74099 #include <ieeefp.h>
74100 #endif
74103 main ()
74105 fabsf(0);
74107 return 0;
74109 _ACEOF
74110 if ac_fn_cxx_try_compile "$LINENO"; then :
74111 glibcxx_cv_func_fabsf_use=yes
74112 else
74113 glibcxx_cv_func_fabsf_use=no
74115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74116 ac_ext=c
74117 ac_cpp='$CPP $CPPFLAGS'
74118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74127 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74129 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74130 for ac_func in fabsf
74131 do :
74132 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74133 if test "x$ac_cv_func_fabsf" = x""yes; then :
74134 cat >>confdefs.h <<_ACEOF
74135 #define HAVE_FABSF 1
74136 _ACEOF
74139 done
74141 else
74143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74144 $as_echo_n "checking for _fabsf declaration... " >&6; }
74145 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74146 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74147 $as_echo_n "(cached) " >&6
74148 else
74151 ac_ext=cpp
74152 ac_cpp='$CXXCPP $CPPFLAGS'
74153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74158 /* end confdefs.h. */
74159 #include <math.h>
74160 #ifdef HAVE_IEEEFP_H
74161 #include <ieeefp.h>
74162 #endif
74165 main ()
74167 _fabsf(0);
74169 return 0;
74171 _ACEOF
74172 if ac_fn_cxx_try_compile "$LINENO"; then :
74173 glibcxx_cv_func__fabsf_use=yes
74174 else
74175 glibcxx_cv_func__fabsf_use=no
74177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74178 ac_ext=c
74179 ac_cpp='$CPP $CPPFLAGS'
74180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74189 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74191 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74192 for ac_func in _fabsf
74193 do :
74194 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74195 if test "x$ac_cv_func__fabsf" = x""yes; then :
74196 cat >>confdefs.h <<_ACEOF
74197 #define HAVE__FABSF 1
74198 _ACEOF
74201 done
74210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74211 $as_echo_n "checking for fmodf declaration... " >&6; }
74212 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74213 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74214 $as_echo_n "(cached) " >&6
74215 else
74218 ac_ext=cpp
74219 ac_cpp='$CXXCPP $CPPFLAGS'
74220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74225 /* end confdefs.h. */
74226 #include <math.h>
74228 main ()
74230 fmodf(0, 0);
74232 return 0;
74234 _ACEOF
74235 if ac_fn_cxx_try_compile "$LINENO"; then :
74236 glibcxx_cv_func_fmodf_use=yes
74237 else
74238 glibcxx_cv_func_fmodf_use=no
74240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74241 ac_ext=c
74242 ac_cpp='$CPP $CPPFLAGS'
74243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74252 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74254 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74255 for ac_func in fmodf
74256 do :
74257 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74258 if test "x$ac_cv_func_fmodf" = x""yes; then :
74259 cat >>confdefs.h <<_ACEOF
74260 #define HAVE_FMODF 1
74261 _ACEOF
74264 done
74266 else
74268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74269 $as_echo_n "checking for _fmodf declaration... " >&6; }
74270 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74271 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74272 $as_echo_n "(cached) " >&6
74273 else
74276 ac_ext=cpp
74277 ac_cpp='$CXXCPP $CPPFLAGS'
74278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74283 /* end confdefs.h. */
74284 #include <math.h>
74286 main ()
74288 _fmodf(0, 0);
74290 return 0;
74292 _ACEOF
74293 if ac_fn_cxx_try_compile "$LINENO"; then :
74294 glibcxx_cv_func__fmodf_use=yes
74295 else
74296 glibcxx_cv_func__fmodf_use=no
74298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74299 ac_ext=c
74300 ac_cpp='$CPP $CPPFLAGS'
74301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74310 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74312 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74313 for ac_func in _fmodf
74314 do :
74315 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74316 if test "x$ac_cv_func__fmodf" = x""yes; then :
74317 cat >>confdefs.h <<_ACEOF
74318 #define HAVE__FMODF 1
74319 _ACEOF
74322 done
74331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74332 $as_echo_n "checking for frexpf declaration... " >&6; }
74333 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74334 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74335 $as_echo_n "(cached) " >&6
74336 else
74339 ac_ext=cpp
74340 ac_cpp='$CXXCPP $CPPFLAGS'
74341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74346 /* end confdefs.h. */
74347 #include <math.h>
74349 main ()
74351 frexpf(0, 0);
74353 return 0;
74355 _ACEOF
74356 if ac_fn_cxx_try_compile "$LINENO"; then :
74357 glibcxx_cv_func_frexpf_use=yes
74358 else
74359 glibcxx_cv_func_frexpf_use=no
74361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74362 ac_ext=c
74363 ac_cpp='$CPP $CPPFLAGS'
74364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74373 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74375 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74376 for ac_func in frexpf
74377 do :
74378 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74379 if test "x$ac_cv_func_frexpf" = x""yes; then :
74380 cat >>confdefs.h <<_ACEOF
74381 #define HAVE_FREXPF 1
74382 _ACEOF
74385 done
74387 else
74389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74390 $as_echo_n "checking for _frexpf declaration... " >&6; }
74391 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74392 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74393 $as_echo_n "(cached) " >&6
74394 else
74397 ac_ext=cpp
74398 ac_cpp='$CXXCPP $CPPFLAGS'
74399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74404 /* end confdefs.h. */
74405 #include <math.h>
74407 main ()
74409 _frexpf(0, 0);
74411 return 0;
74413 _ACEOF
74414 if ac_fn_cxx_try_compile "$LINENO"; then :
74415 glibcxx_cv_func__frexpf_use=yes
74416 else
74417 glibcxx_cv_func__frexpf_use=no
74419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74420 ac_ext=c
74421 ac_cpp='$CPP $CPPFLAGS'
74422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74431 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74433 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74434 for ac_func in _frexpf
74435 do :
74436 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74437 if test "x$ac_cv_func__frexpf" = x""yes; then :
74438 cat >>confdefs.h <<_ACEOF
74439 #define HAVE__FREXPF 1
74440 _ACEOF
74443 done
74452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74453 $as_echo_n "checking for hypotf declaration... " >&6; }
74454 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74455 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74456 $as_echo_n "(cached) " >&6
74457 else
74460 ac_ext=cpp
74461 ac_cpp='$CXXCPP $CPPFLAGS'
74462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74467 /* end confdefs.h. */
74468 #include <math.h>
74470 main ()
74472 hypotf(0, 0);
74474 return 0;
74476 _ACEOF
74477 if ac_fn_cxx_try_compile "$LINENO"; then :
74478 glibcxx_cv_func_hypotf_use=yes
74479 else
74480 glibcxx_cv_func_hypotf_use=no
74482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74483 ac_ext=c
74484 ac_cpp='$CPP $CPPFLAGS'
74485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74494 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74496 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74497 for ac_func in hypotf
74498 do :
74499 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74500 if test "x$ac_cv_func_hypotf" = x""yes; then :
74501 cat >>confdefs.h <<_ACEOF
74502 #define HAVE_HYPOTF 1
74503 _ACEOF
74506 done
74508 else
74510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74511 $as_echo_n "checking for _hypotf declaration... " >&6; }
74512 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74513 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74514 $as_echo_n "(cached) " >&6
74515 else
74518 ac_ext=cpp
74519 ac_cpp='$CXXCPP $CPPFLAGS'
74520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74525 /* end confdefs.h. */
74526 #include <math.h>
74528 main ()
74530 _hypotf(0, 0);
74532 return 0;
74534 _ACEOF
74535 if ac_fn_cxx_try_compile "$LINENO"; then :
74536 glibcxx_cv_func__hypotf_use=yes
74537 else
74538 glibcxx_cv_func__hypotf_use=no
74540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74541 ac_ext=c
74542 ac_cpp='$CPP $CPPFLAGS'
74543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74552 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74554 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74555 for ac_func in _hypotf
74556 do :
74557 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74558 if test "x$ac_cv_func__hypotf" = x""yes; then :
74559 cat >>confdefs.h <<_ACEOF
74560 #define HAVE__HYPOTF 1
74561 _ACEOF
74564 done
74573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74574 $as_echo_n "checking for ldexpf declaration... " >&6; }
74575 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74576 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74577 $as_echo_n "(cached) " >&6
74578 else
74581 ac_ext=cpp
74582 ac_cpp='$CXXCPP $CPPFLAGS'
74583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74588 /* end confdefs.h. */
74589 #include <math.h>
74591 main ()
74593 ldexpf(0, 0);
74595 return 0;
74597 _ACEOF
74598 if ac_fn_cxx_try_compile "$LINENO"; then :
74599 glibcxx_cv_func_ldexpf_use=yes
74600 else
74601 glibcxx_cv_func_ldexpf_use=no
74603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74604 ac_ext=c
74605 ac_cpp='$CPP $CPPFLAGS'
74606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74615 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74617 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74618 for ac_func in ldexpf
74619 do :
74620 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74621 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74622 cat >>confdefs.h <<_ACEOF
74623 #define HAVE_LDEXPF 1
74624 _ACEOF
74627 done
74629 else
74631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74632 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74633 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74634 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74635 $as_echo_n "(cached) " >&6
74636 else
74639 ac_ext=cpp
74640 ac_cpp='$CXXCPP $CPPFLAGS'
74641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74646 /* end confdefs.h. */
74647 #include <math.h>
74649 main ()
74651 _ldexpf(0, 0);
74653 return 0;
74655 _ACEOF
74656 if ac_fn_cxx_try_compile "$LINENO"; then :
74657 glibcxx_cv_func__ldexpf_use=yes
74658 else
74659 glibcxx_cv_func__ldexpf_use=no
74661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74662 ac_ext=c
74663 ac_cpp='$CPP $CPPFLAGS'
74664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74673 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74675 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74676 for ac_func in _ldexpf
74677 do :
74678 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74679 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74680 cat >>confdefs.h <<_ACEOF
74681 #define HAVE__LDEXPF 1
74682 _ACEOF
74685 done
74694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74695 $as_echo_n "checking for logf declaration... " >&6; }
74696 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74697 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74698 $as_echo_n "(cached) " >&6
74699 else
74702 ac_ext=cpp
74703 ac_cpp='$CXXCPP $CPPFLAGS'
74704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74709 /* end confdefs.h. */
74710 #include <math.h>
74711 #ifdef HAVE_IEEEFP_H
74712 #include <ieeefp.h>
74713 #endif
74716 main ()
74718 logf(0);
74720 return 0;
74722 _ACEOF
74723 if ac_fn_cxx_try_compile "$LINENO"; then :
74724 glibcxx_cv_func_logf_use=yes
74725 else
74726 glibcxx_cv_func_logf_use=no
74728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74729 ac_ext=c
74730 ac_cpp='$CPP $CPPFLAGS'
74731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74740 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74742 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74743 for ac_func in logf
74744 do :
74745 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74746 if test "x$ac_cv_func_logf" = x""yes; then :
74747 cat >>confdefs.h <<_ACEOF
74748 #define HAVE_LOGF 1
74749 _ACEOF
74752 done
74754 else
74756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74757 $as_echo_n "checking for _logf declaration... " >&6; }
74758 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74759 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74760 $as_echo_n "(cached) " >&6
74761 else
74764 ac_ext=cpp
74765 ac_cpp='$CXXCPP $CPPFLAGS'
74766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74771 /* end confdefs.h. */
74772 #include <math.h>
74773 #ifdef HAVE_IEEEFP_H
74774 #include <ieeefp.h>
74775 #endif
74778 main ()
74780 _logf(0);
74782 return 0;
74784 _ACEOF
74785 if ac_fn_cxx_try_compile "$LINENO"; then :
74786 glibcxx_cv_func__logf_use=yes
74787 else
74788 glibcxx_cv_func__logf_use=no
74790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74791 ac_ext=c
74792 ac_cpp='$CPP $CPPFLAGS'
74793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74802 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74804 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74805 for ac_func in _logf
74806 do :
74807 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74808 if test "x$ac_cv_func__logf" = x""yes; then :
74809 cat >>confdefs.h <<_ACEOF
74810 #define HAVE__LOGF 1
74811 _ACEOF
74814 done
74823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74824 $as_echo_n "checking for log10f declaration... " >&6; }
74825 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74826 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74827 $as_echo_n "(cached) " >&6
74828 else
74831 ac_ext=cpp
74832 ac_cpp='$CXXCPP $CPPFLAGS'
74833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74838 /* end confdefs.h. */
74839 #include <math.h>
74840 #ifdef HAVE_IEEEFP_H
74841 #include <ieeefp.h>
74842 #endif
74845 main ()
74847 log10f(0);
74849 return 0;
74851 _ACEOF
74852 if ac_fn_cxx_try_compile "$LINENO"; then :
74853 glibcxx_cv_func_log10f_use=yes
74854 else
74855 glibcxx_cv_func_log10f_use=no
74857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74858 ac_ext=c
74859 ac_cpp='$CPP $CPPFLAGS'
74860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74869 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74871 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74872 for ac_func in log10f
74873 do :
74874 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74875 if test "x$ac_cv_func_log10f" = x""yes; then :
74876 cat >>confdefs.h <<_ACEOF
74877 #define HAVE_LOG10F 1
74878 _ACEOF
74881 done
74883 else
74885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74886 $as_echo_n "checking for _log10f declaration... " >&6; }
74887 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74888 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74889 $as_echo_n "(cached) " >&6
74890 else
74893 ac_ext=cpp
74894 ac_cpp='$CXXCPP $CPPFLAGS'
74895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74900 /* end confdefs.h. */
74901 #include <math.h>
74902 #ifdef HAVE_IEEEFP_H
74903 #include <ieeefp.h>
74904 #endif
74907 main ()
74909 _log10f(0);
74911 return 0;
74913 _ACEOF
74914 if ac_fn_cxx_try_compile "$LINENO"; then :
74915 glibcxx_cv_func__log10f_use=yes
74916 else
74917 glibcxx_cv_func__log10f_use=no
74919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74920 ac_ext=c
74921 ac_cpp='$CPP $CPPFLAGS'
74922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74931 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74933 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74934 for ac_func in _log10f
74935 do :
74936 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74937 if test "x$ac_cv_func__log10f" = x""yes; then :
74938 cat >>confdefs.h <<_ACEOF
74939 #define HAVE__LOG10F 1
74940 _ACEOF
74943 done
74952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74953 $as_echo_n "checking for modff declaration... " >&6; }
74954 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74955 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74956 $as_echo_n "(cached) " >&6
74957 else
74960 ac_ext=cpp
74961 ac_cpp='$CXXCPP $CPPFLAGS'
74962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74967 /* end confdefs.h. */
74968 #include <math.h>
74970 main ()
74972 modff(0, 0);
74974 return 0;
74976 _ACEOF
74977 if ac_fn_cxx_try_compile "$LINENO"; then :
74978 glibcxx_cv_func_modff_use=yes
74979 else
74980 glibcxx_cv_func_modff_use=no
74982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74983 ac_ext=c
74984 ac_cpp='$CPP $CPPFLAGS'
74985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74994 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74996 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74997 for ac_func in modff
74998 do :
74999 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75000 if test "x$ac_cv_func_modff" = x""yes; then :
75001 cat >>confdefs.h <<_ACEOF
75002 #define HAVE_MODFF 1
75003 _ACEOF
75006 done
75008 else
75010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75011 $as_echo_n "checking for _modff declaration... " >&6; }
75012 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75013 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75014 $as_echo_n "(cached) " >&6
75015 else
75018 ac_ext=cpp
75019 ac_cpp='$CXXCPP $CPPFLAGS'
75020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75025 /* end confdefs.h. */
75026 #include <math.h>
75028 main ()
75030 _modff(0, 0);
75032 return 0;
75034 _ACEOF
75035 if ac_fn_cxx_try_compile "$LINENO"; then :
75036 glibcxx_cv_func__modff_use=yes
75037 else
75038 glibcxx_cv_func__modff_use=no
75040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75041 ac_ext=c
75042 ac_cpp='$CPP $CPPFLAGS'
75043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75052 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75054 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75055 for ac_func in _modff
75056 do :
75057 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75058 if test "x$ac_cv_func__modff" = x""yes; then :
75059 cat >>confdefs.h <<_ACEOF
75060 #define HAVE__MODFF 1
75061 _ACEOF
75064 done
75073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75074 $as_echo_n "checking for modf declaration... " >&6; }
75075 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75076 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75077 $as_echo_n "(cached) " >&6
75078 else
75081 ac_ext=cpp
75082 ac_cpp='$CXXCPP $CPPFLAGS'
75083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75088 /* end confdefs.h. */
75089 #include <math.h>
75091 main ()
75093 modf(0, 0);
75095 return 0;
75097 _ACEOF
75098 if ac_fn_cxx_try_compile "$LINENO"; then :
75099 glibcxx_cv_func_modf_use=yes
75100 else
75101 glibcxx_cv_func_modf_use=no
75103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75104 ac_ext=c
75105 ac_cpp='$CPP $CPPFLAGS'
75106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75115 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75117 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75118 for ac_func in modf
75119 do :
75120 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75121 if test "x$ac_cv_func_modf" = x""yes; then :
75122 cat >>confdefs.h <<_ACEOF
75123 #define HAVE_MODF 1
75124 _ACEOF
75127 done
75129 else
75131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75132 $as_echo_n "checking for _modf declaration... " >&6; }
75133 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75134 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75135 $as_echo_n "(cached) " >&6
75136 else
75139 ac_ext=cpp
75140 ac_cpp='$CXXCPP $CPPFLAGS'
75141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75146 /* end confdefs.h. */
75147 #include <math.h>
75149 main ()
75151 _modf(0, 0);
75153 return 0;
75155 _ACEOF
75156 if ac_fn_cxx_try_compile "$LINENO"; then :
75157 glibcxx_cv_func__modf_use=yes
75158 else
75159 glibcxx_cv_func__modf_use=no
75161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75162 ac_ext=c
75163 ac_cpp='$CPP $CPPFLAGS'
75164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75173 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75175 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75176 for ac_func in _modf
75177 do :
75178 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75179 if test "x$ac_cv_func__modf" = x""yes; then :
75180 cat >>confdefs.h <<_ACEOF
75181 #define HAVE__MODF 1
75182 _ACEOF
75185 done
75194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75195 $as_echo_n "checking for powf declaration... " >&6; }
75196 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75197 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75198 $as_echo_n "(cached) " >&6
75199 else
75202 ac_ext=cpp
75203 ac_cpp='$CXXCPP $CPPFLAGS'
75204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75209 /* end confdefs.h. */
75210 #include <math.h>
75212 main ()
75214 powf(0, 0);
75216 return 0;
75218 _ACEOF
75219 if ac_fn_cxx_try_compile "$LINENO"; then :
75220 glibcxx_cv_func_powf_use=yes
75221 else
75222 glibcxx_cv_func_powf_use=no
75224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75225 ac_ext=c
75226 ac_cpp='$CPP $CPPFLAGS'
75227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75236 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75238 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75239 for ac_func in powf
75240 do :
75241 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75242 if test "x$ac_cv_func_powf" = x""yes; then :
75243 cat >>confdefs.h <<_ACEOF
75244 #define HAVE_POWF 1
75245 _ACEOF
75248 done
75250 else
75252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75253 $as_echo_n "checking for _powf declaration... " >&6; }
75254 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75255 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75256 $as_echo_n "(cached) " >&6
75257 else
75260 ac_ext=cpp
75261 ac_cpp='$CXXCPP $CPPFLAGS'
75262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75267 /* end confdefs.h. */
75268 #include <math.h>
75270 main ()
75272 _powf(0, 0);
75274 return 0;
75276 _ACEOF
75277 if ac_fn_cxx_try_compile "$LINENO"; then :
75278 glibcxx_cv_func__powf_use=yes
75279 else
75280 glibcxx_cv_func__powf_use=no
75282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75283 ac_ext=c
75284 ac_cpp='$CPP $CPPFLAGS'
75285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75294 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75296 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75297 for ac_func in _powf
75298 do :
75299 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75300 if test "x$ac_cv_func__powf" = x""yes; then :
75301 cat >>confdefs.h <<_ACEOF
75302 #define HAVE__POWF 1
75303 _ACEOF
75306 done
75315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75316 $as_echo_n "checking for sqrtf declaration... " >&6; }
75317 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75318 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75319 $as_echo_n "(cached) " >&6
75320 else
75323 ac_ext=cpp
75324 ac_cpp='$CXXCPP $CPPFLAGS'
75325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75330 /* end confdefs.h. */
75331 #include <math.h>
75332 #ifdef HAVE_IEEEFP_H
75333 #include <ieeefp.h>
75334 #endif
75337 main ()
75339 sqrtf(0);
75341 return 0;
75343 _ACEOF
75344 if ac_fn_cxx_try_compile "$LINENO"; then :
75345 glibcxx_cv_func_sqrtf_use=yes
75346 else
75347 glibcxx_cv_func_sqrtf_use=no
75349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75350 ac_ext=c
75351 ac_cpp='$CPP $CPPFLAGS'
75352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75361 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75363 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75364 for ac_func in sqrtf
75365 do :
75366 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75367 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75368 cat >>confdefs.h <<_ACEOF
75369 #define HAVE_SQRTF 1
75370 _ACEOF
75373 done
75375 else
75377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75378 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75379 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75380 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75381 $as_echo_n "(cached) " >&6
75382 else
75385 ac_ext=cpp
75386 ac_cpp='$CXXCPP $CPPFLAGS'
75387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75392 /* end confdefs.h. */
75393 #include <math.h>
75394 #ifdef HAVE_IEEEFP_H
75395 #include <ieeefp.h>
75396 #endif
75399 main ()
75401 _sqrtf(0);
75403 return 0;
75405 _ACEOF
75406 if ac_fn_cxx_try_compile "$LINENO"; then :
75407 glibcxx_cv_func__sqrtf_use=yes
75408 else
75409 glibcxx_cv_func__sqrtf_use=no
75411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75412 ac_ext=c
75413 ac_cpp='$CPP $CPPFLAGS'
75414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75423 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75425 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75426 for ac_func in _sqrtf
75427 do :
75428 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75429 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75430 cat >>confdefs.h <<_ACEOF
75431 #define HAVE__SQRTF 1
75432 _ACEOF
75435 done
75444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75445 $as_echo_n "checking for sincosf declaration... " >&6; }
75446 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75447 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75448 $as_echo_n "(cached) " >&6
75449 else
75452 ac_ext=cpp
75453 ac_cpp='$CXXCPP $CPPFLAGS'
75454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75459 /* end confdefs.h. */
75460 #include <math.h>
75462 main ()
75464 sincosf(0, 0, 0);
75466 return 0;
75468 _ACEOF
75469 if ac_fn_cxx_try_compile "$LINENO"; then :
75470 glibcxx_cv_func_sincosf_use=yes
75471 else
75472 glibcxx_cv_func_sincosf_use=no
75474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75475 ac_ext=c
75476 ac_cpp='$CPP $CPPFLAGS'
75477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75486 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75488 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75489 for ac_func in sincosf
75490 do :
75491 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75492 if test "x$ac_cv_func_sincosf" = x""yes; then :
75493 cat >>confdefs.h <<_ACEOF
75494 #define HAVE_SINCOSF 1
75495 _ACEOF
75498 done
75500 else
75502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75503 $as_echo_n "checking for _sincosf declaration... " >&6; }
75504 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75505 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75506 $as_echo_n "(cached) " >&6
75507 else
75510 ac_ext=cpp
75511 ac_cpp='$CXXCPP $CPPFLAGS'
75512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75517 /* end confdefs.h. */
75518 #include <math.h>
75520 main ()
75522 _sincosf(0, 0, 0);
75524 return 0;
75526 _ACEOF
75527 if ac_fn_cxx_try_compile "$LINENO"; then :
75528 glibcxx_cv_func__sincosf_use=yes
75529 else
75530 glibcxx_cv_func__sincosf_use=no
75532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75533 ac_ext=c
75534 ac_cpp='$CPP $CPPFLAGS'
75535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75544 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75546 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75547 for ac_func in _sincosf
75548 do :
75549 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75550 if test "x$ac_cv_func__sincosf" = x""yes; then :
75551 cat >>confdefs.h <<_ACEOF
75552 #define HAVE__SINCOSF 1
75553 _ACEOF
75556 done
75565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75566 $as_echo_n "checking for finitef declaration... " >&6; }
75567 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75568 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75569 $as_echo_n "(cached) " >&6
75570 else
75573 ac_ext=cpp
75574 ac_cpp='$CXXCPP $CPPFLAGS'
75575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75580 /* end confdefs.h. */
75581 #include <math.h>
75582 #ifdef HAVE_IEEEFP_H
75583 #include <ieeefp.h>
75584 #endif
75587 main ()
75589 finitef(0);
75591 return 0;
75593 _ACEOF
75594 if ac_fn_cxx_try_compile "$LINENO"; then :
75595 glibcxx_cv_func_finitef_use=yes
75596 else
75597 glibcxx_cv_func_finitef_use=no
75599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75600 ac_ext=c
75601 ac_cpp='$CPP $CPPFLAGS'
75602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75611 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75613 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75614 for ac_func in finitef
75615 do :
75616 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75617 if test "x$ac_cv_func_finitef" = x""yes; then :
75618 cat >>confdefs.h <<_ACEOF
75619 #define HAVE_FINITEF 1
75620 _ACEOF
75623 done
75625 else
75627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75628 $as_echo_n "checking for _finitef declaration... " >&6; }
75629 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75630 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75631 $as_echo_n "(cached) " >&6
75632 else
75635 ac_ext=cpp
75636 ac_cpp='$CXXCPP $CPPFLAGS'
75637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75642 /* end confdefs.h. */
75643 #include <math.h>
75644 #ifdef HAVE_IEEEFP_H
75645 #include <ieeefp.h>
75646 #endif
75649 main ()
75651 _finitef(0);
75653 return 0;
75655 _ACEOF
75656 if ac_fn_cxx_try_compile "$LINENO"; then :
75657 glibcxx_cv_func__finitef_use=yes
75658 else
75659 glibcxx_cv_func__finitef_use=no
75661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75662 ac_ext=c
75663 ac_cpp='$CPP $CPPFLAGS'
75664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75673 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75675 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75676 for ac_func in _finitef
75677 do :
75678 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75679 if test "x$ac_cv_func__finitef" = x""yes; then :
75680 cat >>confdefs.h <<_ACEOF
75681 #define HAVE__FINITEF 1
75682 _ACEOF
75685 done
75694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75695 $as_echo_n "checking for long double trig functions... " >&6; }
75696 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75697 $as_echo_n "(cached) " >&6
75698 else
75701 ac_ext=cpp
75702 ac_cpp='$CXXCPP $CPPFLAGS'
75703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75708 /* end confdefs.h. */
75709 #include <math.h>
75711 main ()
75713 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75715 return 0;
75717 _ACEOF
75718 if ac_fn_cxx_try_compile "$LINENO"; then :
75719 glibcxx_cv_func_long_double_trig_use=yes
75720 else
75721 glibcxx_cv_func_long_double_trig_use=no
75723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75724 ac_ext=c
75725 ac_cpp='$CPP $CPPFLAGS'
75726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75733 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75734 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75735 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75736 do :
75737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75739 eval as_val=\$$as_ac_var
75740 if test "x$as_val" = x""yes; then :
75741 cat >>confdefs.h <<_ACEOF
75742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75743 _ACEOF
75746 done
75748 else
75749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75750 $as_echo_n "checking for _long double trig functions... " >&6; }
75751 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75752 $as_echo_n "(cached) " >&6
75753 else
75756 ac_ext=cpp
75757 ac_cpp='$CXXCPP $CPPFLAGS'
75758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75763 /* end confdefs.h. */
75764 #include <math.h>
75766 main ()
75768 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75770 return 0;
75772 _ACEOF
75773 if ac_fn_cxx_try_compile "$LINENO"; then :
75774 glibcxx_cv_func__long_double_trig_use=yes
75775 else
75776 glibcxx_cv_func__long_double_trig_use=no
75778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75779 ac_ext=c
75780 ac_cpp='$CPP $CPPFLAGS'
75781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75788 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75789 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75790 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75791 do :
75792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75794 eval as_val=\$$as_ac_var
75795 if test "x$as_val" = x""yes; then :
75796 cat >>confdefs.h <<_ACEOF
75797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75798 _ACEOF
75801 done
75810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75811 $as_echo_n "checking for long double round functions... " >&6; }
75812 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75813 $as_echo_n "(cached) " >&6
75814 else
75817 ac_ext=cpp
75818 ac_cpp='$CXXCPP $CPPFLAGS'
75819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75824 /* end confdefs.h. */
75825 #include <math.h>
75827 main ()
75829 ceill (0); floorl (0);
75831 return 0;
75833 _ACEOF
75834 if ac_fn_cxx_try_compile "$LINENO"; then :
75835 glibcxx_cv_func_long_double_round_use=yes
75836 else
75837 glibcxx_cv_func_long_double_round_use=no
75839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75840 ac_ext=c
75841 ac_cpp='$CPP $CPPFLAGS'
75842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75849 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75850 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75851 for ac_func in ceill floorl
75852 do :
75853 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75854 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75855 eval as_val=\$$as_ac_var
75856 if test "x$as_val" = x""yes; then :
75857 cat >>confdefs.h <<_ACEOF
75858 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75859 _ACEOF
75862 done
75864 else
75865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75866 $as_echo_n "checking for _long double round functions... " >&6; }
75867 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75868 $as_echo_n "(cached) " >&6
75869 else
75872 ac_ext=cpp
75873 ac_cpp='$CXXCPP $CPPFLAGS'
75874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75879 /* end confdefs.h. */
75880 #include <math.h>
75882 main ()
75884 _ceill (0); _floorl (0);
75886 return 0;
75888 _ACEOF
75889 if ac_fn_cxx_try_compile "$LINENO"; then :
75890 glibcxx_cv_func__long_double_round_use=yes
75891 else
75892 glibcxx_cv_func__long_double_round_use=no
75894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75895 ac_ext=c
75896 ac_cpp='$CPP $CPPFLAGS'
75897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75904 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75905 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75906 for ac_func in _ceill _floorl
75907 do :
75908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75910 eval as_val=\$$as_ac_var
75911 if test "x$as_val" = x""yes; then :
75912 cat >>confdefs.h <<_ACEOF
75913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75914 _ACEOF
75917 done
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75928 $as_echo_n "checking for isnanl declaration... " >&6; }
75929 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75930 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75931 $as_echo_n "(cached) " >&6
75932 else
75935 ac_ext=cpp
75936 ac_cpp='$CXXCPP $CPPFLAGS'
75937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75942 /* end confdefs.h. */
75943 #include <math.h>
75944 #ifdef HAVE_IEEEFP_H
75945 #include <ieeefp.h>
75946 #endif
75949 main ()
75951 isnanl(0);
75953 return 0;
75955 _ACEOF
75956 if ac_fn_cxx_try_compile "$LINENO"; then :
75957 glibcxx_cv_func_isnanl_use=yes
75958 else
75959 glibcxx_cv_func_isnanl_use=no
75961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75962 ac_ext=c
75963 ac_cpp='$CPP $CPPFLAGS'
75964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75973 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75975 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75976 for ac_func in isnanl
75977 do :
75978 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75979 if test "x$ac_cv_func_isnanl" = x""yes; then :
75980 cat >>confdefs.h <<_ACEOF
75981 #define HAVE_ISNANL 1
75982 _ACEOF
75985 done
75987 else
75989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75990 $as_echo_n "checking for _isnanl declaration... " >&6; }
75991 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75992 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75993 $as_echo_n "(cached) " >&6
75994 else
75997 ac_ext=cpp
75998 ac_cpp='$CXXCPP $CPPFLAGS'
75999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76004 /* end confdefs.h. */
76005 #include <math.h>
76006 #ifdef HAVE_IEEEFP_H
76007 #include <ieeefp.h>
76008 #endif
76011 main ()
76013 _isnanl(0);
76015 return 0;
76017 _ACEOF
76018 if ac_fn_cxx_try_compile "$LINENO"; then :
76019 glibcxx_cv_func__isnanl_use=yes
76020 else
76021 glibcxx_cv_func__isnanl_use=no
76023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76024 ac_ext=c
76025 ac_cpp='$CPP $CPPFLAGS'
76026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76035 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76037 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76038 for ac_func in _isnanl
76039 do :
76040 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76041 if test "x$ac_cv_func__isnanl" = x""yes; then :
76042 cat >>confdefs.h <<_ACEOF
76043 #define HAVE__ISNANL 1
76044 _ACEOF
76047 done
76056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76057 $as_echo_n "checking for isinfl declaration... " >&6; }
76058 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76059 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76060 $as_echo_n "(cached) " >&6
76061 else
76064 ac_ext=cpp
76065 ac_cpp='$CXXCPP $CPPFLAGS'
76066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071 /* end confdefs.h. */
76072 #include <math.h>
76073 #ifdef HAVE_IEEEFP_H
76074 #include <ieeefp.h>
76075 #endif
76078 main ()
76080 isinfl(0);
76082 return 0;
76084 _ACEOF
76085 if ac_fn_cxx_try_compile "$LINENO"; then :
76086 glibcxx_cv_func_isinfl_use=yes
76087 else
76088 glibcxx_cv_func_isinfl_use=no
76090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76091 ac_ext=c
76092 ac_cpp='$CPP $CPPFLAGS'
76093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76102 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76104 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76105 for ac_func in isinfl
76106 do :
76107 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76108 if test "x$ac_cv_func_isinfl" = x""yes; then :
76109 cat >>confdefs.h <<_ACEOF
76110 #define HAVE_ISINFL 1
76111 _ACEOF
76114 done
76116 else
76118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76119 $as_echo_n "checking for _isinfl declaration... " >&6; }
76120 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76121 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76122 $as_echo_n "(cached) " >&6
76123 else
76126 ac_ext=cpp
76127 ac_cpp='$CXXCPP $CPPFLAGS'
76128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76133 /* end confdefs.h. */
76134 #include <math.h>
76135 #ifdef HAVE_IEEEFP_H
76136 #include <ieeefp.h>
76137 #endif
76140 main ()
76142 _isinfl(0);
76144 return 0;
76146 _ACEOF
76147 if ac_fn_cxx_try_compile "$LINENO"; then :
76148 glibcxx_cv_func__isinfl_use=yes
76149 else
76150 glibcxx_cv_func__isinfl_use=no
76152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76153 ac_ext=c
76154 ac_cpp='$CPP $CPPFLAGS'
76155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76164 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76166 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76167 for ac_func in _isinfl
76168 do :
76169 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76170 if test "x$ac_cv_func__isinfl" = x""yes; then :
76171 cat >>confdefs.h <<_ACEOF
76172 #define HAVE__ISINFL 1
76173 _ACEOF
76176 done
76185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76186 $as_echo_n "checking for atan2l declaration... " >&6; }
76187 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76188 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76189 $as_echo_n "(cached) " >&6
76190 else
76193 ac_ext=cpp
76194 ac_cpp='$CXXCPP $CPPFLAGS'
76195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76200 /* end confdefs.h. */
76201 #include <math.h>
76203 main ()
76205 atan2l(0, 0);
76207 return 0;
76209 _ACEOF
76210 if ac_fn_cxx_try_compile "$LINENO"; then :
76211 glibcxx_cv_func_atan2l_use=yes
76212 else
76213 glibcxx_cv_func_atan2l_use=no
76215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76216 ac_ext=c
76217 ac_cpp='$CPP $CPPFLAGS'
76218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76227 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76229 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76230 for ac_func in atan2l
76231 do :
76232 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76233 if test "x$ac_cv_func_atan2l" = x""yes; then :
76234 cat >>confdefs.h <<_ACEOF
76235 #define HAVE_ATAN2L 1
76236 _ACEOF
76239 done
76241 else
76243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76244 $as_echo_n "checking for _atan2l declaration... " >&6; }
76245 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76246 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76247 $as_echo_n "(cached) " >&6
76248 else
76251 ac_ext=cpp
76252 ac_cpp='$CXXCPP $CPPFLAGS'
76253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76258 /* end confdefs.h. */
76259 #include <math.h>
76261 main ()
76263 _atan2l(0, 0);
76265 return 0;
76267 _ACEOF
76268 if ac_fn_cxx_try_compile "$LINENO"; then :
76269 glibcxx_cv_func__atan2l_use=yes
76270 else
76271 glibcxx_cv_func__atan2l_use=no
76273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76274 ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76285 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76287 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76288 for ac_func in _atan2l
76289 do :
76290 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76291 if test "x$ac_cv_func__atan2l" = x""yes; then :
76292 cat >>confdefs.h <<_ACEOF
76293 #define HAVE__ATAN2L 1
76294 _ACEOF
76297 done
76306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76307 $as_echo_n "checking for expl declaration... " >&6; }
76308 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76309 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76310 $as_echo_n "(cached) " >&6
76311 else
76314 ac_ext=cpp
76315 ac_cpp='$CXXCPP $CPPFLAGS'
76316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76321 /* end confdefs.h. */
76322 #include <math.h>
76323 #ifdef HAVE_IEEEFP_H
76324 #include <ieeefp.h>
76325 #endif
76328 main ()
76330 expl(0);
76332 return 0;
76334 _ACEOF
76335 if ac_fn_cxx_try_compile "$LINENO"; then :
76336 glibcxx_cv_func_expl_use=yes
76337 else
76338 glibcxx_cv_func_expl_use=no
76340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76341 ac_ext=c
76342 ac_cpp='$CPP $CPPFLAGS'
76343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76352 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76354 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76355 for ac_func in expl
76356 do :
76357 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76358 if test "x$ac_cv_func_expl" = x""yes; then :
76359 cat >>confdefs.h <<_ACEOF
76360 #define HAVE_EXPL 1
76361 _ACEOF
76364 done
76366 else
76368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76369 $as_echo_n "checking for _expl declaration... " >&6; }
76370 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76371 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76372 $as_echo_n "(cached) " >&6
76373 else
76376 ac_ext=cpp
76377 ac_cpp='$CXXCPP $CPPFLAGS'
76378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76383 /* end confdefs.h. */
76384 #include <math.h>
76385 #ifdef HAVE_IEEEFP_H
76386 #include <ieeefp.h>
76387 #endif
76390 main ()
76392 _expl(0);
76394 return 0;
76396 _ACEOF
76397 if ac_fn_cxx_try_compile "$LINENO"; then :
76398 glibcxx_cv_func__expl_use=yes
76399 else
76400 glibcxx_cv_func__expl_use=no
76402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76403 ac_ext=c
76404 ac_cpp='$CPP $CPPFLAGS'
76405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76414 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76416 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76417 for ac_func in _expl
76418 do :
76419 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76420 if test "x$ac_cv_func__expl" = x""yes; then :
76421 cat >>confdefs.h <<_ACEOF
76422 #define HAVE__EXPL 1
76423 _ACEOF
76426 done
76435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76436 $as_echo_n "checking for fabsl declaration... " >&6; }
76437 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76438 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76439 $as_echo_n "(cached) " >&6
76440 else
76443 ac_ext=cpp
76444 ac_cpp='$CXXCPP $CPPFLAGS'
76445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76450 /* end confdefs.h. */
76451 #include <math.h>
76452 #ifdef HAVE_IEEEFP_H
76453 #include <ieeefp.h>
76454 #endif
76457 main ()
76459 fabsl(0);
76461 return 0;
76463 _ACEOF
76464 if ac_fn_cxx_try_compile "$LINENO"; then :
76465 glibcxx_cv_func_fabsl_use=yes
76466 else
76467 glibcxx_cv_func_fabsl_use=no
76469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76470 ac_ext=c
76471 ac_cpp='$CPP $CPPFLAGS'
76472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76481 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76483 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76484 for ac_func in fabsl
76485 do :
76486 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76487 if test "x$ac_cv_func_fabsl" = x""yes; then :
76488 cat >>confdefs.h <<_ACEOF
76489 #define HAVE_FABSL 1
76490 _ACEOF
76493 done
76495 else
76497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76498 $as_echo_n "checking for _fabsl declaration... " >&6; }
76499 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76500 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76501 $as_echo_n "(cached) " >&6
76502 else
76505 ac_ext=cpp
76506 ac_cpp='$CXXCPP $CPPFLAGS'
76507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76512 /* end confdefs.h. */
76513 #include <math.h>
76514 #ifdef HAVE_IEEEFP_H
76515 #include <ieeefp.h>
76516 #endif
76519 main ()
76521 _fabsl(0);
76523 return 0;
76525 _ACEOF
76526 if ac_fn_cxx_try_compile "$LINENO"; then :
76527 glibcxx_cv_func__fabsl_use=yes
76528 else
76529 glibcxx_cv_func__fabsl_use=no
76531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76532 ac_ext=c
76533 ac_cpp='$CPP $CPPFLAGS'
76534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76543 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76545 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76546 for ac_func in _fabsl
76547 do :
76548 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76549 if test "x$ac_cv_func__fabsl" = x""yes; then :
76550 cat >>confdefs.h <<_ACEOF
76551 #define HAVE__FABSL 1
76552 _ACEOF
76555 done
76564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76565 $as_echo_n "checking for fmodl declaration... " >&6; }
76566 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76567 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76568 $as_echo_n "(cached) " >&6
76569 else
76572 ac_ext=cpp
76573 ac_cpp='$CXXCPP $CPPFLAGS'
76574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76579 /* end confdefs.h. */
76580 #include <math.h>
76582 main ()
76584 fmodl(0, 0);
76586 return 0;
76588 _ACEOF
76589 if ac_fn_cxx_try_compile "$LINENO"; then :
76590 glibcxx_cv_func_fmodl_use=yes
76591 else
76592 glibcxx_cv_func_fmodl_use=no
76594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76595 ac_ext=c
76596 ac_cpp='$CPP $CPPFLAGS'
76597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76606 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76608 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76609 for ac_func in fmodl
76610 do :
76611 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76612 if test "x$ac_cv_func_fmodl" = x""yes; then :
76613 cat >>confdefs.h <<_ACEOF
76614 #define HAVE_FMODL 1
76615 _ACEOF
76618 done
76620 else
76622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76623 $as_echo_n "checking for _fmodl declaration... " >&6; }
76624 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76625 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76626 $as_echo_n "(cached) " >&6
76627 else
76630 ac_ext=cpp
76631 ac_cpp='$CXXCPP $CPPFLAGS'
76632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76637 /* end confdefs.h. */
76638 #include <math.h>
76640 main ()
76642 _fmodl(0, 0);
76644 return 0;
76646 _ACEOF
76647 if ac_fn_cxx_try_compile "$LINENO"; then :
76648 glibcxx_cv_func__fmodl_use=yes
76649 else
76650 glibcxx_cv_func__fmodl_use=no
76652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76653 ac_ext=c
76654 ac_cpp='$CPP $CPPFLAGS'
76655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76664 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76666 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76667 for ac_func in _fmodl
76668 do :
76669 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76670 if test "x$ac_cv_func__fmodl" = x""yes; then :
76671 cat >>confdefs.h <<_ACEOF
76672 #define HAVE__FMODL 1
76673 _ACEOF
76676 done
76685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76686 $as_echo_n "checking for frexpl declaration... " >&6; }
76687 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76688 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76689 $as_echo_n "(cached) " >&6
76690 else
76693 ac_ext=cpp
76694 ac_cpp='$CXXCPP $CPPFLAGS'
76695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76700 /* end confdefs.h. */
76701 #include <math.h>
76703 main ()
76705 frexpl(0, 0);
76707 return 0;
76709 _ACEOF
76710 if ac_fn_cxx_try_compile "$LINENO"; then :
76711 glibcxx_cv_func_frexpl_use=yes
76712 else
76713 glibcxx_cv_func_frexpl_use=no
76715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76716 ac_ext=c
76717 ac_cpp='$CPP $CPPFLAGS'
76718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76727 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76729 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76730 for ac_func in frexpl
76731 do :
76732 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76733 if test "x$ac_cv_func_frexpl" = x""yes; then :
76734 cat >>confdefs.h <<_ACEOF
76735 #define HAVE_FREXPL 1
76736 _ACEOF
76739 done
76741 else
76743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76744 $as_echo_n "checking for _frexpl declaration... " >&6; }
76745 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76746 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76747 $as_echo_n "(cached) " >&6
76748 else
76751 ac_ext=cpp
76752 ac_cpp='$CXXCPP $CPPFLAGS'
76753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76758 /* end confdefs.h. */
76759 #include <math.h>
76761 main ()
76763 _frexpl(0, 0);
76765 return 0;
76767 _ACEOF
76768 if ac_fn_cxx_try_compile "$LINENO"; then :
76769 glibcxx_cv_func__frexpl_use=yes
76770 else
76771 glibcxx_cv_func__frexpl_use=no
76773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76774 ac_ext=c
76775 ac_cpp='$CPP $CPPFLAGS'
76776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76785 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76787 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76788 for ac_func in _frexpl
76789 do :
76790 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76791 if test "x$ac_cv_func__frexpl" = x""yes; then :
76792 cat >>confdefs.h <<_ACEOF
76793 #define HAVE__FREXPL 1
76794 _ACEOF
76797 done
76806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76807 $as_echo_n "checking for hypotl declaration... " >&6; }
76808 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76809 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76810 $as_echo_n "(cached) " >&6
76811 else
76814 ac_ext=cpp
76815 ac_cpp='$CXXCPP $CPPFLAGS'
76816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76821 /* end confdefs.h. */
76822 #include <math.h>
76824 main ()
76826 hypotl(0, 0);
76828 return 0;
76830 _ACEOF
76831 if ac_fn_cxx_try_compile "$LINENO"; then :
76832 glibcxx_cv_func_hypotl_use=yes
76833 else
76834 glibcxx_cv_func_hypotl_use=no
76836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76837 ac_ext=c
76838 ac_cpp='$CPP $CPPFLAGS'
76839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76848 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76850 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76851 for ac_func in hypotl
76852 do :
76853 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76854 if test "x$ac_cv_func_hypotl" = x""yes; then :
76855 cat >>confdefs.h <<_ACEOF
76856 #define HAVE_HYPOTL 1
76857 _ACEOF
76860 done
76862 else
76864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76865 $as_echo_n "checking for _hypotl declaration... " >&6; }
76866 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76867 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76868 $as_echo_n "(cached) " >&6
76869 else
76872 ac_ext=cpp
76873 ac_cpp='$CXXCPP $CPPFLAGS'
76874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76879 /* end confdefs.h. */
76880 #include <math.h>
76882 main ()
76884 _hypotl(0, 0);
76886 return 0;
76888 _ACEOF
76889 if ac_fn_cxx_try_compile "$LINENO"; then :
76890 glibcxx_cv_func__hypotl_use=yes
76891 else
76892 glibcxx_cv_func__hypotl_use=no
76894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76895 ac_ext=c
76896 ac_cpp='$CPP $CPPFLAGS'
76897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76906 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76908 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76909 for ac_func in _hypotl
76910 do :
76911 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76912 if test "x$ac_cv_func__hypotl" = x""yes; then :
76913 cat >>confdefs.h <<_ACEOF
76914 #define HAVE__HYPOTL 1
76915 _ACEOF
76918 done
76927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76928 $as_echo_n "checking for ldexpl declaration... " >&6; }
76929 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76930 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76931 $as_echo_n "(cached) " >&6
76932 else
76935 ac_ext=cpp
76936 ac_cpp='$CXXCPP $CPPFLAGS'
76937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76942 /* end confdefs.h. */
76943 #include <math.h>
76945 main ()
76947 ldexpl(0, 0);
76949 return 0;
76951 _ACEOF
76952 if ac_fn_cxx_try_compile "$LINENO"; then :
76953 glibcxx_cv_func_ldexpl_use=yes
76954 else
76955 glibcxx_cv_func_ldexpl_use=no
76957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76958 ac_ext=c
76959 ac_cpp='$CPP $CPPFLAGS'
76960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76969 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76971 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76972 for ac_func in ldexpl
76973 do :
76974 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76975 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76976 cat >>confdefs.h <<_ACEOF
76977 #define HAVE_LDEXPL 1
76978 _ACEOF
76981 done
76983 else
76985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76986 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76987 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76988 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76989 $as_echo_n "(cached) " >&6
76990 else
76993 ac_ext=cpp
76994 ac_cpp='$CXXCPP $CPPFLAGS'
76995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77000 /* end confdefs.h. */
77001 #include <math.h>
77003 main ()
77005 _ldexpl(0, 0);
77007 return 0;
77009 _ACEOF
77010 if ac_fn_cxx_try_compile "$LINENO"; then :
77011 glibcxx_cv_func__ldexpl_use=yes
77012 else
77013 glibcxx_cv_func__ldexpl_use=no
77015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77016 ac_ext=c
77017 ac_cpp='$CPP $CPPFLAGS'
77018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77027 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77029 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77030 for ac_func in _ldexpl
77031 do :
77032 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77033 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77034 cat >>confdefs.h <<_ACEOF
77035 #define HAVE__LDEXPL 1
77036 _ACEOF
77039 done
77048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77049 $as_echo_n "checking for logl declaration... " >&6; }
77050 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77051 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77052 $as_echo_n "(cached) " >&6
77053 else
77056 ac_ext=cpp
77057 ac_cpp='$CXXCPP $CPPFLAGS'
77058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77063 /* end confdefs.h. */
77064 #include <math.h>
77065 #ifdef HAVE_IEEEFP_H
77066 #include <ieeefp.h>
77067 #endif
77070 main ()
77072 logl(0);
77074 return 0;
77076 _ACEOF
77077 if ac_fn_cxx_try_compile "$LINENO"; then :
77078 glibcxx_cv_func_logl_use=yes
77079 else
77080 glibcxx_cv_func_logl_use=no
77082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77083 ac_ext=c
77084 ac_cpp='$CPP $CPPFLAGS'
77085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77094 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77096 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77097 for ac_func in logl
77098 do :
77099 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77100 if test "x$ac_cv_func_logl" = x""yes; then :
77101 cat >>confdefs.h <<_ACEOF
77102 #define HAVE_LOGL 1
77103 _ACEOF
77106 done
77108 else
77110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77111 $as_echo_n "checking for _logl declaration... " >&6; }
77112 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77113 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77114 $as_echo_n "(cached) " >&6
77115 else
77118 ac_ext=cpp
77119 ac_cpp='$CXXCPP $CPPFLAGS'
77120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77125 /* end confdefs.h. */
77126 #include <math.h>
77127 #ifdef HAVE_IEEEFP_H
77128 #include <ieeefp.h>
77129 #endif
77132 main ()
77134 _logl(0);
77136 return 0;
77138 _ACEOF
77139 if ac_fn_cxx_try_compile "$LINENO"; then :
77140 glibcxx_cv_func__logl_use=yes
77141 else
77142 glibcxx_cv_func__logl_use=no
77144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77145 ac_ext=c
77146 ac_cpp='$CPP $CPPFLAGS'
77147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77156 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77158 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77159 for ac_func in _logl
77160 do :
77161 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77162 if test "x$ac_cv_func__logl" = x""yes; then :
77163 cat >>confdefs.h <<_ACEOF
77164 #define HAVE__LOGL 1
77165 _ACEOF
77168 done
77177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77178 $as_echo_n "checking for log10l declaration... " >&6; }
77179 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77180 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77181 $as_echo_n "(cached) " >&6
77182 else
77185 ac_ext=cpp
77186 ac_cpp='$CXXCPP $CPPFLAGS'
77187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77192 /* end confdefs.h. */
77193 #include <math.h>
77194 #ifdef HAVE_IEEEFP_H
77195 #include <ieeefp.h>
77196 #endif
77199 main ()
77201 log10l(0);
77203 return 0;
77205 _ACEOF
77206 if ac_fn_cxx_try_compile "$LINENO"; then :
77207 glibcxx_cv_func_log10l_use=yes
77208 else
77209 glibcxx_cv_func_log10l_use=no
77211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77212 ac_ext=c
77213 ac_cpp='$CPP $CPPFLAGS'
77214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77223 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77225 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77226 for ac_func in log10l
77227 do :
77228 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77229 if test "x$ac_cv_func_log10l" = x""yes; then :
77230 cat >>confdefs.h <<_ACEOF
77231 #define HAVE_LOG10L 1
77232 _ACEOF
77235 done
77237 else
77239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77240 $as_echo_n "checking for _log10l declaration... " >&6; }
77241 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77242 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77243 $as_echo_n "(cached) " >&6
77244 else
77247 ac_ext=cpp
77248 ac_cpp='$CXXCPP $CPPFLAGS'
77249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77254 /* end confdefs.h. */
77255 #include <math.h>
77256 #ifdef HAVE_IEEEFP_H
77257 #include <ieeefp.h>
77258 #endif
77261 main ()
77263 _log10l(0);
77265 return 0;
77267 _ACEOF
77268 if ac_fn_cxx_try_compile "$LINENO"; then :
77269 glibcxx_cv_func__log10l_use=yes
77270 else
77271 glibcxx_cv_func__log10l_use=no
77273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77274 ac_ext=c
77275 ac_cpp='$CPP $CPPFLAGS'
77276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77285 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77287 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77288 for ac_func in _log10l
77289 do :
77290 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77291 if test "x$ac_cv_func__log10l" = x""yes; then :
77292 cat >>confdefs.h <<_ACEOF
77293 #define HAVE__LOG10L 1
77294 _ACEOF
77297 done
77306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77307 $as_echo_n "checking for modfl declaration... " >&6; }
77308 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77309 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77310 $as_echo_n "(cached) " >&6
77311 else
77314 ac_ext=cpp
77315 ac_cpp='$CXXCPP $CPPFLAGS'
77316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77321 /* end confdefs.h. */
77322 #include <math.h>
77324 main ()
77326 modfl(0, 0);
77328 return 0;
77330 _ACEOF
77331 if ac_fn_cxx_try_compile "$LINENO"; then :
77332 glibcxx_cv_func_modfl_use=yes
77333 else
77334 glibcxx_cv_func_modfl_use=no
77336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77337 ac_ext=c
77338 ac_cpp='$CPP $CPPFLAGS'
77339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77348 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77350 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77351 for ac_func in modfl
77352 do :
77353 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77354 if test "x$ac_cv_func_modfl" = x""yes; then :
77355 cat >>confdefs.h <<_ACEOF
77356 #define HAVE_MODFL 1
77357 _ACEOF
77360 done
77362 else
77364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77365 $as_echo_n "checking for _modfl declaration... " >&6; }
77366 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77367 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77368 $as_echo_n "(cached) " >&6
77369 else
77372 ac_ext=cpp
77373 ac_cpp='$CXXCPP $CPPFLAGS'
77374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77379 /* end confdefs.h. */
77380 #include <math.h>
77382 main ()
77384 _modfl(0, 0);
77386 return 0;
77388 _ACEOF
77389 if ac_fn_cxx_try_compile "$LINENO"; then :
77390 glibcxx_cv_func__modfl_use=yes
77391 else
77392 glibcxx_cv_func__modfl_use=no
77394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77395 ac_ext=c
77396 ac_cpp='$CPP $CPPFLAGS'
77397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77406 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77408 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77409 for ac_func in _modfl
77410 do :
77411 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77412 if test "x$ac_cv_func__modfl" = x""yes; then :
77413 cat >>confdefs.h <<_ACEOF
77414 #define HAVE__MODFL 1
77415 _ACEOF
77418 done
77427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77428 $as_echo_n "checking for powl declaration... " >&6; }
77429 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77430 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77431 $as_echo_n "(cached) " >&6
77432 else
77435 ac_ext=cpp
77436 ac_cpp='$CXXCPP $CPPFLAGS'
77437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77442 /* end confdefs.h. */
77443 #include <math.h>
77445 main ()
77447 powl(0, 0);
77449 return 0;
77451 _ACEOF
77452 if ac_fn_cxx_try_compile "$LINENO"; then :
77453 glibcxx_cv_func_powl_use=yes
77454 else
77455 glibcxx_cv_func_powl_use=no
77457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77458 ac_ext=c
77459 ac_cpp='$CPP $CPPFLAGS'
77460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77469 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77471 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77472 for ac_func in powl
77473 do :
77474 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77475 if test "x$ac_cv_func_powl" = x""yes; then :
77476 cat >>confdefs.h <<_ACEOF
77477 #define HAVE_POWL 1
77478 _ACEOF
77481 done
77483 else
77485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77486 $as_echo_n "checking for _powl declaration... " >&6; }
77487 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77488 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77489 $as_echo_n "(cached) " >&6
77490 else
77493 ac_ext=cpp
77494 ac_cpp='$CXXCPP $CPPFLAGS'
77495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77500 /* end confdefs.h. */
77501 #include <math.h>
77503 main ()
77505 _powl(0, 0);
77507 return 0;
77509 _ACEOF
77510 if ac_fn_cxx_try_compile "$LINENO"; then :
77511 glibcxx_cv_func__powl_use=yes
77512 else
77513 glibcxx_cv_func__powl_use=no
77515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77516 ac_ext=c
77517 ac_cpp='$CPP $CPPFLAGS'
77518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77527 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77529 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77530 for ac_func in _powl
77531 do :
77532 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77533 if test "x$ac_cv_func__powl" = x""yes; then :
77534 cat >>confdefs.h <<_ACEOF
77535 #define HAVE__POWL 1
77536 _ACEOF
77539 done
77548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77549 $as_echo_n "checking for sqrtl declaration... " >&6; }
77550 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77551 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77552 $as_echo_n "(cached) " >&6
77553 else
77556 ac_ext=cpp
77557 ac_cpp='$CXXCPP $CPPFLAGS'
77558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77563 /* end confdefs.h. */
77564 #include <math.h>
77565 #ifdef HAVE_IEEEFP_H
77566 #include <ieeefp.h>
77567 #endif
77570 main ()
77572 sqrtl(0);
77574 return 0;
77576 _ACEOF
77577 if ac_fn_cxx_try_compile "$LINENO"; then :
77578 glibcxx_cv_func_sqrtl_use=yes
77579 else
77580 glibcxx_cv_func_sqrtl_use=no
77582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77583 ac_ext=c
77584 ac_cpp='$CPP $CPPFLAGS'
77585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77594 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77596 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77597 for ac_func in sqrtl
77598 do :
77599 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77600 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77601 cat >>confdefs.h <<_ACEOF
77602 #define HAVE_SQRTL 1
77603 _ACEOF
77606 done
77608 else
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77611 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77612 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77613 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77614 $as_echo_n "(cached) " >&6
77615 else
77618 ac_ext=cpp
77619 ac_cpp='$CXXCPP $CPPFLAGS'
77620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77625 /* end confdefs.h. */
77626 #include <math.h>
77627 #ifdef HAVE_IEEEFP_H
77628 #include <ieeefp.h>
77629 #endif
77632 main ()
77634 _sqrtl(0);
77636 return 0;
77638 _ACEOF
77639 if ac_fn_cxx_try_compile "$LINENO"; then :
77640 glibcxx_cv_func__sqrtl_use=yes
77641 else
77642 glibcxx_cv_func__sqrtl_use=no
77644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77645 ac_ext=c
77646 ac_cpp='$CPP $CPPFLAGS'
77647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77656 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77658 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77659 for ac_func in _sqrtl
77660 do :
77661 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77662 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77663 cat >>confdefs.h <<_ACEOF
77664 #define HAVE__SQRTL 1
77665 _ACEOF
77668 done
77677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77678 $as_echo_n "checking for sincosl declaration... " >&6; }
77679 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77680 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77681 $as_echo_n "(cached) " >&6
77682 else
77685 ac_ext=cpp
77686 ac_cpp='$CXXCPP $CPPFLAGS'
77687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77692 /* end confdefs.h. */
77693 #include <math.h>
77695 main ()
77697 sincosl(0, 0, 0);
77699 return 0;
77701 _ACEOF
77702 if ac_fn_cxx_try_compile "$LINENO"; then :
77703 glibcxx_cv_func_sincosl_use=yes
77704 else
77705 glibcxx_cv_func_sincosl_use=no
77707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77708 ac_ext=c
77709 ac_cpp='$CPP $CPPFLAGS'
77710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77719 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77721 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77722 for ac_func in sincosl
77723 do :
77724 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77725 if test "x$ac_cv_func_sincosl" = x""yes; then :
77726 cat >>confdefs.h <<_ACEOF
77727 #define HAVE_SINCOSL 1
77728 _ACEOF
77731 done
77733 else
77735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77736 $as_echo_n "checking for _sincosl declaration... " >&6; }
77737 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77738 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77739 $as_echo_n "(cached) " >&6
77740 else
77743 ac_ext=cpp
77744 ac_cpp='$CXXCPP $CPPFLAGS'
77745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77750 /* end confdefs.h. */
77751 #include <math.h>
77753 main ()
77755 _sincosl(0, 0, 0);
77757 return 0;
77759 _ACEOF
77760 if ac_fn_cxx_try_compile "$LINENO"; then :
77761 glibcxx_cv_func__sincosl_use=yes
77762 else
77763 glibcxx_cv_func__sincosl_use=no
77765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77766 ac_ext=c
77767 ac_cpp='$CPP $CPPFLAGS'
77768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77777 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77779 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77780 for ac_func in _sincosl
77781 do :
77782 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77783 if test "x$ac_cv_func__sincosl" = x""yes; then :
77784 cat >>confdefs.h <<_ACEOF
77785 #define HAVE__SINCOSL 1
77786 _ACEOF
77789 done
77798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77799 $as_echo_n "checking for finitel declaration... " >&6; }
77800 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77801 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77802 $as_echo_n "(cached) " >&6
77803 else
77806 ac_ext=cpp
77807 ac_cpp='$CXXCPP $CPPFLAGS'
77808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77813 /* end confdefs.h. */
77814 #include <math.h>
77815 #ifdef HAVE_IEEEFP_H
77816 #include <ieeefp.h>
77817 #endif
77820 main ()
77822 finitel(0);
77824 return 0;
77826 _ACEOF
77827 if ac_fn_cxx_try_compile "$LINENO"; then :
77828 glibcxx_cv_func_finitel_use=yes
77829 else
77830 glibcxx_cv_func_finitel_use=no
77832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77833 ac_ext=c
77834 ac_cpp='$CPP $CPPFLAGS'
77835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77844 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77846 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77847 for ac_func in finitel
77848 do :
77849 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77850 if test "x$ac_cv_func_finitel" = x""yes; then :
77851 cat >>confdefs.h <<_ACEOF
77852 #define HAVE_FINITEL 1
77853 _ACEOF
77856 done
77858 else
77860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77861 $as_echo_n "checking for _finitel declaration... " >&6; }
77862 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77863 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77864 $as_echo_n "(cached) " >&6
77865 else
77868 ac_ext=cpp
77869 ac_cpp='$CXXCPP $CPPFLAGS'
77870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77875 /* end confdefs.h. */
77876 #include <math.h>
77877 #ifdef HAVE_IEEEFP_H
77878 #include <ieeefp.h>
77879 #endif
77882 main ()
77884 _finitel(0);
77886 return 0;
77888 _ACEOF
77889 if ac_fn_cxx_try_compile "$LINENO"; then :
77890 glibcxx_cv_func__finitel_use=yes
77891 else
77892 glibcxx_cv_func__finitel_use=no
77894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77895 ac_ext=c
77896 ac_cpp='$CPP $CPPFLAGS'
77897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77906 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77908 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77909 for ac_func in _finitel
77910 do :
77911 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77912 if test "x$ac_cv_func__finitel" = x""yes; then :
77913 cat >>confdefs.h <<_ACEOF
77914 #define HAVE__FINITEL 1
77915 _ACEOF
77918 done
77926 LIBS="$ac_save_LIBS"
77927 CXXFLAGS="$ac_save_CXXFLAGS"
77930 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77931 ac_save_CXXFLAGS="$CXXFLAGS"
77932 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77936 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77937 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77938 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77939 $as_echo_n "(cached) " >&6
77940 else
77943 ac_ext=cpp
77944 ac_cpp='$CXXCPP $CPPFLAGS'
77945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77950 /* end confdefs.h. */
77951 #include <stdlib.h>
77953 main ()
77955 at_quick_exit(0);
77957 return 0;
77959 _ACEOF
77960 if ac_fn_cxx_try_compile "$LINENO"; then :
77961 glibcxx_cv_func_at_quick_exit_use=yes
77962 else
77963 glibcxx_cv_func_at_quick_exit_use=no
77965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77966 ac_ext=c
77967 ac_cpp='$CPP $CPPFLAGS'
77968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77977 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77978 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77979 for ac_func in at_quick_exit
77980 do :
77981 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77982 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77983 cat >>confdefs.h <<_ACEOF
77984 #define HAVE_AT_QUICK_EXIT 1
77985 _ACEOF
77988 done
77993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77994 $as_echo_n "checking for quick_exit declaration... " >&6; }
77995 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77996 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77997 $as_echo_n "(cached) " >&6
77998 else
78001 ac_ext=cpp
78002 ac_cpp='$CXXCPP $CPPFLAGS'
78003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78008 /* end confdefs.h. */
78009 #include <stdlib.h>
78011 main ()
78013 quick_exit(0);
78015 return 0;
78017 _ACEOF
78018 if ac_fn_cxx_try_compile "$LINENO"; then :
78019 glibcxx_cv_func_quick_exit_use=yes
78020 else
78021 glibcxx_cv_func_quick_exit_use=no
78023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78024 ac_ext=c
78025 ac_cpp='$CPP $CPPFLAGS'
78026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78035 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78036 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78037 for ac_func in quick_exit
78038 do :
78039 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78040 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78041 cat >>confdefs.h <<_ACEOF
78042 #define HAVE_QUICK_EXIT 1
78043 _ACEOF
78046 done
78051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78052 $as_echo_n "checking for strtold declaration... " >&6; }
78053 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78054 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78055 $as_echo_n "(cached) " >&6
78056 else
78059 ac_ext=cpp
78060 ac_cpp='$CXXCPP $CPPFLAGS'
78061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78066 /* end confdefs.h. */
78067 #include <stdlib.h>
78069 main ()
78071 strtold(0, 0);
78073 return 0;
78075 _ACEOF
78076 if ac_fn_cxx_try_compile "$LINENO"; then :
78077 glibcxx_cv_func_strtold_use=yes
78078 else
78079 glibcxx_cv_func_strtold_use=no
78081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78082 ac_ext=c
78083 ac_cpp='$CPP $CPPFLAGS'
78084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78093 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78094 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78095 for ac_func in strtold
78096 do :
78097 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78098 if test "x$ac_cv_func_strtold" = x""yes; then :
78099 cat >>confdefs.h <<_ACEOF
78100 #define HAVE_STRTOLD 1
78101 _ACEOF
78104 done
78111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78112 $as_echo_n "checking for strtof declaration... " >&6; }
78113 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78114 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78115 $as_echo_n "(cached) " >&6
78116 else
78119 ac_ext=cpp
78120 ac_cpp='$CXXCPP $CPPFLAGS'
78121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78126 /* end confdefs.h. */
78127 #include <stdlib.h>
78129 main ()
78131 strtof(0, 0);
78133 return 0;
78135 _ACEOF
78136 if ac_fn_cxx_try_compile "$LINENO"; then :
78137 glibcxx_cv_func_strtof_use=yes
78138 else
78139 glibcxx_cv_func_strtof_use=no
78141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78142 ac_ext=c
78143 ac_cpp='$CPP $CPPFLAGS'
78144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78153 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78154 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78155 for ac_func in strtof
78156 do :
78157 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78158 if test "x$ac_cv_func_strtof" = x""yes; then :
78159 cat >>confdefs.h <<_ACEOF
78160 #define HAVE_STRTOF 1
78161 _ACEOF
78164 done
78171 CXXFLAGS="$ac_save_CXXFLAGS"
78174 *-vxworks)
78175 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78177 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78179 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78181 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78183 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78185 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78187 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78189 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78191 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78193 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78195 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78197 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78199 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78201 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78203 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78205 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78207 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78209 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78211 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78213 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78217 as_fn_error "No support for this host/target combination." "$LINENO" 5
78219 esac
78223 # At some point, we should differentiate between architectures
78224 # like x86, which have long double versions, and alpha/powerpc/etc.,
78225 # which don't. For the time being, punt.
78226 if test x"long_double_math_on_this_cpu" = x"yes"; then
78227 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78229 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78231 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78233 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78235 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78237 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78239 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78241 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78243 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78245 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78247 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78249 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78251 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78253 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78255 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78257 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78259 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78261 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78263 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78265 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78267 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78269 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78271 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78276 # Check for _Unwind_GetIPInfo.
78279 # Check whether --with-system-libunwind was given.
78280 if test "${with_system_libunwind+set}" = set; then :
78281 withval=$with_system_libunwind;
78284 # If system-libunwind was not specifically set, pick a default setting.
78285 if test x$with_system_libunwind = x; then
78286 case ${target} in
78287 ia64-*-hpux*) with_system_libunwind=yes ;;
78288 *) with_system_libunwind=no ;;
78289 esac
78291 # Based on system-libunwind and target, do we have ipinfo?
78292 if test x$with_system_libunwind = xyes; then
78293 case ${target} in
78294 ia64-*-*) have_unwind_getipinfo=no ;;
78295 *) have_unwind_getipinfo=yes ;;
78296 esac
78297 else
78298 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78300 case ${target} in
78301 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78302 *) have_unwind_getipinfo=yes ;;
78303 esac
78307 if test x$have_unwind_getipinfo = xyes; then
78309 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78314 # Check whether --enable-linux-futex was given.
78315 if test "${enable_linux_futex+set}" = set; then :
78316 enableval=$enable_linux_futex;
78317 case "$enableval" in
78318 yes|no|default) ;;
78319 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78320 esac
78322 else
78323 enable_linux_futex=default
78327 case "$target" in
78328 *-linux*)
78329 case "$enable_linux_futex" in
78330 default)
78331 # If headers don't have gettid/futex syscalls definition, then
78332 # default to no, otherwise there will be compile time failures.
78333 # Otherwise, default to yes. If we don't detect we are
78334 # compiled/linked against NPTL and not cross-compiling, check
78335 # if programs are run by default against NPTL and if not, issue
78336 # a warning.
78337 enable_linux_futex=no
78338 if test x$gcc_no_link = xyes; then
78339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78342 /* end confdefs.h. */
78343 #include <sys/syscall.h>
78344 int lk;
78346 main ()
78348 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78350 return 0;
78352 _ACEOF
78353 if ac_fn_c_try_link "$LINENO"; then :
78354 save_LIBS="$LIBS"
78355 LIBS="-lpthread $LIBS"
78356 if test x$gcc_no_link = xyes; then
78357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78360 /* end confdefs.h. */
78361 #ifndef _GNU_SOURCE
78362 #define _GNU_SOURCE 1
78363 #endif
78364 #include <pthread.h>
78365 pthread_t th; void *status;
78367 main ()
78369 pthread_tryjoin_np (th, &status);
78371 return 0;
78373 _ACEOF
78374 if ac_fn_c_try_link "$LINENO"; then :
78375 enable_linux_futex=yes
78376 else
78377 if test x$cross_compiling = xno; then
78378 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78379 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78380 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78381 If so, please configure with --disable-linux-futex" >&5
78382 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78383 If so, please configure with --disable-linux-futex" >&2;}
78386 enable_linux_futex=yes
78388 rm -f core conftest.err conftest.$ac_objext \
78389 conftest$ac_exeext conftest.$ac_ext
78390 LIBS="$save_LIBS"
78392 rm -f core conftest.err conftest.$ac_objext \
78393 conftest$ac_exeext conftest.$ac_ext
78395 yes)
78396 if test x$gcc_no_link = xyes; then
78397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78400 /* end confdefs.h. */
78401 #include <sys/syscall.h>
78402 int lk;
78404 main ()
78406 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78408 return 0;
78410 _ACEOF
78411 if ac_fn_c_try_link "$LINENO"; then :
78413 else
78414 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78416 rm -f core conftest.err conftest.$ac_objext \
78417 conftest$ac_exeext conftest.$ac_ext
78419 esac
78422 enable_linux_futex=no
78424 esac
78425 if test x$enable_linux_futex = xyes; then
78427 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78434 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78436 acx_cv_header_stdint=stddef.h
78437 acx_cv_header_stdint_kind="(already complete)"
78438 for i in stdint.h $inttype_headers; do
78439 unset ac_cv_type_uintptr_t
78440 unset ac_cv_type_uintmax_t
78441 unset ac_cv_type_int_least32_t
78442 unset ac_cv_type_int_fast32_t
78443 unset ac_cv_type_uint64_t
78444 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78445 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78446 #include <$i>
78448 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78449 acx_cv_header_stdint=$i
78450 else
78451 continue
78454 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78455 #include <$i>
78457 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78459 else
78460 acx_cv_header_stdint_kind="(mostly complete)"
78463 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78464 #include <$i>
78466 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78468 else
78469 acx_cv_header_stdint_kind="(mostly complete)"
78472 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78473 #include <$i>
78475 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78477 else
78478 acx_cv_header_stdint_kind="(mostly complete)"
78481 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78482 #include <$i>
78484 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78486 else
78487 acx_cv_header_stdint_kind="(lacks uint64_t)"
78490 break
78491 done
78492 if test "$acx_cv_header_stdint" = stddef.h; then
78493 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78494 for i in stdint.h $inttype_headers; do
78495 unset ac_cv_type_uintptr_t
78496 unset ac_cv_type_uint32_t
78497 unset ac_cv_type_uint64_t
78498 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78499 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78500 #include <$i>
78502 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78503 acx_cv_header_stdint=$i
78504 else
78505 continue
78508 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78509 #include <$i>
78511 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78515 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78516 #include <$i>
78518 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78522 break
78523 done
78525 if test "$acx_cv_header_stdint" = stddef.h; then
78526 acx_cv_header_stdint_kind="(u_intXX_t style)"
78527 for i in sys/types.h $inttype_headers; do
78528 unset ac_cv_type_u_int32_t
78529 unset ac_cv_type_u_int64_t
78530 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78531 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78532 #include <$i>
78534 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78535 acx_cv_header_stdint=$i
78536 else
78537 continue
78540 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78541 #include <$i>
78543 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78547 break
78548 done
78550 if test "$acx_cv_header_stdint" = stddef.h; then
78551 acx_cv_header_stdint_kind="(using manual detection)"
78554 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78555 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78556 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78557 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78558 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78560 # ----------------- Summarize what we found so far
78562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78563 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78565 case `$as_basename -- include/gstdint.h ||
78566 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78567 Xinclude/gstdint.h : 'X\(//\)$' \| \
78568 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78569 $as_echo X/include/gstdint.h |
78570 sed '/^.*\/\([^/][^/]*\)\/*$/{
78571 s//\1/
78574 /^X\/\(\/\/\)$/{
78575 s//\1/
78578 /^X\/\(\/\).*/{
78579 s//\1/
78582 s/.*/./; q'` in
78583 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78584 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78585 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78586 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78587 *) ;;
78588 esac
78590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78591 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78593 # ----------------- done included file, check C basic types --------
78595 # Lacking an uintptr_t? Test size of void *
78596 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78597 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78598 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78599 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78600 # This bug is HP SR number 8606223364.
78601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78602 $as_echo_n "checking size of void *... " >&6; }
78603 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78604 $as_echo_n "(cached) " >&6
78605 else
78606 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78608 else
78609 if test "$ac_cv_type_void_p" = yes; then
78610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78612 { as_fn_set_status 77
78613 as_fn_error "cannot compute sizeof (void *)
78614 See \`config.log' for more details." "$LINENO" 5; }; }
78615 else
78616 ac_cv_sizeof_void_p=0
78621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78622 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78626 cat >>confdefs.h <<_ACEOF
78627 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78628 _ACEOF
78631 esac
78633 # Lacking an uint64_t? Test size of long
78634 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78635 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78636 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78637 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78638 # This bug is HP SR number 8606223364.
78639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78640 $as_echo_n "checking size of long... " >&6; }
78641 if test "${ac_cv_sizeof_long+set}" = set; then :
78642 $as_echo_n "(cached) " >&6
78643 else
78644 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78646 else
78647 if test "$ac_cv_type_long" = yes; then
78648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78650 { as_fn_set_status 77
78651 as_fn_error "cannot compute sizeof (long)
78652 See \`config.log' for more details." "$LINENO" 5; }; }
78653 else
78654 ac_cv_sizeof_long=0
78659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78660 $as_echo "$ac_cv_sizeof_long" >&6; }
78664 cat >>confdefs.h <<_ACEOF
78665 #define SIZEOF_LONG $ac_cv_sizeof_long
78666 _ACEOF
78669 esac
78671 if test $acx_cv_header_stdint = stddef.h; then
78672 # Lacking a good header? Test size of everything and deduce all types.
78673 # The cast to long int works around a bug in the HP C Compiler
78674 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78675 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78676 # This bug is HP SR number 8606223364.
78677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78678 $as_echo_n "checking size of int... " >&6; }
78679 if test "${ac_cv_sizeof_int+set}" = set; then :
78680 $as_echo_n "(cached) " >&6
78681 else
78682 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78684 else
78685 if test "$ac_cv_type_int" = yes; then
78686 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78687 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78688 { as_fn_set_status 77
78689 as_fn_error "cannot compute sizeof (int)
78690 See \`config.log' for more details." "$LINENO" 5; }; }
78691 else
78692 ac_cv_sizeof_int=0
78697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78698 $as_echo "$ac_cv_sizeof_int" >&6; }
78702 cat >>confdefs.h <<_ACEOF
78703 #define SIZEOF_INT $ac_cv_sizeof_int
78704 _ACEOF
78707 # The cast to long int works around a bug in the HP C Compiler
78708 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78709 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78710 # This bug is HP SR number 8606223364.
78711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78712 $as_echo_n "checking size of short... " >&6; }
78713 if test "${ac_cv_sizeof_short+set}" = set; then :
78714 $as_echo_n "(cached) " >&6
78715 else
78716 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78718 else
78719 if test "$ac_cv_type_short" = yes; then
78720 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78721 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78722 { as_fn_set_status 77
78723 as_fn_error "cannot compute sizeof (short)
78724 See \`config.log' for more details." "$LINENO" 5; }; }
78725 else
78726 ac_cv_sizeof_short=0
78731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78732 $as_echo "$ac_cv_sizeof_short" >&6; }
78736 cat >>confdefs.h <<_ACEOF
78737 #define SIZEOF_SHORT $ac_cv_sizeof_short
78738 _ACEOF
78741 # The cast to long int works around a bug in the HP C Compiler
78742 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78743 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78744 # This bug is HP SR number 8606223364.
78745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78746 $as_echo_n "checking size of char... " >&6; }
78747 if test "${ac_cv_sizeof_char+set}" = set; then :
78748 $as_echo_n "(cached) " >&6
78749 else
78750 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78752 else
78753 if test "$ac_cv_type_char" = yes; then
78754 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78756 { as_fn_set_status 77
78757 as_fn_error "cannot compute sizeof (char)
78758 See \`config.log' for more details." "$LINENO" 5; }; }
78759 else
78760 ac_cv_sizeof_char=0
78765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78766 $as_echo "$ac_cv_sizeof_char" >&6; }
78770 cat >>confdefs.h <<_ACEOF
78771 #define SIZEOF_CHAR $ac_cv_sizeof_char
78772 _ACEOF
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78777 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78778 case "$ac_cv_sizeof_char" in
78779 1) acx_cv_type_int8_t=char ;;
78780 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78781 esac
78782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78783 $as_echo "$acx_cv_type_int8_t" >&6; }
78785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78786 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78787 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78788 2:*) acx_cv_type_int16_t=int ;;
78789 *:2) acx_cv_type_int16_t=short ;;
78790 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78791 esac
78792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78793 $as_echo "$acx_cv_type_int16_t" >&6; }
78795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78796 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78797 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78798 4:*) acx_cv_type_int32_t=int ;;
78799 *:4) acx_cv_type_int32_t=long ;;
78800 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78801 esac
78802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78803 $as_echo "$acx_cv_type_int32_t" >&6; }
78806 # These tests are here to make the output prettier
78808 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78809 case "$ac_cv_sizeof_long" in
78810 8) acx_cv_type_int64_t=long ;;
78811 esac
78812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78813 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78815 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78818 # Now we can use the above types
78820 if test "$ac_cv_type_uintptr_t" != yes; then
78821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78822 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78823 case $ac_cv_sizeof_void_p in
78824 2) acx_cv_type_intptr_t=int16_t ;;
78825 4) acx_cv_type_intptr_t=int32_t ;;
78826 8) acx_cv_type_intptr_t=int64_t ;;
78827 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78828 esac
78829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78830 $as_echo "$acx_cv_type_intptr_t" >&6; }
78833 # ----------------- done all checks, emit header -------------
78834 ac_config_commands="$ac_config_commands include/gstdint.h"
78840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78841 $as_echo_n "checking for GNU c++filt... " >&6; }
78842 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78843 $as_echo_n "(cached) " >&6
78844 else
78845 if test -z "$CXXFILT"; then
78846 ac_path_CXXFILT_found=false
78847 # Loop through the user's path and test for each of PROGNAME-LIST
78848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78849 for as_dir in $PATH
78851 IFS=$as_save_IFS
78852 test -z "$as_dir" && as_dir=.
78853 for ac_prog in c++filt gc++filt; do
78854 for ac_exec_ext in '' $ac_executable_extensions; do
78855 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78856 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78857 # Check for GNU $ac_path_CXXFILT
78858 case `"$ac_path_CXXFILT" --version 2>&1` in
78859 *GNU*)
78860 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78861 esac
78863 $ac_path_CXXFILT_found && break 3
78864 done
78865 done
78866 done
78867 IFS=$as_save_IFS
78868 if test -z "$ac_cv_path_CXXFILT"; then
78871 else
78872 ac_cv_path_CXXFILT=$CXXFILT
78876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78877 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78878 CXXFILT=$ac_cv_path_CXXFILT
78882 # Check whether --enable-symvers was given.
78883 if test "${enable_symvers+set}" = set; then :
78884 enableval=$enable_symvers;
78885 case "$enableval" in
78886 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78887 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78888 esac
78890 else
78891 enable_symvers=yes
78896 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78897 # don't know enough about $LD to do tricks...
78899 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78900 # with extern "C++" in version scripts.
78903 # Turn a 'yes' into a suitable default.
78904 if test x$enable_symvers = xyes ; then
78905 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78906 enable_symvers=no
78907 else
78908 if test $with_gnu_ld = yes ; then
78909 case ${target_os} in
78910 hpux*)
78911 enable_symvers=no ;;
78913 enable_symvers=gnu ;;
78914 esac
78915 else
78916 case ${target_os} in
78917 darwin*)
78918 enable_symvers=darwin ;;
78919 # Sun symbol versioning exists since Solaris 2.5.
78920 solaris2.[5-9]* | solaris2.1[0-9]*)
78921 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78922 # version scripts, so disable symbol versioning if none can be
78923 # found.
78924 if test -z "$ac_cv_path_CXXFILT"; then
78925 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78926 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78928 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78930 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78931 enable_symvers=no
78932 else
78933 enable_symvers=sun
78937 enable_symvers=no ;;
78938 esac
78943 # Check to see if 'darwin' or 'darwin-export' can win.
78944 if test x$enable_symvers = xdarwin-export ; then
78945 enable_symvers=darwin
78948 # Check if 'sun' was requested on non-Solaris 2 platforms.
78949 if test x$enable_symvers = xsun ; then
78950 case ${target_os} in
78951 solaris2*)
78952 # All fine.
78955 # Unlikely to work.
78956 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78957 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78959 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78961 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78962 enable_symvers=no
78964 esac
78967 # Check to see if 'gnu' can win.
78968 if test $enable_symvers = gnu ||
78969 test $enable_symvers = gnu-versioned-namespace ||
78970 test $enable_symvers = sun; then
78971 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78973 $as_echo_n "checking for shared libgcc... " >&6; }
78974 ac_save_CFLAGS="$CFLAGS"
78975 CFLAGS=' -lgcc_s'
78976 if test x$gcc_no_link = xyes; then
78977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78980 /* end confdefs.h. */
78983 main ()
78985 return 0;
78987 return 0;
78989 _ACEOF
78990 if ac_fn_c_try_link "$LINENO"; then :
78991 glibcxx_shared_libgcc=yes
78992 else
78993 glibcxx_shared_libgcc=no
78995 rm -f core conftest.err conftest.$ac_objext \
78996 conftest$ac_exeext conftest.$ac_ext
78997 CFLAGS="$ac_save_CFLAGS"
78998 if test $glibcxx_shared_libgcc = no; then
78999 cat > conftest.c <<EOF
79000 int main (void) { return 0; }
79002 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79003 -shared -shared-libgcc -o conftest.so \
79004 conftest.c -v 2>&1 >/dev/null \
79005 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79006 rm -f conftest.c conftest.so
79007 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79008 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79009 if test x$gcc_no_link = xyes; then
79010 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79013 /* end confdefs.h. */
79016 main ()
79018 return 0;
79020 return 0;
79022 _ACEOF
79023 if ac_fn_c_try_link "$LINENO"; then :
79024 glibcxx_shared_libgcc=yes
79026 rm -f core conftest.err conftest.$ac_objext \
79027 conftest$ac_exeext conftest.$ac_ext
79028 CFLAGS="$ac_save_CFLAGS"
79031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79032 $as_echo "$glibcxx_shared_libgcc" >&6; }
79034 # For GNU ld, we need at least this version. The format is described in
79035 # GLIBCXX_CHECK_LINKER_FEATURES above.
79036 glibcxx_min_gnu_ld_version=21400
79038 # If no shared libgcc, can't win.
79039 if test $glibcxx_shared_libgcc != yes; then
79040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79041 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79042 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79043 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79045 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79046 enable_symvers=no
79047 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79048 : All interesting versions of Sun ld support sun style symbol versioning.
79049 elif test $with_gnu_ld != yes ; then
79050 # just fail for now
79051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79052 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79054 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79055 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79056 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79057 enable_symvers=no
79058 elif test $glibcxx_ld_is_gold = yes ; then
79059 : All versions of gold support symbol versioning.
79060 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79061 # The right tools, the right setup, but too old. Fallbacks?
79062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79063 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79065 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79067 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79069 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79071 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79072 enable_symvers=no
79076 # For libtool versioning info, format is CURRENT:REVISION:AGE
79077 libtool_VERSION=6:23:0
79079 # Everything parsed; figure out what files and settings to use.
79080 case $enable_symvers in
79082 SYMVER_FILE=config/abi/pre/none.ver
79084 gnu)
79085 SYMVER_FILE=config/abi/pre/gnu.ver
79087 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79090 gnu-versioned-namespace)
79091 libtool_VERSION=7:0:0
79092 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79094 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79097 darwin)
79098 SYMVER_FILE=config/abi/pre/gnu.ver
79100 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79103 sun)
79104 SYMVER_FILE=config/abi/pre/gnu.ver
79106 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79109 esac
79111 if test x$enable_symvers != xno ; then
79113 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79118 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79119 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79120 $as_echo_n "(cached) " >&6
79121 else
79123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79124 /* end confdefs.h. */
79125 void foo (void); __asm (".symver foo, bar@SYMVER");
79127 main ()
79131 return 0;
79133 _ACEOF
79134 if ac_fn_c_try_compile "$LINENO"; then :
79135 glibcxx_cv_have_as_symver_directive=yes
79136 else
79137 glibcxx_cv_have_as_symver_directive=no
79139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79142 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79143 if test $glibcxx_cv_have_as_symver_directive = yes; then
79145 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79156 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79157 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79159 if test $enable_symvers != no ; then
79160 case ${target_os} in
79161 # The Solaris 2 runtime linker doesn't support the GNU extension of
79162 # binding the same symbol to different versions
79163 solaris2*)
79165 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79168 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79171 esac
79174 # Now, set up compatibility support, if any.
79175 # In addition, need this to deal with std::size_t mangling in
79176 # src/compatibility.cc. In a perfect world, could use
79177 # typeid(std::size_t).name()[0] to do direct substitution.
79178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79179 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79180 ac_save_CFLAGS="$CFLAGS"
79181 CFLAGS="-Werror"
79182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79183 /* end confdefs.h. */
79186 main ()
79188 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79190 return 0;
79192 _ACEOF
79193 if ac_fn_c_try_compile "$LINENO"; then :
79194 glibcxx_size_t_is_i=yes
79195 else
79196 glibcxx_size_t_is_i=no
79198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79199 CFLAGS=$ac_save_CFLAGS
79200 if test "$glibcxx_size_t_is_i" = yes; then
79202 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79206 $as_echo "$glibcxx_size_t_is_i" >&6; }
79208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79209 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79210 ac_save_CFLAGS="$CFLAGS"
79211 CFLAGS="-Werror"
79212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79213 /* end confdefs.h. */
79216 main ()
79218 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79220 return 0;
79222 _ACEOF
79223 if ac_fn_c_try_compile "$LINENO"; then :
79224 glibcxx_ptrdiff_t_is_i=yes
79225 else
79226 glibcxx_ptrdiff_t_is_i=no
79228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79229 CFLAGS=$ac_save_CFLAGS
79230 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79232 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79236 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79241 # Check whether --enable-libstdcxx-visibility was given.
79242 if test "${enable_libstdcxx_visibility+set}" = set; then :
79243 enableval=$enable_libstdcxx_visibility;
79244 case "$enableval" in
79245 yes|no) ;;
79246 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79247 esac
79249 else
79250 enable_libstdcxx_visibility=yes
79255 if test x$enable_libstdcxx_visibility = xyes ; then
79256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79257 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79258 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79259 $as_echo_n "(cached) " >&6
79260 else
79262 save_CFLAGS="$CFLAGS"
79263 CFLAGS="$CFLAGS -Werror"
79264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79265 /* end confdefs.h. */
79266 void __attribute__((visibility("hidden"))) foo(void) { }
79268 main ()
79272 return 0;
79274 _ACEOF
79275 if ac_fn_c_try_compile "$LINENO"; then :
79276 glibcxx_cv_have_attribute_visibility=yes
79277 else
79278 glibcxx_cv_have_attribute_visibility=no
79280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79281 CFLAGS="$save_CFLAGS"
79283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79284 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79285 if test $glibcxx_cv_have_attribute_visibility = no; then
79286 enable_libstdcxx_visibility=no
79291 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79292 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79296 # Check whether --enable-libstdcxx-dual-abi was given.
79297 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79298 enableval=$enable_libstdcxx_dual_abi;
79299 case "$enableval" in
79300 yes|no) ;;
79301 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79302 esac
79304 else
79305 enable_libstdcxx_dual_abi=yes
79309 if test x$enable_symvers = xgnu-versioned-namespace; then
79310 # gnu-versioned-namespace is incompatible with the dual ABI.
79311 enable_libstdcxx_dual_abi="no"
79313 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79314 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79315 $as_echo "$as_me: dual ABI is disabled" >&6;}
79316 default_libstdcxx_abi="gcc4-compatible"
79321 if test x$enable_libstdcxx_dual_abi = xyes; then
79322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79323 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79325 # Check whether --with-default-libstdcxx-abi was given.
79326 if test "${with_default_libstdcxx_abi+set}" = set; then :
79327 withval=$with_default_libstdcxx_abi; case "$withval" in
79328 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79329 new|cxx11) default_libstdcxx_abi="new" ;;
79330 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79331 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79332 esac
79334 else
79335 default_libstdcxx_abi="new"
79338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79339 $as_echo "${default_libstdcxx_abi}" >&6; }
79341 if test $default_libstdcxx_abi = "new"; then
79342 glibcxx_cxx11_abi=1
79343 glibcxx_cxx98_abi=0
79344 else
79345 glibcxx_cxx11_abi=0
79346 glibcxx_cxx98_abi=1
79352 ac_ldbl_compat=no
79353 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79354 case "$target" in
79355 powerpc*-*-linux* | \
79356 sparc*-*-linux* | \
79357 s390*-*-linux* | \
79358 alpha*-*-linux*)
79359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79360 /* end confdefs.h. */
79363 main ()
79366 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79367 #error no need for long double compatibility
79368 #endif
79371 return 0;
79373 _ACEOF
79374 if ac_fn_c_try_compile "$LINENO"; then :
79375 ac_ldbl_compat=yes
79376 else
79377 ac_ldbl_compat=no
79379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79380 if test "$ac_ldbl_compat" = yes; then
79382 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79384 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79385 case "$target" in
79386 powerpc*-*-linux*)
79387 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79388 esac
79390 esac
79394 # Check if assembler supports disabling hardware capability support.
79396 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79398 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79399 # with a different meaning.
79400 case ${target_os} in
79401 solaris2*)
79402 ac_save_CFLAGS="$CFLAGS"
79403 CFLAGS="$CFLAGS -Wa,-nH"
79405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79406 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79408 /* end confdefs.h. */
79411 main ()
79413 return 0;
79415 return 0;
79417 _ACEOF
79418 if ac_fn_c_try_compile "$LINENO"; then :
79419 ac_hwcap_flags=yes
79420 else
79421 ac_hwcap_flags=no
79423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79424 if test "$ac_hwcap_flags" = "yes"; then
79425 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79428 $as_echo "$ac_hwcap_flags" >&6; }
79430 CFLAGS="$ac_save_CFLAGS"
79432 esac
79437 # Check if assembler supports rdrand opcode.
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79440 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79441 if test "${ac_cv_x86_rdrand+set}" = set; then :
79442 $as_echo_n "(cached) " >&6
79443 else
79445 ac_cv_x86_rdrand=no
79446 case "$target" in
79447 i?86-*-* | \
79448 x86_64-*-*)
79449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79450 /* end confdefs.h. */
79453 main ()
79455 asm("rdrand %eax");
79457 return 0;
79459 _ACEOF
79460 if ac_fn_c_try_compile "$LINENO"; then :
79461 ac_cv_x86_rdrand=yes
79462 else
79463 ac_cv_x86_rdrand=no
79465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79466 esac
79470 if test $ac_cv_x86_rdrand = yes; then
79472 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79476 $as_echo "$ac_cv_x86_rdrand" >&6; }
79479 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79481 # Do checks for resource limit functions.
79483 setrlimit_have_headers=yes
79484 for ac_header in unistd.h sys/time.h sys/resource.h
79485 do :
79486 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79487 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79488 eval as_val=\$$as_ac_Header
79489 if test "x$as_val" = x""yes; then :
79490 cat >>confdefs.h <<_ACEOF
79491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79492 _ACEOF
79494 else
79495 setrlimit_have_headers=no
79498 done
79500 # If don't have the headers, then we can't run the tests now, and we
79501 # won't be seeing any of these during testsuite compilation.
79502 if test $setrlimit_have_headers = yes; then
79503 # Can't do these in a loop, else the resulting syntax is wrong.
79505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79506 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79508 /* end confdefs.h. */
79509 #include <unistd.h>
79510 #include <sys/time.h>
79511 #include <sys/resource.h>
79514 main ()
79516 int f = RLIMIT_DATA ;
79518 return 0;
79520 _ACEOF
79521 if ac_fn_c_try_compile "$LINENO"; then :
79522 glibcxx_mresult=1
79523 else
79524 glibcxx_mresult=0
79526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79528 cat >>confdefs.h <<_ACEOF
79529 #define HAVE_LIMIT_DATA $glibcxx_mresult
79530 _ACEOF
79532 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79534 $as_echo "$res" >&6; }
79537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79538 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79540 /* end confdefs.h. */
79541 #include <unistd.h>
79542 #include <sys/time.h>
79543 #include <sys/resource.h>
79546 main ()
79548 int f = RLIMIT_RSS ;
79550 return 0;
79552 _ACEOF
79553 if ac_fn_c_try_compile "$LINENO"; then :
79554 glibcxx_mresult=1
79555 else
79556 glibcxx_mresult=0
79558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79560 cat >>confdefs.h <<_ACEOF
79561 #define HAVE_LIMIT_RSS $glibcxx_mresult
79562 _ACEOF
79564 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79566 $as_echo "$res" >&6; }
79569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79570 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79572 /* end confdefs.h. */
79573 #include <unistd.h>
79574 #include <sys/time.h>
79575 #include <sys/resource.h>
79578 main ()
79580 int f = RLIMIT_VMEM ;
79582 return 0;
79584 _ACEOF
79585 if ac_fn_c_try_compile "$LINENO"; then :
79586 glibcxx_mresult=1
79587 else
79588 glibcxx_mresult=0
79590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79592 cat >>confdefs.h <<_ACEOF
79593 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79594 _ACEOF
79596 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79598 $as_echo "$res" >&6; }
79601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79602 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79604 /* end confdefs.h. */
79605 #include <unistd.h>
79606 #include <sys/time.h>
79607 #include <sys/resource.h>
79610 main ()
79612 int f = RLIMIT_AS ;
79614 return 0;
79616 _ACEOF
79617 if ac_fn_c_try_compile "$LINENO"; then :
79618 glibcxx_mresult=1
79619 else
79620 glibcxx_mresult=0
79622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79624 cat >>confdefs.h <<_ACEOF
79625 #define HAVE_LIMIT_AS $glibcxx_mresult
79626 _ACEOF
79628 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79630 $as_echo "$res" >&6; }
79633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79634 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79636 /* end confdefs.h. */
79637 #include <unistd.h>
79638 #include <sys/time.h>
79639 #include <sys/resource.h>
79642 main ()
79644 int f = RLIMIT_FSIZE ;
79646 return 0;
79648 _ACEOF
79649 if ac_fn_c_try_compile "$LINENO"; then :
79650 glibcxx_mresult=1
79651 else
79652 glibcxx_mresult=0
79654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79656 cat >>confdefs.h <<_ACEOF
79657 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79658 _ACEOF
79660 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79662 $as_echo "$res" >&6; }
79665 # Check for rlimit, setrlimit.
79666 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79667 $as_echo_n "(cached) " >&6
79668 else
79670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79671 /* end confdefs.h. */
79672 #include <unistd.h>
79673 #include <sys/time.h>
79674 #include <sys/resource.h>
79677 main ()
79679 struct rlimit r;
79680 setrlimit(0, &r);
79682 return 0;
79684 _ACEOF
79685 if ac_fn_c_try_compile "$LINENO"; then :
79686 glibcxx_cv_setrlimit=yes
79687 else
79688 glibcxx_cv_setrlimit=no
79690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79697 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79698 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79699 ac_res_limits=yes
79701 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79703 else
79704 ac_res_limits=no
79706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79707 $as_echo "$ac_res_limits" >&6; }
79710 if $GLIBCXX_IS_NATIVE ; then
79711 # Look for setenv, so that extended locale tests can be performed.
79713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79714 $as_echo_n "checking for setenv declaration... " >&6; }
79715 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79716 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79717 $as_echo_n "(cached) " >&6
79718 else
79721 ac_ext=cpp
79722 ac_cpp='$CXXCPP $CPPFLAGS'
79723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79728 /* end confdefs.h. */
79729 #include <stdlib.h>
79731 main ()
79733 setenv(0, 0, 0);
79735 return 0;
79737 _ACEOF
79738 if ac_fn_cxx_try_compile "$LINENO"; then :
79739 glibcxx_cv_func_setenv_use=yes
79740 else
79741 glibcxx_cv_func_setenv_use=no
79743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79744 ac_ext=c
79745 ac_cpp='$CPP $CPPFLAGS'
79746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79755 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79756 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79757 for ac_func in setenv
79758 do :
79759 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79760 if test "x$ac_cv_func_setenv" = x""yes; then :
79761 cat >>confdefs.h <<_ACEOF
79762 #define HAVE_SETENV 1
79763 _ACEOF
79766 done
79772 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79773 test $enable_symvers != no; then
79774 case "$host" in
79775 *-*-cygwin*)
79776 enable_abi_check=no ;;
79778 enable_abi_check=yes ;;
79779 esac
79780 else
79781 # Only build this as native, since automake does not understand
79782 # CXX_FOR_BUILD.
79783 enable_abi_check=no
79786 # Export file names for ABI checking.
79787 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79789 baseline_subdir_switch="$abi_baseline_subdir_switch"
79793 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79795 # Check whether --enable-libstdcxx-threads was given.
79796 if test "${enable_libstdcxx_threads+set}" = set; then :
79797 enableval=$enable_libstdcxx_threads;
79798 case "$enableval" in
79799 yes|no) ;;
79800 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79801 esac
79803 else
79804 enable_libstdcxx_threads=auto
79809 if test x$enable_libstdcxx_threads = xauto ||
79810 test x$enable_libstdcxx_threads = xyes; then
79813 ac_ext=cpp
79814 ac_cpp='$CXXCPP $CPPFLAGS'
79815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79820 ac_save_CXXFLAGS="$CXXFLAGS"
79821 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79822 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79824 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79825 case $target_thread_file in
79826 posix)
79827 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79828 esac
79830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79831 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79834 /* end confdefs.h. */
79835 #include <unistd.h>
79837 main ()
79840 // In case of POSIX threads check _POSIX_TIMEOUTS.
79841 #if (defined(_PTHREADS) \
79842 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79843 #error
79844 #endif
79847 return 0;
79849 _ACEOF
79850 if ac_fn_cxx_try_compile "$LINENO"; then :
79851 ac_gthread_use_mutex_timedlock=1
79852 else
79853 ac_gthread_use_mutex_timedlock=0
79855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79858 cat >>confdefs.h <<_ACEOF
79859 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79860 _ACEOF
79863 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79864 else res_mutex_timedlock=no ; fi
79865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79866 $as_echo "$res_mutex_timedlock" >&6; }
79868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79869 $as_echo_n "checking for gthreads library... " >&6; }
79871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79872 /* end confdefs.h. */
79873 #include "gthr.h"
79875 main ()
79878 #ifndef __GTHREADS_CXX0X
79879 #error
79880 #endif
79883 return 0;
79885 _ACEOF
79886 if ac_fn_cxx_try_compile "$LINENO"; then :
79887 ac_has_gthreads=yes
79888 else
79889 ac_has_gthreads=no
79891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79892 else
79893 ac_has_gthreads=no
79896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79897 $as_echo "$ac_has_gthreads" >&6; }
79899 if test x"$ac_has_gthreads" = x"yes"; then
79901 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79904 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79905 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79907 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79909 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79915 CXXFLAGS="$ac_save_CXXFLAGS"
79916 ac_ext=c
79917 ac_cpp='$CPP $CPPFLAGS'
79918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79924 # For Filesystem TS.
79925 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79926 do :
79927 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79928 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79929 eval as_val=\$$as_ac_Header
79930 if test "x$as_val" = x""yes; then :
79931 cat >>confdefs.h <<_ACEOF
79932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79933 _ACEOF
79937 done
79940 # Check whether --enable-libstdcxx-filesystem-ts was given.
79941 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79942 enableval=$enable_libstdcxx_filesystem_ts;
79943 case "$enableval" in
79944 yes|no|auto) ;;
79945 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79946 esac
79948 else
79949 enable_libstdcxx_filesystem_ts=auto
79954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79955 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79956 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79957 enable_libstdcxx_filesystem_ts=no
79959 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79960 case "${target_os}" in
79961 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79962 enable_libstdcxx_filesystem_ts=yes
79964 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79965 enable_libstdcxx_filesystem_ts=yes
79967 solaris*)
79968 enable_libstdcxx_filesystem_ts=yes
79971 enable_libstdcxx_filesystem_ts=no
79973 esac
79975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79976 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79980 ac_ext=cpp
79981 ac_cpp='$CXXCPP $CPPFLAGS'
79982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79986 ac_save_CXXFLAGS="$CXXFLAGS"
79987 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79989 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79990 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79991 $as_echo_n "(cached) " >&6
79992 else
79993 if test x$gcc_no_link = xyes; then
79994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79995 /* end confdefs.h. */
79996 #include <dirent.h>
79998 main ()
80001 struct dirent d;
80002 if (sizeof d.d_type) return 0;
80005 return 0;
80007 _ACEOF
80008 if ac_fn_cxx_try_compile "$LINENO"; then :
80009 glibcxx_cv_dirent_d_type=yes
80010 else
80011 glibcxx_cv_dirent_d_type=no
80013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80014 else
80015 if test x$gcc_no_link = xyes; then
80016 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80019 /* end confdefs.h. */
80020 #include <dirent.h>
80022 main ()
80025 struct dirent d;
80026 if (sizeof d.d_type) return 0;
80029 return 0;
80031 _ACEOF
80032 if ac_fn_cxx_try_link "$LINENO"; then :
80033 glibcxx_cv_dirent_d_type=yes
80034 else
80035 glibcxx_cv_dirent_d_type=no
80037 rm -f core conftest.err conftest.$ac_objext \
80038 conftest$ac_exeext conftest.$ac_ext
80043 if test $glibcxx_cv_dirent_d_type = yes; then
80045 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80049 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80051 $as_echo_n "checking for realpath... " >&6; }
80052 if test "${glibcxx_cv_realpath+set}" = set; then :
80053 $as_echo_n "(cached) " >&6
80054 else
80055 if test x$gcc_no_link = xyes; then
80056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80057 /* end confdefs.h. */
80059 #include <limits.h>
80060 #include <stdlib.h>
80061 #include <unistd.h>
80064 main ()
80067 #if _XOPEN_VERSION < 500
80068 #error
80069 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80070 char *tmp = realpath((const char*)NULL, (char*)NULL);
80071 #else
80072 #error
80073 #endif
80076 return 0;
80078 _ACEOF
80079 if ac_fn_cxx_try_compile "$LINENO"; then :
80080 glibcxx_cv_realpath=yes
80081 else
80082 glibcxx_cv_realpath=no
80084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80085 else
80086 if test x$gcc_no_link = xyes; then
80087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80090 /* end confdefs.h. */
80092 #include <limits.h>
80093 #include <stdlib.h>
80094 #include <unistd.h>
80097 main ()
80100 #if _XOPEN_VERSION < 500
80101 #error
80102 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80103 char *tmp = realpath((const char*)NULL, (char*)NULL);
80104 #else
80105 #error
80106 #endif
80109 return 0;
80111 _ACEOF
80112 if ac_fn_cxx_try_link "$LINENO"; then :
80113 glibcxx_cv_realpath=yes
80114 else
80115 glibcxx_cv_realpath=no
80117 rm -f core conftest.err conftest.$ac_objext \
80118 conftest$ac_exeext conftest.$ac_ext
80123 if test $glibcxx_cv_realpath = yes; then
80125 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80129 $as_echo "$glibcxx_cv_realpath" >&6; }
80130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80131 $as_echo_n "checking for utimensat... " >&6; }
80132 if test "${glibcxx_cv_utimensat+set}" = set; then :
80133 $as_echo_n "(cached) " >&6
80134 else
80135 if test x$gcc_no_link = xyes; then
80136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80137 /* end confdefs.h. */
80139 #include <fcntl.h>
80140 #include <sys/stat.h>
80143 main ()
80146 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80147 int i = utimensat(AT_FDCWD, "path", ts, 0);
80150 return 0;
80152 _ACEOF
80153 if ac_fn_cxx_try_compile "$LINENO"; then :
80154 glibcxx_cv_utimensat=yes
80155 else
80156 glibcxx_cv_utimensat=no
80158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80159 else
80160 if test x$gcc_no_link = xyes; then
80161 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80164 /* end confdefs.h. */
80166 #include <fcntl.h>
80167 #include <sys/stat.h>
80170 main ()
80173 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80174 int i = utimensat(AT_FDCWD, "path", ts, 0);
80177 return 0;
80179 _ACEOF
80180 if ac_fn_cxx_try_link "$LINENO"; then :
80181 glibcxx_cv_utimensat=yes
80182 else
80183 glibcxx_cv_utimensat=no
80185 rm -f core conftest.err conftest.$ac_objext \
80186 conftest$ac_exeext conftest.$ac_ext
80191 if test $glibcxx_cv_utimensat = yes; then
80193 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80197 $as_echo "$glibcxx_cv_utimensat" >&6; }
80198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80199 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80200 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80201 $as_echo_n "(cached) " >&6
80202 else
80203 if test x$gcc_no_link = xyes; then
80204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80205 /* end confdefs.h. */
80206 #include <sys/stat.h>
80208 main ()
80211 struct stat st;
80212 return st.st_mtim.tv_nsec;
80215 return 0;
80217 _ACEOF
80218 if ac_fn_cxx_try_compile "$LINENO"; then :
80219 glibcxx_cv_st_mtim=yes
80220 else
80221 glibcxx_cv_st_mtim=no
80223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80224 else
80225 if test x$gcc_no_link = xyes; then
80226 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80229 /* end confdefs.h. */
80230 #include <sys/stat.h>
80232 main ()
80235 struct stat st;
80236 return st.st_mtim.tv_nsec;
80239 return 0;
80241 _ACEOF
80242 if ac_fn_cxx_try_link "$LINENO"; then :
80243 glibcxx_cv_st_mtim=yes
80244 else
80245 glibcxx_cv_st_mtim=no
80247 rm -f core conftest.err conftest.$ac_objext \
80248 conftest$ac_exeext conftest.$ac_ext
80253 if test $glibcxx_cv_st_mtim = yes; then
80255 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80259 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80261 $as_echo_n "checking for fchmod... " >&6; }
80262 if test "${glibcxx_cv_fchmod+set}" = set; then :
80263 $as_echo_n "(cached) " >&6
80264 else
80265 if test x$gcc_no_link = xyes; then
80266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80267 /* end confdefs.h. */
80268 #include <sys/stat.h>
80270 main ()
80272 fchmod(1, S_IWUSR);
80274 return 0;
80276 _ACEOF
80277 if ac_fn_cxx_try_compile "$LINENO"; then :
80278 glibcxx_cv_fchmod=yes
80279 else
80280 glibcxx_cv_fchmod=no
80282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80283 else
80284 if test x$gcc_no_link = xyes; then
80285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80288 /* end confdefs.h. */
80289 #include <sys/stat.h>
80291 main ()
80293 fchmod(1, S_IWUSR);
80295 return 0;
80297 _ACEOF
80298 if ac_fn_cxx_try_link "$LINENO"; then :
80299 glibcxx_cv_fchmod=yes
80300 else
80301 glibcxx_cv_fchmod=no
80303 rm -f core conftest.err conftest.$ac_objext \
80304 conftest$ac_exeext conftest.$ac_ext
80309 if test $glibcxx_cv_fchmod = yes; then
80311 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80315 $as_echo "$glibcxx_cv_fchmod" >&6; }
80316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80317 $as_echo_n "checking for fchmodat... " >&6; }
80318 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80319 $as_echo_n "(cached) " >&6
80320 else
80321 if test x$gcc_no_link = xyes; then
80322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80323 /* end confdefs.h. */
80325 #include <fcntl.h>
80326 #include <sys/stat.h>
80329 main ()
80331 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80333 return 0;
80335 _ACEOF
80336 if ac_fn_cxx_try_compile "$LINENO"; then :
80337 glibcxx_cv_fchmodat=yes
80338 else
80339 glibcxx_cv_fchmodat=no
80341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80342 else
80343 if test x$gcc_no_link = xyes; then
80344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80347 /* end confdefs.h. */
80349 #include <fcntl.h>
80350 #include <sys/stat.h>
80353 main ()
80355 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80357 return 0;
80359 _ACEOF
80360 if ac_fn_cxx_try_link "$LINENO"; then :
80361 glibcxx_cv_fchmodat=yes
80362 else
80363 glibcxx_cv_fchmodat=no
80365 rm -f core conftest.err conftest.$ac_objext \
80366 conftest$ac_exeext conftest.$ac_ext
80371 if test $glibcxx_cv_fchmodat = yes; then
80373 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80377 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80379 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80380 if test "${glibcxx_cv_sendfile+set}" = set; then :
80381 $as_echo_n "(cached) " >&6
80382 else
80383 case "${target_os}" in
80384 gnu* | linux* | solaris*)
80385 if test x$gcc_no_link = xyes; then
80386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80387 /* end confdefs.h. */
80388 #include <sys/sendfile.h>
80390 main ()
80392 sendfile(1, 2, (off_t*)0, sizeof 1);
80394 return 0;
80396 _ACEOF
80397 if ac_fn_cxx_try_compile "$LINENO"; then :
80398 glibcxx_cv_sendfile=yes
80399 else
80400 glibcxx_cv_sendfile=no
80402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80403 else
80404 if test x$gcc_no_link = xyes; then
80405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80408 /* end confdefs.h. */
80409 #include <sys/sendfile.h>
80411 main ()
80413 sendfile(1, 2, (off_t*)0, sizeof 1);
80415 return 0;
80417 _ACEOF
80418 if ac_fn_cxx_try_link "$LINENO"; then :
80419 glibcxx_cv_sendfile=yes
80420 else
80421 glibcxx_cv_sendfile=no
80423 rm -f core conftest.err conftest.$ac_objext \
80424 conftest$ac_exeext conftest.$ac_ext
80428 glibcxx_cv_sendfile=no
80430 esac
80434 if test $glibcxx_cv_sendfile = yes; then
80436 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80440 $as_echo "$glibcxx_cv_sendfile" >&6; }
80441 CXXFLAGS="$ac_save_CXXFLAGS"
80442 ac_ext=c
80443 ac_cpp='$CPP $CPPFLAGS'
80444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80450 # For Transactional Memory TS
80452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80453 $as_echo_n "checking how size_t is mangled... " >&6; }
80454 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80455 $as_echo_n "(cached) " >&6
80456 else
80458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80459 /* end confdefs.h. */
80462 main ()
80464 extern __SIZE_TYPE__ x; extern unsigned long x;
80466 return 0;
80468 _ACEOF
80469 if ac_fn_c_try_compile "$LINENO"; then :
80470 glibcxx_cv_size_t_mangling=m
80471 else
80473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80474 /* end confdefs.h. */
80477 main ()
80479 extern __SIZE_TYPE__ x; extern unsigned int x;
80481 return 0;
80483 _ACEOF
80484 if ac_fn_c_try_compile "$LINENO"; then :
80485 glibcxx_cv_size_t_mangling=j
80486 else
80488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80489 /* end confdefs.h. */
80492 main ()
80494 extern __SIZE_TYPE__ x; extern unsigned long long x;
80496 return 0;
80498 _ACEOF
80499 if ac_fn_c_try_compile "$LINENO"; then :
80500 glibcxx_cv_size_t_mangling=y
80501 else
80503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80504 /* end confdefs.h. */
80507 main ()
80509 extern __SIZE_TYPE__ x; extern unsigned short x;
80511 return 0;
80513 _ACEOF
80514 if ac_fn_c_try_compile "$LINENO"; then :
80515 glibcxx_cv_size_t_mangling=t
80516 else
80517 glibcxx_cv_size_t_mangling=x
80519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80532 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80533 if test $glibcxx_cv_size_t_mangling = x; then
80534 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80537 cat >>confdefs.h <<_ACEOF
80538 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80539 _ACEOF
80543 # Define documentation rules conditionally.
80545 # See if makeinfo has been installed and is modern enough
80546 # that we can use it.
80548 # Extract the first word of "makeinfo", so it can be a program name with args.
80549 set dummy makeinfo; ac_word=$2
80550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80551 $as_echo_n "checking for $ac_word... " >&6; }
80552 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80553 $as_echo_n "(cached) " >&6
80554 else
80555 if test -n "$MAKEINFO"; then
80556 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80557 else
80558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80559 for as_dir in $PATH
80561 IFS=$as_save_IFS
80562 test -z "$as_dir" && as_dir=.
80563 for ac_exec_ext in '' $ac_executable_extensions; do
80564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80565 ac_cv_prog_MAKEINFO="makeinfo"
80566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80567 break 2
80569 done
80570 done
80571 IFS=$as_save_IFS
80575 MAKEINFO=$ac_cv_prog_MAKEINFO
80576 if test -n "$MAKEINFO"; then
80577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80578 $as_echo "$MAKEINFO" >&6; }
80579 else
80580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80581 $as_echo "no" >&6; }
80585 if test -n "$MAKEINFO"; then
80586 # Found it, now check the version.
80587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80588 $as_echo_n "checking for modern makeinfo... " >&6; }
80589 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80590 $as_echo_n "(cached) " >&6
80591 else
80592 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80593 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80595 case $ac_prog_version in
80596 '') gcc_cv_prog_makeinfo_modern=no;;
80597 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80598 *) gcc_cv_prog_makeinfo_modern=no;;
80599 esac
80602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80603 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80604 else
80605 gcc_cv_prog_makeinfo_modern=no
80607 if test $gcc_cv_prog_makeinfo_modern = no; then
80608 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80611 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80612 BUILD_INFO_TRUE=
80613 BUILD_INFO_FALSE='#'
80614 else
80615 BUILD_INFO_TRUE='#'
80616 BUILD_INFO_FALSE=
80620 # Check for doxygen
80621 # Extract the first word of "doxygen", so it can be a program name with args.
80622 set dummy doxygen; ac_word=$2
80623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80624 $as_echo_n "checking for $ac_word... " >&6; }
80625 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80626 $as_echo_n "(cached) " >&6
80627 else
80628 if test -n "$DOXYGEN"; then
80629 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80630 else
80631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80632 for as_dir in $PATH
80634 IFS=$as_save_IFS
80635 test -z "$as_dir" && as_dir=.
80636 for ac_exec_ext in '' $ac_executable_extensions; do
80637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80638 ac_cv_prog_DOXYGEN="yes"
80639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80640 break 2
80642 done
80643 done
80644 IFS=$as_save_IFS
80646 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80649 DOXYGEN=$ac_cv_prog_DOXYGEN
80650 if test -n "$DOXYGEN"; then
80651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80652 $as_echo "$DOXYGEN" >&6; }
80653 else
80654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80655 $as_echo "no" >&6; }
80659 # Extract the first word of "dot", so it can be a program name with args.
80660 set dummy dot; ac_word=$2
80661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80662 $as_echo_n "checking for $ac_word... " >&6; }
80663 if test "${ac_cv_prog_DOT+set}" = set; then :
80664 $as_echo_n "(cached) " >&6
80665 else
80666 if test -n "$DOT"; then
80667 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80668 else
80669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80670 for as_dir in $PATH
80672 IFS=$as_save_IFS
80673 test -z "$as_dir" && as_dir=.
80674 for ac_exec_ext in '' $ac_executable_extensions; do
80675 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80676 ac_cv_prog_DOT="yes"
80677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80678 break 2
80680 done
80681 done
80682 IFS=$as_save_IFS
80684 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80687 DOT=$ac_cv_prog_DOT
80688 if test -n "$DOT"; then
80689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80690 $as_echo "$DOT" >&6; }
80691 else
80692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80693 $as_echo "no" >&6; }
80698 # Check for docbook
80699 # Extract the first word of "xsltproc", so it can be a program name with args.
80700 set dummy xsltproc; ac_word=$2
80701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80702 $as_echo_n "checking for $ac_word... " >&6; }
80703 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80704 $as_echo_n "(cached) " >&6
80705 else
80706 if test -n "$XSLTPROC"; then
80707 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80708 else
80709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80710 for as_dir in $PATH
80712 IFS=$as_save_IFS
80713 test -z "$as_dir" && as_dir=.
80714 for ac_exec_ext in '' $ac_executable_extensions; do
80715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80716 ac_cv_prog_XSLTPROC="yes"
80717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80718 break 2
80720 done
80721 done
80722 IFS=$as_save_IFS
80724 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80727 XSLTPROC=$ac_cv_prog_XSLTPROC
80728 if test -n "$XSLTPROC"; then
80729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80730 $as_echo "$XSLTPROC" >&6; }
80731 else
80732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80733 $as_echo "no" >&6; }
80737 # Extract the first word of "xmllint", so it can be a program name with args.
80738 set dummy xmllint; ac_word=$2
80739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80740 $as_echo_n "checking for $ac_word... " >&6; }
80741 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80742 $as_echo_n "(cached) " >&6
80743 else
80744 if test -n "$XMLLINT"; then
80745 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80746 else
80747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80748 for as_dir in $PATH
80750 IFS=$as_save_IFS
80751 test -z "$as_dir" && as_dir=.
80752 for ac_exec_ext in '' $ac_executable_extensions; do
80753 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80754 ac_cv_prog_XMLLINT="yes"
80755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80756 break 2
80758 done
80759 done
80760 IFS=$as_save_IFS
80762 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80765 XMLLINT=$ac_cv_prog_XMLLINT
80766 if test -n "$XMLLINT"; then
80767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80768 $as_echo "$XMLLINT" >&6; }
80769 else
80770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80771 $as_echo "no" >&6; }
80777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80778 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80779 glibcxx_stylesheets=no
80780 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
80781 glibcxx_stylesheets=yes
80783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80784 $as_echo "$glibcxx_stylesheets" >&6; }
80786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80787 $as_echo_n "checking for local stylesheet directory... " >&6; }
80788 glibcxx_local_stylesheets=no
80789 if test x"$glibcxx_stylesheets" = x"yes"; then
80790 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80791 glibcxx_local_stylesheets=yes
80792 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80794 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80795 glibcxx_local_stylesheets=yes
80796 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80798 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80799 glibcxx_local_stylesheets=yes
80800 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80804 $as_echo "$glibcxx_local_stylesheets" >&6; }
80806 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80808 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80809 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80810 else
80811 glibcxx_stylesheets=no
80814 # Check for epub3 dependencies.
80815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80816 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80817 glibcxx_epub_stylesheets=no
80818 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80819 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80820 glibcxx_epub_stylesheets=yes
80823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80824 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80825 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80826 BUILD_EPUB_TRUE=
80827 BUILD_EPUB_FALSE='#'
80828 else
80829 BUILD_EPUB_TRUE='#'
80830 BUILD_EPUB_FALSE=
80836 # Check for xml/html dependencies.
80837 if test $ac_cv_prog_DOXYGEN = "yes" &&
80838 test $ac_cv_prog_DOT = "yes" &&
80839 test $ac_cv_prog_XSLTPROC = "yes" &&
80840 test $ac_cv_prog_XMLLINT = "yes" &&
80841 test $glibcxx_stylesheets = "yes"; then
80842 BUILD_XML_TRUE=
80843 BUILD_XML_FALSE='#'
80844 else
80845 BUILD_XML_TRUE='#'
80846 BUILD_XML_FALSE=
80850 if test $ac_cv_prog_DOXYGEN = "yes" &&
80851 test $ac_cv_prog_DOT = "yes" &&
80852 test $ac_cv_prog_XSLTPROC = "yes" &&
80853 test $ac_cv_prog_XMLLINT = "yes" &&
80854 test $glibcxx_stylesheets = "yes"; then
80855 BUILD_HTML_TRUE=
80856 BUILD_HTML_FALSE='#'
80857 else
80858 BUILD_HTML_TRUE='#'
80859 BUILD_HTML_FALSE=
80863 # Check for man dependencies.
80864 if test $ac_cv_prog_DOXYGEN = "yes" &&
80865 test $ac_cv_prog_DOT = "yes"; then
80866 BUILD_MAN_TRUE=
80867 BUILD_MAN_FALSE='#'
80868 else
80869 BUILD_MAN_TRUE='#'
80870 BUILD_MAN_FALSE=
80874 # Check for pdf dependencies.
80875 # Extract the first word of "dblatex", so it can be a program name with args.
80876 set dummy dblatex; ac_word=$2
80877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80878 $as_echo_n "checking for $ac_word... " >&6; }
80879 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80880 $as_echo_n "(cached) " >&6
80881 else
80882 if test -n "$DBLATEX"; then
80883 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80884 else
80885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80886 for as_dir in $PATH
80888 IFS=$as_save_IFS
80889 test -z "$as_dir" && as_dir=.
80890 for ac_exec_ext in '' $ac_executable_extensions; do
80891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80892 ac_cv_prog_DBLATEX="yes"
80893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80894 break 2
80896 done
80897 done
80898 IFS=$as_save_IFS
80900 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80903 DBLATEX=$ac_cv_prog_DBLATEX
80904 if test -n "$DBLATEX"; then
80905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80906 $as_echo "$DBLATEX" >&6; }
80907 else
80908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80909 $as_echo "no" >&6; }
80913 # Extract the first word of "pdflatex", so it can be a program name with args.
80914 set dummy pdflatex; ac_word=$2
80915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80916 $as_echo_n "checking for $ac_word... " >&6; }
80917 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80918 $as_echo_n "(cached) " >&6
80919 else
80920 if test -n "$PDFLATEX"; then
80921 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80922 else
80923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80924 for as_dir in $PATH
80926 IFS=$as_save_IFS
80927 test -z "$as_dir" && as_dir=.
80928 for ac_exec_ext in '' $ac_executable_extensions; do
80929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80930 ac_cv_prog_PDFLATEX="yes"
80931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80932 break 2
80934 done
80935 done
80936 IFS=$as_save_IFS
80938 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80941 PDFLATEX=$ac_cv_prog_PDFLATEX
80942 if test -n "$PDFLATEX"; then
80943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80944 $as_echo "$PDFLATEX" >&6; }
80945 else
80946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80947 $as_echo "no" >&6; }
80951 if test $ac_cv_prog_DBLATEX = "yes" &&
80952 test $ac_cv_prog_PDFLATEX = "yes"; then
80953 BUILD_PDF_TRUE=
80954 BUILD_PDF_FALSE='#'
80955 else
80956 BUILD_PDF_TRUE='#'
80957 BUILD_PDF_FALSE=
80962 # Propagate the target-specific source directories through the build chain.
80963 ATOMICITY_SRCDIR=config/${atomicity_dir}
80964 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80965 ATOMIC_FLAGS=${atomic_flags}
80966 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80967 OS_INC_SRCDIR=config/${os_include_dir}
80968 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80969 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80970 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80971 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80983 # Determine cross-compile flags and AM_CONDITIONALs.
80984 #AC_SUBST(GLIBCXX_IS_NATIVE)
80985 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80986 if test $is_hosted = yes; then
80987 GLIBCXX_HOSTED_TRUE=
80988 GLIBCXX_HOSTED_FALSE='#'
80989 else
80990 GLIBCXX_HOSTED_TRUE='#'
80991 GLIBCXX_HOSTED_FALSE=
80995 if test $enable_libstdcxx_pch = yes; then
80996 GLIBCXX_BUILD_PCH_TRUE=
80997 GLIBCXX_BUILD_PCH_FALSE='#'
80998 else
80999 GLIBCXX_BUILD_PCH_TRUE='#'
81000 GLIBCXX_BUILD_PCH_FALSE=
81004 if test $enable_libstdcxx_allocator_flag = new; then
81005 ENABLE_ALLOCATOR_NEW_TRUE=
81006 ENABLE_ALLOCATOR_NEW_FALSE='#'
81007 else
81008 ENABLE_ALLOCATOR_NEW_TRUE='#'
81009 ENABLE_ALLOCATOR_NEW_FALSE=
81013 if test $enable_cheaders = c; then
81014 GLIBCXX_C_HEADERS_C_TRUE=
81015 GLIBCXX_C_HEADERS_C_FALSE='#'
81016 else
81017 GLIBCXX_C_HEADERS_C_TRUE='#'
81018 GLIBCXX_C_HEADERS_C_FALSE=
81022 if test $enable_cheaders = c_std; then
81023 GLIBCXX_C_HEADERS_C_STD_TRUE=
81024 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81025 else
81026 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81027 GLIBCXX_C_HEADERS_C_STD_FALSE=
81031 if test $enable_cheaders = c_global; then
81032 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81033 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81034 else
81035 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81036 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81040 if test $c_compatibility = yes; then
81041 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81042 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81043 else
81044 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81045 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81049 if test $enable_libstdcxx_debug = yes; then
81050 GLIBCXX_BUILD_DEBUG_TRUE=
81051 GLIBCXX_BUILD_DEBUG_FALSE='#'
81052 else
81053 GLIBCXX_BUILD_DEBUG_TRUE='#'
81054 GLIBCXX_BUILD_DEBUG_FALSE=
81058 if test $enable_extern_template = yes; then
81059 ENABLE_EXTERN_TEMPLATE_TRUE=
81060 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81061 else
81062 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81063 ENABLE_EXTERN_TEMPLATE_FALSE=
81067 if test $python_mod_dir != no; then
81068 ENABLE_PYTHONDIR_TRUE=
81069 ENABLE_PYTHONDIR_FALSE='#'
81070 else
81071 ENABLE_PYTHONDIR_TRUE='#'
81072 ENABLE_PYTHONDIR_FALSE=
81076 if test $enable_werror = yes; then
81077 ENABLE_WERROR_TRUE=
81078 ENABLE_WERROR_FALSE='#'
81079 else
81080 ENABLE_WERROR_TRUE='#'
81081 ENABLE_WERROR_FALSE=
81085 if test $enable_vtable_verify = yes; then
81086 ENABLE_VTABLE_VERIFY_TRUE=
81087 ENABLE_VTABLE_VERIFY_FALSE='#'
81088 else
81089 ENABLE_VTABLE_VERIFY_TRUE='#'
81090 ENABLE_VTABLE_VERIFY_FALSE=
81094 if test $enable_symvers != no; then
81095 ENABLE_SYMVERS_TRUE=
81096 ENABLE_SYMVERS_FALSE='#'
81097 else
81098 ENABLE_SYMVERS_TRUE='#'
81099 ENABLE_SYMVERS_FALSE=
81103 if test $enable_symvers = gnu; then
81104 ENABLE_SYMVERS_GNU_TRUE=
81105 ENABLE_SYMVERS_GNU_FALSE='#'
81106 else
81107 ENABLE_SYMVERS_GNU_TRUE='#'
81108 ENABLE_SYMVERS_GNU_FALSE=
81112 if test $enable_symvers = gnu-versioned-namespace; then
81113 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81114 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81115 else
81116 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81117 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81121 if test $enable_symvers = darwin; then
81122 ENABLE_SYMVERS_DARWIN_TRUE=
81123 ENABLE_SYMVERS_DARWIN_FALSE='#'
81124 else
81125 ENABLE_SYMVERS_DARWIN_TRUE='#'
81126 ENABLE_SYMVERS_DARWIN_FALSE=
81130 if test $enable_symvers = sun; then
81131 ENABLE_SYMVERS_SUN_TRUE=
81132 ENABLE_SYMVERS_SUN_FALSE='#'
81133 else
81134 ENABLE_SYMVERS_SUN_TRUE='#'
81135 ENABLE_SYMVERS_SUN_FALSE=
81139 if test $enable_libstdcxx_visibility = yes; then
81140 ENABLE_VISIBILITY_TRUE=
81141 ENABLE_VISIBILITY_FALSE='#'
81142 else
81143 ENABLE_VISIBILITY_TRUE='#'
81144 ENABLE_VISIBILITY_FALSE=
81148 if test $enable_libstdcxx_dual_abi = yes; then
81149 ENABLE_DUAL_ABI_TRUE=
81150 ENABLE_DUAL_ABI_FALSE='#'
81151 else
81152 ENABLE_DUAL_ABI_TRUE='#'
81153 ENABLE_DUAL_ABI_FALSE=
81157 if test $glibcxx_cxx11_abi = 1; then
81158 ENABLE_CXX11_ABI_TRUE=
81159 ENABLE_CXX11_ABI_FALSE='#'
81160 else
81161 ENABLE_CXX11_ABI_TRUE='#'
81162 ENABLE_CXX11_ABI_FALSE=
81166 if test $ac_ldbl_compat = yes; then
81167 GLIBCXX_LDBL_COMPAT_TRUE=
81168 GLIBCXX_LDBL_COMPAT_FALSE='#'
81169 else
81170 GLIBCXX_LDBL_COMPAT_TRUE='#'
81171 GLIBCXX_LDBL_COMPAT_FALSE=
81175 if test $enable_libstdcxx_filesystem_ts = yes; then
81176 ENABLE_FILESYSTEM_TS_TRUE=
81177 ENABLE_FILESYSTEM_TS_FALSE='#'
81178 else
81179 ENABLE_FILESYSTEM_TS_TRUE='#'
81180 ENABLE_FILESYSTEM_TS_FALSE=
81186 cat >confcache <<\_ACEOF
81187 # This file is a shell script that caches the results of configure
81188 # tests run on this system so they can be shared between configure
81189 # scripts and configure runs, see configure's option --config-cache.
81190 # It is not useful on other systems. If it contains results you don't
81191 # want to keep, you may remove or edit it.
81193 # config.status only pays attention to the cache file if you give it
81194 # the --recheck option to rerun configure.
81196 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81197 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81198 # following values.
81200 _ACEOF
81202 # The following way of writing the cache mishandles newlines in values,
81203 # but we know of no workaround that is simple, portable, and efficient.
81204 # So, we kill variables containing newlines.
81205 # Ultrix sh set writes to stderr and can't be redirected directly,
81206 # and sets the high bit in the cache file unless we assign to the vars.
81208 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81209 eval ac_val=\$$ac_var
81210 case $ac_val in #(
81211 *${as_nl}*)
81212 case $ac_var in #(
81213 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81214 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81215 esac
81216 case $ac_var in #(
81217 _ | IFS | as_nl) ;; #(
81218 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81219 *) { eval $ac_var=; unset $ac_var;} ;;
81220 esac ;;
81221 esac
81222 done
81224 (set) 2>&1 |
81225 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81226 *${as_nl}ac_space=\ *)
81227 # `set' does not quote correctly, so add quotes: double-quote
81228 # substitution turns \\\\ into \\, and sed turns \\ into \.
81229 sed -n \
81230 "s/'/'\\\\''/g;
81231 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81232 ;; #(
81234 # `set' quotes correctly as required by POSIX, so do not add quotes.
81235 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81237 esac |
81238 sort
81240 sed '
81241 /^ac_cv_env_/b end
81242 t clear
81243 :clear
81244 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81245 t end
81246 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81247 :end' >>confcache
81248 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81249 if test -w "$cache_file"; then
81250 test "x$cache_file" != "x/dev/null" &&
81251 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81252 $as_echo "$as_me: updating cache $cache_file" >&6;}
81253 cat confcache >$cache_file
81254 else
81255 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81256 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81259 rm -f confcache
81261 if test ${multilib} = yes; then
81262 multilib_arg="--enable-multilib"
81263 else
81264 multilib_arg=
81267 # Export all the install information.
81269 glibcxx_toolexecdir=no
81270 glibcxx_toolexeclibdir=no
81271 glibcxx_prefixdir=$prefix
81273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81274 $as_echo_n "checking for gxx-include-dir... " >&6; }
81276 # Check whether --with-gxx-include-dir was given.
81277 if test "${with_gxx_include_dir+set}" = set; then :
81278 withval=$with_gxx_include_dir; case "$withval" in
81279 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81280 no) gxx_include_dir=no ;;
81281 *) gxx_include_dir=$withval ;;
81282 esac
81283 else
81284 gxx_include_dir=no
81287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81288 $as_echo "$gxx_include_dir" >&6; }
81290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81291 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81292 # Check whether --enable-version-specific-runtime-libs was given.
81293 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81294 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81295 yes) version_specific_libs=yes ;;
81296 no) version_specific_libs=no ;;
81297 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81298 esac
81299 else
81300 version_specific_libs=no
81303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81304 $as_echo "$version_specific_libs" >&6; }
81306 # Default case for install directory for include files.
81307 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81308 gxx_include_dir='include/c++/${gcc_version}'
81309 if test -n "$with_cross_host" &&
81310 test x"$with_cross_host" != x"no"; then
81311 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81312 else
81313 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81317 # Version-specific runtime libs processing.
81318 if test $version_specific_libs = yes; then
81319 # Need the gcc compiler version to know where to install libraries
81320 # and header files if --enable-version-specific-runtime-libs option
81321 # is selected. FIXME: these variables are misnamed, there are
81322 # no executables installed in _toolexecdir or _toolexeclibdir.
81323 if test x"$gxx_include_dir" = x"no"; then
81324 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81326 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81327 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81330 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81331 # Install a library built with a cross compiler in tooldir, not libdir.
81332 if test x"$glibcxx_toolexecdir" = x"no"; then
81333 if test -n "$with_cross_host" &&
81334 test x"$with_cross_host" != x"no"; then
81335 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81336 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81337 else
81338 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81339 glibcxx_toolexeclibdir='${libdir}'
81341 multi_os_directory=`$CXX -print-multi-os-directory`
81342 case $multi_os_directory in
81343 .) ;; # Avoid trailing /.
81344 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81345 esac
81348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81349 $as_echo_n "checking for install location... " >&6; }
81350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81351 $as_echo "$gxx_include_dir" >&6; }
81359 # Export all the include and flag information to Makefiles.
81361 # Used for every C++ compile we perform.
81362 GLIBCXX_INCLUDES="\
81363 -I$glibcxx_builddir/include/$host_alias \
81364 -I$glibcxx_builddir/include \
81365 -I$glibcxx_srcdir/libsupc++"
81367 # For Canadian crosses, pick this up too.
81368 if test $CANADIAN = yes; then
81369 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81372 # Stuff in the actual top level. Currently only used by libsupc++ to
81373 # get unwind* headers from the libgcc dir.
81374 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81375 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81377 # Now, export this to all the little Makefiles....
81382 # Optimization flags that are probably a good idea for thrill-seekers. Just
81383 # uncomment the lines below and make, everything else is ready to go...
81384 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81385 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81388 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81392 ac_config_files="$ac_config_files Makefile"
81394 ac_config_files="$ac_config_files scripts/testsuite_flags"
81396 ac_config_files="$ac_config_files scripts/extract_symvers"
81398 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81401 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81402 # that multilib installs will end up installed in the correct place.
81403 # The testsuite needs it for multilib-aware ABI baseline files.
81404 # To work around this not being passed down from config-ml.in ->
81405 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81406 # append it here. Only modify Makefiles that have just been created.
81408 # Also, get rid of this simulated-VPATH thing that automake does.
81409 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
81412 ac_config_commands="$ac_config_commands generate-headers"
81415 cat >confcache <<\_ACEOF
81416 # This file is a shell script that caches the results of configure
81417 # tests run on this system so they can be shared between configure
81418 # scripts and configure runs, see configure's option --config-cache.
81419 # It is not useful on other systems. If it contains results you don't
81420 # want to keep, you may remove or edit it.
81422 # config.status only pays attention to the cache file if you give it
81423 # the --recheck option to rerun configure.
81425 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81426 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81427 # following values.
81429 _ACEOF
81431 # The following way of writing the cache mishandles newlines in values,
81432 # but we know of no workaround that is simple, portable, and efficient.
81433 # So, we kill variables containing newlines.
81434 # Ultrix sh set writes to stderr and can't be redirected directly,
81435 # and sets the high bit in the cache file unless we assign to the vars.
81437 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81438 eval ac_val=\$$ac_var
81439 case $ac_val in #(
81440 *${as_nl}*)
81441 case $ac_var in #(
81442 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81443 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81444 esac
81445 case $ac_var in #(
81446 _ | IFS | as_nl) ;; #(
81447 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81448 *) { eval $ac_var=; unset $ac_var;} ;;
81449 esac ;;
81450 esac
81451 done
81453 (set) 2>&1 |
81454 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81455 *${as_nl}ac_space=\ *)
81456 # `set' does not quote correctly, so add quotes: double-quote
81457 # substitution turns \\\\ into \\, and sed turns \\ into \.
81458 sed -n \
81459 "s/'/'\\\\''/g;
81460 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81461 ;; #(
81463 # `set' quotes correctly as required by POSIX, so do not add quotes.
81464 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81466 esac |
81467 sort
81469 sed '
81470 /^ac_cv_env_/b end
81471 t clear
81472 :clear
81473 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81474 t end
81475 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81476 :end' >>confcache
81477 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81478 if test -w "$cache_file"; then
81479 test "x$cache_file" != "x/dev/null" &&
81480 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81481 $as_echo "$as_me: updating cache $cache_file" >&6;}
81482 cat confcache >$cache_file
81483 else
81484 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81485 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81488 rm -f confcache
81490 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81491 # Let make expand exec_prefix.
81492 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81494 DEFS=-DHAVE_CONFIG_H
81496 ac_libobjs=
81497 ac_ltlibobjs=
81498 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81499 # 1. Remove the extension, and $U if already installed.
81500 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81501 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81502 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81503 # will be set to the directory where LIBOBJS objects are built.
81504 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81505 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81506 done
81507 LIBOBJS=$ac_libobjs
81509 LTLIBOBJS=$ac_ltlibobjs
81512 if test -n "$EXEEXT"; then
81513 am__EXEEXT_TRUE=
81514 am__EXEEXT_FALSE='#'
81515 else
81516 am__EXEEXT_TRUE='#'
81517 am__EXEEXT_FALSE=
81520 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81521 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81524 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81525 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81528 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81529 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81530 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81532 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81533 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81534 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81536 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81537 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81538 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81540 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81541 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81542 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81544 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81545 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81546 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81548 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81549 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81550 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81552 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81553 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81554 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81556 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81557 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81558 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81560 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81561 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81562 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81564 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81565 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81566 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81568 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81569 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81570 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81572 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81573 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81574 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81576 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81577 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81578 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81580 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81581 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81582 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81584 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81585 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81586 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81588 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81589 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81590 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81592 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81593 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81594 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81596 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81597 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81598 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81600 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81601 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81602 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81604 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81605 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81606 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81608 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81609 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81610 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81612 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81613 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81614 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81616 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81617 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81618 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81620 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81621 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81622 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81624 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81625 as_fn_error "conditional \"BUILD_XML\" was never defined.
81626 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81628 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81629 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81630 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81632 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81633 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81634 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81636 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81637 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81638 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81641 : ${CONFIG_STATUS=./config.status}
81642 ac_write_fail=0
81643 ac_clean_files_save=$ac_clean_files
81644 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81645 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81646 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81647 as_write_fail=0
81648 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81649 #! $SHELL
81650 # Generated by $as_me.
81651 # Run this file to recreate the current configuration.
81652 # Compiler output produced by configure, useful for debugging
81653 # configure, is in config.log if it exists.
81655 debug=false
81656 ac_cs_recheck=false
81657 ac_cs_silent=false
81659 SHELL=\${CONFIG_SHELL-$SHELL}
81660 export SHELL
81661 _ASEOF
81662 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81663 ## -------------------- ##
81664 ## M4sh Initialization. ##
81665 ## -------------------- ##
81667 # Be more Bourne compatible
81668 DUALCASE=1; export DUALCASE # for MKS sh
81669 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81670 emulate sh
81671 NULLCMD=:
81672 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81673 # is contrary to our usage. Disable this feature.
81674 alias -g '${1+"$@"}'='"$@"'
81675 setopt NO_GLOB_SUBST
81676 else
81677 case `(set -o) 2>/dev/null` in #(
81678 *posix*) :
81679 set -o posix ;; #(
81680 *) :
81682 esac
81686 as_nl='
81688 export as_nl
81689 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81690 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81691 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81692 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81693 # Prefer a ksh shell builtin over an external printf program on Solaris,
81694 # but without wasting forks for bash or zsh.
81695 if test -z "$BASH_VERSION$ZSH_VERSION" \
81696 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81697 as_echo='print -r --'
81698 as_echo_n='print -rn --'
81699 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81700 as_echo='printf %s\n'
81701 as_echo_n='printf %s'
81702 else
81703 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81704 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81705 as_echo_n='/usr/ucb/echo -n'
81706 else
81707 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81708 as_echo_n_body='eval
81709 arg=$1;
81710 case $arg in #(
81711 *"$as_nl"*)
81712 expr "X$arg" : "X\\(.*\\)$as_nl";
81713 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81714 esac;
81715 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81717 export as_echo_n_body
81718 as_echo_n='sh -c $as_echo_n_body as_echo'
81720 export as_echo_body
81721 as_echo='sh -c $as_echo_body as_echo'
81724 # The user is always right.
81725 if test "${PATH_SEPARATOR+set}" != set; then
81726 PATH_SEPARATOR=:
81727 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81728 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81729 PATH_SEPARATOR=';'
81734 # IFS
81735 # We need space, tab and new line, in precisely that order. Quoting is
81736 # there to prevent editors from complaining about space-tab.
81737 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81738 # splitting by setting IFS to empty value.)
81739 IFS=" "" $as_nl"
81741 # Find who we are. Look in the path if we contain no directory separator.
81742 case $0 in #((
81743 *[\\/]* ) as_myself=$0 ;;
81744 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81745 for as_dir in $PATH
81747 IFS=$as_save_IFS
81748 test -z "$as_dir" && as_dir=.
81749 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81750 done
81751 IFS=$as_save_IFS
81754 esac
81755 # We did not find ourselves, most probably we were run as `sh COMMAND'
81756 # in which case we are not to be found in the path.
81757 if test "x$as_myself" = x; then
81758 as_myself=$0
81760 if test ! -f "$as_myself"; then
81761 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81762 exit 1
81765 # Unset variables that we do not need and which cause bugs (e.g. in
81766 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81767 # suppresses any "Segmentation fault" message there. '((' could
81768 # trigger a bug in pdksh 5.2.14.
81769 for as_var in BASH_ENV ENV MAIL MAILPATH
81770 do eval test x\${$as_var+set} = xset \
81771 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81772 done
81773 PS1='$ '
81774 PS2='> '
81775 PS4='+ '
81777 # NLS nuisances.
81778 LC_ALL=C
81779 export LC_ALL
81780 LANGUAGE=C
81781 export LANGUAGE
81783 # CDPATH.
81784 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81787 # as_fn_error ERROR [LINENO LOG_FD]
81788 # ---------------------------------
81789 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81790 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81791 # script with status $?, using 1 if that was 0.
81792 as_fn_error ()
81794 as_status=$?; test $as_status -eq 0 && as_status=1
81795 if test "$3"; then
81796 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81797 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81799 $as_echo "$as_me: error: $1" >&2
81800 as_fn_exit $as_status
81801 } # as_fn_error
81804 # as_fn_set_status STATUS
81805 # -----------------------
81806 # Set $? to STATUS, without forking.
81807 as_fn_set_status ()
81809 return $1
81810 } # as_fn_set_status
81812 # as_fn_exit STATUS
81813 # -----------------
81814 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81815 as_fn_exit ()
81817 set +e
81818 as_fn_set_status $1
81819 exit $1
81820 } # as_fn_exit
81822 # as_fn_unset VAR
81823 # ---------------
81824 # Portably unset VAR.
81825 as_fn_unset ()
81827 { eval $1=; unset $1;}
81829 as_unset=as_fn_unset
81830 # as_fn_append VAR VALUE
81831 # ----------------------
81832 # Append the text in VALUE to the end of the definition contained in VAR. Take
81833 # advantage of any shell optimizations that allow amortized linear growth over
81834 # repeated appends, instead of the typical quadratic growth present in naive
81835 # implementations.
81836 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81837 eval 'as_fn_append ()
81839 eval $1+=\$2
81841 else
81842 as_fn_append ()
81844 eval $1=\$$1\$2
81846 fi # as_fn_append
81848 # as_fn_arith ARG...
81849 # ------------------
81850 # Perform arithmetic evaluation on the ARGs, and store the result in the
81851 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81852 # must be portable across $(()) and expr.
81853 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81854 eval 'as_fn_arith ()
81856 as_val=$(( $* ))
81858 else
81859 as_fn_arith ()
81861 as_val=`expr "$@" || test $? -eq 1`
81863 fi # as_fn_arith
81866 if expr a : '\(a\)' >/dev/null 2>&1 &&
81867 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81868 as_expr=expr
81869 else
81870 as_expr=false
81873 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81874 as_basename=basename
81875 else
81876 as_basename=false
81879 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81880 as_dirname=dirname
81881 else
81882 as_dirname=false
81885 as_me=`$as_basename -- "$0" ||
81886 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81887 X"$0" : 'X\(//\)$' \| \
81888 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81889 $as_echo X/"$0" |
81890 sed '/^.*\/\([^/][^/]*\)\/*$/{
81891 s//\1/
81894 /^X\/\(\/\/\)$/{
81895 s//\1/
81898 /^X\/\(\/\).*/{
81899 s//\1/
81902 s/.*/./; q'`
81904 # Avoid depending upon Character Ranges.
81905 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81906 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81907 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81908 as_cr_digits='0123456789'
81909 as_cr_alnum=$as_cr_Letters$as_cr_digits
81911 ECHO_C= ECHO_N= ECHO_T=
81912 case `echo -n x` in #(((((
81913 -n*)
81914 case `echo 'xy\c'` in
81915 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81916 xy) ECHO_C='\c';;
81917 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81918 ECHO_T=' ';;
81919 esac;;
81921 ECHO_N='-n';;
81922 esac
81924 rm -f conf$$ conf$$.exe conf$$.file
81925 if test -d conf$$.dir; then
81926 rm -f conf$$.dir/conf$$.file
81927 else
81928 rm -f conf$$.dir
81929 mkdir conf$$.dir 2>/dev/null
81931 if (echo >conf$$.file) 2>/dev/null; then
81932 if ln -s conf$$.file conf$$ 2>/dev/null; then
81933 as_ln_s='ln -s'
81934 # ... but there are two gotchas:
81935 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81936 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81937 # In both cases, we have to default to `cp -p'.
81938 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81939 as_ln_s='cp -p'
81940 elif ln conf$$.file conf$$ 2>/dev/null; then
81941 as_ln_s=ln
81942 else
81943 as_ln_s='cp -p'
81945 else
81946 as_ln_s='cp -p'
81948 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81949 rmdir conf$$.dir 2>/dev/null
81952 # as_fn_mkdir_p
81953 # -------------
81954 # Create "$as_dir" as a directory, including parents if necessary.
81955 as_fn_mkdir_p ()
81958 case $as_dir in #(
81959 -*) as_dir=./$as_dir;;
81960 esac
81961 test -d "$as_dir" || eval $as_mkdir_p || {
81962 as_dirs=
81963 while :; do
81964 case $as_dir in #(
81965 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81966 *) as_qdir=$as_dir;;
81967 esac
81968 as_dirs="'$as_qdir' $as_dirs"
81969 as_dir=`$as_dirname -- "$as_dir" ||
81970 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81971 X"$as_dir" : 'X\(//\)[^/]' \| \
81972 X"$as_dir" : 'X\(//\)$' \| \
81973 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81974 $as_echo X"$as_dir" |
81975 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81976 s//\1/
81979 /^X\(\/\/\)[^/].*/{
81980 s//\1/
81983 /^X\(\/\/\)$/{
81984 s//\1/
81987 /^X\(\/\).*/{
81988 s//\1/
81991 s/.*/./; q'`
81992 test -d "$as_dir" && break
81993 done
81994 test -z "$as_dirs" || eval "mkdir $as_dirs"
81995 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81998 } # as_fn_mkdir_p
81999 if mkdir -p . 2>/dev/null; then
82000 as_mkdir_p='mkdir -p "$as_dir"'
82001 else
82002 test -d ./-p && rmdir ./-p
82003 as_mkdir_p=false
82006 if test -x / >/dev/null 2>&1; then
82007 as_test_x='test -x'
82008 else
82009 if ls -dL / >/dev/null 2>&1; then
82010 as_ls_L_option=L
82011 else
82012 as_ls_L_option=
82014 as_test_x='
82015 eval sh -c '\''
82016 if test -d "$1"; then
82017 test -d "$1/.";
82018 else
82019 case $1 in #(
82020 -*)set "./$1";;
82021 esac;
82022 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82023 ???[sx]*):;;*)false;;esac;fi
82024 '\'' sh
82027 as_executable_p=$as_test_x
82029 # Sed expression to map a string onto a valid CPP name.
82030 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82032 # Sed expression to map a string onto a valid variable name.
82033 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82036 exec 6>&1
82037 ## ----------------------------------- ##
82038 ## Main body of $CONFIG_STATUS script. ##
82039 ## ----------------------------------- ##
82040 _ASEOF
82041 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82044 # Save the log message, to keep $0 and so on meaningful, and to
82045 # report actual input values of CONFIG_FILES etc. instead of their
82046 # values after options handling.
82047 ac_log="
82048 This file was extended by package-unused $as_me version-unused, which was
82049 generated by GNU Autoconf 2.64. Invocation command line was
82051 CONFIG_FILES = $CONFIG_FILES
82052 CONFIG_HEADERS = $CONFIG_HEADERS
82053 CONFIG_LINKS = $CONFIG_LINKS
82054 CONFIG_COMMANDS = $CONFIG_COMMANDS
82055 $ $0 $@
82057 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82060 _ACEOF
82062 case $ac_config_files in *"
82063 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82064 esac
82066 case $ac_config_headers in *"
82067 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82068 esac
82071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82072 # Files that config.status was made for.
82073 config_files="$ac_config_files"
82074 config_headers="$ac_config_headers"
82075 config_commands="$ac_config_commands"
82077 _ACEOF
82079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82080 ac_cs_usage="\
82081 \`$as_me' instantiates files and other configuration actions
82082 from templates according to the current configuration. Unless the files
82083 and actions are specified as TAGs, all are instantiated by default.
82085 Usage: $0 [OPTION]... [TAG]...
82087 -h, --help print this help, then exit
82088 -V, --version print version number and configuration settings, then exit
82089 -q, --quiet, --silent
82090 do not print progress messages
82091 -d, --debug don't remove temporary files
82092 --recheck update $as_me by reconfiguring in the same conditions
82093 --file=FILE[:TEMPLATE]
82094 instantiate the configuration file FILE
82095 --header=FILE[:TEMPLATE]
82096 instantiate the configuration header FILE
82098 Configuration files:
82099 $config_files
82101 Configuration headers:
82102 $config_headers
82104 Configuration commands:
82105 $config_commands
82107 Report bugs to the package provider."
82109 _ACEOF
82110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82111 ac_cs_version="\\
82112 package-unused config.status version-unused
82113 configured by $0, generated by GNU Autoconf 2.64,
82114 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82116 Copyright (C) 2009 Free Software Foundation, Inc.
82117 This config.status script is free software; the Free Software Foundation
82118 gives unlimited permission to copy, distribute and modify it."
82120 ac_pwd='$ac_pwd'
82121 srcdir='$srcdir'
82122 INSTALL='$INSTALL'
82123 MKDIR_P='$MKDIR_P'
82124 AWK='$AWK'
82125 test -n "\$AWK" || AWK=awk
82126 _ACEOF
82128 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82129 # The default lists apply if the user does not specify any file.
82130 ac_need_defaults=:
82131 while test $# != 0
82133 case $1 in
82134 --*=*)
82135 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82136 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82137 ac_shift=:
82140 ac_option=$1
82141 ac_optarg=$2
82142 ac_shift=shift
82144 esac
82146 case $ac_option in
82147 # Handling of the options.
82148 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82149 ac_cs_recheck=: ;;
82150 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82151 $as_echo "$ac_cs_version"; exit ;;
82152 --debug | --debu | --deb | --de | --d | -d )
82153 debug=: ;;
82154 --file | --fil | --fi | --f )
82155 $ac_shift
82156 case $ac_optarg in
82157 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82158 esac
82159 as_fn_append CONFIG_FILES " '$ac_optarg'"
82160 ac_need_defaults=false;;
82161 --header | --heade | --head | --hea )
82162 $ac_shift
82163 case $ac_optarg in
82164 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82165 esac
82166 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82167 ac_need_defaults=false;;
82168 --he | --h)
82169 # Conflict between --help and --header
82170 as_fn_error "ambiguous option: \`$1'
82171 Try \`$0 --help' for more information.";;
82172 --help | --hel | -h )
82173 $as_echo "$ac_cs_usage"; exit ;;
82174 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82175 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82176 ac_cs_silent=: ;;
82178 # This is an error.
82179 -*) as_fn_error "unrecognized option: \`$1'
82180 Try \`$0 --help' for more information." ;;
82182 *) as_fn_append ac_config_targets " $1"
82183 ac_need_defaults=false ;;
82185 esac
82186 shift
82187 done
82189 ac_configure_extra_args=
82191 if $ac_cs_silent; then
82192 exec 6>/dev/null
82193 ac_configure_extra_args="$ac_configure_extra_args --silent"
82196 _ACEOF
82197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82198 if \$ac_cs_recheck; then
82199 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82200 shift
82201 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82202 CONFIG_SHELL='$SHELL'
82203 export CONFIG_SHELL
82204 exec "\$@"
82207 _ACEOF
82208 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82209 exec 5>>config.log
82211 echo
82212 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82213 ## Running $as_me. ##
82214 _ASBOX
82215 $as_echo "$ac_log"
82216 } >&5
82218 _ACEOF
82219 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82221 # INIT-COMMANDS
82224 srcdir="$srcdir"
82225 host="$host"
82226 target="$target"
82227 with_multisubdir="$with_multisubdir"
82228 with_multisrctop="$with_multisrctop"
82229 with_target_subdir="$with_target_subdir"
82230 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82231 multi_basedir="$multi_basedir"
82232 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82233 CC="$CC"
82234 CXX="$CXX"
82235 GFORTRAN="$GFORTRAN"
82236 GCJ="$GCJ"
82239 # The HP-UX ksh and POSIX shell print the target directory to stdout
82240 # if CDPATH is set.
82241 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82243 sed_quote_subst='$sed_quote_subst'
82244 double_quote_subst='$double_quote_subst'
82245 delay_variable_subst='$delay_variable_subst'
82246 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82247 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82248 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82249 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82250 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82251 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82252 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82253 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82254 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82255 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82256 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82257 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82258 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82259 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82260 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82261 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82262 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82263 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82264 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82265 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82266 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82267 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82268 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82269 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82270 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82271 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82272 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82273 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82274 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82275 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82276 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82277 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82278 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82279 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82280 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82281 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82282 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82283 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82284 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82285 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82286 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82287 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82288 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82289 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82290 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82291 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82292 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82293 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82294 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"`'
82295 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82296 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82297 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82298 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82299 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82300 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82301 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82302 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82303 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82304 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82305 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82306 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82307 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82308 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82309 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82310 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82311 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82312 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82313 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82314 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82315 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82316 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82317 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82318 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82319 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82320 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82321 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82322 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82323 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82324 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82325 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82326 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82327 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82328 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82329 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82330 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82331 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82332 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82333 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82334 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82335 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82336 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82337 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82338 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82339 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82340 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82341 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82342 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82343 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82344 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82345 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82346 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82347 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82348 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82349 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82350 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82351 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82352 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82353 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82354 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82355 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82356 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82357 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82358 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82359 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82360 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82361 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82362 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82363 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82364 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82365 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82366 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82367 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82368 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82369 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82370 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82371 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82372 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82373 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82374 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82375 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82376 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82377 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82378 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82379 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82380 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82381 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82382 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82383 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82384 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82385 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82386 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82387 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82388 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82389 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82390 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82391 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82392 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82393 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82394 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82395 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82396 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82397 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82398 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82399 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82400 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82401 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82402 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82403 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82404 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82405 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82406 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82407 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82408 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82409 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82410 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82411 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82412 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82413 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82414 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82415 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82416 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82417 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82418 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82419 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82420 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82422 LTCC='$LTCC'
82423 LTCFLAGS='$LTCFLAGS'
82424 compiler='$compiler_DEFAULT'
82426 # A function that is used when there is no print builtin or printf.
82427 func_fallback_echo ()
82429 eval 'cat <<_LTECHO_EOF
82431 _LTECHO_EOF'
82434 # Quote evaled strings.
82435 for var in SHELL \
82436 ECHO \
82437 SED \
82438 GREP \
82439 EGREP \
82440 FGREP \
82441 LD \
82442 NM \
82443 LN_S \
82444 lt_SP2NL \
82445 lt_NL2SP \
82446 reload_flag \
82447 OBJDUMP \
82448 deplibs_check_method \
82449 file_magic_cmd \
82450 AR \
82451 AR_FLAGS \
82452 STRIP \
82453 RANLIB \
82454 CC \
82455 CFLAGS \
82456 compiler \
82457 lt_cv_sys_global_symbol_pipe \
82458 lt_cv_sys_global_symbol_to_cdecl \
82459 lt_cv_sys_global_symbol_to_c_name_address \
82460 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82461 lt_prog_compiler_no_builtin_flag \
82462 lt_prog_compiler_wl \
82463 lt_prog_compiler_pic \
82464 lt_prog_compiler_static \
82465 lt_cv_prog_compiler_c_o \
82466 need_locks \
82467 DSYMUTIL \
82468 NMEDIT \
82469 LIPO \
82470 OTOOL \
82471 OTOOL64 \
82472 shrext_cmds \
82473 export_dynamic_flag_spec \
82474 whole_archive_flag_spec \
82475 compiler_needs_object \
82476 with_gnu_ld \
82477 allow_undefined_flag \
82478 no_undefined_flag \
82479 hardcode_libdir_flag_spec \
82480 hardcode_libdir_flag_spec_ld \
82481 hardcode_libdir_separator \
82482 fix_srcfile_path \
82483 exclude_expsyms \
82484 include_expsyms \
82485 file_list_spec \
82486 variables_saved_for_relink \
82487 libname_spec \
82488 library_names_spec \
82489 soname_spec \
82490 install_override_mode \
82491 finish_eval \
82492 old_striplib \
82493 striplib \
82494 compiler_lib_search_dirs \
82495 predep_objects \
82496 postdep_objects \
82497 predeps \
82498 postdeps \
82499 compiler_lib_search_path \
82500 LD_CXX \
82501 reload_flag_CXX \
82502 compiler_CXX \
82503 lt_prog_compiler_no_builtin_flag_CXX \
82504 lt_prog_compiler_wl_CXX \
82505 lt_prog_compiler_pic_CXX \
82506 lt_prog_compiler_static_CXX \
82507 lt_cv_prog_compiler_c_o_CXX \
82508 export_dynamic_flag_spec_CXX \
82509 whole_archive_flag_spec_CXX \
82510 compiler_needs_object_CXX \
82511 with_gnu_ld_CXX \
82512 allow_undefined_flag_CXX \
82513 no_undefined_flag_CXX \
82514 hardcode_libdir_flag_spec_CXX \
82515 hardcode_libdir_flag_spec_ld_CXX \
82516 hardcode_libdir_separator_CXX \
82517 fix_srcfile_path_CXX \
82518 exclude_expsyms_CXX \
82519 include_expsyms_CXX \
82520 file_list_spec_CXX \
82521 compiler_lib_search_dirs_CXX \
82522 predep_objects_CXX \
82523 postdep_objects_CXX \
82524 predeps_CXX \
82525 postdeps_CXX \
82526 compiler_lib_search_path_CXX; do
82527 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82528 *[\\\\\\\`\\"\\\$]*)
82529 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82532 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82534 esac
82535 done
82537 # Double-quote double-evaled strings.
82538 for var in reload_cmds \
82539 old_postinstall_cmds \
82540 old_postuninstall_cmds \
82541 old_archive_cmds \
82542 extract_expsyms_cmds \
82543 old_archive_from_new_cmds \
82544 old_archive_from_expsyms_cmds \
82545 archive_cmds \
82546 archive_expsym_cmds \
82547 module_cmds \
82548 module_expsym_cmds \
82549 export_symbols_cmds \
82550 prelink_cmds \
82551 postinstall_cmds \
82552 postuninstall_cmds \
82553 finish_cmds \
82554 sys_lib_search_path_spec \
82555 sys_lib_dlsearch_path_spec \
82556 reload_cmds_CXX \
82557 old_archive_cmds_CXX \
82558 old_archive_from_new_cmds_CXX \
82559 old_archive_from_expsyms_cmds_CXX \
82560 archive_cmds_CXX \
82561 archive_expsym_cmds_CXX \
82562 module_cmds_CXX \
82563 module_expsym_cmds_CXX \
82564 export_symbols_cmds_CXX \
82565 prelink_cmds_CXX; do
82566 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82567 *[\\\\\\\`\\"\\\$]*)
82568 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82571 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82573 esac
82574 done
82576 ac_aux_dir='$ac_aux_dir'
82577 xsi_shell='$xsi_shell'
82578 lt_shell_append='$lt_shell_append'
82580 # See if we are running on zsh, and set the options which allow our
82581 # commands through without removal of \ escapes INIT.
82582 if test -n "\${ZSH_VERSION+set}" ; then
82583 setopt NO_GLOB_SUBST
82587 PACKAGE='$PACKAGE'
82588 VERSION='$VERSION'
82589 TIMESTAMP='$TIMESTAMP'
82590 RM='$RM'
82591 ofile='$ofile'
82598 GCC="$GCC"
82599 CC="$CC"
82600 acx_cv_header_stdint="$acx_cv_header_stdint"
82601 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82602 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82603 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82604 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82605 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82606 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82607 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82608 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82609 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82610 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82611 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82612 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82613 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82616 _ACEOF
82618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82620 # Handling of arguments.
82621 for ac_config_target in $ac_config_targets
82623 case $ac_config_target in
82624 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82625 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82626 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82627 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82628 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82629 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82630 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82631 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82632 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82633 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82634 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82635 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82636 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82637 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82638 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82639 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82640 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82641 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82642 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82644 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82645 esac
82646 done
82649 # If the user did not use the arguments to specify the items to instantiate,
82650 # then the envvar interface is used. Set only those that are not.
82651 # We use the long form for the default assignment because of an extremely
82652 # bizarre bug on SunOS 4.1.3.
82653 if $ac_need_defaults; then
82654 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82655 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82656 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82659 # Have a temporary directory for convenience. Make it in the build tree
82660 # simply because there is no reason against having it here, and in addition,
82661 # creating and moving files from /tmp can sometimes cause problems.
82662 # Hook for its removal unless debugging.
82663 # Note that there is a small window in which the directory will not be cleaned:
82664 # after its creation but before its name has been assigned to `$tmp'.
82665 $debug ||
82667 tmp=
82668 trap 'exit_status=$?
82669 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82671 trap 'as_fn_exit 1' 1 2 13 15
82673 # Create a (secure) tmp directory for tmp files.
82676 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82677 test -n "$tmp" && test -d "$tmp"
82678 } ||
82680 tmp=./conf$$-$RANDOM
82681 (umask 077 && mkdir "$tmp")
82682 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82684 # Set up the scripts for CONFIG_FILES section.
82685 # No need to generate them if there are no CONFIG_FILES.
82686 # This happens for instance with `./config.status config.h'.
82687 if test -n "$CONFIG_FILES"; then
82690 ac_cr=`echo X | tr X '\015'`
82691 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82692 # But we know of no other shell where ac_cr would be empty at this
82693 # point, so we can use a bashism as a fallback.
82694 if test "x$ac_cr" = x; then
82695 eval ac_cr=\$\'\\r\'
82697 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82698 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82699 ac_cs_awk_cr='\r'
82700 else
82701 ac_cs_awk_cr=$ac_cr
82704 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82705 _ACEOF
82709 echo "cat >conf$$subs.awk <<_ACEOF" &&
82710 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82711 echo "_ACEOF"
82712 } >conf$$subs.sh ||
82713 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82714 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82715 ac_delim='%!_!# '
82716 for ac_last_try in false false false false false :; do
82717 . ./conf$$subs.sh ||
82718 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82720 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82721 if test $ac_delim_n = $ac_delim_num; then
82722 break
82723 elif $ac_last_try; then
82724 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82725 else
82726 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82728 done
82729 rm -f conf$$subs.sh
82731 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82732 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82733 _ACEOF
82734 sed -n '
82736 s/^/S["/; s/!.*/"]=/
82739 s/^[^!]*!//
82740 :repl
82741 t repl
82742 s/'"$ac_delim"'$//
82743 t delim
82746 s/\(.\{148\}\).*/\1/
82747 t more1
82748 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82751 b repl
82752 :more1
82753 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82756 s/.\{148\}//
82757 t nl
82758 :delim
82760 s/\(.\{148\}\).*/\1/
82761 t more2
82762 s/["\\]/\\&/g; s/^/"/; s/$/"/
82765 :more2
82766 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82769 s/.\{148\}//
82770 t delim
82771 ' <conf$$subs.awk | sed '
82772 /^[^""]/{
82774 s/\n//
82776 ' >>$CONFIG_STATUS || ac_write_fail=1
82777 rm -f conf$$subs.awk
82778 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82779 _ACAWK
82780 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82781 for (key in S) S_is_set[key] = 1
82782 FS = "\a"
82786 line = $ 0
82787 nfields = split(line, field, "@")
82788 substed = 0
82789 len = length(field[1])
82790 for (i = 2; i < nfields; i++) {
82791 key = field[i]
82792 keylen = length(key)
82793 if (S_is_set[key]) {
82794 value = S[key]
82795 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82796 len += length(value) + length(field[++i])
82797 substed = 1
82798 } else
82799 len += 1 + keylen
82802 print line
82805 _ACAWK
82806 _ACEOF
82807 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82808 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82809 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82810 else
82812 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82813 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82814 _ACEOF
82816 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82817 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82818 # trailing colons and then remove the whole line if VPATH becomes empty
82819 # (actually we leave an empty line to preserve line numbers).
82820 if test "x$srcdir" = x.; then
82821 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82822 s/:*\$(srcdir):*/:/
82823 s/:*\${srcdir}:*/:/
82824 s/:*@srcdir@:*/:/
82825 s/^\([^=]*=[ ]*\):*/\1/
82826 s/:*$//
82827 s/^[^=]*=[ ]*$//
82831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82832 fi # test -n "$CONFIG_FILES"
82834 # Set up the scripts for CONFIG_HEADERS section.
82835 # No need to generate them if there are no CONFIG_HEADERS.
82836 # This happens for instance with `./config.status Makefile'.
82837 if test -n "$CONFIG_HEADERS"; then
82838 cat >"$tmp/defines.awk" <<\_ACAWK ||
82839 BEGIN {
82840 _ACEOF
82842 # Transform confdefs.h into an awk script `defines.awk', embedded as
82843 # here-document in config.status, that substitutes the proper values into
82844 # config.h.in to produce config.h.
82846 # Create a delimiter string that does not exist in confdefs.h, to ease
82847 # handling of long lines.
82848 ac_delim='%!_!# '
82849 for ac_last_try in false false :; do
82850 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82851 if test -z "$ac_t"; then
82852 break
82853 elif $ac_last_try; then
82854 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82855 else
82856 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82858 done
82860 # For the awk script, D is an array of macro values keyed by name,
82861 # likewise P contains macro parameters if any. Preserve backslash
82862 # newline sequences.
82864 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82865 sed -n '
82866 s/.\{148\}/&'"$ac_delim"'/g
82867 t rset
82868 :rset
82869 s/^[ ]*#[ ]*define[ ][ ]*/ /
82870 t def
82872 :def
82873 s/\\$//
82874 t bsnl
82875 s/["\\]/\\&/g
82876 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82877 D["\1"]=" \3"/p
82878 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82880 :bsnl
82881 s/["\\]/\\&/g
82882 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82883 D["\1"]=" \3\\\\\\n"\\/p
82884 t cont
82885 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82886 t cont
82888 :cont
82890 s/.\{148\}/&'"$ac_delim"'/g
82891 t clear
82892 :clear
82893 s/\\$//
82894 t bsnlc
82895 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82897 :bsnlc
82898 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82899 b cont
82900 ' <confdefs.h | sed '
82901 s/'"$ac_delim"'/"\\\
82902 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82904 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82905 for (key in D) D_is_set[key] = 1
82906 FS = "\a"
82908 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82909 line = \$ 0
82910 split(line, arg, " ")
82911 if (arg[1] == "#") {
82912 defundef = arg[2]
82913 mac1 = arg[3]
82914 } else {
82915 defundef = substr(arg[1], 2)
82916 mac1 = arg[2]
82918 split(mac1, mac2, "(") #)
82919 macro = mac2[1]
82920 prefix = substr(line, 1, index(line, defundef) - 1)
82921 if (D_is_set[macro]) {
82922 # Preserve the white space surrounding the "#".
82923 print prefix "define", macro P[macro] D[macro]
82924 next
82925 } else {
82926 # Replace #undef with comments. This is necessary, for example,
82927 # in the case of _POSIX_SOURCE, which is predefined and required
82928 # on some systems where configure will not decide to define it.
82929 if (defundef == "undef") {
82930 print "/*", prefix defundef, macro, "*/"
82931 next
82935 { print }
82936 _ACAWK
82937 _ACEOF
82938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82939 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82940 fi # test -n "$CONFIG_HEADERS"
82943 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82944 shift
82945 for ac_tag
82947 case $ac_tag in
82948 :[FHLC]) ac_mode=$ac_tag; continue;;
82949 esac
82950 case $ac_mode$ac_tag in
82951 :[FHL]*:*);;
82952 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82953 :[FH]-) ac_tag=-:-;;
82954 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82955 esac
82956 ac_save_IFS=$IFS
82957 IFS=:
82958 set x $ac_tag
82959 IFS=$ac_save_IFS
82960 shift
82961 ac_file=$1
82962 shift
82964 case $ac_mode in
82965 :L) ac_source=$1;;
82966 :[FH])
82967 ac_file_inputs=
82968 for ac_f
82970 case $ac_f in
82971 -) ac_f="$tmp/stdin";;
82972 *) # Look for the file first in the build tree, then in the source tree
82973 # (if the path is not absolute). The absolute path cannot be DOS-style,
82974 # because $ac_f cannot contain `:'.
82975 test -f "$ac_f" ||
82976 case $ac_f in
82977 [\\/$]*) false;;
82978 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82979 esac ||
82980 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82981 esac
82982 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82983 as_fn_append ac_file_inputs " '$ac_f'"
82984 done
82986 # Let's still pretend it is `configure' which instantiates (i.e., don't
82987 # use $as_me), people would be surprised to read:
82988 # /* config.h. Generated by config.status. */
82989 configure_input='Generated from '`
82990 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82991 `' by configure.'
82992 if test x"$ac_file" != x-; then
82993 configure_input="$ac_file. $configure_input"
82994 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82995 $as_echo "$as_me: creating $ac_file" >&6;}
82997 # Neutralize special characters interpreted by sed in replacement strings.
82998 case $configure_input in #(
82999 *\&* | *\|* | *\\* )
83000 ac_sed_conf_input=`$as_echo "$configure_input" |
83001 sed 's/[\\\\&|]/\\\\&/g'`;; #(
83002 *) ac_sed_conf_input=$configure_input;;
83003 esac
83005 case $ac_tag in
83006 *:-:* | *:-) cat >"$tmp/stdin" \
83007 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
83008 esac
83010 esac
83012 ac_dir=`$as_dirname -- "$ac_file" ||
83013 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83014 X"$ac_file" : 'X\(//\)[^/]' \| \
83015 X"$ac_file" : 'X\(//\)$' \| \
83016 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83017 $as_echo X"$ac_file" |
83018 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83019 s//\1/
83022 /^X\(\/\/\)[^/].*/{
83023 s//\1/
83026 /^X\(\/\/\)$/{
83027 s//\1/
83030 /^X\(\/\).*/{
83031 s//\1/
83034 s/.*/./; q'`
83035 as_dir="$ac_dir"; as_fn_mkdir_p
83036 ac_builddir=.
83038 case "$ac_dir" in
83039 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83041 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83042 # A ".." for each directory in $ac_dir_suffix.
83043 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83044 case $ac_top_builddir_sub in
83045 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83046 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83047 esac ;;
83048 esac
83049 ac_abs_top_builddir=$ac_pwd
83050 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83051 # for backward compatibility:
83052 ac_top_builddir=$ac_top_build_prefix
83054 case $srcdir in
83055 .) # We are building in place.
83056 ac_srcdir=.
83057 ac_top_srcdir=$ac_top_builddir_sub
83058 ac_abs_top_srcdir=$ac_pwd ;;
83059 [\\/]* | ?:[\\/]* ) # Absolute name.
83060 ac_srcdir=$srcdir$ac_dir_suffix;
83061 ac_top_srcdir=$srcdir
83062 ac_abs_top_srcdir=$srcdir ;;
83063 *) # Relative name.
83064 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83065 ac_top_srcdir=$ac_top_build_prefix$srcdir
83066 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83067 esac
83068 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83071 case $ac_mode in
83074 # CONFIG_FILE
83077 case $INSTALL in
83078 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83079 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83080 esac
83081 ac_MKDIR_P=$MKDIR_P
83082 case $MKDIR_P in
83083 [\\/$]* | ?:[\\/]* ) ;;
83084 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83085 esac
83086 _ACEOF
83088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83089 # If the template does not know about datarootdir, expand it.
83090 # FIXME: This hack should be removed a few years after 2.60.
83091 ac_datarootdir_hack=; ac_datarootdir_seen=
83092 ac_sed_dataroot='
83093 /datarootdir/ {
83097 /@datadir@/p
83098 /@docdir@/p
83099 /@infodir@/p
83100 /@localedir@/p
83101 /@mandir@/p'
83102 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83103 *datarootdir*) ac_datarootdir_seen=yes;;
83104 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83105 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83106 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83107 _ACEOF
83108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83109 ac_datarootdir_hack='
83110 s&@datadir@&$datadir&g
83111 s&@docdir@&$docdir&g
83112 s&@infodir@&$infodir&g
83113 s&@localedir@&$localedir&g
83114 s&@mandir@&$mandir&g
83115 s&\\\${datarootdir}&$datarootdir&g' ;;
83116 esac
83117 _ACEOF
83119 # Neutralize VPATH when `$srcdir' = `.'.
83120 # Shell code in configure.ac might set extrasub.
83121 # FIXME: do we really want to maintain this feature?
83122 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83123 ac_sed_extra="$ac_vpsub
83124 $extrasub
83125 _ACEOF
83126 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83128 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83129 s|@configure_input@|$ac_sed_conf_input|;t t
83130 s&@top_builddir@&$ac_top_builddir_sub&;t t
83131 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83132 s&@srcdir@&$ac_srcdir&;t t
83133 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83134 s&@top_srcdir@&$ac_top_srcdir&;t t
83135 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83136 s&@builddir@&$ac_builddir&;t t
83137 s&@abs_builddir@&$ac_abs_builddir&;t t
83138 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83139 s&@INSTALL@&$ac_INSTALL&;t t
83140 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83141 $ac_datarootdir_hack
83143 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83144 || as_fn_error "could not create $ac_file" "$LINENO" 5
83146 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83147 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83148 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83150 which seems to be undefined. Please make sure it is defined." >&5
83151 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83152 which seems to be undefined. Please make sure it is defined." >&2;}
83154 rm -f "$tmp/stdin"
83155 case $ac_file in
83156 -) cat "$tmp/out" && rm -f "$tmp/out";;
83157 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83158 esac \
83159 || as_fn_error "could not create $ac_file" "$LINENO" 5
83163 # CONFIG_HEADER
83165 if test x"$ac_file" != x-; then
83167 $as_echo "/* $configure_input */" \
83168 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83169 } >"$tmp/config.h" \
83170 || as_fn_error "could not create $ac_file" "$LINENO" 5
83171 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83172 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83173 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83174 else
83175 rm -f "$ac_file"
83176 mv "$tmp/config.h" "$ac_file" \
83177 || as_fn_error "could not create $ac_file" "$LINENO" 5
83179 else
83180 $as_echo "/* $configure_input */" \
83181 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83182 || as_fn_error "could not create -" "$LINENO" 5
83184 # Compute "$ac_file"'s index in $config_headers.
83185 _am_arg="$ac_file"
83186 _am_stamp_count=1
83187 for _am_header in $config_headers :; do
83188 case $_am_header in
83189 $_am_arg | $_am_arg:* )
83190 break ;;
83192 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83193 esac
83194 done
83195 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83196 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83197 X"$_am_arg" : 'X\(//\)[^/]' \| \
83198 X"$_am_arg" : 'X\(//\)$' \| \
83199 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83200 $as_echo X"$_am_arg" |
83201 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83202 s//\1/
83205 /^X\(\/\/\)[^/].*/{
83206 s//\1/
83209 /^X\(\/\/\)$/{
83210 s//\1/
83213 /^X\(\/\).*/{
83214 s//\1/
83217 s/.*/./; q'`/stamp-h$_am_stamp_count
83220 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83221 $as_echo "$as_me: executing $ac_file commands" >&6;}
83223 esac
83226 case $ac_file$ac_mode in
83227 "default-1":C)
83228 # Only add multilib support code if we just rebuilt the top-level
83229 # Makefile.
83230 case " $CONFIG_FILES " in
83231 *" Makefile "*)
83232 ac_file=Makefile . ${multi_basedir}/config-ml.in
83234 esac ;;
83235 "libtool":C)
83237 # See if we are running on zsh, and set the options which allow our
83238 # commands through without removal of \ escapes.
83239 if test -n "${ZSH_VERSION+set}" ; then
83240 setopt NO_GLOB_SUBST
83243 cfgfile="${ofile}T"
83244 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83245 $RM "$cfgfile"
83247 cat <<_LT_EOF >> "$cfgfile"
83248 #! $SHELL
83250 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83251 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83252 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83253 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83255 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83256 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83257 # Written by Gordon Matzigkeit, 1996
83259 # This file is part of GNU Libtool.
83261 # GNU Libtool is free software; you can redistribute it and/or
83262 # modify it under the terms of the GNU General Public License as
83263 # published by the Free Software Foundation; either version 2 of
83264 # the License, or (at your option) any later version.
83266 # As a special exception to the GNU General Public License,
83267 # if you distribute this file as part of a program or library that
83268 # is built using GNU Libtool, you may include this file under the
83269 # same distribution terms that you use for the rest of that program.
83271 # GNU Libtool is distributed in the hope that it will be useful,
83272 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83273 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83274 # GNU General Public License for more details.
83276 # You should have received a copy of the GNU General Public License
83277 # along with GNU Libtool; see the file COPYING. If not, a copy
83278 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83279 # obtained by writing to the Free Software Foundation, Inc.,
83280 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83283 # The names of the tagged configurations supported by this script.
83284 available_tags="CXX "
83286 # ### BEGIN LIBTOOL CONFIG
83288 # Which release of libtool.m4 was used?
83289 macro_version=$macro_version
83290 macro_revision=$macro_revision
83292 # Whether or not to build shared libraries.
83293 build_libtool_libs=$enable_shared
83295 # Whether or not to build static libraries.
83296 build_old_libs=$enable_static
83298 # What type of objects to build.
83299 pic_mode=$pic_mode
83301 # Whether or not to optimize for fast installation.
83302 fast_install=$enable_fast_install
83304 # Shell to use when invoking shell scripts.
83305 SHELL=$lt_SHELL
83307 # An echo program that protects backslashes.
83308 ECHO=$lt_ECHO
83310 # The host system.
83311 host_alias=$host_alias
83312 host=$host
83313 host_os=$host_os
83315 # The build system.
83316 build_alias=$build_alias
83317 build=$build
83318 build_os=$build_os
83320 # A sed program that does not truncate output.
83321 SED=$lt_SED
83323 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83324 Xsed="\$SED -e 1s/^X//"
83326 # A grep program that handles long lines.
83327 GREP=$lt_GREP
83329 # An ERE matcher.
83330 EGREP=$lt_EGREP
83332 # A literal string matcher.
83333 FGREP=$lt_FGREP
83335 # A BSD- or MS-compatible name lister.
83336 NM=$lt_NM
83338 # Whether we need soft or hard links.
83339 LN_S=$lt_LN_S
83341 # What is the maximum length of a command?
83342 max_cmd_len=$max_cmd_len
83344 # Object file suffix (normally "o").
83345 objext=$ac_objext
83347 # Executable file suffix (normally "").
83348 exeext=$exeext
83350 # whether the shell understands "unset".
83351 lt_unset=$lt_unset
83353 # turn spaces into newlines.
83354 SP2NL=$lt_lt_SP2NL
83356 # turn newlines into spaces.
83357 NL2SP=$lt_lt_NL2SP
83359 # An object symbol dumper.
83360 OBJDUMP=$lt_OBJDUMP
83362 # Method to check whether dependent libraries are shared objects.
83363 deplibs_check_method=$lt_deplibs_check_method
83365 # Command to use when deplibs_check_method == "file_magic".
83366 file_magic_cmd=$lt_file_magic_cmd
83368 # The archiver.
83369 AR=$lt_AR
83370 AR_FLAGS=$lt_AR_FLAGS
83372 # A symbol stripping program.
83373 STRIP=$lt_STRIP
83375 # Commands used to install an old-style archive.
83376 RANLIB=$lt_RANLIB
83377 old_postinstall_cmds=$lt_old_postinstall_cmds
83378 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83380 # Whether to use a lock for old archive extraction.
83381 lock_old_archive_extraction=$lock_old_archive_extraction
83383 # A C compiler.
83384 LTCC=$lt_CC
83386 # LTCC compiler flags.
83387 LTCFLAGS=$lt_CFLAGS
83389 # Take the output of nm and produce a listing of raw symbols and C names.
83390 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83392 # Transform the output of nm in a proper C declaration.
83393 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83395 # Transform the output of nm in a C name address pair.
83396 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83398 # Transform the output of nm in a C name address pair when lib prefix is needed.
83399 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83401 # The name of the directory that contains temporary libtool files.
83402 objdir=$objdir
83404 # Used to examine libraries when file_magic_cmd begins with "file".
83405 MAGIC_CMD=$MAGIC_CMD
83407 # Must we lock files when doing compilation?
83408 need_locks=$lt_need_locks
83410 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83411 DSYMUTIL=$lt_DSYMUTIL
83413 # Tool to change global to local symbols on Mac OS X.
83414 NMEDIT=$lt_NMEDIT
83416 # Tool to manipulate fat objects and archives on Mac OS X.
83417 LIPO=$lt_LIPO
83419 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83420 OTOOL=$lt_OTOOL
83422 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83423 OTOOL64=$lt_OTOOL64
83425 # Old archive suffix (normally "a").
83426 libext=$libext
83428 # Shared library suffix (normally ".so").
83429 shrext_cmds=$lt_shrext_cmds
83431 # The commands to extract the exported symbol list from a shared archive.
83432 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83434 # Variables whose values should be saved in libtool wrapper scripts and
83435 # restored at link time.
83436 variables_saved_for_relink=$lt_variables_saved_for_relink
83438 # Do we need the "lib" prefix for modules?
83439 need_lib_prefix=$need_lib_prefix
83441 # Do we need a version for libraries?
83442 need_version=$need_version
83444 # Library versioning type.
83445 version_type=$version_type
83447 # Shared library runtime path variable.
83448 runpath_var=$runpath_var
83450 # Shared library path variable.
83451 shlibpath_var=$shlibpath_var
83453 # Is shlibpath searched before the hard-coded library search path?
83454 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83456 # Format of library name prefix.
83457 libname_spec=$lt_libname_spec
83459 # List of archive names. First name is the real one, the rest are links.
83460 # The last name is the one that the linker finds with -lNAME
83461 library_names_spec=$lt_library_names_spec
83463 # The coded name of the library, if different from the real name.
83464 soname_spec=$lt_soname_spec
83466 # Permission mode override for installation of shared libraries.
83467 install_override_mode=$lt_install_override_mode
83469 # Command to use after installation of a shared archive.
83470 postinstall_cmds=$lt_postinstall_cmds
83472 # Command to use after uninstallation of a shared archive.
83473 postuninstall_cmds=$lt_postuninstall_cmds
83475 # Commands used to finish a libtool library installation in a directory.
83476 finish_cmds=$lt_finish_cmds
83478 # As "finish_cmds", except a single script fragment to be evaled but
83479 # not shown.
83480 finish_eval=$lt_finish_eval
83482 # Whether we should hardcode library paths into libraries.
83483 hardcode_into_libs=$hardcode_into_libs
83485 # Compile-time system search path for libraries.
83486 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83488 # Run-time system search path for libraries.
83489 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83491 # Whether dlopen is supported.
83492 dlopen_support=$enable_dlopen
83494 # Whether dlopen of programs is supported.
83495 dlopen_self=$enable_dlopen_self
83497 # Whether dlopen of statically linked programs is supported.
83498 dlopen_self_static=$enable_dlopen_self_static
83500 # Commands to strip libraries.
83501 old_striplib=$lt_old_striplib
83502 striplib=$lt_striplib
83505 # The linker used to build libraries.
83506 LD=$lt_LD
83508 # How to create reloadable object files.
83509 reload_flag=$lt_reload_flag
83510 reload_cmds=$lt_reload_cmds
83512 # Commands used to build an old-style archive.
83513 old_archive_cmds=$lt_old_archive_cmds
83515 # A language specific compiler.
83516 CC=$lt_compiler
83518 # Is the compiler the GNU compiler?
83519 with_gcc=$GCC
83521 # Compiler flag to turn off builtin functions.
83522 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83524 # How to pass a linker flag through the compiler.
83525 wl=$lt_lt_prog_compiler_wl
83527 # Additional compiler flags for building library objects.
83528 pic_flag=$lt_lt_prog_compiler_pic
83530 # Compiler flag to prevent dynamic linking.
83531 link_static_flag=$lt_lt_prog_compiler_static
83533 # Does compiler simultaneously support -c and -o options?
83534 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83536 # Whether or not to add -lc for building shared libraries.
83537 build_libtool_need_lc=$archive_cmds_need_lc
83539 # Whether or not to disallow shared libs when runtime libs are static.
83540 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83542 # Compiler flag to allow reflexive dlopens.
83543 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83545 # Compiler flag to generate shared objects directly from archives.
83546 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83548 # Whether the compiler copes with passing no objects directly.
83549 compiler_needs_object=$lt_compiler_needs_object
83551 # Create an old-style archive from a shared archive.
83552 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83554 # Create a temporary old-style archive to link instead of a shared archive.
83555 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83557 # Commands used to build a shared archive.
83558 archive_cmds=$lt_archive_cmds
83559 archive_expsym_cmds=$lt_archive_expsym_cmds
83561 # Commands used to build a loadable module if different from building
83562 # a shared archive.
83563 module_cmds=$lt_module_cmds
83564 module_expsym_cmds=$lt_module_expsym_cmds
83566 # Whether we are building with GNU ld or not.
83567 with_gnu_ld=$lt_with_gnu_ld
83569 # Flag that allows shared libraries with undefined symbols to be built.
83570 allow_undefined_flag=$lt_allow_undefined_flag
83572 # Flag that enforces no undefined symbols.
83573 no_undefined_flag=$lt_no_undefined_flag
83575 # Flag to hardcode \$libdir into a binary during linking.
83576 # This must work even if \$libdir does not exist
83577 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83579 # If ld is used when linking, flag to hardcode \$libdir into a binary
83580 # during linking. This must work even if \$libdir does not exist.
83581 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83583 # Whether we need a single "-rpath" flag with a separated argument.
83584 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83586 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83587 # DIR into the resulting binary.
83588 hardcode_direct=$hardcode_direct
83590 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83591 # DIR into the resulting binary and the resulting library dependency is
83592 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83593 # library is relocated.
83594 hardcode_direct_absolute=$hardcode_direct_absolute
83596 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83597 # into the resulting binary.
83598 hardcode_minus_L=$hardcode_minus_L
83600 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83601 # into the resulting binary.
83602 hardcode_shlibpath_var=$hardcode_shlibpath_var
83604 # Set to "yes" if building a shared library automatically hardcodes DIR
83605 # into the library and all subsequent libraries and executables linked
83606 # against it.
83607 hardcode_automatic=$hardcode_automatic
83609 # Set to yes if linker adds runtime paths of dependent libraries
83610 # to runtime path list.
83611 inherit_rpath=$inherit_rpath
83613 # Whether libtool must link a program against all its dependency libraries.
83614 link_all_deplibs=$link_all_deplibs
83616 # Fix the shell variable \$srcfile for the compiler.
83617 fix_srcfile_path=$lt_fix_srcfile_path
83619 # Set to "yes" if exported symbols are required.
83620 always_export_symbols=$always_export_symbols
83622 # The commands to list exported symbols.
83623 export_symbols_cmds=$lt_export_symbols_cmds
83625 # Symbols that should not be listed in the preloaded symbols.
83626 exclude_expsyms=$lt_exclude_expsyms
83628 # Symbols that must always be exported.
83629 include_expsyms=$lt_include_expsyms
83631 # Commands necessary for linking programs (against libraries) with templates.
83632 prelink_cmds=$lt_prelink_cmds
83634 # Specify filename containing input files.
83635 file_list_spec=$lt_file_list_spec
83637 # How to hardcode a shared library path into an executable.
83638 hardcode_action=$hardcode_action
83640 # The directories searched by this compiler when creating a shared library.
83641 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83643 # Dependencies to place before and after the objects being linked to
83644 # create a shared library.
83645 predep_objects=$lt_predep_objects
83646 postdep_objects=$lt_postdep_objects
83647 predeps=$lt_predeps
83648 postdeps=$lt_postdeps
83650 # The library search path used internally by the compiler when linking
83651 # a shared library.
83652 compiler_lib_search_path=$lt_compiler_lib_search_path
83654 # ### END LIBTOOL CONFIG
83656 _LT_EOF
83658 case $host_os in
83659 aix3*)
83660 cat <<\_LT_EOF >> "$cfgfile"
83661 # AIX sometimes has problems with the GCC collect2 program. For some
83662 # reason, if we set the COLLECT_NAMES environment variable, the problems
83663 # vanish in a puff of smoke.
83664 if test "X${COLLECT_NAMES+set}" != Xset; then
83665 COLLECT_NAMES=
83666 export COLLECT_NAMES
83668 _LT_EOF
83670 esac
83673 ltmain="$ac_aux_dir/ltmain.sh"
83676 # We use sed instead of cat because bash on DJGPP gets confused if
83677 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83678 # text mode, it properly converts lines to CR/LF. This bash problem
83679 # is reportedly fixed, but why not run on old versions too?
83680 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83681 || (rm -f "$cfgfile"; exit 1)
83683 case $xsi_shell in
83684 yes)
83685 cat << \_LT_EOF >> "$cfgfile"
83687 # func_dirname file append nondir_replacement
83688 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83689 # otherwise set result to NONDIR_REPLACEMENT.
83690 func_dirname ()
83692 case ${1} in
83693 */*) func_dirname_result="${1%/*}${2}" ;;
83694 * ) func_dirname_result="${3}" ;;
83695 esac
83698 # func_basename file
83699 func_basename ()
83701 func_basename_result="${1##*/}"
83704 # func_dirname_and_basename file append nondir_replacement
83705 # perform func_basename and func_dirname in a single function
83706 # call:
83707 # dirname: Compute the dirname of FILE. If nonempty,
83708 # add APPEND to the result, otherwise set result
83709 # to NONDIR_REPLACEMENT.
83710 # value returned in "$func_dirname_result"
83711 # basename: Compute filename of FILE.
83712 # value retuned in "$func_basename_result"
83713 # Implementation must be kept synchronized with func_dirname
83714 # and func_basename. For efficiency, we do not delegate to
83715 # those functions but instead duplicate the functionality here.
83716 func_dirname_and_basename ()
83718 case ${1} in
83719 */*) func_dirname_result="${1%/*}${2}" ;;
83720 * ) func_dirname_result="${3}" ;;
83721 esac
83722 func_basename_result="${1##*/}"
83725 # func_stripname prefix suffix name
83726 # strip PREFIX and SUFFIX off of NAME.
83727 # PREFIX and SUFFIX must not contain globbing or regex special
83728 # characters, hashes, percent signs, but SUFFIX may contain a leading
83729 # dot (in which case that matches only a dot).
83730 func_stripname ()
83732 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83733 # positional parameters, so assign one to ordinary parameter first.
83734 func_stripname_result=${3}
83735 func_stripname_result=${func_stripname_result#"${1}"}
83736 func_stripname_result=${func_stripname_result%"${2}"}
83739 # func_opt_split
83740 func_opt_split ()
83742 func_opt_split_opt=${1%%=*}
83743 func_opt_split_arg=${1#*=}
83746 # func_lo2o object
83747 func_lo2o ()
83749 case ${1} in
83750 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83751 *) func_lo2o_result=${1} ;;
83752 esac
83755 # func_xform libobj-or-source
83756 func_xform ()
83758 func_xform_result=${1%.*}.lo
83761 # func_arith arithmetic-term...
83762 func_arith ()
83764 func_arith_result=$(( $* ))
83767 # func_len string
83768 # STRING may not start with a hyphen.
83769 func_len ()
83771 func_len_result=${#1}
83774 _LT_EOF
83776 *) # Bourne compatible functions.
83777 cat << \_LT_EOF >> "$cfgfile"
83779 # func_dirname file append nondir_replacement
83780 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83781 # otherwise set result to NONDIR_REPLACEMENT.
83782 func_dirname ()
83784 # Extract subdirectory from the argument.
83785 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83786 if test "X$func_dirname_result" = "X${1}"; then
83787 func_dirname_result="${3}"
83788 else
83789 func_dirname_result="$func_dirname_result${2}"
83793 # func_basename file
83794 func_basename ()
83796 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83800 # func_stripname prefix suffix name
83801 # strip PREFIX and SUFFIX off of NAME.
83802 # PREFIX and SUFFIX must not contain globbing or regex special
83803 # characters, hashes, percent signs, but SUFFIX may contain a leading
83804 # dot (in which case that matches only a dot).
83805 # func_strip_suffix prefix name
83806 func_stripname ()
83808 case ${2} in
83809 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83810 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83811 esac
83814 # sed scripts:
83815 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83816 my_sed_long_arg='1s/^-[^=]*=//'
83818 # func_opt_split
83819 func_opt_split ()
83821 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83822 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83825 # func_lo2o object
83826 func_lo2o ()
83828 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83831 # func_xform libobj-or-source
83832 func_xform ()
83834 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83837 # func_arith arithmetic-term...
83838 func_arith ()
83840 func_arith_result=`expr "$@"`
83843 # func_len string
83844 # STRING may not start with a hyphen.
83845 func_len ()
83847 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83850 _LT_EOF
83851 esac
83853 case $lt_shell_append in
83854 yes)
83855 cat << \_LT_EOF >> "$cfgfile"
83857 # func_append var value
83858 # Append VALUE to the end of shell variable VAR.
83859 func_append ()
83861 eval "$1+=\$2"
83863 _LT_EOF
83866 cat << \_LT_EOF >> "$cfgfile"
83868 # func_append var value
83869 # Append VALUE to the end of shell variable VAR.
83870 func_append ()
83872 eval "$1=\$$1\$2"
83875 _LT_EOF
83877 esac
83880 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83881 || (rm -f "$cfgfile"; exit 1)
83883 mv -f "$cfgfile" "$ofile" ||
83884 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83885 chmod +x "$ofile"
83888 cat <<_LT_EOF >> "$ofile"
83890 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83892 # The linker used to build libraries.
83893 LD=$lt_LD_CXX
83895 # How to create reloadable object files.
83896 reload_flag=$lt_reload_flag_CXX
83897 reload_cmds=$lt_reload_cmds_CXX
83899 # Commands used to build an old-style archive.
83900 old_archive_cmds=$lt_old_archive_cmds_CXX
83902 # A language specific compiler.
83903 CC=$lt_compiler_CXX
83905 # Is the compiler the GNU compiler?
83906 with_gcc=$GCC_CXX
83908 # Compiler flag to turn off builtin functions.
83909 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83911 # How to pass a linker flag through the compiler.
83912 wl=$lt_lt_prog_compiler_wl_CXX
83914 # Additional compiler flags for building library objects.
83915 pic_flag=$lt_lt_prog_compiler_pic_CXX
83917 # Compiler flag to prevent dynamic linking.
83918 link_static_flag=$lt_lt_prog_compiler_static_CXX
83920 # Does compiler simultaneously support -c and -o options?
83921 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83923 # Whether or not to add -lc for building shared libraries.
83924 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83926 # Whether or not to disallow shared libs when runtime libs are static.
83927 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83929 # Compiler flag to allow reflexive dlopens.
83930 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83932 # Compiler flag to generate shared objects directly from archives.
83933 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83935 # Whether the compiler copes with passing no objects directly.
83936 compiler_needs_object=$lt_compiler_needs_object_CXX
83938 # Create an old-style archive from a shared archive.
83939 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83941 # Create a temporary old-style archive to link instead of a shared archive.
83942 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83944 # Commands used to build a shared archive.
83945 archive_cmds=$lt_archive_cmds_CXX
83946 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83948 # Commands used to build a loadable module if different from building
83949 # a shared archive.
83950 module_cmds=$lt_module_cmds_CXX
83951 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83953 # Whether we are building with GNU ld or not.
83954 with_gnu_ld=$lt_with_gnu_ld_CXX
83956 # Flag that allows shared libraries with undefined symbols to be built.
83957 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83959 # Flag that enforces no undefined symbols.
83960 no_undefined_flag=$lt_no_undefined_flag_CXX
83962 # Flag to hardcode \$libdir into a binary during linking.
83963 # This must work even if \$libdir does not exist
83964 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83966 # If ld is used when linking, flag to hardcode \$libdir into a binary
83967 # during linking. This must work even if \$libdir does not exist.
83968 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83970 # Whether we need a single "-rpath" flag with a separated argument.
83971 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83974 # DIR into the resulting binary.
83975 hardcode_direct=$hardcode_direct_CXX
83977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83978 # DIR into the resulting binary and the resulting library dependency is
83979 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83980 # library is relocated.
83981 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83983 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83984 # into the resulting binary.
83985 hardcode_minus_L=$hardcode_minus_L_CXX
83987 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83988 # into the resulting binary.
83989 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83991 # Set to "yes" if building a shared library automatically hardcodes DIR
83992 # into the library and all subsequent libraries and executables linked
83993 # against it.
83994 hardcode_automatic=$hardcode_automatic_CXX
83996 # Set to yes if linker adds runtime paths of dependent libraries
83997 # to runtime path list.
83998 inherit_rpath=$inherit_rpath_CXX
84000 # Whether libtool must link a program against all its dependency libraries.
84001 link_all_deplibs=$link_all_deplibs_CXX
84003 # Fix the shell variable \$srcfile for the compiler.
84004 fix_srcfile_path=$lt_fix_srcfile_path_CXX
84006 # Set to "yes" if exported symbols are required.
84007 always_export_symbols=$always_export_symbols_CXX
84009 # The commands to list exported symbols.
84010 export_symbols_cmds=$lt_export_symbols_cmds_CXX
84012 # Symbols that should not be listed in the preloaded symbols.
84013 exclude_expsyms=$lt_exclude_expsyms_CXX
84015 # Symbols that must always be exported.
84016 include_expsyms=$lt_include_expsyms_CXX
84018 # Commands necessary for linking programs (against libraries) with templates.
84019 prelink_cmds=$lt_prelink_cmds_CXX
84021 # Specify filename containing input files.
84022 file_list_spec=$lt_file_list_spec_CXX
84024 # How to hardcode a shared library path into an executable.
84025 hardcode_action=$hardcode_action_CXX
84027 # The directories searched by this compiler when creating a shared library.
84028 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84030 # Dependencies to place before and after the objects being linked to
84031 # create a shared library.
84032 predep_objects=$lt_predep_objects_CXX
84033 postdep_objects=$lt_postdep_objects_CXX
84034 predeps=$lt_predeps_CXX
84035 postdeps=$lt_postdeps_CXX
84037 # The library search path used internally by the compiler when linking
84038 # a shared library.
84039 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84041 # ### END LIBTOOL TAG CONFIG: CXX
84042 _LT_EOF
84045 "include/gstdint.h":C)
84046 if test "$GCC" = yes; then
84047 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84048 else
84049 echo "/* generated for $CC */" > tmp-stdint.h
84052 sed 's/^ *//' >> tmp-stdint.h <<EOF
84054 #ifndef GCC_GENERATED_STDINT_H
84055 #define GCC_GENERATED_STDINT_H 1
84057 #include <sys/types.h>
84060 if test "$acx_cv_header_stdint" != stdint.h; then
84061 echo "#include <stddef.h>" >> tmp-stdint.h
84063 if test "$acx_cv_header_stdint" != stddef.h; then
84064 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84067 sed 's/^ *//' >> tmp-stdint.h <<EOF
84068 /* glibc uses these symbols as guards to prevent redefinitions. */
84069 #ifdef __int8_t_defined
84070 #define _INT8_T
84071 #define _INT16_T
84072 #define _INT32_T
84073 #endif
84074 #ifdef __uint32_t_defined
84075 #define _UINT32_T
84076 #endif
84080 # ----------------- done header, emit basic int types -------------
84081 if test "$acx_cv_header_stdint" = stddef.h; then
84082 sed 's/^ *//' >> tmp-stdint.h <<EOF
84084 #ifndef _UINT8_T
84085 #define _UINT8_T
84086 #ifndef __uint8_t_defined
84087 #define __uint8_t_defined
84088 #ifndef uint8_t
84089 typedef unsigned $acx_cv_type_int8_t uint8_t;
84090 #endif
84091 #endif
84092 #endif
84094 #ifndef _UINT16_T
84095 #define _UINT16_T
84096 #ifndef __uint16_t_defined
84097 #define __uint16_t_defined
84098 #ifndef uint16_t
84099 typedef unsigned $acx_cv_type_int16_t uint16_t;
84100 #endif
84101 #endif
84102 #endif
84104 #ifndef _UINT32_T
84105 #define _UINT32_T
84106 #ifndef __uint32_t_defined
84107 #define __uint32_t_defined
84108 #ifndef uint32_t
84109 typedef unsigned $acx_cv_type_int32_t uint32_t;
84110 #endif
84111 #endif
84112 #endif
84114 #ifndef _INT8_T
84115 #define _INT8_T
84116 #ifndef __int8_t_defined
84117 #define __int8_t_defined
84118 #ifndef int8_t
84119 typedef $acx_cv_type_int8_t int8_t;
84120 #endif
84121 #endif
84122 #endif
84124 #ifndef _INT16_T
84125 #define _INT16_T
84126 #ifndef __int16_t_defined
84127 #define __int16_t_defined
84128 #ifndef int16_t
84129 typedef $acx_cv_type_int16_t int16_t;
84130 #endif
84131 #endif
84132 #endif
84134 #ifndef _INT32_T
84135 #define _INT32_T
84136 #ifndef __int32_t_defined
84137 #define __int32_t_defined
84138 #ifndef int32_t
84139 typedef $acx_cv_type_int32_t int32_t;
84140 #endif
84141 #endif
84142 #endif
84144 elif test "$ac_cv_type_u_int32_t" = yes; then
84145 sed 's/^ *//' >> tmp-stdint.h <<EOF
84147 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84148 #ifndef _INT8_T
84149 #define _INT8_T
84150 #endif
84151 #ifndef _INT16_T
84152 #define _INT16_T
84153 #endif
84154 #ifndef _INT32_T
84155 #define _INT32_T
84156 #endif
84158 #ifndef _UINT8_T
84159 #define _UINT8_T
84160 #ifndef __uint8_t_defined
84161 #define __uint8_t_defined
84162 #ifndef uint8_t
84163 typedef u_int8_t uint8_t;
84164 #endif
84165 #endif
84166 #endif
84168 #ifndef _UINT16_T
84169 #define _UINT16_T
84170 #ifndef __uint16_t_defined
84171 #define __uint16_t_defined
84172 #ifndef uint16_t
84173 typedef u_int16_t uint16_t;
84174 #endif
84175 #endif
84176 #endif
84178 #ifndef _UINT32_T
84179 #define _UINT32_T
84180 #ifndef __uint32_t_defined
84181 #define __uint32_t_defined
84182 #ifndef uint32_t
84183 typedef u_int32_t uint32_t;
84184 #endif
84185 #endif
84186 #endif
84188 else
84189 sed 's/^ *//' >> tmp-stdint.h <<EOF
84191 /* Some systems have guard macros to prevent redefinitions, define them. */
84192 #ifndef _INT8_T
84193 #define _INT8_T
84194 #endif
84195 #ifndef _INT16_T
84196 #define _INT16_T
84197 #endif
84198 #ifndef _INT32_T
84199 #define _INT32_T
84200 #endif
84201 #ifndef _UINT8_T
84202 #define _UINT8_T
84203 #endif
84204 #ifndef _UINT16_T
84205 #define _UINT16_T
84206 #endif
84207 #ifndef _UINT32_T
84208 #define _UINT32_T
84209 #endif
84213 # ------------- done basic int types, emit int64_t types ------------
84214 if test "$ac_cv_type_uint64_t" = yes; then
84215 sed 's/^ *//' >> tmp-stdint.h <<EOF
84217 /* system headers have good uint64_t and int64_t */
84218 #ifndef _INT64_T
84219 #define _INT64_T
84220 #endif
84221 #ifndef _UINT64_T
84222 #define _UINT64_T
84223 #endif
84225 elif test "$ac_cv_type_u_int64_t" = yes; then
84226 sed 's/^ *//' >> tmp-stdint.h <<EOF
84228 /* system headers have an u_int64_t (and int64_t) */
84229 #ifndef _INT64_T
84230 #define _INT64_T
84231 #endif
84232 #ifndef _UINT64_T
84233 #define _UINT64_T
84234 #ifndef __uint64_t_defined
84235 #define __uint64_t_defined
84236 #ifndef uint64_t
84237 typedef u_int64_t uint64_t;
84238 #endif
84239 #endif
84240 #endif
84242 elif test -n "$acx_cv_type_int64_t"; then
84243 sed 's/^ *//' >> tmp-stdint.h <<EOF
84245 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84246 #ifndef _INT64_T
84247 #define _INT64_T
84248 #ifndef int64_t
84249 typedef $acx_cv_type_int64_t int64_t;
84250 #endif
84251 #endif
84252 #ifndef _UINT64_T
84253 #define _UINT64_T
84254 #ifndef __uint64_t_defined
84255 #define __uint64_t_defined
84256 #ifndef uint64_t
84257 typedef unsigned $acx_cv_type_int64_t uint64_t;
84258 #endif
84259 #endif
84260 #endif
84262 else
84263 sed 's/^ *//' >> tmp-stdint.h <<EOF
84265 /* some common heuristics for int64_t, using compiler-specific tests */
84266 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84267 #ifndef _INT64_T
84268 #define _INT64_T
84269 #ifndef __int64_t_defined
84270 #ifndef int64_t
84271 typedef long long int64_t;
84272 #endif
84273 #endif
84274 #endif
84275 #ifndef _UINT64_T
84276 #define _UINT64_T
84277 #ifndef uint64_t
84278 typedef unsigned long long uint64_t;
84279 #endif
84280 #endif
84282 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84283 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84284 does not implement __extension__. But that compiler doesn't define
84285 __GNUC_MINOR__. */
84286 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84287 # define __extension__
84288 # endif
84290 # ifndef _INT64_T
84291 # define _INT64_T
84292 # ifndef int64_t
84293 __extension__ typedef long long int64_t;
84294 # endif
84295 # endif
84296 # ifndef _UINT64_T
84297 # define _UINT64_T
84298 # ifndef uint64_t
84299 __extension__ typedef unsigned long long uint64_t;
84300 # endif
84301 # endif
84303 #elif !defined __STRICT_ANSI__
84304 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84306 # ifndef _INT64_T
84307 # define _INT64_T
84308 # ifndef int64_t
84309 typedef __int64 int64_t;
84310 # endif
84311 # endif
84312 # ifndef _UINT64_T
84313 # define _UINT64_T
84314 # ifndef uint64_t
84315 typedef unsigned __int64 uint64_t;
84316 # endif
84317 # endif
84318 # endif /* compiler */
84320 #endif /* ANSI version */
84324 # ------------- done int64_t types, emit intptr types ------------
84325 if test "$ac_cv_type_uintptr_t" != yes; then
84326 sed 's/^ *//' >> tmp-stdint.h <<EOF
84328 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84329 #ifndef __uintptr_t_defined
84330 #ifndef uintptr_t
84331 typedef u$acx_cv_type_intptr_t uintptr_t;
84332 #endif
84333 #endif
84334 #ifndef __intptr_t_defined
84335 #ifndef intptr_t
84336 typedef $acx_cv_type_intptr_t intptr_t;
84337 #endif
84338 #endif
84342 # ------------- done intptr types, emit int_least types ------------
84343 if test "$ac_cv_type_int_least32_t" != yes; then
84344 sed 's/^ *//' >> tmp-stdint.h <<EOF
84346 /* Define int_least types */
84347 typedef int8_t int_least8_t;
84348 typedef int16_t int_least16_t;
84349 typedef int32_t int_least32_t;
84350 #ifdef _INT64_T
84351 typedef int64_t int_least64_t;
84352 #endif
84354 typedef uint8_t uint_least8_t;
84355 typedef uint16_t uint_least16_t;
84356 typedef uint32_t uint_least32_t;
84357 #ifdef _UINT64_T
84358 typedef uint64_t uint_least64_t;
84359 #endif
84363 # ------------- done intptr types, emit int_fast types ------------
84364 if test "$ac_cv_type_int_fast32_t" != yes; then
84365 sed 's/^ *//' >> tmp-stdint.h <<EOF
84367 /* Define int_fast types. short is often slow */
84368 typedef int8_t int_fast8_t;
84369 typedef int int_fast16_t;
84370 typedef int32_t int_fast32_t;
84371 #ifdef _INT64_T
84372 typedef int64_t int_fast64_t;
84373 #endif
84375 typedef uint8_t uint_fast8_t;
84376 typedef unsigned int uint_fast16_t;
84377 typedef uint32_t uint_fast32_t;
84378 #ifdef _UINT64_T
84379 typedef uint64_t uint_fast64_t;
84380 #endif
84384 if test "$ac_cv_type_uintmax_t" != yes; then
84385 sed 's/^ *//' >> tmp-stdint.h <<EOF
84387 /* Define intmax based on what we found */
84388 #ifndef intmax_t
84389 #ifdef _INT64_T
84390 typedef int64_t intmax_t;
84391 #else
84392 typedef long intmax_t;
84393 #endif
84394 #endif
84395 #ifndef uintmax_t
84396 #ifdef _UINT64_T
84397 typedef uint64_t uintmax_t;
84398 #else
84399 typedef unsigned long uintmax_t;
84400 #endif
84401 #endif
84405 sed 's/^ *//' >> tmp-stdint.h <<EOF
84407 #endif /* GCC_GENERATED_STDINT_H */
84410 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84411 rm -f tmp-stdint.h
84412 else
84413 mv -f tmp-stdint.h include/gstdint.h
84417 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84418 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84419 "include/Makefile":F) cat > vpsed$$ << \_EOF
84420 s!`test -f '$<' || echo '$(srcdir)/'`!!
84421 _EOF
84422 sed -f vpsed$$ $ac_file > tmp$$
84423 mv tmp$$ $ac_file
84424 rm vpsed$$
84425 echo 'MULTISUBDIR =' >> $ac_file
84426 ml_norecursion=yes
84427 . ${multi_basedir}/config-ml.in
84428 { ml_norecursion=; unset ml_norecursion;}
84430 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84431 s!`test -f '$<' || echo '$(srcdir)/'`!!
84432 _EOF
84433 sed -f vpsed$$ $ac_file > tmp$$
84434 mv tmp$$ $ac_file
84435 rm vpsed$$
84436 echo 'MULTISUBDIR =' >> $ac_file
84437 ml_norecursion=yes
84438 . ${multi_basedir}/config-ml.in
84439 { ml_norecursion=; unset ml_norecursion;}
84441 "src/Makefile":F) cat > vpsed$$ << \_EOF
84442 s!`test -f '$<' || echo '$(srcdir)/'`!!
84443 _EOF
84444 sed -f vpsed$$ $ac_file > tmp$$
84445 mv tmp$$ $ac_file
84446 rm vpsed$$
84447 echo 'MULTISUBDIR =' >> $ac_file
84448 ml_norecursion=yes
84449 . ${multi_basedir}/config-ml.in
84450 { ml_norecursion=; unset ml_norecursion;}
84452 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84453 s!`test -f '$<' || echo '$(srcdir)/'`!!
84454 _EOF
84455 sed -f vpsed$$ $ac_file > tmp$$
84456 mv tmp$$ $ac_file
84457 rm vpsed$$
84458 echo 'MULTISUBDIR =' >> $ac_file
84459 ml_norecursion=yes
84460 . ${multi_basedir}/config-ml.in
84461 { ml_norecursion=; unset ml_norecursion;}
84463 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84464 s!`test -f '$<' || echo '$(srcdir)/'`!!
84465 _EOF
84466 sed -f vpsed$$ $ac_file > tmp$$
84467 mv tmp$$ $ac_file
84468 rm vpsed$$
84469 echo 'MULTISUBDIR =' >> $ac_file
84470 ml_norecursion=yes
84471 . ${multi_basedir}/config-ml.in
84472 { ml_norecursion=; unset ml_norecursion;}
84474 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84475 s!`test -f '$<' || echo '$(srcdir)/'`!!
84476 _EOF
84477 sed -f vpsed$$ $ac_file > tmp$$
84478 mv tmp$$ $ac_file
84479 rm vpsed$$
84480 echo 'MULTISUBDIR =' >> $ac_file
84481 ml_norecursion=yes
84482 . ${multi_basedir}/config-ml.in
84483 { ml_norecursion=; unset ml_norecursion;}
84485 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84486 s!`test -f '$<' || echo '$(srcdir)/'`!!
84487 _EOF
84488 sed -f vpsed$$ $ac_file > tmp$$
84489 mv tmp$$ $ac_file
84490 rm vpsed$$
84491 echo 'MULTISUBDIR =' >> $ac_file
84492 ml_norecursion=yes
84493 . ${multi_basedir}/config-ml.in
84494 { ml_norecursion=; unset ml_norecursion;}
84496 "po/Makefile":F) cat > vpsed$$ << \_EOF
84497 s!`test -f '$<' || echo '$(srcdir)/'`!!
84498 _EOF
84499 sed -f vpsed$$ $ac_file > tmp$$
84500 mv tmp$$ $ac_file
84501 rm vpsed$$
84502 echo 'MULTISUBDIR =' >> $ac_file
84503 ml_norecursion=yes
84504 . ${multi_basedir}/config-ml.in
84505 { ml_norecursion=; unset ml_norecursion;}
84507 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84508 s!`test -f '$<' || echo '$(srcdir)/'`!!
84509 _EOF
84510 sed -f vpsed$$ $ac_file > tmp$$
84511 mv tmp$$ $ac_file
84512 rm vpsed$$
84513 echo 'MULTISUBDIR =' >> $ac_file
84514 ml_norecursion=yes
84515 . ${multi_basedir}/config-ml.in
84516 { ml_norecursion=; unset ml_norecursion;}
84518 "python/Makefile":F) cat > vpsed$$ << \_EOF
84519 s!`test -f '$<' || echo '$(srcdir)/'`!!
84520 _EOF
84521 sed -f vpsed$$ $ac_file > tmp$$
84522 mv tmp$$ $ac_file
84523 rm vpsed$$
84524 echo 'MULTISUBDIR =' >> $ac_file
84525 ml_norecursion=yes
84526 . ${multi_basedir}/config-ml.in
84527 { ml_norecursion=; unset ml_norecursion;}
84529 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84531 esac
84532 done # for ac_tag
84535 as_fn_exit 0
84536 _ACEOF
84537 ac_clean_files=$ac_clean_files_save
84539 test $ac_write_fail = 0 ||
84540 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84543 # configure is writing to config.log, and then calls config.status.
84544 # config.status does its own redirection, appending to config.log.
84545 # Unfortunately, on DOS this fails, as config.log is still kept open
84546 # by configure, so config.status won't be able to write to it; its
84547 # output is simply discarded. So we exec the FD to /dev/null,
84548 # effectively closing config.log, so it can be properly (re)opened and
84549 # appended to by config.status. When coming back to configure, we
84550 # need to make the FD available again.
84551 if test "$no_create" != yes; then
84552 ac_cs_success=:
84553 ac_config_status_args=
84554 test "$silent" = yes &&
84555 ac_config_status_args="$ac_config_status_args --quiet"
84556 exec 5>/dev/null
84557 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84558 exec 5>>config.log
84559 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84560 # would make configure fail if this is the last instruction.
84561 $ac_cs_success || as_fn_exit $?
84563 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84565 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}