PR target/58679
[official-gcc.git] / libstdc++-v3 / configure
blobc436cb986363a1b10afc5c4690692d1bce0e995f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 baseline_subdir_switch
642 baseline_dir
643 HWCAP_FLAGS
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SUN_FALSE
650 ENABLE_SYMVERS_SUN_TRUE
651 ENABLE_SYMVERS_DARWIN_FALSE
652 ENABLE_SYMVERS_DARWIN_TRUE
653 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
654 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
655 ENABLE_SYMVERS_GNU_FALSE
656 ENABLE_SYMVERS_GNU_TRUE
657 ENABLE_SYMVERS_FALSE
658 ENABLE_SYMVERS_TRUE
659 port_specific_symbol_files
660 SYMVER_FILE
661 CXXFILT
662 LTLIBICONV
663 LIBICONV
664 OPT_LDFLAGS
665 SECTION_LDFLAGS
666 GLIBCXX_LIBS
667 ENABLE_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
736 ac_ct_DUMPBIN
737 DUMPBIN
739 FGREP
741 LIBTOOL
742 EGREP
743 GREP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
896 CXXFLAGS
899 CXXCPP
900 CXXFILT'
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
951 ac_prev=
952 ac_dashdash=
953 for ac_option
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
967 # Accept the important Cygnus configure options, so we can diagnose typos.
969 case $ac_dashdash$ac_option in
971 ac_dashdash=yes ;;
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
990 --config-cache | -C)
991 cache_file=config.cache ;;
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1307 esac
1308 done
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1365 test "$silent" = yes && exec 6>/dev/null
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1394 /^X\(\/\/\)$/{
1395 s//\1/
1398 /^X\(\/\).*/{
1399 s//\1/
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1407 else
1408 ac_srcdir_defaulted=no
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1436 # Report the --help message.
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1449 Defaults for the options are specified in brackets.
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1473 For better control, use the options below.
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1497 cat <<\_ACEOF
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1729 ac_retval=1
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1734 } # ac_fn_c_try_compile
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1767 ac_retval=1
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1772 } # ac_fn_cxx_try_compile
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1804 ac_retval=1
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1809 } # ac_fn_c_try_cpp
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1845 ac_retval=1
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1855 } # ac_fn_c_try_link
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1886 } # ac_fn_c_check_header_compile
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1922 ac_retval=$ac_status
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1928 } # ac_fn_c_try_run
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1961 #undef $2
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1978 main ()
1980 return $2 ();
1982 return 0;
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1998 } # ac_fn_c_check_func
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2030 ac_retval=1
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2035 } # ac_fn_cxx_try_cpp
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2071 ac_retval=1
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2081 } # ac_fn_cxx_try_link
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2168 } # ac_fn_c_check_header_mongrel
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2255 } # ac_fn_cxx_check_header_mongrel
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2271 main ()
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2277 return 0;
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2313 main ()
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2319 return 0;
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2363 main ()
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2369 return 0;
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2392 main ()
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2405 else
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2433 } # ac_fn_c_compute_int
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2452 main ()
2454 if (sizeof ($2))
2455 return 0;
2457 return 0;
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2465 main ()
2467 if (sizeof (($2)))
2468 return 0;
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 eval "$3=yes"
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2495 $ $0 $@
2497 _ACEOF
2498 exec 5>>config.log
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2522 _ASUNAME
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2533 } >&5
2535 cat >&5 <<_ACEOF
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2542 _ACEOF
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2556 for ac_arg
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2585 as_fn_append ac_configure_args " '$ac_arg'"
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2601 echo
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2636 esac |
2637 sort
2639 echo
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2701 $as_echo "/* confdefs.h */" > confdefs.h
2703 # Predefined preprocessor variables.
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2752 done
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2843 ac_config_headers="$ac_config_headers config.h"
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2876 else
2877 multi_basedir="$srcdir/.."
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2888 ac_config_commands="$ac_config_commands default-1"
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3039 target_alias=${target_alias-$host_alias}
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3144 done
3145 done
3147 esac
3149 done
3150 IFS=$as_save_IFS
3152 rm -rf conftest.one conftest.two conftest.dir
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3217 test "$2" = conftest.file
3219 then
3220 # Ok.
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3294 done
3295 done
3296 IFS=$as_save_IFS
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3334 done
3335 done
3336 IFS=$as_save_IFS
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3415 for ac_prog in gawk mawk nawk awk
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3440 IFS=$as_save_IFS
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3454 test -n "$AWK" && break
3455 done
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3495 rmdir .tst 2>/dev/null
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3522 # Some tools Automake needs.
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3585 done
3586 done
3587 IFS=$as_save_IFS
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3625 done
3626 done
3627 IFS=$as_save_IFS
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3651 else
3652 CC="$ac_cv_prog_CC"
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3678 done
3679 done
3680 IFS=$as_save_IFS
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3723 done
3724 done
3725 IFS=$as_save_IFS
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3777 done
3778 done
3779 IFS=$as_save_IFS
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3793 test -n "$CC" && break
3794 done
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3821 done
3822 done
3823 IFS=$as_save_IFS
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3837 test -n "$ac_ct_CC" && break
3838 done
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3890 main ()
3894 return 0;
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3918 main ()
3922 return 0;
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3990 else
3991 ac_file=''
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4005 ac_exeext=$ac_cv_exeext
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4098 main ()
4102 return 0;
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4149 main ()
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4156 return 0;
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4190 main ()
4194 return 0;
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4205 main ()
4209 return 0;
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4221 main ()
4225 return 0;
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4275 return p[i];
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4308 main ()
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4312 return 0;
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4385 done
4386 done
4387 IFS=$as_save_IFS
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4401 test -n "$CXX" && break
4402 done
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4429 done
4430 done
4431 IFS=$as_save_IFS
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4445 test -n "$ac_ct_CXX" && break
4446 done
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4497 main ()
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4504 return 0;
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4538 main ()
4542 return 0;
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4569 main ()
4573 return 0;
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4609 CXXFLAGS="$save_CXXFLAGS"
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4652 else
4653 # Broken: fails on valid input.
4654 continue
4656 rm -f conftest.err conftest.$ac_ext
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4672 rm -f conftest.err conftest.$ac_ext
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4681 done
4682 ac_cv_prog_CPP=$CPP
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4711 else
4712 # Broken: fails on valid input.
4713 continue
4715 rm -f conftest.err conftest.$ac_ext
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4731 rm -f conftest.err conftest.$ac_ext
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4805 else
4806 ac_cv_path_GREP=$GREP
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4871 else
4872 ac_cv_path_EGREP=$EGREP
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4940 #LN_S='cp -p'
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4964 done
4965 done
4966 IFS=$as_save_IFS
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5004 done
5005 done
5006 IFS=$as_save_IFS
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5030 else
5031 AS="$ac_cv_prog_AS"
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5056 done
5057 done
5058 IFS=$as_save_IFS
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5096 done
5097 done
5098 IFS=$as_save_IFS
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5122 else
5123 AR="$ac_cv_prog_AR"
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5239 MAINT=$MAINTAINER_MODE_TRUE
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5265 rm -f conftest*
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5283 rm -f conftest*
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5327 ltmain="$ac_aux_dir/ltmain.sh"
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5362 eval 'cat <<_LTECHO_EOF
5364 _LTECHO_EOF'
5366 ECHO='func_fallback_echo'
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5373 $ECHO ""
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5457 else
5458 ac_cv_path_SED=$SED
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5536 else
5537 ac_cv_path_FGREP=$FGREP
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5547 test -z "$GREP" && GREP=grep
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5631 test "$with_gnu_ld" != yes && break
5633 esac
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5662 lt_cv_prog_gnu_ld=no
5664 esac
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5717 esac
5719 esac
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5760 done
5761 done
5762 IFS=$as_save_IFS
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5776 test -n "$DUMPBIN" && break
5777 done
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5804 done
5805 done
5806 IFS=$as_save_IFS
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5841 DUMPBIN=:
5843 esac
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5850 test -z "$NM" && NM=nm
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5875 rm -f conftest*
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5887 teststring="ABCD"
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6001 esac
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6068 esac
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 esac
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6133 done
6134 done
6135 IFS=$as_save_IFS
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6173 done
6174 done
6175 IFS=$as_save_IFS
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6308 hppa*64*)
6309 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6316 esac
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6403 lt_cv_deplibs_check_method=pass_all
6405 esac
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6411 esac
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6453 done
6454 done
6455 IFS=$as_save_IFS
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6493 done
6494 done
6495 IFS=$as_save_IFS
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6519 else
6520 AR="$ac_cv_prog_AR"
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6558 done
6559 done
6560 IFS=$as_save_IFS
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6598 done
6599 done
6600 IFS=$as_save_IFS
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6628 test -z "$STRIP" && STRIP=:
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6657 done
6658 done
6659 IFS=$as_save_IFS
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6697 done
6698 done
6699 IFS=$as_save_IFS
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6727 test -z "$RANLIB" && RANLIB=:
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6755 lock_old_archive_extraction=no ;;
6756 esac
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6838 osf*)
6839 symcode='[BCDEGQRST]'
6841 solaris*)
6842 symcode='[BDRT]'
6844 sco3.2v5*)
6845 symcode='[DT]'
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6853 sysv4)
6854 symcode='[DFNSTU]'
6856 esac
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6879 esac
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6956 cat <<_LT_EOF >> conftest.$ac_ext
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6977 #endif
6979 #ifdef __cplusplus
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7011 rm -rf conftest* conftst*
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7019 done
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7080 esac
7082 rm -rf conftest*
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7109 *N32*)
7110 LD="${LD-ld} -n32"
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7115 esac
7118 rm -rf conftest*
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7142 LD="${LD-ld} -m elf_i386"
7144 esac
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7158 esac
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7180 esac
7182 esac
7184 rm -rf conftest*
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7209 main ()
7213 return 0;
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7254 esac
7256 esac
7258 rm -rf conftest*
7260 esac
7262 need_locks="$enable_libtool_lock"
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7289 done
7290 done
7291 IFS=$as_save_IFS
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7329 done
7330 done
7331 IFS=$as_save_IFS
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7381 done
7382 done
7383 IFS=$as_save_IFS
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7421 done
7422 done
7423 IFS=$as_save_IFS
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7473 done
7474 done
7475 IFS=$as_save_IFS
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7513 done
7514 done
7515 IFS=$as_save_IFS
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7565 done
7566 done
7567 IFS=$as_save_IFS
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7605 done
7606 done
7607 IFS=$as_save_IFS
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7657 done
7658 done
7659 IFS=$as_save_IFS
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7697 done
7698 done
7699 IFS=$as_save_IFS
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7798 main ()
7802 return 0;
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7880 esac
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7895 main ()
7899 return 0;
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7919 else
7920 ac_cv_header_stdc=no
7922 rm -f conftest*
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7936 else
7937 ac_cv_header_stdc=no
7939 rm -f conftest*
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7965 main ()
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7977 else
7978 ac_cv_header_stdc=no
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8009 done
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8023 done
8030 # Set options
8035 enable_win32_dll=no
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_shared=yes
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8084 done
8085 IFS="$lt_save_ifs"
8087 esac
8088 else
8089 enable_static=yes
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8109 test -z "$pic_mode" && pic_mode=default
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8132 done
8133 IFS="$lt_save_ifs"
8135 esac
8136 else
8137 enable_fast_install=yes
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8181 test -z "$LN_S" && LN_S="ln -s"
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8213 rmdir .libs 2>/dev/null
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8240 esac
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8304 else
8305 cat <<_LT_EOF 1>&2
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8316 _LT_EOF
8317 fi ;;
8318 esac
8320 break
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8326 esac
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8370 else
8371 cat <<_LT_EOF 1>&2
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8382 _LT_EOF
8383 fi ;;
8384 esac
8386 break
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8392 esac
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8405 else
8406 MAGIC_CMD=:
8412 esac
8414 # Use C for the default configuration in the libtool script
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8424 # Source file extension for C test sources.
8425 ac_ext=c
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8476 lt_prog_compiler_no_builtin_flag=
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8518 $RM conftest*
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8555 lt_prog_compiler_pic='-fPIC'
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8570 esac
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8606 lt_prog_compiler_pic='-fPIC'
8608 esac
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8636 lt_prog_compiler_pic='-fPIC'
8638 esac
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='+Z'
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8740 esac
8742 esac
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8813 lt_prog_compiler_can_build_shared=no
8815 esac
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8836 # Check to make sure the PIC flag actually works.
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8871 $RM conftest*
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8895 # Check to make sure the static flag actually works.
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8931 else
8932 lt_prog_compiler_static=
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9067 else
9068 need_locks=no
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9133 openbsd*)
9134 with_gnu_ld=no
9136 esac
9138 ld_shlibs=yes
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9155 lt_use_gnu_ld_interface=yes
9157 esac
9160 lt_use_gnu_ld_interface=yes
9162 esac
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9206 _LT_EOF
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9217 m68k)
9218 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9222 esac
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9297 tmp_addflag=' $pic_flag'
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
9301 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9302 tmp_addflag=' $pic_flag -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9317 compiler_needs_object=yes
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9351 esac
9352 else
9353 ld_shlibs=no
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9401 _LT_EOF
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9416 esac
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9434 esac
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9473 else
9474 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9476 aix_use_runtimelinking=no
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9487 done
9489 esac
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9566 main ()
9570 return 0;
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9609 main ()
9613 return 0;
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9661 m68k)
9662 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9666 esac
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9694 darwin* | rhapsody*)
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9703 else
9704 whole_archive_flag_spec=''
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9717 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9719 else
9720 ld_shlibs=no
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9761 else
9762 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9838 else
9839 lt_cv_prog_compiler__b=yes
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9856 esac
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9876 esac
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9904 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9932 *nto* | *qnx*)
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 esac
9957 else
9958 ld_shlibs=no
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9991 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
9992 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10022 esac
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10039 esac
10040 link_all_deplibs=yes
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10143 ld_shlibs=no
10145 esac
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10152 esac
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10160 with_gnu_ld=$with_gnu_ld
10177 # Do we need to explicitly link libc?
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10233 $RM conftest*
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10240 esac
10243 esac
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10519 else
10520 can_build_shared=no
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10538 shlibpath_var=LIBPATH
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10554 esac
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616 esac
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10693 esac
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10767 interix[3-9]*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10848 main ()
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10944 shlibpath_overrides_runpath=yes
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10972 rdos*)
10973 dynamic_linker=no
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10998 need_version=yes
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11012 siemens)
11013 need_lib_prefix=no
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11021 esac
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11050 esac
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11074 dynamic_linker=no
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11275 main ()
11277 return dlopen ();
11279 return 0;
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11331 main ()
11333 return shl_load ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11377 main ()
11379 return dlopen ();
11381 return 0;
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11419 main ()
11421 return dlopen ();
11423 return 0;
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11461 main ()
11463 return dld_link ();
11465 return 0;
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11499 esac
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11536 #include <stdio.h>
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11576 void fnord () { int i=42; }
11577 int main ()
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11582 if (self)
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11590 /* dlclose (self); */
11592 else
11593 puts (dlerror ());
11595 return status;
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11615 rm -fr conftest*
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11642 #include <stdio.h>
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11682 void fnord () { int i=42; }
11683 int main ()
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11688 if (self)
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11696 /* dlclose (self); */
11698 else
11699 puts (dlerror ());
11701 return status;
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11721 rm -fr conftest*
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11733 esac
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11789 esac
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11850 CC="$lt_save_CC"
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 else
11890 # Broken: fails on valid input.
11891 continue
11893 rm -f conftest.err conftest.$ac_ext
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11909 rm -f conftest.err conftest.$ac_ext
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11948 else
11949 # Broken: fails on valid input.
11950 continue
11952 rm -f conftest.err conftest.$ac_ext
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11968 rm -f conftest.err conftest.$ac_ext
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 else
11989 _lt_caught_CXX_error=yes
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12182 test "$with_gnu_ld" != yes && break
12184 esac
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12213 lt_cv_prog_gnu_ld=no
12215 esac
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12300 esac
12301 done
12303 esac
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12380 main ()
12384 return 0;
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12408 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12424 main ()
12428 return 0;
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12481 chorus*)
12482 case $cc_basename in
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12487 esac
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12509 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12510 else
12511 ld_shlibs_CXX=no
12514 darwin* | rhapsody*)
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12537 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12540 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12543 else
12544 ld_shlibs_CXX=no
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12564 esac
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12583 gnu*)
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12605 aCC*)
12606 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12618 if test "$GXX" = yes; then
12619 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12625 esac
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12639 esac
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12653 esac
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12693 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12695 esac
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12702 esac
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12717 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12735 else
12736 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12739 link_all_deplibs_CXX=yes
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12756 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12825 esac
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12871 compiler_needs_object_CXX=yes
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12884 esac
12886 esac
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12909 esac
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12992 esac
12994 hardcode_libdir_separator_CXX=:
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13014 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13016 esac
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13031 esac
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13055 esac
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13078 esac
13079 link_all_deplibs_CXX=yes
13081 output_verbose_link_cmd='func_echo_all'
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13128 esac
13131 esac
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13149 esac
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13182 esac
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13196 esac
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13208 esac
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13236 _LT_EOF
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13311 *) ;; # Ignore the rest.
13313 esac
13314 done
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13322 $RM -f confest.$objext
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13347 esac
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13353 esac
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13367 esac
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13376 esac
13378 esac
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13438 lt_prog_compiler_pic_CXX='-fPIC'
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13453 esac
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13499 esac
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13507 lt_prog_compiler_pic_CXX='-fPIC'
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13527 esac
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13540 esac
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13562 lt_prog_compiler_pic_CXX='+Z'
13564 esac
13568 esac
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13583 esac
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13632 esac
13634 esac
13636 lynxos*)
13638 m88k*)
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13647 esac
13649 netbsd*)
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13675 esac
13677 psos*)
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13693 esac
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13708 esac
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13717 esac
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13727 esac
13729 vxworks*)
13732 lt_prog_compiler_can_build_shared_CXX=no
13734 esac
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13752 # Check to make sure the PIC flag actually works.
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13787 $RM conftest*
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13808 # Check to make sure the static flag actually works.
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13844 else
13845 lt_prog_compiler_static_CXX=
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13974 else
13975 need_locks=no
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13992 else
13993 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13999 cygwin* | mingw* | cegcc*)
14000 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14012 with_gnu_ld_CXX=$with_gnu_ld
14020 # Do we need to explicitly link libc?
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14076 $RM conftest*
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14083 esac
14086 esac
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14205 else
14206 can_build_shared=no
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14224 shlibpath_var=LIBPATH
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14240 esac
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14301 esac
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14377 esac
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14451 interix[3-9]*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14532 main ()
14536 return 0;
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14628 shlibpath_overrides_runpath=yes
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14656 rdos*)
14657 dynamic_linker=no
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14682 need_version=yes
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14696 siemens)
14697 need_lib_prefix=no
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14705 esac
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14734 esac
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14758 dynamic_linker=no
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14858 fi # test -n "$compiler"
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14889 ac_config_commands="$ac_config_commands libtool"
14894 # Only expand once:
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14913 lt_host_flags=
14915 esac
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14928 # libtool variables for C++ shared and position-independent compiles.
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14976 enable_hosted_libstdcxx=yes
14978 esac
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
15000 # Enable descriptive messages to standard output on termination.
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15023 # Enable compiler support that doesn't require linking.
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15042 else
15043 enable_sjlj_exceptions=auto
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15060 S s;
15061 bar();
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=yes
15075 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15077 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078 enable_sjlj_exceptions=no
15081 CXXFLAGS="$old_CXXFLAGS"
15082 rm -f conftest*
15085 # This is a tad weird, for hysterical raisins. We have to map
15086 # enable/disable to two different models.
15087 case $enable_sjlj_exceptions in
15088 yes)
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15092 ac_exception_model_name=sjlj
15095 ac_exception_model_name="call frame"
15098 as_fn_error "unable to detect exception model" "$LINENO" 5
15100 esac
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15111 # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113 enableval=$enable_libstdcxx_pch;
15114 case "$enableval" in
15115 yes|no) ;;
15116 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117 esac
15119 else
15120 enable_libstdcxx_pch=$is_hosted
15124 if test $enable_libstdcxx_pch = yes; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_save_CXXFLAGS="$CXXFLAGS"
15131 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15133 ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15139 echo '#include <math.h>' > conftest.h
15140 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141 -o conftest.h.gch 1>&5 2>&1 &&
15142 echo '#error "pch failed"' > conftest.h &&
15143 echo '#include "conftest.h"' > conftest.cc &&
15144 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145 then
15146 glibcxx_cv_prog_CXX_pch=yes
15147 else
15148 glibcxx_cv_prog_CXX_pch=no
15150 rm -f conftest*
15151 CXXFLAGS=$ac_save_CXXFLAGS
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15171 if test $enable_libstdcxx_pch = yes; then
15172 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173 else
15174 glibcxx_PCHFLAGS=""
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15185 case $target_thread_file in
15186 aix) thread_header=config/rs6000/gthr-aix.h ;;
15187 dce) thread_header=config/pa/gthr-dce.h ;;
15188 lynx) thread_header=config/gthr-lynx.h ;;
15189 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15190 posix) thread_header=gthr-posix.h ;;
15191 rtems) thread_header=config/gthr-rtems.h ;;
15192 single) thread_header=gthr-single.h ;;
15193 tpf) thread_header=config/s390/gthr-tpf.h ;;
15194 vxworks) thread_header=config/gthr-vxworks.h ;;
15195 win32) thread_header=config/i386/gthr-win32.h ;;
15196 esac
15202 ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15208 old_CXXFLAGS="$CXXFLAGS"
15210 # Do link tests if possible, instead asm tests, limited to some platforms
15211 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213 atomic_builtins_link_tests=no
15214 if test x$gcc_no_link != xyes; then
15215 # Can do link tests. Limit to some tested platforms
15216 case "$host" in
15217 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218 atomic_builtins_link_tests=yes
15220 esac
15223 if test x$atomic_builtins_link_tests = xyes; then
15225 # Do link tests.
15227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15242 main ()
15244 typedef bool atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 atomic_type c3(0);
15248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250 __ATOMIC_RELAXED);
15251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15255 return 0;
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_bool=yes
15260 else
15261 glibcxx_cv_atomic_bool=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15277 if test x$gcc_no_link = xyes; then
15278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15284 main ()
15286 typedef short atomic_type;
15287 atomic_type c1;
15288 atomic_type c2;
15289 atomic_type c3(0);
15290 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292 __ATOMIC_RELAXED);
15293 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15297 return 0;
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 glibcxx_cv_atomic_short=yes
15302 else
15303 glibcxx_cv_atomic_short=no
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15319 if test x$gcc_no_link = xyes; then
15320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15326 main ()
15328 typedef int atomic_type;
15329 atomic_type c1;
15330 atomic_type c2;
15331 atomic_type c3(0);
15332 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334 __ATOMIC_RELAXED);
15335 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15339 return 0;
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343 glibcxx_cv_atomic_int=yes
15344 else
15345 glibcxx_cv_atomic_int=no
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15361 if test x$gcc_no_link = xyes; then
15362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15368 main ()
15370 typedef long long atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15381 return 0;
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385 glibcxx_cv_atomic_long_long=yes
15386 else
15387 glibcxx_cv_atomic_long_long=no
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15397 else
15399 # Do asm tests.
15401 # Compile unoptimized.
15402 CXXFLAGS='-O0 -S'
15404 # Fake what AC_TRY_COMPILE does.
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15410 typedef bool atomic_type;
15411 atomic_type c1;
15412 atomic_type c2;
15413 atomic_type c3(0);
15414 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416 __ATOMIC_RELAXED);
15417 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15420 return 0;
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432 glibcxx_cv_atomic_bool=no
15433 else
15434 glibcxx_cv_atomic_bool=yes
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439 rm -f conftest*
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15445 typedef short atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455 return 0;
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_short=no
15468 else
15469 glibcxx_cv_atomic_short=yes
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474 rm -f conftest*
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15480 // NB: _Atomic_word not necessarily int.
15481 typedef int atomic_type;
15482 atomic_type c1;
15483 atomic_type c2;
15484 atomic_type c3(0);
15485 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487 __ATOMIC_RELAXED);
15488 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15491 return 0;
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503 glibcxx_cv_atomic_int=no
15504 else
15505 glibcxx_cv_atomic_int=yes
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510 rm -f conftest*
15512 cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15516 typedef long long atomic_type;
15517 atomic_type c1;
15518 atomic_type c2;
15519 atomic_type c3(0);
15520 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522 __ATOMIC_RELAXED);
15523 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15526 return 0;
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }; then
15537 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538 glibcxx_cv_atomic_long_long=no
15539 else
15540 glibcxx_cv_atomic_long_long=yes
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545 rm -f conftest*
15549 CXXFLAGS="$old_CXXFLAGS"
15550 ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15557 # Set atomicity_dir to builtins if all but the long long test above passes.
15558 if test $glibcxx_cv_atomic_bool = yes \
15559 && test $glibcxx_cv_atomic_short = yes \
15560 && test $glibcxx_cv_atomic_int = yes; then
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15564 atomicity_dir=cpu/generic/atomicity_builtins
15567 # If still generic, set to mutex.
15568 if test $atomicity_dir = "cpu/generic" ; then
15569 atomicity_dir=cpu/generic/atomicity_mutex
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572 if test "x$target_thread_file" = xsingle; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577 else
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15588 # Fake what AC_TRY_COMPILE does, without linking as this is
15589 # unnecessary for this test.
15591 cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15595 _Decimal32 d1;
15596 _Decimal64 d2;
15597 _Decimal128 d3;
15598 return 0;
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15606 ac_status=$?
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; }; then
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15612 enable_dfp=yes
15613 else
15614 enable_dfp=no
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618 rm -f conftest*
15623 ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15630 # Fake what AC_TRY_COMPILE does, without linking as this is
15631 # unnecessary for this test.
15633 cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636 struct same
15637 { typedef T2 type; };
15639 template<typename T>
15640 struct same<T, T>;
15642 int main()
15644 typename same<long, __int128>::type i1;
15645 typename same<long long, __int128>::type i2;
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652 (eval $ac_compile) 2>&5
15653 ac_status=$?
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; then
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15659 enable_int128=yes
15660 else
15661 enable_int128=no
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665 rm -f conftest*
15667 cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670 struct same
15671 { typedef T2 type; };
15673 template<typename T>
15674 struct same<T, T>;
15676 int main()
15678 typename same<double, __float128>::type f1;
15679 typename same<long double, __float128>::type f2;
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689 test $ac_status = 0; }; then
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15693 enable_float128=yes
15694 else
15695 enable_float128=no
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699 rm -f conftest*
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15709 # Checks for compiler support that doesn't require linking.
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15739 main ()
15743 return 0;
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15774 # Enable all the variable C++ runtime options that don't require linking.
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15786 else
15787 enable_cstdio=stdio
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15803 esac
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15818 else
15819 enable_clocale=auto
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15840 enable_clocale_flag=$enable_clocale
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15849 darwin* | freebsd*)
15850 enable_clocale_flag=darwin
15852 openbsd*)
15853 enable_clocale_flag=newlib
15856 if test x"$with_newlib" = x"yes"; then
15857 enable_clocale_flag=newlib
15858 else
15859 enable_clocale_flag=generic
15862 esac
15865 # Sanity check model, and test for special functionality.
15866 if test $enable_clocale_flag = gnu; then
15867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15868 /* end confdefs.h. */
15870 #include <features.h>
15871 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15872 _GLIBCXX_ok
15873 #endif
15875 _ACEOF
15876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15877 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15878 enable_clocale_flag=gnu
15879 else
15880 enable_clocale_flag=generic
15882 rm -f conftest*
15885 # Set it to scream when it hurts.
15886 ac_save_CFLAGS="$CFLAGS"
15887 CFLAGS="-Wimplicit-function-declaration -Werror"
15889 # Use strxfrm_l if available.
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15892 #define _GNU_SOURCE 1
15893 #include <string.h>
15894 #include <locale.h>
15896 main ()
15898 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15900 return 0;
15902 _ACEOF
15903 if ac_fn_c_try_compile "$LINENO"; then :
15905 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 # Use strerror_l if available.
15911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15912 /* end confdefs.h. */
15913 #define _GNU_SOURCE 1
15914 #include <string.h>
15915 #include <locale.h>
15917 main ()
15919 __locale_t loc; strerror_l(5, loc);
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_compile "$LINENO"; then :
15926 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15931 CFLAGS="$ac_save_CFLAGS"
15934 # Perhaps use strerror_r if available, and strerror_l isn't.
15935 ac_save_CFLAGS="$CFLAGS"
15936 CFLAGS="-Wimplicit-function-declaration -Werror"
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15939 #define _GNU_SOURCE 1
15940 #include <string.h>
15941 #include <locale.h>
15943 main ()
15945 char s[128]; strerror_r(5, s, 128);
15947 return 0;
15949 _ACEOF
15950 if ac_fn_c_try_compile "$LINENO"; then :
15952 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15956 CFLAGS="$ac_save_CFLAGS"
15958 # Set configure bits for specified locale package
15959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15960 $as_echo_n "checking for C locale to use... " >&6; }
15961 case ${enable_clocale_flag} in
15962 generic)
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15964 $as_echo "generic" >&6; }
15966 CLOCALE_H=config/locale/generic/c_locale.h
15967 CLOCALE_CC=config/locale/generic/c_locale.cc
15968 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15969 CCOLLATE_CC=config/locale/generic/collate_members.cc
15970 CCTYPE_CC=config/locale/generic/ctype_members.cc
15971 CMESSAGES_H=config/locale/generic/messages_members.h
15972 CMESSAGES_CC=config/locale/generic/messages_members.cc
15973 CMONEY_CC=config/locale/generic/monetary_members.cc
15974 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15975 CTIME_H=config/locale/generic/time_members.h
15976 CTIME_CC=config/locale/generic/time_members.cc
15977 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15979 darwin)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15981 $as_echo "darwin or freebsd" >&6; }
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15997 gnu)
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15999 $as_echo "gnu" >&6; }
16001 # Declare intention to use gettext, and add support for specific
16002 # languages.
16003 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16004 ALL_LINGUAS="de fr"
16006 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16007 # Extract the first word of "msgfmt", so it can be a program name with args.
16008 set dummy msgfmt; ac_word=$2
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16010 $as_echo_n "checking for $ac_word... " >&6; }
16011 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16012 $as_echo_n "(cached) " >&6
16013 else
16014 if test -n "$check_msgfmt"; then
16015 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16016 else
16017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16018 for as_dir in $PATH
16020 IFS=$as_save_IFS
16021 test -z "$as_dir" && as_dir=.
16022 for ac_exec_ext in '' $ac_executable_extensions; do
16023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16024 ac_cv_prog_check_msgfmt="yes"
16025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16026 break 2
16028 done
16029 done
16030 IFS=$as_save_IFS
16032 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16035 check_msgfmt=$ac_cv_prog_check_msgfmt
16036 if test -n "$check_msgfmt"; then
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16038 $as_echo "$check_msgfmt" >&6; }
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16041 $as_echo "no" >&6; }
16045 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16046 USE_NLS=yes
16048 # Export the build objects.
16049 for ling in $ALL_LINGUAS; do \
16050 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16051 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16052 done
16056 CLOCALE_H=config/locale/gnu/c_locale.h
16057 CLOCALE_CC=config/locale/gnu/c_locale.cc
16058 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16059 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16060 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16061 CMESSAGES_H=config/locale/gnu/messages_members.h
16062 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16063 CMONEY_CC=config/locale/gnu/monetary_members.cc
16064 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16065 CTIME_H=config/locale/gnu/time_members.h
16066 CTIME_CC=config/locale/gnu/time_members.cc
16067 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16069 ieee_1003.1-2001)
16070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16071 $as_echo "IEEE 1003.1" >&6; }
16073 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16074 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16075 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16076 CCOLLATE_CC=config/locale/generic/collate_members.cc
16077 CCTYPE_CC=config/locale/generic/ctype_members.cc
16078 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16079 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16080 CMONEY_CC=config/locale/generic/monetary_members.cc
16081 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16082 CTIME_H=config/locale/generic/time_members.h
16083 CTIME_CC=config/locale/generic/time_members.cc
16084 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16086 newlib)
16087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16088 $as_echo "newlib" >&6; }
16090 CLOCALE_H=config/locale/generic/c_locale.h
16091 CLOCALE_CC=config/locale/generic/c_locale.cc
16092 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16093 CCOLLATE_CC=config/locale/generic/collate_members.cc
16094 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16095 CMESSAGES_H=config/locale/generic/messages_members.h
16096 CMESSAGES_CC=config/locale/generic/messages_members.cc
16097 CMONEY_CC=config/locale/generic/monetary_members.cc
16098 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16099 CTIME_H=config/locale/generic/time_members.h
16100 CTIME_CC=config/locale/generic/time_members.cc
16101 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16103 esac
16105 # This is where the testsuite looks for locale catalogs, using the
16106 # -DLOCALEDIR define during testsuite compilation.
16107 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16110 # A standalone libintl (e.g., GNU libintl) may be in use.
16111 if test $USE_NLS = yes; then
16112 for ac_header in libintl.h
16113 do :
16114 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16115 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_LIBINTL_H 1
16118 _ACEOF
16120 else
16121 USE_NLS=no
16124 done
16126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16127 $as_echo_n "checking for library containing gettext... " >&6; }
16128 if test "${ac_cv_search_gettext+set}" = set; then :
16129 $as_echo_n "(cached) " >&6
16130 else
16131 ac_func_search_save_LIBS=$LIBS
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 #ifdef __cplusplus
16139 extern "C"
16140 #endif
16141 char gettext ();
16143 main ()
16145 return gettext ();
16147 return 0;
16149 _ACEOF
16150 for ac_lib in '' intl; do
16151 if test -z "$ac_lib"; then
16152 ac_res="none required"
16153 else
16154 ac_res=-l$ac_lib
16155 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16157 if test x$gcc_no_link = xyes; then
16158 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16160 if ac_fn_c_try_link "$LINENO"; then :
16161 ac_cv_search_gettext=$ac_res
16163 rm -f core conftest.err conftest.$ac_objext \
16164 conftest$ac_exeext
16165 if test "${ac_cv_search_gettext+set}" = set; then :
16166 break
16168 done
16169 if test "${ac_cv_search_gettext+set}" = set; then :
16171 else
16172 ac_cv_search_gettext=no
16174 rm conftest.$ac_ext
16175 LIBS=$ac_func_search_save_LIBS
16177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16178 $as_echo "$ac_cv_search_gettext" >&6; }
16179 ac_res=$ac_cv_search_gettext
16180 if test "$ac_res" != no; then :
16181 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16183 else
16184 USE_NLS=no
16188 if test $USE_NLS = yes; then
16190 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16210 $as_echo_n "checking for std::allocator base class... " >&6; }
16211 # Check whether --enable-libstdcxx-allocator was given.
16212 if test "${enable_libstdcxx_allocator+set}" = set; then :
16213 enableval=$enable_libstdcxx_allocator;
16214 case "$enableval" in
16215 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16216 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16217 esac
16219 else
16220 enable_libstdcxx_allocator=auto
16225 # If they didn't use this option switch, or if they specified --enable
16226 # with no specific model, we'll have to look for one. If they
16227 # specified --disable (???), do likewise.
16228 if test $enable_libstdcxx_allocator = no ||
16229 test $enable_libstdcxx_allocator = yes;
16230 then
16231 enable_libstdcxx_allocator=auto
16234 # Either a known package, or "auto". Auto implies the default choice
16235 # for a particular platform.
16236 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16238 # Probe for host-specific support if no specific model is specified.
16239 # Default to "new".
16240 if test $enable_libstdcxx_allocator_flag = auto; then
16241 case ${target_os} in
16242 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16243 enable_libstdcxx_allocator_flag=new
16246 enable_libstdcxx_allocator_flag=new
16248 esac
16250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16251 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16254 # Set configure bits for specified locale package
16255 case ${enable_libstdcxx_allocator_flag} in
16256 bitmap)
16257 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16258 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16260 malloc)
16261 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16262 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16265 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16266 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16268 new)
16269 ALLOCATOR_H=config/allocator/new_allocator_base.h
16270 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16272 pool)
16273 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16274 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16276 esac
16282 # Check whether --enable-cheaders was given.
16283 if test "${enable_cheaders+set}" = set; then :
16284 enableval=$enable_cheaders;
16285 case "$enableval" in
16286 c|c_std|c_global) ;;
16287 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16288 esac
16290 else
16291 enable_cheaders=$c_model
16295 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16296 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16298 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16300 # Allow overrides to configure.host here.
16301 if test $enable_cheaders = c_global; then
16302 c_compatibility=yes
16311 # Check whether --enable-long-long was given.
16312 if test "${enable_long_long+set}" = set; then :
16313 enableval=$enable_long_long;
16314 case "$enableval" in
16315 yes|no) ;;
16316 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16317 esac
16319 else
16320 enable_long_long=yes
16324 if test $enable_long_long = yes; then
16326 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16330 $as_echo_n "checking for enabled long long specializations... " >&6; }
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16332 $as_echo "$enable_long_long" >&6; }
16335 # Check whether --enable-wchar_t was given.
16336 if test "${enable_wchar_t+set}" = set; then :
16337 enableval=$enable_wchar_t;
16338 case "$enableval" in
16339 yes|no) ;;
16340 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16341 esac
16343 else
16344 enable_wchar_t=yes
16349 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16350 for ac_header in wchar.h
16351 do :
16352 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16353 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16354 cat >>confdefs.h <<_ACEOF
16355 #define HAVE_WCHAR_H 1
16356 _ACEOF
16357 ac_has_wchar_h=yes
16358 else
16359 ac_has_wchar_h=no
16362 done
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16365 $as_echo_n "checking for mbstate_t... " >&6; }
16366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16367 /* end confdefs.h. */
16368 #include <wchar.h>
16370 main ()
16372 mbstate_t teststate;
16374 return 0;
16376 _ACEOF
16377 if ac_fn_c_try_compile "$LINENO"; then :
16378 have_mbstate_t=yes
16379 else
16380 have_mbstate_t=no
16382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16384 $as_echo "$have_mbstate_t" >&6; }
16385 if test x"$have_mbstate_t" = xyes; then
16387 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16391 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16392 # ac_has_wchar_h.
16393 for ac_header in wctype.h
16394 do :
16395 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16396 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16397 cat >>confdefs.h <<_ACEOF
16398 #define HAVE_WCTYPE_H 1
16399 _ACEOF
16400 ac_has_wctype_h=yes
16401 else
16402 ac_has_wctype_h=no
16405 done
16408 if test x"$enable_wchar_t" = x"yes"; then
16411 ac_ext=cpp
16412 ac_cpp='$CXXCPP $CPPFLAGS'
16413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16418 if test x"$ac_has_wchar_h" = xyes &&
16419 test x"$ac_has_wctype_h" = xyes; then
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16422 #include <wchar.h>
16423 #include <stddef.h>
16424 wint_t i;
16425 long l = WEOF;
16426 long j = WCHAR_MIN;
16427 long k = WCHAR_MAX;
16428 namespace test
16430 using ::btowc;
16431 using ::fgetwc;
16432 using ::fgetws;
16433 using ::fputwc;
16434 using ::fputws;
16435 using ::fwide;
16436 using ::fwprintf;
16437 using ::fwscanf;
16438 using ::getwc;
16439 using ::getwchar;
16440 using ::mbrlen;
16441 using ::mbrtowc;
16442 using ::mbsinit;
16443 using ::mbsrtowcs;
16444 using ::putwc;
16445 using ::putwchar;
16446 using ::swprintf;
16447 using ::swscanf;
16448 using ::ungetwc;
16449 using ::vfwprintf;
16450 using ::vswprintf;
16451 using ::vwprintf;
16452 using ::wcrtomb;
16453 using ::wcscat;
16454 using ::wcschr;
16455 using ::wcscmp;
16456 using ::wcscoll;
16457 using ::wcscpy;
16458 using ::wcscspn;
16459 using ::wcsftime;
16460 using ::wcslen;
16461 using ::wcsncat;
16462 using ::wcsncmp;
16463 using ::wcsncpy;
16464 using ::wcspbrk;
16465 using ::wcsrchr;
16466 using ::wcsrtombs;
16467 using ::wcsspn;
16468 using ::wcsstr;
16469 using ::wcstod;
16470 using ::wcstok;
16471 using ::wcstol;
16472 using ::wcstoul;
16473 using ::wcsxfrm;
16474 using ::wctob;
16475 using ::wmemchr;
16476 using ::wmemcmp;
16477 using ::wmemcpy;
16478 using ::wmemmove;
16479 using ::wmemset;
16480 using ::wprintf;
16481 using ::wscanf;
16485 main ()
16489 return 0;
16491 _ACEOF
16492 if ac_fn_cxx_try_compile "$LINENO"; then :
16494 else
16495 enable_wchar_t=no
16497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16498 else
16499 enable_wchar_t=no
16502 ac_ext=c
16503 ac_cpp='$CPP $CPPFLAGS'
16504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16510 if test x"$enable_wchar_t" = x"yes"; then
16512 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16517 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16519 $as_echo "$enable_wchar_t" >&6; }
16523 # Check whether --enable-c99 was given.
16524 if test "${enable_c99+set}" = set; then :
16525 enableval=$enable_c99;
16526 case "$enableval" in
16527 yes|no) ;;
16528 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16529 esac
16531 else
16532 enable_c99=yes
16537 if test x"$enable_c99" = x"yes"; then
16540 ac_ext=cpp
16541 ac_cpp='$CXXCPP $CPPFLAGS'
16542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16547 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16548 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16549 # spuriously enabled.
16550 # Long term, -std=c++0x could be even better, could manage to explicitely
16551 # request C99 facilities to the underlying C headers.
16552 ac_save_CXXFLAGS="$CXXFLAGS"
16553 CXXFLAGS="$CXXFLAGS -std=c++98"
16554 ac_save_LIBS="$LIBS"
16555 ac_save_gcc_no_link="$gcc_no_link"
16557 if test x$gcc_no_link != xyes; then
16558 # Use -fno-exceptions to that the C driver can link these tests without
16559 # hitting undefined references to personality routines.
16560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16562 $as_echo_n "checking for sin in -lm... " >&6; }
16563 if test "${ac_cv_lib_m_sin+set}" = set; then :
16564 $as_echo_n "(cached) " >&6
16565 else
16566 ac_check_lib_save_LIBS=$LIBS
16567 LIBS="-lm $LIBS"
16568 if test x$gcc_no_link = xyes; then
16569 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16572 /* end confdefs.h. */
16574 /* Override any GCC internal prototype to avoid an error.
16575 Use char because int might match the return type of a GCC
16576 builtin and then its argument prototype would still apply. */
16577 #ifdef __cplusplus
16578 extern "C"
16579 #endif
16580 char sin ();
16582 main ()
16584 return sin ();
16586 return 0;
16588 _ACEOF
16589 if ac_fn_cxx_try_link "$LINENO"; then :
16590 ac_cv_lib_m_sin=yes
16591 else
16592 ac_cv_lib_m_sin=no
16594 rm -f core conftest.err conftest.$ac_objext \
16595 conftest$ac_exeext conftest.$ac_ext
16596 LIBS=$ac_check_lib_save_LIBS
16598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16599 $as_echo "$ac_cv_lib_m_sin" >&6; }
16600 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16602 LIBS="$LIBS -lm"
16604 else
16606 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16607 gcc_no_link=yes
16613 # Check for the existence of <math.h> functions used if C99 is enabled.
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16615 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16616 if test "${glibcxx_cv_c99_math+set}" = set; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16620 if test x$gcc_no_link = xyes; then
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16623 #include <math.h>
16624 volatile double d1, d2;
16625 volatile int i;
16627 main ()
16629 i = fpclassify(d1);
16630 i = isfinite(d1);
16631 i = isinf(d1);
16632 i = isnan(d1);
16633 i = isnormal(d1);
16634 i = signbit(d1);
16635 i = isgreater(d1, d2);
16636 i = isgreaterequal(d1, d2);
16637 i = isless(d1, d2);
16638 i = islessequal(d1, d2);
16639 i = islessgreater(d1, d2);
16640 i = islessgreater(d1, d2);
16641 i = isunordered(d1, d2);
16644 return 0;
16646 _ACEOF
16647 if ac_fn_cxx_try_compile "$LINENO"; then :
16648 glibcxx_cv_c99_math=yes
16649 else
16650 glibcxx_cv_c99_math=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16653 else
16654 if test x$gcc_no_link = xyes; then
16655 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #include <math.h>
16660 volatile double d1, d2;
16661 volatile int i;
16663 main ()
16665 i = fpclassify(d1);
16666 i = isfinite(d1);
16667 i = isinf(d1);
16668 i = isnan(d1);
16669 i = isnormal(d1);
16670 i = signbit(d1);
16671 i = isgreater(d1, d2);
16672 i = isgreaterequal(d1, d2);
16673 i = isless(d1, d2);
16674 i = islessequal(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = islessgreater(d1, d2);
16677 i = isunordered(d1, d2);
16680 return 0;
16682 _ACEOF
16683 if ac_fn_cxx_try_link "$LINENO"; then :
16684 glibcxx_cv_c99_math=yes
16685 else
16686 glibcxx_cv_c99_math=no
16688 rm -f core conftest.err conftest.$ac_objext \
16689 conftest$ac_exeext conftest.$ac_ext
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16695 $as_echo "$glibcxx_cv_c99_math" >&6; }
16696 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16698 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16702 # Check for the existence of <complex.h> complex math functions.
16703 # This is necessary even though libstdc++ uses the builtin versions
16704 # of these functions, because if the builtin cannot be used, a reference
16705 # to the library function is emitted.
16706 for ac_header in tgmath.h
16707 do :
16708 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16709 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16710 cat >>confdefs.h <<_ACEOF
16711 #define HAVE_TGMATH_H 1
16712 _ACEOF
16713 ac_has_tgmath_h=yes
16714 else
16715 ac_has_tgmath_h=no
16718 done
16720 for ac_header in complex.h
16721 do :
16722 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16723 if test "x$ac_cv_header_complex_h" = x""yes; then :
16724 cat >>confdefs.h <<_ACEOF
16725 #define HAVE_COMPLEX_H 1
16726 _ACEOF
16727 ac_has_complex_h=yes
16728 else
16729 ac_has_complex_h=no
16732 done
16734 glibcxx_cv_c99_complex=no;
16735 if test x"$ac_has_complex_h" = x"yes"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16737 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16738 if test x$gcc_no_link = xyes; then
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16741 #include <complex.h>
16742 typedef __complex__ float float_type;
16743 typedef __complex__ double double_type;
16744 typedef __complex__ long double ld_type;
16745 volatile float_type tmpf;
16746 volatile double_type tmpd;
16747 volatile ld_type tmpld;
16748 volatile float f;
16749 volatile double d;
16750 volatile long double ld;
16752 main ()
16754 f = cabsf(tmpf);
16755 f = cargf(tmpf);
16756 tmpf = ccosf(tmpf);
16757 tmpf = ccoshf(tmpf);
16758 tmpf = cexpf(tmpf);
16759 tmpf = clogf(tmpf);
16760 tmpf = csinf(tmpf);
16761 tmpf = csinhf(tmpf);
16762 tmpf = csqrtf(tmpf);
16763 tmpf = ctanf(tmpf);
16764 tmpf = ctanhf(tmpf);
16765 tmpf = cpowf(tmpf, tmpf);
16766 tmpf = cprojf(tmpf);
16767 d = cabs(tmpd);
16768 d = carg(tmpd);
16769 tmpd = ccos(tmpd);
16770 tmpd = ccosh(tmpd);
16771 tmpd = cexp(tmpd);
16772 tmpd = clog(tmpd);
16773 tmpd = csin(tmpd);
16774 tmpd = csinh(tmpd);
16775 tmpd = csqrt(tmpd);
16776 tmpd = ctan(tmpd);
16777 tmpd = ctanh(tmpd);
16778 tmpd = cpow(tmpd, tmpd);
16779 tmpd = cproj(tmpd);
16780 ld = cabsl(tmpld);
16781 ld = cargl(tmpld);
16782 tmpld = ccosl(tmpld);
16783 tmpld = ccoshl(tmpld);
16784 tmpld = cexpl(tmpld);
16785 tmpld = clogl(tmpld);
16786 tmpld = csinl(tmpld);
16787 tmpld = csinhl(tmpld);
16788 tmpld = csqrtl(tmpld);
16789 tmpld = ctanl(tmpld);
16790 tmpld = ctanhl(tmpld);
16791 tmpld = cpowl(tmpld, tmpld);
16792 tmpld = cprojl(tmpld);
16795 return 0;
16797 _ACEOF
16798 if ac_fn_cxx_try_compile "$LINENO"; then :
16799 glibcxx_cv_c99_complex=yes
16800 else
16801 glibcxx_cv_c99_complex=no
16803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16804 else
16805 if test x$gcc_no_link = xyes; then
16806 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16809 /* end confdefs.h. */
16810 #include <complex.h>
16811 typedef __complex__ float float_type;
16812 typedef __complex__ double double_type;
16813 typedef __complex__ long double ld_type;
16814 volatile float_type tmpf;
16815 volatile double_type tmpd;
16816 volatile ld_type tmpld;
16817 volatile float f;
16818 volatile double d;
16819 volatile long double ld;
16821 main ()
16823 f = cabsf(tmpf);
16824 f = cargf(tmpf);
16825 tmpf = ccosf(tmpf);
16826 tmpf = ccoshf(tmpf);
16827 tmpf = cexpf(tmpf);
16828 tmpf = clogf(tmpf);
16829 tmpf = csinf(tmpf);
16830 tmpf = csinhf(tmpf);
16831 tmpf = csqrtf(tmpf);
16832 tmpf = ctanf(tmpf);
16833 tmpf = ctanhf(tmpf);
16834 tmpf = cpowf(tmpf, tmpf);
16835 tmpf = cprojf(tmpf);
16836 d = cabs(tmpd);
16837 d = carg(tmpd);
16838 tmpd = ccos(tmpd);
16839 tmpd = ccosh(tmpd);
16840 tmpd = cexp(tmpd);
16841 tmpd = clog(tmpd);
16842 tmpd = csin(tmpd);
16843 tmpd = csinh(tmpd);
16844 tmpd = csqrt(tmpd);
16845 tmpd = ctan(tmpd);
16846 tmpd = ctanh(tmpd);
16847 tmpd = cpow(tmpd, tmpd);
16848 tmpd = cproj(tmpd);
16849 ld = cabsl(tmpld);
16850 ld = cargl(tmpld);
16851 tmpld = ccosl(tmpld);
16852 tmpld = ccoshl(tmpld);
16853 tmpld = cexpl(tmpld);
16854 tmpld = clogl(tmpld);
16855 tmpld = csinl(tmpld);
16856 tmpld = csinhl(tmpld);
16857 tmpld = csqrtl(tmpld);
16858 tmpld = ctanl(tmpld);
16859 tmpld = ctanhl(tmpld);
16860 tmpld = cpowl(tmpld, tmpld);
16861 tmpld = cprojl(tmpld);
16864 return 0;
16866 _ACEOF
16867 if ac_fn_cxx_try_link "$LINENO"; then :
16868 glibcxx_cv_c99_complex=yes
16869 else
16870 glibcxx_cv_c99_complex=no
16872 rm -f core conftest.err conftest.$ac_objext \
16873 conftest$ac_exeext conftest.$ac_ext
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16877 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16878 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16880 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16884 # Check for the existence in <stdio.h> of vscanf, et. al.
16885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16886 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16887 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16888 $as_echo_n "(cached) " >&6
16889 else
16891 if test x$gcc_no_link = xyes; then
16892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16893 /* end confdefs.h. */
16894 #include <stdio.h>
16895 #include <stdarg.h>
16896 void foo(char* fmt, ...)
16898 va_list args; va_start(args, fmt);
16899 vfscanf(stderr, "%i", args);
16900 vscanf("%i", args);
16901 vsnprintf(fmt, 0, "%i", args);
16902 vsscanf(fmt, "%i", args);
16905 main ()
16907 snprintf("12", 0, "%i");
16909 return 0;
16911 _ACEOF
16912 if ac_fn_cxx_try_compile "$LINENO"; then :
16913 glibcxx_cv_c99_stdio=yes
16914 else
16915 glibcxx_cv_c99_stdio=no
16917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16918 else
16919 if test x$gcc_no_link = xyes; then
16920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16923 /* end confdefs.h. */
16924 #include <stdio.h>
16925 #include <stdarg.h>
16926 void foo(char* fmt, ...)
16928 va_list args; va_start(args, fmt);
16929 vfscanf(stderr, "%i", args);
16930 vscanf("%i", args);
16931 vsnprintf(fmt, 0, "%i", args);
16932 vsscanf(fmt, "%i", args);
16935 main ()
16937 snprintf("12", 0, "%i");
16939 return 0;
16941 _ACEOF
16942 if ac_fn_cxx_try_link "$LINENO"; then :
16943 glibcxx_cv_c99_stdio=yes
16944 else
16945 glibcxx_cv_c99_stdio=no
16947 rm -f core conftest.err conftest.$ac_objext \
16948 conftest$ac_exeext conftest.$ac_ext
16953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16954 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16956 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16958 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16959 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16960 $as_echo_n "(cached) " >&6
16961 else
16963 if test x$gcc_no_link = xyes; then
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <stdlib.h>
16967 volatile float f;
16968 volatile long double ld;
16969 volatile unsigned long long ll;
16970 lldiv_t mydivt;
16972 main ()
16974 char* tmp;
16975 f = strtof("gnu", &tmp);
16976 ld = strtold("gnu", &tmp);
16977 ll = strtoll("gnu", &tmp, 10);
16978 ll = strtoull("gnu", &tmp, 10);
16979 ll = llabs(10);
16980 mydivt = lldiv(10,1);
16981 ll = mydivt.quot;
16982 ll = mydivt.rem;
16983 ll = atoll("10");
16984 _Exit(0);
16987 return 0;
16989 _ACEOF
16990 if ac_fn_cxx_try_compile "$LINENO"; then :
16991 glibcxx_cv_c99_stdlib=yes
16992 else
16993 glibcxx_cv_c99_stdlib=no
16995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16996 else
16997 if test x$gcc_no_link = xyes; then
16998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17001 /* end confdefs.h. */
17002 #include <stdlib.h>
17003 volatile float f;
17004 volatile long double ld;
17005 volatile unsigned long long ll;
17006 lldiv_t mydivt;
17008 main ()
17010 char* tmp;
17011 f = strtof("gnu", &tmp);
17012 ld = strtold("gnu", &tmp);
17013 ll = strtoll("gnu", &tmp, 10);
17014 ll = strtoull("gnu", &tmp, 10);
17015 ll = llabs(10);
17016 mydivt = lldiv(10,1);
17017 ll = mydivt.quot;
17018 ll = mydivt.rem;
17019 ll = atoll("10");
17020 _Exit(0);
17023 return 0;
17025 _ACEOF
17026 if ac_fn_cxx_try_link "$LINENO"; then :
17027 glibcxx_cv_c99_stdlib=yes
17028 else
17029 glibcxx_cv_c99_stdlib=no
17031 rm -f core conftest.err conftest.$ac_objext \
17032 conftest$ac_exeext conftest.$ac_ext
17037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17038 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17040 # Check for the existence in <wchar.h> of wcstold, etc.
17041 glibcxx_cv_c99_wchar=no;
17042 if test x"$ac_has_wchar_h" = xyes &&
17043 test x"$ac_has_wctype_h" = xyes; then
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17045 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 #include <wchar.h>
17049 namespace test
17051 using ::wcstold;
17052 using ::wcstoll;
17053 using ::wcstoull;
17057 main ()
17061 return 0;
17063 _ACEOF
17064 if ac_fn_cxx_try_compile "$LINENO"; then :
17065 glibcxx_cv_c99_wchar=yes
17066 else
17067 glibcxx_cv_c99_wchar=no
17069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17071 # Checks for wide character functions that may not be present.
17072 # Injection of these is wrapped with guard macros.
17073 # NB: only put functions here, instead of immediately above, if
17074 # absolutely necessary.
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <wchar.h>
17078 namespace test { using ::vfwscanf; }
17080 main ()
17084 return 0;
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17089 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 namespace test { using ::vswscanf; }
17099 main ()
17103 return 0;
17105 _ACEOF
17106 if ac_fn_cxx_try_compile "$LINENO"; then :
17108 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <wchar.h>
17116 namespace test { using ::vwscanf; }
17118 main ()
17122 return 0;
17124 _ACEOF
17125 if ac_fn_cxx_try_compile "$LINENO"; then :
17127 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17133 /* end confdefs.h. */
17134 #include <wchar.h>
17135 namespace test { using ::wcstof; }
17137 main ()
17141 return 0;
17143 _ACEOF
17144 if ac_fn_cxx_try_compile "$LINENO"; then :
17146 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17152 /* end confdefs.h. */
17153 #include <wctype.h>
17155 main ()
17157 wint_t t; int i = iswblank(t);
17159 return 0;
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17164 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17170 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17173 # Option parsed, now set things appropriately.
17174 if test x"$glibcxx_cv_c99_math" = x"no" ||
17175 test x"$glibcxx_cv_c99_complex" = x"no" ||
17176 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17177 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17178 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17179 enable_c99=no;
17180 else
17182 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17186 gcc_no_link="$ac_save_gcc_no_link"
17187 LIBS="$ac_save_LIBS"
17188 CXXFLAGS="$ac_save_CXXFLAGS"
17189 ac_ext=c
17190 ac_cpp='$CPP $CPPFLAGS'
17191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17198 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17200 $as_echo "$enable_c99" >&6; }
17203 # Check whether --enable-concept-checks was given.
17204 if test "${enable_concept_checks+set}" = set; then :
17205 enableval=$enable_concept_checks;
17206 case "$enableval" in
17207 yes|no) ;;
17208 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17209 esac
17211 else
17212 enable_concept_checks=no
17216 if test $enable_concept_checks = yes; then
17218 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17223 # Check whether --enable-libstdcxx-debug-flags was given.
17224 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17225 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17226 xno | x) enable_libstdcxx_debug_flags= ;;
17227 x-*) ;;
17228 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17229 esac
17230 else
17231 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17236 # Option parsed, now set things appropriately
17237 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17241 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17245 $as_echo_n "checking for additional debug build... " >&6; }
17246 # Check whether --enable-libstdcxx-debug was given.
17247 if test "${enable_libstdcxx_debug+set}" = set; then :
17248 enableval=$enable_libstdcxx_debug;
17249 case "$enableval" in
17250 yes|no) ;;
17251 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17252 esac
17254 else
17255 enable_libstdcxx_debug=no
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17260 $as_echo "$enable_libstdcxx_debug" >&6; }
17265 enable_parallel=no;
17267 # See if configured libgomp/omp.h exists. (libgomp may be in
17268 # noconfigdirs but not explicitly disabled.)
17269 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17270 enable_parallel=yes;
17271 else
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17273 $as_echo "$as_me: target-libgomp not built" >&6;}
17276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17277 $as_echo_n "checking for parallel mode support... " >&6; }
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17279 $as_echo "$enable_parallel" >&6; }
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17282 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17283 # Check whether --enable-cxx-flags was given.
17284 if test "${enable_cxx_flags+set}" = set; then :
17285 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17286 xno | x) enable_cxx_flags= ;;
17287 x-*) ;;
17288 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17289 esac
17290 else
17291 enable_cxx_flags=
17296 # Run through flags (either default or command-line) and set anything
17297 # extra (e.g., #defines) that must accompany particular g++ options.
17298 if test -n "$enable_cxx_flags"; then
17299 for f in $enable_cxx_flags; do
17300 case "$f" in
17301 -fhonor-std) ;;
17302 -*) ;;
17303 *) # and we're trying to pass /what/ exactly?
17304 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17305 esac
17306 done
17309 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17311 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17315 # Check whether --enable-fully-dynamic-string was given.
17316 if test "${enable_fully_dynamic_string+set}" = set; then :
17317 enableval=$enable_fully_dynamic_string;
17318 case "$enableval" in
17319 yes|no) ;;
17320 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17321 esac
17323 else
17324 enable_fully_dynamic_string=no
17328 if test $enable_fully_dynamic_string = yes; then
17329 enable_fully_dynamic_string_def=1
17330 else
17331 enable_fully_dynamic_string_def=0
17334 cat >>confdefs.h <<_ACEOF
17335 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17336 _ACEOF
17341 # Check whether --enable-extern-template was given.
17342 if test "${enable_extern_template+set}" = set; then :
17343 enableval=$enable_extern_template;
17344 case "$enableval" in
17345 yes|no) ;;
17346 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17347 esac
17349 else
17350 enable_extern_template=yes
17355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17356 $as_echo_n "checking for extern template support... " >&6; }
17357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17358 $as_echo "$enable_extern_template" >&6; }
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17365 $as_echo_n "checking for custom python install directory... " >&6; }
17367 # Check whether --with-python-dir was given.
17368 if test "${with_python_dir+set}" = set; then :
17369 withval=$with_python_dir; with_python_dir=$withval
17370 else
17371 with_python_dir="no"
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17375 $as_echo "${with_python_dir}" >&6; }
17377 # Needed for installing Python modules during make install.
17378 python_mod_dir="${with_python_dir}"
17383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17384 $as_echo_n "checking for -Werror... " >&6; }
17385 # Check whether --enable-werror was given.
17386 if test "${enable_werror+set}" = set; then :
17387 enableval=$enable_werror;
17388 case "$enableval" in
17389 yes|no) ;;
17390 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17391 esac
17393 else
17394 enable_werror=yes
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17399 $as_echo "$enable_werror" >&6; }
17404 # Check whether --enable-vtable-verify was given.
17405 if test "${enable_vtable_verify+set}" = set; then :
17406 enableval=$enable_vtable_verify;
17407 case "$enableval" in
17408 yes|no) ;;
17409 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17410 esac
17412 else
17413 enable_vtable_verify=no
17418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17419 $as_echo_n "checking for vtable verify support... " >&6; }
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17421 $as_echo "$enable_vtable_verify" >&6; }
17423 if test $enable_vtable_verify = yes; then
17424 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17425 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17426 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17427 else
17428 VTV_CXXFLAGS=
17429 VTV_PCH_CXXFLAGS=
17430 VTV_CXXLINKFLAGS=
17439 # Checks for operating systems support that doesn't require linking.
17443 ac_ext=cpp
17444 ac_cpp='$CXXCPP $CPPFLAGS'
17445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17451 $as_echo_n "checking for gets declaration... " >&6; }
17452 if test "${glibcxx_cv_gets+set}" = set; then :
17453 $as_echo_n "(cached) " >&6
17454 else
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17458 #include <stdio.h>
17459 namespace test
17461 using ::gets;
17464 _ACEOF
17465 if ac_fn_cxx_try_compile "$LINENO"; then :
17466 glibcxx_cv_gets=yes
17467 else
17468 glibcxx_cv_gets=no
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475 if test $glibcxx_cv_gets = yes; then
17477 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17481 $as_echo "$glibcxx_cv_gets" >&6; }
17483 ac_ext=c
17484 ac_cpp='$CPP $CPPFLAGS'
17485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17493 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17494 if test "${glibcxx_cv_system_error1+set}" = set; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #include <errno.h>
17502 main ()
17504 int i = EOWNERDEAD;
17506 return 0;
17508 _ACEOF
17509 if ac_fn_c_try_compile "$LINENO"; then :
17510 glibcxx_cv_system_error1=yes
17511 else
17512 glibcxx_cv_system_error1=no
17514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17519 $as_echo "$glibcxx_cv_system_error1" >&6; }
17520 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17522 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17526 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17527 if test "${glibcxx_cv_system_error2+set}" = set; then :
17528 $as_echo_n "(cached) " >&6
17529 else
17531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17532 /* end confdefs.h. */
17533 #include <errno.h>
17535 main ()
17537 int i = ENOTRECOVERABLE;
17539 return 0;
17541 _ACEOF
17542 if ac_fn_c_try_compile "$LINENO"; then :
17543 glibcxx_cv_system_error2=yes
17544 else
17545 glibcxx_cv_system_error2=no
17547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17552 $as_echo "$glibcxx_cv_system_error2" >&6; }
17553 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17555 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17559 $as_echo_n "checking for ENOLINK... " >&6; }
17560 if test "${glibcxx_cv_system_error3+set}" = set; then :
17561 $as_echo_n "(cached) " >&6
17562 else
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 #include <errno.h>
17568 main ()
17570 int i = ENOLINK;
17572 return 0;
17574 _ACEOF
17575 if ac_fn_c_try_compile "$LINENO"; then :
17576 glibcxx_cv_system_error3=yes
17577 else
17578 glibcxx_cv_system_error3=no
17580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17585 $as_echo "$glibcxx_cv_system_error3" >&6; }
17586 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17588 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17592 $as_echo_n "checking for EPROTO... " >&6; }
17593 if test "${glibcxx_cv_system_error4+set}" = set; then :
17594 $as_echo_n "(cached) " >&6
17595 else
17597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17598 /* end confdefs.h. */
17599 #include <errno.h>
17601 main ()
17603 int i = EPROTO;
17605 return 0;
17607 _ACEOF
17608 if ac_fn_c_try_compile "$LINENO"; then :
17609 glibcxx_cv_system_error4=yes
17610 else
17611 glibcxx_cv_system_error4=no
17613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17618 $as_echo "$glibcxx_cv_system_error4" >&6; }
17619 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17621 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17625 $as_echo_n "checking for ENODATA... " >&6; }
17626 if test "${glibcxx_cv_system_error5+set}" = set; then :
17627 $as_echo_n "(cached) " >&6
17628 else
17630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17631 /* end confdefs.h. */
17632 #include <errno.h>
17634 main ()
17636 int i = ENODATA;
17638 return 0;
17640 _ACEOF
17641 if ac_fn_c_try_compile "$LINENO"; then :
17642 glibcxx_cv_system_error5=yes
17643 else
17644 glibcxx_cv_system_error5=no
17646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17651 $as_echo "$glibcxx_cv_system_error5" >&6; }
17652 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17654 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17658 $as_echo_n "checking for ENOSR... " >&6; }
17659 if test "${glibcxx_cv_system_error6+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17664 /* end confdefs.h. */
17665 #include <errno.h>
17667 main ()
17669 int i = ENOSR;
17671 return 0;
17673 _ACEOF
17674 if ac_fn_c_try_compile "$LINENO"; then :
17675 glibcxx_cv_system_error6=yes
17676 else
17677 glibcxx_cv_system_error6=no
17679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17684 $as_echo "$glibcxx_cv_system_error6" >&6; }
17685 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17687 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17691 $as_echo_n "checking for ENOSTR... " >&6; }
17692 if test "${glibcxx_cv_system_error7+set}" = set; then :
17693 $as_echo_n "(cached) " >&6
17694 else
17696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17697 /* end confdefs.h. */
17698 #include <errno.h>
17700 main ()
17702 int i = ENOSTR;
17704 return 0;
17706 _ACEOF
17707 if ac_fn_c_try_compile "$LINENO"; then :
17708 glibcxx_cv_system_error7=yes
17709 else
17710 glibcxx_cv_system_error7=no
17712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17717 $as_echo "$glibcxx_cv_system_error7" >&6; }
17718 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17720 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17724 $as_echo_n "checking for ETIME... " >&6; }
17725 if test "${glibcxx_cv_system_error8+set}" = set; then :
17726 $as_echo_n "(cached) " >&6
17727 else
17729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17730 /* end confdefs.h. */
17731 #include <errno.h>
17733 main ()
17735 int i = ETIME;
17737 return 0;
17739 _ACEOF
17740 if ac_fn_c_try_compile "$LINENO"; then :
17741 glibcxx_cv_system_error8=yes
17742 else
17743 glibcxx_cv_system_error8=no
17745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17750 $as_echo "$glibcxx_cv_system_error8" >&6; }
17751 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17753 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17757 $as_echo_n "checking for EBADMSG... " >&6; }
17758 if test "${glibcxx_cv_system_error9+set}" = set; then :
17759 $as_echo_n "(cached) " >&6
17760 else
17762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17763 /* end confdefs.h. */
17764 #include <errno.h>
17766 main ()
17768 int i = EBADMSG;
17770 return 0;
17772 _ACEOF
17773 if ac_fn_c_try_compile "$LINENO"; then :
17774 glibcxx_cv_system_error9=yes
17775 else
17776 glibcxx_cv_system_error9=no
17778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17783 $as_echo "$glibcxx_cv_system_error9" >&6; }
17784 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17786 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17790 $as_echo_n "checking for ECANCELED... " >&6; }
17791 if test "${glibcxx_cv_system_error10+set}" = set; then :
17792 $as_echo_n "(cached) " >&6
17793 else
17795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17796 /* end confdefs.h. */
17797 #include <errno.h>
17799 main ()
17801 int i = ECANCELED;
17803 return 0;
17805 _ACEOF
17806 if ac_fn_c_try_compile "$LINENO"; then :
17807 glibcxx_cv_system_error10=yes
17808 else
17809 glibcxx_cv_system_error10=no
17811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17816 $as_echo "$glibcxx_cv_system_error10" >&6; }
17817 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17819 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17823 $as_echo_n "checking for EOVERFLOW... " >&6; }
17824 if test "${glibcxx_cv_system_error11+set}" = set; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17829 /* end confdefs.h. */
17830 #include <errno.h>
17832 main ()
17834 int i = EOVERFLOW;
17836 return 0;
17838 _ACEOF
17839 if ac_fn_c_try_compile "$LINENO"; then :
17840 glibcxx_cv_system_error11=yes
17841 else
17842 glibcxx_cv_system_error11=no
17844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17849 $as_echo "$glibcxx_cv_system_error11" >&6; }
17850 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17852 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17856 $as_echo_n "checking for ENOTSUP... " >&6; }
17857 if test "${glibcxx_cv_system_error12+set}" = set; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17863 #include <errno.h>
17865 main ()
17867 int i = ENOTSUP;
17869 return 0;
17871 _ACEOF
17872 if ac_fn_c_try_compile "$LINENO"; then :
17873 glibcxx_cv_system_error12=yes
17874 else
17875 glibcxx_cv_system_error12=no
17877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17882 $as_echo "$glibcxx_cv_system_error12" >&6; }
17883 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17885 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17889 $as_echo_n "checking for EIDRM... " >&6; }
17890 if test "${glibcxx_cv_system_error13+set}" = set; then :
17891 $as_echo_n "(cached) " >&6
17892 else
17894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17895 /* end confdefs.h. */
17896 #include <errno.h>
17898 main ()
17900 int i = EIDRM;
17902 return 0;
17904 _ACEOF
17905 if ac_fn_c_try_compile "$LINENO"; then :
17906 glibcxx_cv_system_error13=yes
17907 else
17908 glibcxx_cv_system_error13=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17915 $as_echo "$glibcxx_cv_system_error13" >&6; }
17916 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17918 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17922 $as_echo_n "checking for ETXTBSY... " >&6; }
17923 if test "${glibcxx_cv_system_error14+set}" = set; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <errno.h>
17931 main ()
17933 int i = ETXTBSY;
17935 return 0;
17937 _ACEOF
17938 if ac_fn_c_try_compile "$LINENO"; then :
17939 glibcxx_cv_system_error14=yes
17940 else
17941 glibcxx_cv_system_error14=no
17943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17948 $as_echo "$glibcxx_cv_system_error14" >&6; }
17949 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17951 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17955 $as_echo_n "checking for ECHILD... " >&6; }
17956 if test "${glibcxx_cv_system_error15+set}" = set; then :
17957 $as_echo_n "(cached) " >&6
17958 else
17960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17961 /* end confdefs.h. */
17962 #include <errno.h>
17964 main ()
17966 int i = ECHILD;
17968 return 0;
17970 _ACEOF
17971 if ac_fn_c_try_compile "$LINENO"; then :
17972 glibcxx_cv_system_error15=yes
17973 else
17974 glibcxx_cv_system_error15=no
17976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17981 $as_echo "$glibcxx_cv_system_error15" >&6; }
17982 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17984 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17988 $as_echo_n "checking for ENOSPC... " >&6; }
17989 if test "${glibcxx_cv_system_error16+set}" = set; then :
17990 $as_echo_n "(cached) " >&6
17991 else
17993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17994 /* end confdefs.h. */
17995 #include <errno.h>
17997 main ()
17999 int i = ENOSPC;
18001 return 0;
18003 _ACEOF
18004 if ac_fn_c_try_compile "$LINENO"; then :
18005 glibcxx_cv_system_error16=yes
18006 else
18007 glibcxx_cv_system_error16=no
18009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18014 $as_echo "$glibcxx_cv_system_error16" >&6; }
18015 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18017 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18021 $as_echo_n "checking for EPERM... " >&6; }
18022 if test "${glibcxx_cv_system_error17+set}" = set; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18027 /* end confdefs.h. */
18028 #include <errno.h>
18030 main ()
18032 int i = EPERM;
18034 return 0;
18036 _ACEOF
18037 if ac_fn_c_try_compile "$LINENO"; then :
18038 glibcxx_cv_system_error17=yes
18039 else
18040 glibcxx_cv_system_error17=no
18042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18047 $as_echo "$glibcxx_cv_system_error17" >&6; }
18048 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18050 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18054 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18055 if test "${glibcxx_cv_system_error18+set}" = set; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18061 #include <errno.h>
18063 main ()
18065 int i = ETIMEDOUT;
18067 return 0;
18069 _ACEOF
18070 if ac_fn_c_try_compile "$LINENO"; then :
18071 glibcxx_cv_system_error18=yes
18072 else
18073 glibcxx_cv_system_error18=no
18075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18080 $as_echo "$glibcxx_cv_system_error18" >&6; }
18081 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18083 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18087 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18088 if test "${glibcxx_cv_system_error19+set}" = set; then :
18089 $as_echo_n "(cached) " >&6
18090 else
18092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18093 /* end confdefs.h. */
18094 #include <errno.h>
18096 main ()
18098 int i = EWOULDBLOCK;
18100 return 0;
18102 _ACEOF
18103 if ac_fn_c_try_compile "$LINENO"; then :
18104 glibcxx_cv_system_error19=yes
18105 else
18106 glibcxx_cv_system_error19=no
18108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18113 $as_echo "$glibcxx_cv_system_error19" >&6; }
18114 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18116 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18122 # For the streamoff typedef.
18126 ac_ext=cpp
18127 ac_cpp='$CXXCPP $CPPFLAGS'
18128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18134 $as_echo_n "checking for int64_t... " >&6; }
18135 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18136 $as_echo_n "(cached) " >&6
18137 else
18139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18140 /* end confdefs.h. */
18141 #include <stdint.h>
18143 main ()
18145 int64_t var;
18147 return 0;
18149 _ACEOF
18150 if ac_fn_cxx_try_compile "$LINENO"; then :
18151 glibcxx_cv_INT64_T=yes
18152 else
18153 glibcxx_cv_INT64_T=no
18155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18160 if test $glibcxx_cv_INT64_T = yes; then
18162 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18165 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18168 $as_echo_n "checking for int64_t as long... " >&6; }
18169 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18170 $as_echo_n "(cached) " >&6
18171 else
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18175 #include <stdint.h>
18176 template<typename, typename> struct same { enum { value = -1 }; };
18177 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18178 int array[same<int64_t, long>::value];
18180 main ()
18184 return 0;
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188 glibcxx_cv_int64_t_long=yes
18189 else
18190 glibcxx_cv_int64_t_long=no
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18197 if test $glibcxx_cv_int64_t_long = yes; then
18199 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18202 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18206 $as_echo_n "checking for int64_t as long long... " >&6; }
18207 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18208 $as_echo_n "(cached) " >&6
18209 else
18211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18212 /* end confdefs.h. */
18213 #include <stdint.h>
18214 template<typename, typename> struct same { enum { value = -1 }; };
18215 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18216 int array[same<int64_t, long long>::value];
18218 main ()
18222 return 0;
18224 _ACEOF
18225 if ac_fn_cxx_try_compile "$LINENO"; then :
18226 glibcxx_cv_int64_t_long_long=yes
18227 else
18228 glibcxx_cv_int64_t_long_long=no
18230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18235 if test $glibcxx_cv_int64_t_long_long = yes; then
18237 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18240 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18244 ac_ext=c
18245 ac_cpp='$CPP $CPPFLAGS'
18246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18252 # For LFS support.
18255 ac_ext=cpp
18256 ac_cpp='$CXXCPP $CPPFLAGS'
18257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18261 ac_save_CXXFLAGS="$CXXFLAGS"
18262 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18264 $as_echo_n "checking for LFS support... " >&6; }
18265 if test "${glibcxx_cv_LFS+set}" = set; then :
18266 $as_echo_n "(cached) " >&6
18267 else
18269 if test x$gcc_no_link = xyes; then
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <unistd.h>
18273 #include <stdio.h>
18274 #include <sys/stat.h>
18277 main ()
18279 FILE* fp;
18280 fopen64("t", "w");
18281 fseeko64(fp, 0, SEEK_CUR);
18282 ftello64(fp);
18283 lseek64(1, 0, SEEK_CUR);
18284 struct stat64 buf;
18285 fstat64(1, &buf);
18287 return 0;
18289 _ACEOF
18290 if ac_fn_cxx_try_compile "$LINENO"; then :
18291 glibcxx_cv_LFS=yes
18292 else
18293 glibcxx_cv_LFS=no
18295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18296 else
18297 if test x$gcc_no_link = xyes; then
18298 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18301 /* end confdefs.h. */
18302 #include <unistd.h>
18303 #include <stdio.h>
18304 #include <sys/stat.h>
18307 main ()
18309 FILE* fp;
18310 fopen64("t", "w");
18311 fseeko64(fp, 0, SEEK_CUR);
18312 ftello64(fp);
18313 lseek64(1, 0, SEEK_CUR);
18314 struct stat64 buf;
18315 fstat64(1, &buf);
18317 return 0;
18319 _ACEOF
18320 if ac_fn_cxx_try_link "$LINENO"; then :
18321 glibcxx_cv_LFS=yes
18322 else
18323 glibcxx_cv_LFS=no
18325 rm -f core conftest.err conftest.$ac_objext \
18326 conftest$ac_exeext conftest.$ac_ext
18331 if test $glibcxx_cv_LFS = yes; then
18333 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18337 $as_echo "$glibcxx_cv_LFS" >&6; }
18338 CXXFLAGS="$ac_save_CXXFLAGS"
18339 ac_ext=c
18340 ac_cpp='$CPP $CPPFLAGS'
18341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18347 # For showmanyc_helper().
18348 for ac_header in sys/ioctl.h sys/filio.h
18349 do :
18350 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18351 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18352 eval as_val=\$$as_ac_Header
18353 if test "x$as_val" = x""yes; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18356 _ACEOF
18360 done
18365 ac_ext=cpp
18366 ac_cpp='$CXXCPP $CPPFLAGS'
18367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18371 ac_save_CXXFLAGS="$CXXFLAGS"
18372 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18375 $as_echo_n "checking for poll... " >&6; }
18376 if test "${glibcxx_cv_POLL+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <poll.h>
18385 main ()
18387 struct pollfd pfd[1];
18388 pfd[0].events = POLLIN;
18389 poll(pfd, 1, 0);
18391 return 0;
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395 glibcxx_cv_POLL=yes
18396 else
18397 glibcxx_cv_POLL=no
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <poll.h>
18408 main ()
18410 struct pollfd pfd[1];
18411 pfd[0].events = POLLIN;
18412 poll(pfd, 1, 0);
18414 return 0;
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_POLL=yes
18419 else
18420 glibcxx_cv_POLL=no
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18428 if test $glibcxx_cv_POLL = yes; then
18430 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18434 $as_echo "$glibcxx_cv_POLL" >&6; }
18436 CXXFLAGS="$ac_save_CXXFLAGS"
18437 ac_ext=c
18438 ac_cpp='$CPP $CPPFLAGS'
18439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18447 ac_ext=cpp
18448 ac_cpp='$CXXCPP $CPPFLAGS'
18449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18453 ac_save_CXXFLAGS="$CXXFLAGS"
18454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18457 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18458 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18459 $as_echo_n "(cached) " >&6
18460 else
18462 if test x$gcc_no_link = xyes; then
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 #include <sys/stat.h>
18467 main ()
18469 struct stat buffer;
18470 fstat(0, &buffer);
18471 S_ISREG(buffer.st_mode);
18473 return 0;
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477 glibcxx_cv_S_ISREG=yes
18478 else
18479 glibcxx_cv_S_ISREG=no
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482 else
18483 if test x$gcc_no_link = xyes; then
18484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #include <sys/stat.h>
18490 main ()
18492 struct stat buffer;
18493 fstat(0, &buffer);
18494 S_ISREG(buffer.st_mode);
18496 return 0;
18498 _ACEOF
18499 if ac_fn_cxx_try_link "$LINENO"; then :
18500 glibcxx_cv_S_ISREG=yes
18501 else
18502 glibcxx_cv_S_ISREG=no
18504 rm -f core conftest.err conftest.$ac_objext \
18505 conftest$ac_exeext conftest.$ac_ext
18510 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18511 $as_echo_n "(cached) " >&6
18512 else
18514 if test x$gcc_no_link = xyes; then
18515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18516 /* end confdefs.h. */
18517 #include <sys/stat.h>
18519 main ()
18521 struct stat buffer;
18522 fstat(0, &buffer);
18523 S_IFREG & buffer.st_mode;
18525 return 0;
18527 _ACEOF
18528 if ac_fn_cxx_try_compile "$LINENO"; then :
18529 glibcxx_cv_S_IFREG=yes
18530 else
18531 glibcxx_cv_S_IFREG=no
18533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18534 else
18535 if test x$gcc_no_link = xyes; then
18536 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <sys/stat.h>
18542 main ()
18544 struct stat buffer;
18545 fstat(0, &buffer);
18546 S_IFREG & buffer.st_mode;
18548 return 0;
18550 _ACEOF
18551 if ac_fn_cxx_try_link "$LINENO"; then :
18552 glibcxx_cv_S_IFREG=yes
18553 else
18554 glibcxx_cv_S_IFREG=no
18556 rm -f core conftest.err conftest.$ac_objext \
18557 conftest$ac_exeext conftest.$ac_ext
18562 res=no
18563 if test $glibcxx_cv_S_ISREG = yes; then
18565 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18567 res=S_ISREG
18568 elif test $glibcxx_cv_S_IFREG = yes; then
18570 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18572 res=S_IFREG
18574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18575 $as_echo "$res" >&6; }
18577 CXXFLAGS="$ac_save_CXXFLAGS"
18578 ac_ext=c
18579 ac_cpp='$CPP $CPPFLAGS'
18580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18586 # For xsputn_2().
18587 for ac_header in sys/uio.h
18588 do :
18589 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18590 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18591 cat >>confdefs.h <<_ACEOF
18592 #define HAVE_SYS_UIO_H 1
18593 _ACEOF
18597 done
18602 ac_ext=cpp
18603 ac_cpp='$CXXCPP $CPPFLAGS'
18604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18608 ac_save_CXXFLAGS="$CXXFLAGS"
18609 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18612 $as_echo_n "checking for writev... " >&6; }
18613 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18614 $as_echo_n "(cached) " >&6
18615 else
18617 if test x$gcc_no_link = xyes; then
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #include <sys/uio.h>
18622 main ()
18624 struct iovec iov[2];
18625 writev(0, iov, 0);
18627 return 0;
18629 _ACEOF
18630 if ac_fn_cxx_try_compile "$LINENO"; then :
18631 glibcxx_cv_WRITEV=yes
18632 else
18633 glibcxx_cv_WRITEV=no
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 else
18637 if test x$gcc_no_link = xyes; then
18638 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18641 /* end confdefs.h. */
18642 #include <sys/uio.h>
18644 main ()
18646 struct iovec iov[2];
18647 writev(0, iov, 0);
18649 return 0;
18651 _ACEOF
18652 if ac_fn_cxx_try_link "$LINENO"; then :
18653 glibcxx_cv_WRITEV=yes
18654 else
18655 glibcxx_cv_WRITEV=no
18657 rm -f core conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18663 if test $glibcxx_cv_WRITEV = yes; then
18665 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18669 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18671 CXXFLAGS="$ac_save_CXXFLAGS"
18672 ac_ext=c
18673 ac_cpp='$CPP $CPPFLAGS'
18674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18680 # For C99 support to TR1.
18684 ac_ext=cpp
18685 ac_cpp='$CXXCPP $CPPFLAGS'
18686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18691 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18692 # undefined and fake C99 facilities may be spuriously enabled.
18693 ac_save_CXXFLAGS="$CXXFLAGS"
18694 CXXFLAGS="$CXXFLAGS -std=c++98"
18696 # Check for the existence of <complex.h> complex math functions used
18697 # by tr1/complex.
18698 for ac_header in complex.h
18699 do :
18700 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18701 if test "x$ac_cv_header_complex_h" = x""yes; then :
18702 cat >>confdefs.h <<_ACEOF
18703 #define HAVE_COMPLEX_H 1
18704 _ACEOF
18705 ac_has_complex_h=yes
18706 else
18707 ac_has_complex_h=no
18710 done
18712 ac_c99_complex_tr1=no;
18713 if test x"$ac_has_complex_h" = x"yes"; then
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18715 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18717 /* end confdefs.h. */
18718 #include <complex.h>
18720 main ()
18722 typedef __complex__ float float_type; float_type tmpf;
18723 cacosf(tmpf);
18724 casinf(tmpf);
18725 catanf(tmpf);
18726 cacoshf(tmpf);
18727 casinhf(tmpf);
18728 catanhf(tmpf);
18729 typedef __complex__ double double_type; double_type tmpd;
18730 cacos(tmpd);
18731 casin(tmpd);
18732 catan(tmpd);
18733 cacosh(tmpd);
18734 casinh(tmpd);
18735 catanh(tmpd);
18736 typedef __complex__ long double ld_type; ld_type tmpld;
18737 cacosl(tmpld);
18738 casinl(tmpld);
18739 catanl(tmpld);
18740 cacoshl(tmpld);
18741 casinhl(tmpld);
18742 catanhl(tmpld);
18745 return 0;
18747 _ACEOF
18748 if ac_fn_cxx_try_compile "$LINENO"; then :
18749 ac_c99_complex_tr1=yes
18750 else
18751 ac_c99_complex_tr1=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18756 $as_echo "$ac_c99_complex_tr1" >&6; }
18757 if test x"$ac_c99_complex_tr1" = x"yes"; then
18759 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18763 # Check for the existence of <ctype.h> functions.
18764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18765 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18766 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18767 $as_echo_n "(cached) " >&6
18768 else
18770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18771 /* end confdefs.h. */
18772 #include <ctype.h>
18774 main ()
18776 int ch;
18777 int ret;
18778 ret = isblank(ch);
18781 return 0;
18783 _ACEOF
18784 if ac_fn_cxx_try_compile "$LINENO"; then :
18785 glibcxx_cv_c99_ctype_tr1=yes
18786 else
18787 glibcxx_cv_c99_ctype_tr1=no
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18794 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18795 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18797 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18801 # Check for the existence of <fenv.h> functions.
18802 for ac_header in fenv.h
18803 do :
18804 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18805 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18806 cat >>confdefs.h <<_ACEOF
18807 #define HAVE_FENV_H 1
18808 _ACEOF
18809 ac_has_fenv_h=yes
18810 else
18811 ac_has_fenv_h=no
18814 done
18816 ac_c99_fenv_tr1=no;
18817 if test x"$ac_has_fenv_h" = x"yes"; then
18818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18819 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 #include <fenv.h>
18824 main ()
18826 int except, mode;
18827 fexcept_t* pflag;
18828 fenv_t* penv;
18829 int ret;
18830 ret = feclearexcept(except);
18831 ret = fegetexceptflag(pflag, except);
18832 ret = feraiseexcept(except);
18833 ret = fesetexceptflag(pflag, except);
18834 ret = fetestexcept(except);
18835 ret = fegetround();
18836 ret = fesetround(mode);
18837 ret = fegetenv(penv);
18838 ret = feholdexcept(penv);
18839 ret = fesetenv(penv);
18840 ret = feupdateenv(penv);
18843 return 0;
18845 _ACEOF
18846 if ac_fn_cxx_try_compile "$LINENO"; then :
18847 ac_c99_fenv_tr1=yes
18848 else
18849 ac_c99_fenv_tr1=no
18851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18854 $as_echo "$ac_c99_fenv_tr1" >&6; }
18855 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18857 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18861 # Check for the existence of <stdint.h> types.
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18863 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18864 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18865 $as_echo_n "(cached) " >&6
18866 else
18868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18869 /* end confdefs.h. */
18870 #define __STDC_LIMIT_MACROS
18871 #define __STDC_CONSTANT_MACROS
18872 #include <stdint.h>
18874 main ()
18876 typedef int8_t my_int8_t;
18877 my_int8_t i8 = INT8_MIN;
18878 i8 = INT8_MAX;
18879 typedef int16_t my_int16_t;
18880 my_int16_t i16 = INT16_MIN;
18881 i16 = INT16_MAX;
18882 typedef int32_t my_int32_t;
18883 my_int32_t i32 = INT32_MIN;
18884 i32 = INT32_MAX;
18885 typedef int64_t my_int64_t;
18886 my_int64_t i64 = INT64_MIN;
18887 i64 = INT64_MAX;
18888 typedef int_fast8_t my_int_fast8_t;
18889 my_int_fast8_t if8 = INT_FAST8_MIN;
18890 if8 = INT_FAST8_MAX;
18891 typedef int_fast16_t my_int_fast16_t;
18892 my_int_fast16_t if16 = INT_FAST16_MIN;
18893 if16 = INT_FAST16_MAX;
18894 typedef int_fast32_t my_int_fast32_t;
18895 my_int_fast32_t if32 = INT_FAST32_MIN;
18896 if32 = INT_FAST32_MAX;
18897 typedef int_fast64_t my_int_fast64_t;
18898 my_int_fast64_t if64 = INT_FAST64_MIN;
18899 if64 = INT_FAST64_MAX;
18900 typedef int_least8_t my_int_least8_t;
18901 my_int_least8_t il8 = INT_LEAST8_MIN;
18902 il8 = INT_LEAST8_MAX;
18903 typedef int_least16_t my_int_least16_t;
18904 my_int_least16_t il16 = INT_LEAST16_MIN;
18905 il16 = INT_LEAST16_MAX;
18906 typedef int_least32_t my_int_least32_t;
18907 my_int_least32_t il32 = INT_LEAST32_MIN;
18908 il32 = INT_LEAST32_MAX;
18909 typedef int_least64_t my_int_least64_t;
18910 my_int_least64_t il64 = INT_LEAST64_MIN;
18911 il64 = INT_LEAST64_MAX;
18912 typedef intmax_t my_intmax_t;
18913 my_intmax_t im = INTMAX_MAX;
18914 im = INTMAX_MIN;
18915 typedef intptr_t my_intptr_t;
18916 my_intptr_t ip = INTPTR_MAX;
18917 ip = INTPTR_MIN;
18918 typedef uint8_t my_uint8_t;
18919 my_uint8_t ui8 = UINT8_MAX;
18920 ui8 = UINT8_MAX;
18921 typedef uint16_t my_uint16_t;
18922 my_uint16_t ui16 = UINT16_MAX;
18923 ui16 = UINT16_MAX;
18924 typedef uint32_t my_uint32_t;
18925 my_uint32_t ui32 = UINT32_MAX;
18926 ui32 = UINT32_MAX;
18927 typedef uint64_t my_uint64_t;
18928 my_uint64_t ui64 = UINT64_MAX;
18929 ui64 = UINT64_MAX;
18930 typedef uint_fast8_t my_uint_fast8_t;
18931 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18932 uif8 = UINT_FAST8_MAX;
18933 typedef uint_fast16_t my_uint_fast16_t;
18934 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18935 uif16 = UINT_FAST16_MAX;
18936 typedef uint_fast32_t my_uint_fast32_t;
18937 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18938 uif32 = UINT_FAST32_MAX;
18939 typedef uint_fast64_t my_uint_fast64_t;
18940 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18941 uif64 = UINT_FAST64_MAX;
18942 typedef uint_least8_t my_uint_least8_t;
18943 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18944 uil8 = UINT_LEAST8_MAX;
18945 typedef uint_least16_t my_uint_least16_t;
18946 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18947 uil16 = UINT_LEAST16_MAX;
18948 typedef uint_least32_t my_uint_least32_t;
18949 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18950 uil32 = UINT_LEAST32_MAX;
18951 typedef uint_least64_t my_uint_least64_t;
18952 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18953 uil64 = UINT_LEAST64_MAX;
18954 typedef uintmax_t my_uintmax_t;
18955 my_uintmax_t uim = UINTMAX_MAX;
18956 uim = UINTMAX_MAX;
18957 typedef uintptr_t my_uintptr_t;
18958 my_uintptr_t uip = UINTPTR_MAX;
18959 uip = UINTPTR_MAX;
18962 return 0;
18964 _ACEOF
18965 if ac_fn_cxx_try_compile "$LINENO"; then :
18966 glibcxx_cv_c99_stdint_tr1=yes
18967 else
18968 glibcxx_cv_c99_stdint_tr1=no
18970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18975 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18976 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18978 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18982 # Check for the existence of <math.h> functions.
18983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18984 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18985 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18986 $as_echo_n "(cached) " >&6
18987 else
18989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18990 /* end confdefs.h. */
18991 #include <math.h>
18993 main ()
18995 typedef double_t my_double_t;
18996 typedef float_t my_float_t;
18997 acosh(0.0);
18998 acoshf(0.0f);
18999 acoshl(0.0l);
19000 asinh(0.0);
19001 asinhf(0.0f);
19002 asinhl(0.0l);
19003 atanh(0.0);
19004 atanhf(0.0f);
19005 atanhl(0.0l);
19006 cbrt(0.0);
19007 cbrtf(0.0f);
19008 cbrtl(0.0l);
19009 copysign(0.0, 0.0);
19010 copysignf(0.0f, 0.0f);
19011 copysignl(0.0l, 0.0l);
19012 erf(0.0);
19013 erff(0.0f);
19014 erfl(0.0l);
19015 erfc(0.0);
19016 erfcf(0.0f);
19017 erfcl(0.0l);
19018 exp2(0.0);
19019 exp2f(0.0f);
19020 exp2l(0.0l);
19021 expm1(0.0);
19022 expm1f(0.0f);
19023 expm1l(0.0l);
19024 fdim(0.0, 0.0);
19025 fdimf(0.0f, 0.0f);
19026 fdiml(0.0l, 0.0l);
19027 fma(0.0, 0.0, 0.0);
19028 fmaf(0.0f, 0.0f, 0.0f);
19029 fmal(0.0l, 0.0l, 0.0l);
19030 fmax(0.0, 0.0);
19031 fmaxf(0.0f, 0.0f);
19032 fmaxl(0.0l, 0.0l);
19033 fmin(0.0, 0.0);
19034 fminf(0.0f, 0.0f);
19035 fminl(0.0l, 0.0l);
19036 hypot(0.0, 0.0);
19037 hypotf(0.0f, 0.0f);
19038 hypotl(0.0l, 0.0l);
19039 ilogb(0.0);
19040 ilogbf(0.0f);
19041 ilogbl(0.0l);
19042 lgamma(0.0);
19043 lgammaf(0.0f);
19044 lgammal(0.0l);
19045 llrint(0.0);
19046 llrintf(0.0f);
19047 llrintl(0.0l);
19048 llround(0.0);
19049 llroundf(0.0f);
19050 llroundl(0.0l);
19051 log1p(0.0);
19052 log1pf(0.0f);
19053 log1pl(0.0l);
19054 log2(0.0);
19055 log2f(0.0f);
19056 log2l(0.0l);
19057 logb(0.0);
19058 logbf(0.0f);
19059 logbl(0.0l);
19060 lrint(0.0);
19061 lrintf(0.0f);
19062 lrintl(0.0l);
19063 lround(0.0);
19064 lroundf(0.0f);
19065 lroundl(0.0l);
19066 nan(0);
19067 nanf(0);
19068 nanl(0);
19069 nearbyint(0.0);
19070 nearbyintf(0.0f);
19071 nearbyintl(0.0l);
19072 nextafter(0.0, 0.0);
19073 nextafterf(0.0f, 0.0f);
19074 nextafterl(0.0l, 0.0l);
19075 nexttoward(0.0, 0.0);
19076 nexttowardf(0.0f, 0.0f);
19077 nexttowardl(0.0l, 0.0l);
19078 remainder(0.0, 0.0);
19079 remainderf(0.0f, 0.0f);
19080 remainderl(0.0l, 0.0l);
19081 remquo(0.0, 0.0, 0);
19082 remquof(0.0f, 0.0f, 0);
19083 remquol(0.0l, 0.0l, 0);
19084 rint(0.0);
19085 rintf(0.0f);
19086 rintl(0.0l);
19087 round(0.0);
19088 roundf(0.0f);
19089 roundl(0.0l);
19090 scalbln(0.0, 0l);
19091 scalblnf(0.0f, 0l);
19092 scalblnl(0.0l, 0l);
19093 scalbn(0.0, 0);
19094 scalbnf(0.0f, 0);
19095 scalbnl(0.0l, 0);
19096 tgamma(0.0);
19097 tgammaf(0.0f);
19098 tgammal(0.0l);
19099 trunc(0.0);
19100 truncf(0.0f);
19101 truncl(0.0l);
19104 return 0;
19106 _ACEOF
19107 if ac_fn_cxx_try_compile "$LINENO"; then :
19108 glibcxx_cv_c99_math_tr1=yes
19109 else
19110 glibcxx_cv_c99_math_tr1=no
19112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19117 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19118 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19120 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19124 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19125 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19126 ac_c99_inttypes_tr1=no;
19127 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19129 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19131 /* end confdefs.h. */
19132 #include <inttypes.h>
19134 main ()
19136 intmax_t i, numer, denom, base;
19137 const char* s;
19138 char** endptr;
19139 intmax_t ret = imaxabs(i);
19140 imaxdiv_t dret = imaxdiv(numer, denom);
19141 ret = strtoimax(s, endptr, base);
19142 uintmax_t uret = strtoumax(s, endptr, base);
19145 return 0;
19147 _ACEOF
19148 if ac_fn_cxx_try_compile "$LINENO"; then :
19149 ac_c99_inttypes_tr1=yes
19150 else
19151 ac_c99_inttypes_tr1=no
19153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19156 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19157 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19159 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19163 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19164 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19165 ac_c99_inttypes_wchar_t_tr1=no;
19166 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19168 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19170 /* end confdefs.h. */
19171 #include <inttypes.h>
19173 main ()
19175 intmax_t base;
19176 const wchar_t* s;
19177 wchar_t** endptr;
19178 intmax_t ret = wcstoimax(s, endptr, base);
19179 uintmax_t uret = wcstoumax(s, endptr, base);
19182 return 0;
19184 _ACEOF
19185 if ac_fn_cxx_try_compile "$LINENO"; then :
19186 ac_c99_inttypes_wchar_t_tr1=yes
19187 else
19188 ac_c99_inttypes_wchar_t_tr1=no
19190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19193 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19194 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19196 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19200 # Check for the existence of the <stdbool.h> header.
19201 for ac_header in stdbool.h
19202 do :
19203 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19204 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19205 cat >>confdefs.h <<_ACEOF
19206 #define HAVE_STDBOOL_H 1
19207 _ACEOF
19211 done
19214 # Check for the existence of the <stdalign.h> header.
19215 for ac_header in stdalign.h
19216 do :
19217 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19218 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STDALIGN_H 1
19221 _ACEOF
19225 done
19228 CXXFLAGS="$ac_save_CXXFLAGS"
19229 ac_ext=c
19230 ac_cpp='$CPP $CPPFLAGS'
19231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19237 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19241 $as_echo_n "checking for the value of EOF... " >&6; }
19242 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19243 $as_echo_n "(cached) " >&6
19244 else
19246 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19248 else
19249 as_fn_error "computing EOF failed" "$LINENO" 5
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19255 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19257 cat >>confdefs.h <<_ACEOF
19258 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19259 _ACEOF
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19263 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19264 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19265 $as_echo_n "(cached) " >&6
19266 else
19268 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19270 else
19271 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19277 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19279 cat >>confdefs.h <<_ACEOF
19280 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19281 _ACEOF
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19285 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19286 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19287 $as_echo_n "(cached) " >&6
19288 else
19290 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19292 else
19293 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19299 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19301 cat >>confdefs.h <<_ACEOF
19302 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19303 _ACEOF
19307 # For gettimeofday support.
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19311 $as_echo_n "checking for gettimeofday... " >&6; }
19314 ac_ext=cpp
19315 ac_cpp='$CXXCPP $CPPFLAGS'
19316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19320 ac_save_CXXFLAGS="$CXXFLAGS"
19321 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19323 ac_has_gettimeofday=no;
19324 for ac_header in sys/time.h
19325 do :
19326 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19327 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19328 cat >>confdefs.h <<_ACEOF
19329 #define HAVE_SYS_TIME_H 1
19330 _ACEOF
19331 ac_has_sys_time_h=yes
19332 else
19333 ac_has_sys_time_h=no
19336 done
19338 if test x"$ac_has_sys_time_h" = x"yes"; then
19339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19340 $as_echo_n "checking for gettimeofday... " >&6; }
19341 if test x$gcc_no_link = xyes; then
19342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19343 /* end confdefs.h. */
19344 #include <sys/time.h>
19346 main ()
19348 timeval tv; gettimeofday(&tv, 0);
19350 return 0;
19352 _ACEOF
19353 if ac_fn_cxx_try_compile "$LINENO"; then :
19354 ac_has_gettimeofday=yes
19355 else
19356 ac_has_gettimeofday=no
19358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19359 else
19360 if test x$gcc_no_link = xyes; then
19361 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19364 /* end confdefs.h. */
19365 #include <sys/time.h>
19367 main ()
19369 timeval tv; gettimeofday(&tv, 0);
19371 return 0;
19373 _ACEOF
19374 if ac_fn_cxx_try_link "$LINENO"; then :
19375 ac_has_gettimeofday=yes
19376 else
19377 ac_has_gettimeofday=no
19379 rm -f core conftest.err conftest.$ac_objext \
19380 conftest$ac_exeext conftest.$ac_ext
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19384 $as_echo "$ac_has_gettimeofday" >&6; }
19387 if test x"$ac_has_gettimeofday" = x"yes"; then
19389 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19393 CXXFLAGS="$ac_save_CXXFLAGS"
19394 ac_ext=c
19395 ac_cpp='$CPP $CPPFLAGS'
19396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19402 # For clock_gettime, nanosleep and sched_yield support.
19405 # Check whether --enable-libstdcxx-time was given.
19406 if test "${enable_libstdcxx_time+set}" = set; then :
19407 enableval=$enable_libstdcxx_time;
19408 case "$enableval" in
19409 yes|no|rt) ;;
19410 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19411 esac
19413 else
19414 enable_libstdcxx_time=auto
19420 ac_ext=cpp
19421 ac_cpp='$CXXCPP $CPPFLAGS'
19422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19426 ac_save_CXXFLAGS="$CXXFLAGS"
19427 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19428 ac_save_LIBS="$LIBS"
19430 ac_has_clock_monotonic=no
19431 ac_has_clock_realtime=no
19432 ac_has_nanosleep=no
19433 ac_has_sched_yield=no
19435 if test x"$enable_libstdcxx_time" = x"auto"; then
19437 case "${target_os}" in
19438 cygwin*)
19439 ac_has_nanosleep=yes
19441 darwin*)
19442 ac_has_nanosleep=yes
19443 ac_has_sched_yield=yes
19445 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19447 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19450 #include <features.h>
19452 main ()
19455 #if ! __GLIBC_PREREQ(2, 17)
19456 #error
19457 #endif
19460 return 0;
19462 _ACEOF
19463 if ac_fn_cxx_try_compile "$LINENO"; then :
19464 glibcxx_glibc217=yes
19465 else
19466 glibcxx_glibc217=no
19468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19470 $as_echo "$glibcxx_glibc217" >&6; }
19472 if test x"$glibcxx_glibc217" = x"yes"; then
19473 ac_has_clock_monotonic=yes
19474 ac_has_clock_realtime=yes
19476 ac_has_nanosleep=yes
19477 ac_has_sched_yield=yes
19479 freebsd*|netbsd*)
19480 ac_has_clock_monotonic=yes
19481 ac_has_clock_realtime=yes
19482 ac_has_nanosleep=yes
19483 ac_has_sched_yield=yes
19485 openbsd*)
19486 ac_has_clock_monotonic=yes
19487 ac_has_clock_realtime=yes
19488 ac_has_nanosleep=yes
19490 solaris*)
19491 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19492 ac_has_clock_monotonic=yes
19493 ac_has_clock_realtime=yes
19494 ac_has_nanosleep=yes
19495 ac_has_sched_yield=yes
19497 esac
19499 elif test x"$enable_libstdcxx_time" != x"no"; then
19501 if test x"$enable_libstdcxx_time" = x"rt"; then
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19503 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19504 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19505 $as_echo_n "(cached) " >&6
19506 else
19507 ac_func_search_save_LIBS=$LIBS
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19511 /* Override any GCC internal prototype to avoid an error.
19512 Use char because int might match the return type of a GCC
19513 builtin and then its argument prototype would still apply. */
19514 #ifdef __cplusplus
19515 extern "C"
19516 #endif
19517 char clock_gettime ();
19519 main ()
19521 return clock_gettime ();
19523 return 0;
19525 _ACEOF
19526 for ac_lib in '' rt posix4; do
19527 if test -z "$ac_lib"; then
19528 ac_res="none required"
19529 else
19530 ac_res=-l$ac_lib
19531 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19533 if test x$gcc_no_link = xyes; then
19534 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19536 if ac_fn_cxx_try_link "$LINENO"; then :
19537 ac_cv_search_clock_gettime=$ac_res
19539 rm -f core conftest.err conftest.$ac_objext \
19540 conftest$ac_exeext
19541 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19542 break
19544 done
19545 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547 else
19548 ac_cv_search_clock_gettime=no
19550 rm conftest.$ac_ext
19551 LIBS=$ac_func_search_save_LIBS
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19554 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19555 ac_res=$ac_cv_search_clock_gettime
19556 if test "$ac_res" != no; then :
19557 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19562 $as_echo_n "checking for library containing nanosleep... " >&6; }
19563 if test "${ac_cv_search_nanosleep+set}" = set; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19566 ac_func_search_save_LIBS=$LIBS
19567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19568 /* end confdefs.h. */
19570 /* Override any GCC internal prototype to avoid an error.
19571 Use char because int might match the return type of a GCC
19572 builtin and then its argument prototype would still apply. */
19573 #ifdef __cplusplus
19574 extern "C"
19575 #endif
19576 char nanosleep ();
19578 main ()
19580 return nanosleep ();
19582 return 0;
19584 _ACEOF
19585 for ac_lib in '' rt posix4; do
19586 if test -z "$ac_lib"; then
19587 ac_res="none required"
19588 else
19589 ac_res=-l$ac_lib
19590 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19592 if test x$gcc_no_link = xyes; then
19593 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19595 if ac_fn_cxx_try_link "$LINENO"; then :
19596 ac_cv_search_nanosleep=$ac_res
19598 rm -f core conftest.err conftest.$ac_objext \
19599 conftest$ac_exeext
19600 if test "${ac_cv_search_nanosleep+set}" = set; then :
19601 break
19603 done
19604 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606 else
19607 ac_cv_search_nanosleep=no
19609 rm conftest.$ac_ext
19610 LIBS=$ac_func_search_save_LIBS
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19613 $as_echo "$ac_cv_search_nanosleep" >&6; }
19614 ac_res=$ac_cv_search_nanosleep
19615 if test "$ac_res" != no; then :
19616 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19620 else
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19622 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19623 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19624 $as_echo_n "(cached) " >&6
19625 else
19626 ac_func_search_save_LIBS=$LIBS
19627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19628 /* end confdefs.h. */
19630 /* Override any GCC internal prototype to avoid an error.
19631 Use char because int might match the return type of a GCC
19632 builtin and then its argument prototype would still apply. */
19633 #ifdef __cplusplus
19634 extern "C"
19635 #endif
19636 char clock_gettime ();
19638 main ()
19640 return clock_gettime ();
19642 return 0;
19644 _ACEOF
19645 for ac_lib in '' posix4; do
19646 if test -z "$ac_lib"; then
19647 ac_res="none required"
19648 else
19649 ac_res=-l$ac_lib
19650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19652 if test x$gcc_no_link = xyes; then
19653 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19655 if ac_fn_cxx_try_link "$LINENO"; then :
19656 ac_cv_search_clock_gettime=$ac_res
19658 rm -f core conftest.err conftest.$ac_objext \
19659 conftest$ac_exeext
19660 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19661 break
19663 done
19664 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19666 else
19667 ac_cv_search_clock_gettime=no
19669 rm conftest.$ac_ext
19670 LIBS=$ac_func_search_save_LIBS
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19673 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19674 ac_res=$ac_cv_search_clock_gettime
19675 if test "$ac_res" != no; then :
19676 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19681 $as_echo_n "checking for library containing nanosleep... " >&6; }
19682 if test "${ac_cv_search_nanosleep+set}" = set; then :
19683 $as_echo_n "(cached) " >&6
19684 else
19685 ac_func_search_save_LIBS=$LIBS
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19689 /* Override any GCC internal prototype to avoid an error.
19690 Use char because int might match the return type of a GCC
19691 builtin and then its argument prototype would still apply. */
19692 #ifdef __cplusplus
19693 extern "C"
19694 #endif
19695 char nanosleep ();
19697 main ()
19699 return nanosleep ();
19701 return 0;
19703 _ACEOF
19704 for ac_lib in '' posix4; do
19705 if test -z "$ac_lib"; then
19706 ac_res="none required"
19707 else
19708 ac_res=-l$ac_lib
19709 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19711 if test x$gcc_no_link = xyes; then
19712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19714 if ac_fn_cxx_try_link "$LINENO"; then :
19715 ac_cv_search_nanosleep=$ac_res
19717 rm -f core conftest.err conftest.$ac_objext \
19718 conftest$ac_exeext
19719 if test "${ac_cv_search_nanosleep+set}" = set; then :
19720 break
19722 done
19723 if test "${ac_cv_search_nanosleep+set}" = set; then :
19725 else
19726 ac_cv_search_nanosleep=no
19728 rm conftest.$ac_ext
19729 LIBS=$ac_func_search_save_LIBS
19731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19732 $as_echo "$ac_cv_search_nanosleep" >&6; }
19733 ac_res=$ac_cv_search_nanosleep
19734 if test "$ac_res" != no; then :
19735 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19741 case "$ac_cv_search_clock_gettime" in
19742 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19744 esac
19745 case "$ac_cv_search_nanosleep" in
19746 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19748 esac
19750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19751 $as_echo_n "checking for library containing sched_yield... " >&6; }
19752 if test "${ac_cv_search_sched_yield+set}" = set; then :
19753 $as_echo_n "(cached) " >&6
19754 else
19755 ac_func_search_save_LIBS=$LIBS
19756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19757 /* end confdefs.h. */
19759 /* Override any GCC internal prototype to avoid an error.
19760 Use char because int might match the return type of a GCC
19761 builtin and then its argument prototype would still apply. */
19762 #ifdef __cplusplus
19763 extern "C"
19764 #endif
19765 char sched_yield ();
19767 main ()
19769 return sched_yield ();
19771 return 0;
19773 _ACEOF
19774 for ac_lib in '' rt posix4; do
19775 if test -z "$ac_lib"; then
19776 ac_res="none required"
19777 else
19778 ac_res=-l$ac_lib
19779 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19781 if test x$gcc_no_link = xyes; then
19782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 if ac_fn_cxx_try_link "$LINENO"; then :
19785 ac_cv_search_sched_yield=$ac_res
19787 rm -f core conftest.err conftest.$ac_objext \
19788 conftest$ac_exeext
19789 if test "${ac_cv_search_sched_yield+set}" = set; then :
19790 break
19792 done
19793 if test "${ac_cv_search_sched_yield+set}" = set; then :
19795 else
19796 ac_cv_search_sched_yield=no
19798 rm conftest.$ac_ext
19799 LIBS=$ac_func_search_save_LIBS
19801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19802 $as_echo "$ac_cv_search_sched_yield" >&6; }
19803 ac_res=$ac_cv_search_sched_yield
19804 if test "$ac_res" != no; then :
19805 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19810 case "$ac_cv_search_sched_yield" in
19811 -lposix4*)
19812 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19813 ac_has_sched_yield=yes
19815 -lrt*)
19816 if test x"$enable_libstdcxx_time" = x"rt"; then
19817 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19818 ac_has_sched_yield=yes
19822 ac_has_sched_yield=yes
19824 esac
19826 for ac_header in unistd.h
19827 do :
19828 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19829 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19830 cat >>confdefs.h <<_ACEOF
19831 #define HAVE_UNISTD_H 1
19832 _ACEOF
19833 ac_has_unistd_h=yes
19834 else
19835 ac_has_unistd_h=no
19838 done
19841 if test x"$ac_has_unistd_h" = x"yes"; then
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19843 $as_echo_n "checking for monotonic clock... " >&6; }
19844 if test x$gcc_no_link = xyes; then
19845 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19848 /* end confdefs.h. */
19849 #include <unistd.h>
19850 #include <time.h>
19853 main ()
19855 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19856 timespec tp;
19857 #endif
19858 clock_gettime(CLOCK_MONOTONIC, &tp);
19861 return 0;
19863 _ACEOF
19864 if ac_fn_cxx_try_link "$LINENO"; then :
19865 ac_has_clock_monotonic=yes
19866 else
19867 ac_has_clock_monotonic=no
19869 rm -f core conftest.err conftest.$ac_objext \
19870 conftest$ac_exeext conftest.$ac_ext
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19873 $as_echo "$ac_has_clock_monotonic" >&6; }
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19876 $as_echo_n "checking for realtime clock... " >&6; }
19877 if test x$gcc_no_link = xyes; then
19878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19882 #include <unistd.h>
19883 #include <time.h>
19886 main ()
19888 #if _POSIX_TIMERS > 0
19889 timespec tp;
19890 #endif
19891 clock_gettime(CLOCK_REALTIME, &tp);
19894 return 0;
19896 _ACEOF
19897 if ac_fn_cxx_try_link "$LINENO"; then :
19898 ac_has_clock_realtime=yes
19899 else
19900 ac_has_clock_realtime=no
19902 rm -f core conftest.err conftest.$ac_objext \
19903 conftest$ac_exeext conftest.$ac_ext
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19906 $as_echo "$ac_has_clock_realtime" >&6; }
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19909 $as_echo_n "checking for nanosleep... " >&6; }
19910 if test x$gcc_no_link = xyes; then
19911 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19914 /* end confdefs.h. */
19915 #include <unistd.h>
19916 #include <time.h>
19919 main ()
19921 #if _POSIX_TIMERS > 0
19922 timespec tp;
19923 #endif
19924 nanosleep(&tp, 0);
19927 return 0;
19929 _ACEOF
19930 if ac_fn_cxx_try_link "$LINENO"; then :
19931 ac_has_nanosleep=yes
19932 else
19933 ac_has_nanosleep=no
19935 rm -f core conftest.err conftest.$ac_objext \
19936 conftest$ac_exeext conftest.$ac_ext
19938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19939 $as_echo "$ac_has_nanosleep" >&6; }
19943 if test x"$ac_has_clock_monotonic" != x"yes"; then
19944 case ${target_os} in
19945 linux*)
19946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19947 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19949 /* end confdefs.h. */
19950 #include <unistd.h>
19951 #include <time.h>
19952 #include <sys/syscall.h>
19955 main ()
19957 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19958 timespec tp;
19959 #endif
19960 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
19961 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
19964 return 0;
19966 _ACEOF
19967 if ac_fn_cxx_try_compile "$LINENO"; then :
19968 ac_has_clock_monotonic_syscall=yes
19969 else
19970 ac_has_clock_monotonic_syscall=no
19972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
19974 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
19975 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
19977 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
19979 ac_has_clock_monotonic=yes
19980 ac_has_clock_realtime=yes
19981 fi;;
19982 esac
19985 if test x"$ac_has_clock_monotonic" = x"yes"; then
19987 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19991 if test x"$ac_has_clock_realtime" = x"yes"; then
19993 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19997 if test x"$ac_has_sched_yield" = x"yes"; then
19999 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20003 if test x"$ac_has_nanosleep" = x"yes"; then
20005 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20007 else
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20009 $as_echo_n "checking for sleep... " >&6; }
20010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20011 /* end confdefs.h. */
20012 #include <unistd.h>
20014 main ()
20016 sleep(1)
20018 return 0;
20020 _ACEOF
20021 if ac_fn_cxx_try_compile "$LINENO"; then :
20022 ac_has_sleep=yes
20023 else
20024 ac_has_sleep=no
20026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20027 if test x"$ac_has_sleep" = x"yes"; then
20029 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20033 $as_echo "$ac_has_sleep" >&6; }
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20035 $as_echo_n "checking for usleep... " >&6; }
20036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20037 /* end confdefs.h. */
20038 #include <unistd.h>
20040 main ()
20042 sleep(1);
20043 usleep(100);
20045 return 0;
20047 _ACEOF
20048 if ac_fn_cxx_try_compile "$LINENO"; then :
20049 ac_has_usleep=yes
20050 else
20051 ac_has_usleep=no
20053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20054 if test x"$ac_has_usleep" = x"yes"; then
20056 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20060 $as_echo "$ac_has_usleep" >&6; }
20063 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20065 $as_echo_n "checking for Sleep... " >&6; }
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <windows.h>
20070 main ()
20072 Sleep(1)
20074 return 0;
20076 _ACEOF
20077 if ac_fn_cxx_try_compile "$LINENO"; then :
20078 ac_has_win32_sleep=yes
20079 else
20080 ac_has_win32_sleep=no
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 if test x"$ac_has_win32_sleep" = x"yes"; then
20085 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20089 $as_echo "$ac_has_win32_sleep" >&6; }
20094 CXXFLAGS="$ac_save_CXXFLAGS"
20095 LIBS="$ac_save_LIBS"
20096 ac_ext=c
20097 ac_cpp='$CPP $CPPFLAGS'
20098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20105 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20106 if test "x$ac_cv_header_locale_h" = x""yes; then :
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20109 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20110 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20111 $as_echo_n "(cached) " >&6
20112 else
20113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20114 /* end confdefs.h. */
20115 #include <locale.h>
20117 main ()
20119 return LC_MESSAGES
20121 return 0;
20123 _ACEOF
20124 if ac_fn_c_try_compile "$LINENO"; then :
20125 ac_cv_val_LC_MESSAGES=yes
20126 else
20127 ac_cv_val_LC_MESSAGES=no
20129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20132 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20133 if test $ac_cv_val_LC_MESSAGES = yes; then
20135 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20144 # For hardware_concurrency
20145 for ac_header in sys/sysinfo.h
20146 do :
20147 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20148 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20149 cat >>confdefs.h <<_ACEOF
20150 #define HAVE_SYS_SYSINFO_H 1
20151 _ACEOF
20155 done
20160 ac_ext=cpp
20161 ac_cpp='$CXXCPP $CPPFLAGS'
20162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20166 ac_save_CXXFLAGS="$CXXFLAGS"
20167 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20170 $as_echo_n "checking for get_nprocs... " >&6; }
20171 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20172 $as_echo_n "(cached) " >&6
20173 else
20175 if test x$gcc_no_link = xyes; then
20176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177 /* end confdefs.h. */
20178 #include <sys/sysinfo.h>
20180 main ()
20182 int n = get_nprocs();
20184 return 0;
20186 _ACEOF
20187 if ac_fn_cxx_try_compile "$LINENO"; then :
20188 glibcxx_cv_GET_NPROCS=yes
20189 else
20190 glibcxx_cv_GET_NPROCS=no
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199 #include <sys/sysinfo.h>
20201 main ()
20203 int n = get_nprocs();
20205 return 0;
20207 _ACEOF
20208 if ac_fn_cxx_try_link "$LINENO"; then :
20209 glibcxx_cv_GET_NPROCS=yes
20210 else
20211 glibcxx_cv_GET_NPROCS=no
20213 rm -f core conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20219 if test $glibcxx_cv_GET_NPROCS = yes; then
20221 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20225 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20227 CXXFLAGS="$ac_save_CXXFLAGS"
20228 ac_ext=c
20229 ac_cpp='$CPP $CPPFLAGS'
20230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20235 for ac_header in unistd.h
20236 do :
20237 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20238 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20239 cat >>confdefs.h <<_ACEOF
20240 #define HAVE_UNISTD_H 1
20241 _ACEOF
20245 done
20250 ac_ext=cpp
20251 ac_cpp='$CXXCPP $CPPFLAGS'
20252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20256 ac_save_CXXFLAGS="$CXXFLAGS"
20257 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20260 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20261 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20262 $as_echo_n "(cached) " >&6
20263 else
20265 if test x$gcc_no_link = xyes; then
20266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20267 /* end confdefs.h. */
20268 #include <unistd.h>
20270 main ()
20272 int n = sysconf(_SC_NPROCESSORS_ONLN);
20274 return 0;
20276 _ACEOF
20277 if ac_fn_cxx_try_compile "$LINENO"; then :
20278 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20279 else
20280 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20283 else
20284 if test x$gcc_no_link = xyes; then
20285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20288 /* end confdefs.h. */
20289 #include <unistd.h>
20291 main ()
20293 int n = sysconf(_SC_NPROCESSORS_ONLN);
20295 return 0;
20297 _ACEOF
20298 if ac_fn_cxx_try_link "$LINENO"; then :
20299 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20300 else
20301 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20303 rm -f core conftest.err conftest.$ac_objext \
20304 conftest$ac_exeext conftest.$ac_ext
20309 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20311 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20315 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20317 CXXFLAGS="$ac_save_CXXFLAGS"
20318 ac_ext=c
20319 ac_cpp='$CPP $CPPFLAGS'
20320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20328 ac_ext=cpp
20329 ac_cpp='$CXXCPP $CPPFLAGS'
20330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20334 ac_save_CXXFLAGS="$CXXFLAGS"
20335 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20338 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20339 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20340 $as_echo_n "(cached) " >&6
20341 else
20343 if test x$gcc_no_link = xyes; then
20344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20345 /* end confdefs.h. */
20346 #include <unistd.h>
20348 main ()
20350 int n = sysconf(_SC_NPROC_ONLN);
20352 return 0;
20354 _ACEOF
20355 if ac_fn_cxx_try_compile "$LINENO"; then :
20356 glibcxx_cv_SC_NPROC_ONLN=yes
20357 else
20358 glibcxx_cv_SC_NPROC_ONLN=no
20360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20361 else
20362 if test x$gcc_no_link = xyes; then
20363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20366 /* end confdefs.h. */
20367 #include <unistd.h>
20369 main ()
20371 int n = sysconf(_SC_NPROC_ONLN);
20373 return 0;
20375 _ACEOF
20376 if ac_fn_cxx_try_link "$LINENO"; then :
20377 glibcxx_cv_SC_NPROC_ONLN=yes
20378 else
20379 glibcxx_cv_SC_NPROC_ONLN=no
20381 rm -f core conftest.err conftest.$ac_objext \
20382 conftest$ac_exeext conftest.$ac_ext
20387 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20389 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20393 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20395 CXXFLAGS="$ac_save_CXXFLAGS"
20396 ac_ext=c
20397 ac_cpp='$CPP $CPPFLAGS'
20398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20406 ac_ext=cpp
20407 ac_cpp='$CXXCPP $CPPFLAGS'
20408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20412 ac_save_CXXFLAGS="$CXXFLAGS"
20413 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20416 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20417 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20418 $as_echo_n "(cached) " >&6
20419 else
20421 if test x$gcc_no_link = xyes; then
20422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20423 /* end confdefs.h. */
20424 #include <pthread.h>
20426 main ()
20428 int n = pthread_num_processors_np();
20430 return 0;
20432 _ACEOF
20433 if ac_fn_cxx_try_compile "$LINENO"; then :
20434 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20435 else
20436 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20439 else
20440 if test x$gcc_no_link = xyes; then
20441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20444 /* end confdefs.h. */
20445 #include <pthread.h>
20447 main ()
20449 int n = pthread_num_processors_np();
20451 return 0;
20453 _ACEOF
20454 if ac_fn_cxx_try_link "$LINENO"; then :
20455 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20456 else
20457 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20459 rm -f core conftest.err conftest.$ac_objext \
20460 conftest$ac_exeext conftest.$ac_ext
20465 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20467 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20471 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20473 CXXFLAGS="$ac_save_CXXFLAGS"
20474 ac_ext=c
20475 ac_cpp='$CPP $CPPFLAGS'
20476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20484 ac_ext=cpp
20485 ac_cpp='$CXXCPP $CPPFLAGS'
20486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20490 ac_save_CXXFLAGS="$CXXFLAGS"
20491 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20494 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20495 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20496 $as_echo_n "(cached) " >&6
20497 else
20499 if test x$gcc_no_link = xyes; then
20500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20501 /* end confdefs.h. */
20503 #include <stddef.h>
20504 #include <sys/sysctl.h>
20507 main ()
20510 int count;
20511 size_t size = sizeof(count);
20512 int mib[] = { CTL_HW, HW_NCPU };
20513 sysctl(mib, 2, &count, &size, NULL, 0);
20516 return 0;
20518 _ACEOF
20519 if ac_fn_cxx_try_compile "$LINENO"; then :
20520 glibcxx_cv_SYSCTL_HW_NCPU=yes
20521 else
20522 glibcxx_cv_SYSCTL_HW_NCPU=no
20524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20525 else
20526 if test x$gcc_no_link = xyes; then
20527 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20530 /* end confdefs.h. */
20532 #include <stddef.h>
20533 #include <sys/sysctl.h>
20536 main ()
20539 int count;
20540 size_t size = sizeof(count);
20541 int mib[] = { CTL_HW, HW_NCPU };
20542 sysctl(mib, 2, &count, &size, NULL, 0);
20545 return 0;
20547 _ACEOF
20548 if ac_fn_cxx_try_link "$LINENO"; then :
20549 glibcxx_cv_SYSCTL_HW_NCPU=yes
20550 else
20551 glibcxx_cv_SYSCTL_HW_NCPU=no
20553 rm -f core conftest.err conftest.$ac_objext \
20554 conftest$ac_exeext conftest.$ac_ext
20559 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20561 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20565 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20567 CXXFLAGS="$ac_save_CXXFLAGS"
20568 ac_ext=c
20569 ac_cpp='$CPP $CPPFLAGS'
20570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20577 $as_echo "for suitable sys/sdt.h" >&6; }
20578 # Note that this test has to be run with the C language.
20579 # Otherwise, sdt.h will try to include some headers from
20580 # libstdc++ itself.
20582 ac_ext=c
20583 ac_cpp='$CPP $CPPFLAGS'
20584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20588 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20589 $as_echo_n "(cached) " >&6
20590 else
20592 # Because we have to run the test in C, we use grep rather
20593 # than the compiler to check for the bug. The bug is that
20594 # were strings without trailing whitespace, causing g++
20595 # to look for operator"". The pattern searches for the fixed
20596 # output.
20597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h. */
20600 #include <sys/sdt.h>
20601 int f() { STAP_PROBE(hi, bob); }
20603 _ACEOF
20604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20605 $EGREP " \",\" " >/dev/null 2>&1; then :
20606 glibcxx_cv_sys_sdt_h=yes
20607 else
20608 glibcxx_cv_sys_sdt_h=no
20610 rm -f conftest*
20615 ac_ext=c
20616 ac_cpp='$CPP $CPPFLAGS'
20617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20621 if test $glibcxx_cv_sys_sdt_h = yes; then
20623 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20627 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20630 # Check for available headers.
20631 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20632 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20633 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20634 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20635 wchar.h wctype.h
20636 do :
20637 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20638 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20639 eval as_val=\$$as_ac_Header
20640 if test "x$as_val" = x""yes; then :
20641 cat >>confdefs.h <<_ACEOF
20642 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20643 _ACEOF
20647 done
20650 # Only do link tests if native. Else, hardcode.
20651 if $GLIBCXX_IS_NATIVE; then
20653 # We can do more elaborate tests that assume a working linker.
20654 CANADIAN=no
20658 # Check whether --with-gnu-ld was given.
20659 if test "${with_gnu_ld+set}" = set; then :
20660 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20661 else
20662 with_gnu_ld=no
20665 ac_prog=ld
20666 if test "$GCC" = yes; then
20667 # Check if gcc -print-prog-name=ld gives a path.
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20669 $as_echo_n "checking for ld used by $CC... " >&6; }
20670 case $host in
20671 *-*-mingw*)
20672 # gcc leaves a trailing carriage return which upsets mingw
20673 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20675 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20676 esac
20677 case $ac_prog in
20678 # Accept absolute paths.
20679 [\\/]* | ?:[\\/]*)
20680 re_direlt='/[^/][^/]*/\.\./'
20681 # Canonicalize the pathname of ld
20682 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20683 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20684 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20685 done
20686 test -z "$LD" && LD="$ac_prog"
20689 # If it fails, then pretend we aren't using GCC.
20690 ac_prog=ld
20693 # If it is relative, then search for the first ld in PATH.
20694 with_gnu_ld=unknown
20696 esac
20697 elif test "$with_gnu_ld" = yes; then
20698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20699 $as_echo_n "checking for GNU ld... " >&6; }
20700 else
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20702 $as_echo_n "checking for non-GNU ld... " >&6; }
20704 if test "${lt_cv_path_LD+set}" = set; then :
20705 $as_echo_n "(cached) " >&6
20706 else
20707 if test -z "$LD"; then
20708 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20709 for ac_dir in $PATH; do
20710 IFS="$lt_save_ifs"
20711 test -z "$ac_dir" && ac_dir=.
20712 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20713 lt_cv_path_LD="$ac_dir/$ac_prog"
20714 # Check to see if the program is GNU ld. I'd rather use --version,
20715 # but apparently some variants of GNU ld only accept -v.
20716 # Break only if it was the GNU/non-GNU ld that we prefer.
20717 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20718 *GNU* | *'with BFD'*)
20719 test "$with_gnu_ld" != no && break
20722 test "$with_gnu_ld" != yes && break
20724 esac
20726 done
20727 IFS="$lt_save_ifs"
20728 else
20729 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20733 LD="$lt_cv_path_LD"
20734 if test -n "$LD"; then
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20736 $as_echo "$LD" >&6; }
20737 else
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20739 $as_echo "no" >&6; }
20741 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20743 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20744 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20745 $as_echo_n "(cached) " >&6
20746 else
20747 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20748 case `$LD -v 2>&1 </dev/null` in
20749 *GNU* | *'with BFD'*)
20750 lt_cv_prog_gnu_ld=yes
20753 lt_cv_prog_gnu_ld=no
20755 esac
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20758 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20759 with_gnu_ld=$lt_cv_prog_gnu_ld
20767 # If we're not using GNU ld, then there's no point in even trying these
20768 # tests. Check for that first. We should have already tested for gld
20769 # by now (in libtool), but require it now just to be safe...
20770 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20771 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20775 # The name set by libtool depends on the version of libtool. Shame on us
20776 # for depending on an impl detail, but c'est la vie. Older versions used
20777 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20778 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20779 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20780 # set (hence we're using an older libtool), then set it.
20781 if test x${with_gnu_ld+set} != xset; then
20782 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20783 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20784 with_gnu_ld=no
20785 else
20786 with_gnu_ld=$ac_cv_prog_gnu_ld
20790 # Start by getting the version number. I think the libtool test already
20791 # does some of this, but throws away the result.
20792 glibcxx_ld_is_gold=no
20793 if test x"$with_gnu_ld" = x"yes"; then
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20795 $as_echo_n "checking for ld version... " >&6; }
20797 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20798 glibcxx_ld_is_gold=yes
20800 ldver=`$LD --version 2>/dev/null |
20801 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'`
20803 glibcxx_gnu_ld_version=`echo $ldver | \
20804 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20806 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20809 # Set --gc-sections.
20810 glibcxx_have_gc_sections=no
20811 if test "$glibcxx_ld_is_gold" = "yes"; then
20812 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20813 glibcxx_have_gc_sections=yes
20815 else
20816 glibcxx_gcsections_min_ld=21602
20817 if test x"$with_gnu_ld" = x"yes" &&
20818 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20819 glibcxx_have_gc_sections=yes
20822 if test "$glibcxx_have_gc_sections" = "yes"; then
20823 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20824 # NB: This flag only works reliably after 2.16.1. Configure tests
20825 # for this are difficult, so hard wire a value that should work.
20827 ac_test_CFLAGS="${CFLAGS+set}"
20828 ac_save_CFLAGS="$CFLAGS"
20829 CFLAGS='-Wl,--gc-sections'
20831 # Check for -Wl,--gc-sections
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20833 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20834 if test x$gcc_no_link = xyes; then
20835 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20838 /* end confdefs.h. */
20839 int one(void) { return 1; }
20840 int two(void) { return 2; }
20843 main ()
20845 two();
20847 return 0;
20849 _ACEOF
20850 if ac_fn_c_try_link "$LINENO"; then :
20851 ac_gcsections=yes
20852 else
20853 ac_gcsections=no
20855 rm -f core conftest.err conftest.$ac_objext \
20856 conftest$ac_exeext conftest.$ac_ext
20857 if test "$ac_gcsections" = "yes"; then
20858 rm -f conftest.c
20859 touch conftest.c
20860 if $CC -c conftest.c; then
20861 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20862 grep "Warning: gc-sections option ignored" > /dev/null; then
20863 ac_gcsections=no
20866 rm -f conftest.c conftest.o conftest
20868 if test "$ac_gcsections" = "yes"; then
20869 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20872 $as_echo "$ac_gcsections" >&6; }
20874 if test "$ac_test_CFLAGS" = set; then
20875 CFLAGS="$ac_save_CFLAGS"
20876 else
20877 # this is the suspicious part
20878 CFLAGS=''
20882 # Set -z,relro.
20883 # Note this is only for shared objects.
20884 ac_ld_relro=no
20885 if test x"$with_gnu_ld" = x"yes"; then
20886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20887 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20888 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20889 if test -n "$cxx_z_relo"; then
20890 OPT_LDFLAGS="-Wl,-z,relro"
20891 ac_ld_relro=yes
20893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20894 $as_echo "$ac_ld_relro" >&6; }
20897 # Set linker optimization flags.
20898 if test x"$with_gnu_ld" = x"yes"; then
20899 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20906 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20907 ac_save_CXXFLAGS="$CXXFLAGS"
20908 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20911 $as_echo_n "checking for sin in -lm... " >&6; }
20912 if test "${ac_cv_lib_m_sin+set}" = set; then :
20913 $as_echo_n "(cached) " >&6
20914 else
20915 ac_check_lib_save_LIBS=$LIBS
20916 LIBS="-lm $LIBS"
20917 if test x$gcc_no_link = xyes; then
20918 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20921 /* end confdefs.h. */
20923 /* Override any GCC internal prototype to avoid an error.
20924 Use char because int might match the return type of a GCC
20925 builtin and then its argument prototype would still apply. */
20926 #ifdef __cplusplus
20927 extern "C"
20928 #endif
20929 char sin ();
20931 main ()
20933 return sin ();
20935 return 0;
20937 _ACEOF
20938 if ac_fn_c_try_link "$LINENO"; then :
20939 ac_cv_lib_m_sin=yes
20940 else
20941 ac_cv_lib_m_sin=no
20943 rm -f core conftest.err conftest.$ac_objext \
20944 conftest$ac_exeext conftest.$ac_ext
20945 LIBS=$ac_check_lib_save_LIBS
20947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20948 $as_echo "$ac_cv_lib_m_sin" >&6; }
20949 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20950 libm="-lm"
20953 ac_save_LIBS="$LIBS"
20954 LIBS="$LIBS $libm"
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20959 $as_echo_n "checking for isinf declaration... " >&6; }
20960 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20961 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20962 $as_echo_n "(cached) " >&6
20963 else
20966 ac_ext=cpp
20967 ac_cpp='$CXXCPP $CPPFLAGS'
20968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974 #include <math.h>
20975 #ifdef HAVE_IEEEFP_H
20976 #include <ieeefp.h>
20977 #endif
20980 main ()
20982 isinf(0);
20984 return 0;
20986 _ACEOF
20987 if ac_fn_cxx_try_compile "$LINENO"; then :
20988 glibcxx_cv_func_isinf_use=yes
20989 else
20990 glibcxx_cv_func_isinf_use=no
20992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20993 ac_ext=c
20994 ac_cpp='$CPP $CPPFLAGS'
20995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21004 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21006 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21007 for ac_func in isinf
21008 do :
21009 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21010 if test "x$ac_cv_func_isinf" = x""yes; then :
21011 cat >>confdefs.h <<_ACEOF
21012 #define HAVE_ISINF 1
21013 _ACEOF
21016 done
21018 else
21020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21021 $as_echo_n "checking for _isinf declaration... " >&6; }
21022 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21023 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21024 $as_echo_n "(cached) " >&6
21025 else
21028 ac_ext=cpp
21029 ac_cpp='$CXXCPP $CPPFLAGS'
21030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036 #include <math.h>
21037 #ifdef HAVE_IEEEFP_H
21038 #include <ieeefp.h>
21039 #endif
21042 main ()
21044 _isinf(0);
21046 return 0;
21048 _ACEOF
21049 if ac_fn_cxx_try_compile "$LINENO"; then :
21050 glibcxx_cv_func__isinf_use=yes
21051 else
21052 glibcxx_cv_func__isinf_use=no
21054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21055 ac_ext=c
21056 ac_cpp='$CPP $CPPFLAGS'
21057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21066 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21068 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21069 for ac_func in _isinf
21070 do :
21071 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21072 if test "x$ac_cv_func__isinf" = x""yes; then :
21073 cat >>confdefs.h <<_ACEOF
21074 #define HAVE__ISINF 1
21075 _ACEOF
21078 done
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21088 $as_echo_n "checking for isnan declaration... " >&6; }
21089 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21090 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21092 else
21095 ac_ext=cpp
21096 ac_cpp='$CXXCPP $CPPFLAGS'
21097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #include <math.h>
21104 #ifdef HAVE_IEEEFP_H
21105 #include <ieeefp.h>
21106 #endif
21109 main ()
21111 isnan(0);
21113 return 0;
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117 glibcxx_cv_func_isnan_use=yes
21118 else
21119 glibcxx_cv_func_isnan_use=no
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21133 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21135 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21136 for ac_func in isnan
21137 do :
21138 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21139 if test "x$ac_cv_func_isnan" = x""yes; then :
21140 cat >>confdefs.h <<_ACEOF
21141 #define HAVE_ISNAN 1
21142 _ACEOF
21145 done
21147 else
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21150 $as_echo_n "checking for _isnan declaration... " >&6; }
21151 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21152 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21153 $as_echo_n "(cached) " >&6
21154 else
21157 ac_ext=cpp
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21165 #include <math.h>
21166 #ifdef HAVE_IEEEFP_H
21167 #include <ieeefp.h>
21168 #endif
21171 main ()
21173 _isnan(0);
21175 return 0;
21177 _ACEOF
21178 if ac_fn_cxx_try_compile "$LINENO"; then :
21179 glibcxx_cv_func__isnan_use=yes
21180 else
21181 glibcxx_cv_func__isnan_use=no
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 ac_ext=c
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21195 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21197 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21198 for ac_func in _isnan
21199 do :
21200 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21201 if test "x$ac_cv_func__isnan" = x""yes; then :
21202 cat >>confdefs.h <<_ACEOF
21203 #define HAVE__ISNAN 1
21204 _ACEOF
21207 done
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21217 $as_echo_n "checking for finite declaration... " >&6; }
21218 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21219 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21220 $as_echo_n "(cached) " >&6
21221 else
21224 ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232 #include <math.h>
21233 #ifdef HAVE_IEEEFP_H
21234 #include <ieeefp.h>
21235 #endif
21238 main ()
21240 finite(0);
21242 return 0;
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246 glibcxx_cv_func_finite_use=yes
21247 else
21248 glibcxx_cv_func_finite_use=no
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21262 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21264 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21265 for ac_func in finite
21266 do :
21267 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21268 if test "x$ac_cv_func_finite" = x""yes; then :
21269 cat >>confdefs.h <<_ACEOF
21270 #define HAVE_FINITE 1
21271 _ACEOF
21274 done
21276 else
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21279 $as_echo_n "checking for _finite declaration... " >&6; }
21280 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21281 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21282 $as_echo_n "(cached) " >&6
21283 else
21286 ac_ext=cpp
21287 ac_cpp='$CXXCPP $CPPFLAGS'
21288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21293 /* end confdefs.h. */
21294 #include <math.h>
21295 #ifdef HAVE_IEEEFP_H
21296 #include <ieeefp.h>
21297 #endif
21300 main ()
21302 _finite(0);
21304 return 0;
21306 _ACEOF
21307 if ac_fn_cxx_try_compile "$LINENO"; then :
21308 glibcxx_cv_func__finite_use=yes
21309 else
21310 glibcxx_cv_func__finite_use=no
21312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21313 ac_ext=c
21314 ac_cpp='$CPP $CPPFLAGS'
21315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21324 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21326 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21327 for ac_func in _finite
21328 do :
21329 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21330 if test "x$ac_cv_func__finite" = x""yes; then :
21331 cat >>confdefs.h <<_ACEOF
21332 #define HAVE__FINITE 1
21333 _ACEOF
21336 done
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21346 $as_echo_n "checking for sincos declaration... " >&6; }
21347 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21348 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21353 ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #include <math.h>
21363 main ()
21365 sincos(0, 0, 0);
21367 return 0;
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func_sincos_use=yes
21372 else
21373 glibcxx_cv_func_sincos_use=no
21375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 ac_ext=c
21377 ac_cpp='$CPP $CPPFLAGS'
21378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21387 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21389 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21390 for ac_func in sincos
21391 do :
21392 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21393 if test "x$ac_cv_func_sincos" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_SINCOS 1
21396 _ACEOF
21399 done
21401 else
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21404 $as_echo_n "checking for _sincos declaration... " >&6; }
21405 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21406 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21407 $as_echo_n "(cached) " >&6
21408 else
21411 ac_ext=cpp
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #include <math.h>
21421 main ()
21423 _sincos(0, 0, 0);
21425 return 0;
21427 _ACEOF
21428 if ac_fn_cxx_try_compile "$LINENO"; then :
21429 glibcxx_cv_func__sincos_use=yes
21430 else
21431 glibcxx_cv_func__sincos_use=no
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 ac_ext=c
21435 ac_cpp='$CPP $CPPFLAGS'
21436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21445 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21447 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21448 for ac_func in _sincos
21449 do :
21450 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21451 if test "x$ac_cv_func__sincos" = x""yes; then :
21452 cat >>confdefs.h <<_ACEOF
21453 #define HAVE__SINCOS 1
21454 _ACEOF
21457 done
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21467 $as_echo_n "checking for fpclass declaration... " >&6; }
21468 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21469 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21470 $as_echo_n "(cached) " >&6
21471 else
21474 ac_ext=cpp
21475 ac_cpp='$CXXCPP $CPPFLAGS'
21476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21482 #include <math.h>
21483 #ifdef HAVE_IEEEFP_H
21484 #include <ieeefp.h>
21485 #endif
21488 main ()
21490 fpclass(0);
21492 return 0;
21494 _ACEOF
21495 if ac_fn_cxx_try_compile "$LINENO"; then :
21496 glibcxx_cv_func_fpclass_use=yes
21497 else
21498 glibcxx_cv_func_fpclass_use=no
21500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21501 ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21512 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21514 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21515 for ac_func in fpclass
21516 do :
21517 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21518 if test "x$ac_cv_func_fpclass" = x""yes; then :
21519 cat >>confdefs.h <<_ACEOF
21520 #define HAVE_FPCLASS 1
21521 _ACEOF
21524 done
21526 else
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21529 $as_echo_n "checking for _fpclass declaration... " >&6; }
21530 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21531 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21532 $as_echo_n "(cached) " >&6
21533 else
21536 ac_ext=cpp
21537 ac_cpp='$CXXCPP $CPPFLAGS'
21538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21543 /* end confdefs.h. */
21544 #include <math.h>
21545 #ifdef HAVE_IEEEFP_H
21546 #include <ieeefp.h>
21547 #endif
21550 main ()
21552 _fpclass(0);
21554 return 0;
21556 _ACEOF
21557 if ac_fn_cxx_try_compile "$LINENO"; then :
21558 glibcxx_cv_func__fpclass_use=yes
21559 else
21560 glibcxx_cv_func__fpclass_use=no
21562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21563 ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21574 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21576 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21577 for ac_func in _fpclass
21578 do :
21579 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21580 if test "x$ac_cv_func__fpclass" = x""yes; then :
21581 cat >>confdefs.h <<_ACEOF
21582 #define HAVE__FPCLASS 1
21583 _ACEOF
21586 done
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21596 $as_echo_n "checking for qfpclass declaration... " >&6; }
21597 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21598 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21599 $as_echo_n "(cached) " >&6
21600 else
21603 ac_ext=cpp
21604 ac_cpp='$CXXCPP $CPPFLAGS'
21605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21610 /* end confdefs.h. */
21611 #include <math.h>
21612 #ifdef HAVE_IEEEFP_H
21613 #include <ieeefp.h>
21614 #endif
21617 main ()
21619 qfpclass(0);
21621 return 0;
21623 _ACEOF
21624 if ac_fn_cxx_try_compile "$LINENO"; then :
21625 glibcxx_cv_func_qfpclass_use=yes
21626 else
21627 glibcxx_cv_func_qfpclass_use=no
21629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21630 ac_ext=c
21631 ac_cpp='$CPP $CPPFLAGS'
21632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21641 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21643 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21644 for ac_func in qfpclass
21645 do :
21646 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21647 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21648 cat >>confdefs.h <<_ACEOF
21649 #define HAVE_QFPCLASS 1
21650 _ACEOF
21653 done
21655 else
21657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21658 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21659 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21660 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21661 $as_echo_n "(cached) " >&6
21662 else
21665 ac_ext=cpp
21666 ac_cpp='$CXXCPP $CPPFLAGS'
21667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21672 /* end confdefs.h. */
21673 #include <math.h>
21674 #ifdef HAVE_IEEEFP_H
21675 #include <ieeefp.h>
21676 #endif
21679 main ()
21681 _qfpclass(0);
21683 return 0;
21685 _ACEOF
21686 if ac_fn_cxx_try_compile "$LINENO"; then :
21687 glibcxx_cv_func__qfpclass_use=yes
21688 else
21689 glibcxx_cv_func__qfpclass_use=no
21691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21692 ac_ext=c
21693 ac_cpp='$CPP $CPPFLAGS'
21694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21703 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21705 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21706 for ac_func in _qfpclass
21707 do :
21708 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21709 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21710 cat >>confdefs.h <<_ACEOF
21711 #define HAVE__QFPCLASS 1
21712 _ACEOF
21715 done
21724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21725 $as_echo_n "checking for hypot declaration... " >&6; }
21726 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21727 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21728 $as_echo_n "(cached) " >&6
21729 else
21732 ac_ext=cpp
21733 ac_cpp='$CXXCPP $CPPFLAGS'
21734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21739 /* end confdefs.h. */
21740 #include <math.h>
21742 main ()
21744 hypot(0, 0);
21746 return 0;
21748 _ACEOF
21749 if ac_fn_cxx_try_compile "$LINENO"; then :
21750 glibcxx_cv_func_hypot_use=yes
21751 else
21752 glibcxx_cv_func_hypot_use=no
21754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21755 ac_ext=c
21756 ac_cpp='$CPP $CPPFLAGS'
21757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21766 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21768 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21769 for ac_func in hypot
21770 do :
21771 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21772 if test "x$ac_cv_func_hypot" = x""yes; then :
21773 cat >>confdefs.h <<_ACEOF
21774 #define HAVE_HYPOT 1
21775 _ACEOF
21778 done
21780 else
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21783 $as_echo_n "checking for _hypot declaration... " >&6; }
21784 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21785 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21786 $as_echo_n "(cached) " >&6
21787 else
21790 ac_ext=cpp
21791 ac_cpp='$CXXCPP $CPPFLAGS'
21792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21797 /* end confdefs.h. */
21798 #include <math.h>
21800 main ()
21802 _hypot(0, 0);
21804 return 0;
21806 _ACEOF
21807 if ac_fn_cxx_try_compile "$LINENO"; then :
21808 glibcxx_cv_func__hypot_use=yes
21809 else
21810 glibcxx_cv_func__hypot_use=no
21812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21813 ac_ext=c
21814 ac_cpp='$CPP $CPPFLAGS'
21815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21824 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21826 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21827 for ac_func in _hypot
21828 do :
21829 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21830 if test "x$ac_cv_func__hypot" = x""yes; then :
21831 cat >>confdefs.h <<_ACEOF
21832 #define HAVE__HYPOT 1
21833 _ACEOF
21836 done
21845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21846 $as_echo_n "checking for float trig functions... " >&6; }
21847 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21848 $as_echo_n "(cached) " >&6
21849 else
21852 ac_ext=cpp
21853 ac_cpp='$CXXCPP $CPPFLAGS'
21854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21859 /* end confdefs.h. */
21860 #include <math.h>
21862 main ()
21864 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21866 return 0;
21868 _ACEOF
21869 if ac_fn_cxx_try_compile "$LINENO"; then :
21870 glibcxx_cv_func_float_trig_use=yes
21871 else
21872 glibcxx_cv_func_float_trig_use=no
21874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21875 ac_ext=c
21876 ac_cpp='$CPP $CPPFLAGS'
21877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21884 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21885 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21886 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21887 do :
21888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21890 eval as_val=\$$as_ac_var
21891 if test "x$as_val" = x""yes; then :
21892 cat >>confdefs.h <<_ACEOF
21893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21894 _ACEOF
21897 done
21899 else
21900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21901 $as_echo_n "checking for _float trig functions... " >&6; }
21902 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21904 else
21907 ac_ext=cpp
21908 ac_cpp='$CXXCPP $CPPFLAGS'
21909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21915 #include <math.h>
21917 main ()
21919 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21921 return 0;
21923 _ACEOF
21924 if ac_fn_cxx_try_compile "$LINENO"; then :
21925 glibcxx_cv_func__float_trig_use=yes
21926 else
21927 glibcxx_cv_func__float_trig_use=no
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21939 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21940 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21941 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21942 do :
21943 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21944 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21945 eval as_val=\$$as_ac_var
21946 if test "x$as_val" = x""yes; then :
21947 cat >>confdefs.h <<_ACEOF
21948 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21949 _ACEOF
21952 done
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21962 $as_echo_n "checking for float round functions... " >&6; }
21963 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21964 $as_echo_n "(cached) " >&6
21965 else
21968 ac_ext=cpp
21969 ac_cpp='$CXXCPP $CPPFLAGS'
21970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975 /* end confdefs.h. */
21976 #include <math.h>
21978 main ()
21980 ceilf (0); floorf (0);
21982 return 0;
21984 _ACEOF
21985 if ac_fn_cxx_try_compile "$LINENO"; then :
21986 glibcxx_cv_func_float_round_use=yes
21987 else
21988 glibcxx_cv_func_float_round_use=no
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 ac_ext=c
21992 ac_cpp='$CPP $CPPFLAGS'
21993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22000 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22001 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22002 for ac_func in ceilf floorf
22003 do :
22004 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22005 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22006 eval as_val=\$$as_ac_var
22007 if test "x$as_val" = x""yes; then :
22008 cat >>confdefs.h <<_ACEOF
22009 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22010 _ACEOF
22013 done
22015 else
22016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22017 $as_echo_n "checking for _float round functions... " >&6; }
22018 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22019 $as_echo_n "(cached) " >&6
22020 else
22023 ac_ext=cpp
22024 ac_cpp='$CXXCPP $CPPFLAGS'
22025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22030 /* end confdefs.h. */
22031 #include <math.h>
22033 main ()
22035 _ceilf (0); _floorf (0);
22037 return 0;
22039 _ACEOF
22040 if ac_fn_cxx_try_compile "$LINENO"; then :
22041 glibcxx_cv_func__float_round_use=yes
22042 else
22043 glibcxx_cv_func__float_round_use=no
22045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22046 ac_ext=c
22047 ac_cpp='$CPP $CPPFLAGS'
22048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22055 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22056 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22057 for ac_func in _ceilf _floorf
22058 do :
22059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22061 eval as_val=\$$as_ac_var
22062 if test "x$as_val" = x""yes; then :
22063 cat >>confdefs.h <<_ACEOF
22064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22065 _ACEOF
22068 done
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22079 $as_echo_n "checking for expf declaration... " >&6; }
22080 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22081 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22082 $as_echo_n "(cached) " >&6
22083 else
22086 ac_ext=cpp
22087 ac_cpp='$CXXCPP $CPPFLAGS'
22088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22093 /* end confdefs.h. */
22094 #include <math.h>
22095 #ifdef HAVE_IEEEFP_H
22096 #include <ieeefp.h>
22097 #endif
22100 main ()
22102 expf(0);
22104 return 0;
22106 _ACEOF
22107 if ac_fn_cxx_try_compile "$LINENO"; then :
22108 glibcxx_cv_func_expf_use=yes
22109 else
22110 glibcxx_cv_func_expf_use=no
22112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22113 ac_ext=c
22114 ac_cpp='$CPP $CPPFLAGS'
22115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22124 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22126 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22127 for ac_func in expf
22128 do :
22129 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22130 if test "x$ac_cv_func_expf" = x""yes; then :
22131 cat >>confdefs.h <<_ACEOF
22132 #define HAVE_EXPF 1
22133 _ACEOF
22136 done
22138 else
22140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22141 $as_echo_n "checking for _expf declaration... " >&6; }
22142 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22143 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22144 $as_echo_n "(cached) " >&6
22145 else
22148 ac_ext=cpp
22149 ac_cpp='$CXXCPP $CPPFLAGS'
22150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22156 #include <math.h>
22157 #ifdef HAVE_IEEEFP_H
22158 #include <ieeefp.h>
22159 #endif
22162 main ()
22164 _expf(0);
22166 return 0;
22168 _ACEOF
22169 if ac_fn_cxx_try_compile "$LINENO"; then :
22170 glibcxx_cv_func__expf_use=yes
22171 else
22172 glibcxx_cv_func__expf_use=no
22174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22175 ac_ext=c
22176 ac_cpp='$CPP $CPPFLAGS'
22177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22186 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22188 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22189 for ac_func in _expf
22190 do :
22191 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22192 if test "x$ac_cv_func__expf" = x""yes; then :
22193 cat >>confdefs.h <<_ACEOF
22194 #define HAVE__EXPF 1
22195 _ACEOF
22198 done
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22208 $as_echo_n "checking for isnanf declaration... " >&6; }
22209 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22210 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22215 ac_ext=cpp
22216 ac_cpp='$CXXCPP $CPPFLAGS'
22217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222 /* end confdefs.h. */
22223 #include <math.h>
22224 #ifdef HAVE_IEEEFP_H
22225 #include <ieeefp.h>
22226 #endif
22229 main ()
22231 isnanf(0);
22233 return 0;
22235 _ACEOF
22236 if ac_fn_cxx_try_compile "$LINENO"; then :
22237 glibcxx_cv_func_isnanf_use=yes
22238 else
22239 glibcxx_cv_func_isnanf_use=no
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 ac_ext=c
22243 ac_cpp='$CPP $CPPFLAGS'
22244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22253 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22255 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22256 for ac_func in isnanf
22257 do :
22258 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22259 if test "x$ac_cv_func_isnanf" = x""yes; then :
22260 cat >>confdefs.h <<_ACEOF
22261 #define HAVE_ISNANF 1
22262 _ACEOF
22265 done
22267 else
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22270 $as_echo_n "checking for _isnanf declaration... " >&6; }
22271 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22272 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22273 $as_echo_n "(cached) " >&6
22274 else
22277 ac_ext=cpp
22278 ac_cpp='$CXXCPP $CPPFLAGS'
22279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22285 #include <math.h>
22286 #ifdef HAVE_IEEEFP_H
22287 #include <ieeefp.h>
22288 #endif
22291 main ()
22293 _isnanf(0);
22295 return 0;
22297 _ACEOF
22298 if ac_fn_cxx_try_compile "$LINENO"; then :
22299 glibcxx_cv_func__isnanf_use=yes
22300 else
22301 glibcxx_cv_func__isnanf_use=no
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ac_ext=c
22305 ac_cpp='$CPP $CPPFLAGS'
22306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22315 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22317 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22318 for ac_func in _isnanf
22319 do :
22320 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22321 if test "x$ac_cv_func__isnanf" = x""yes; then :
22322 cat >>confdefs.h <<_ACEOF
22323 #define HAVE__ISNANF 1
22324 _ACEOF
22327 done
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22337 $as_echo_n "checking for isinff declaration... " >&6; }
22338 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22339 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22340 $as_echo_n "(cached) " >&6
22341 else
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h. */
22352 #include <math.h>
22353 #ifdef HAVE_IEEEFP_H
22354 #include <ieeefp.h>
22355 #endif
22358 main ()
22360 isinff(0);
22362 return 0;
22364 _ACEOF
22365 if ac_fn_cxx_try_compile "$LINENO"; then :
22366 glibcxx_cv_func_isinff_use=yes
22367 else
22368 glibcxx_cv_func_isinff_use=no
22370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22371 ac_ext=c
22372 ac_cpp='$CPP $CPPFLAGS'
22373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22382 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22384 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22385 for ac_func in isinff
22386 do :
22387 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22388 if test "x$ac_cv_func_isinff" = x""yes; then :
22389 cat >>confdefs.h <<_ACEOF
22390 #define HAVE_ISINFF 1
22391 _ACEOF
22394 done
22396 else
22398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22399 $as_echo_n "checking for _isinff declaration... " >&6; }
22400 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22401 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22402 $as_echo_n "(cached) " >&6
22403 else
22406 ac_ext=cpp
22407 ac_cpp='$CXXCPP $CPPFLAGS'
22408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22413 /* end confdefs.h. */
22414 #include <math.h>
22415 #ifdef HAVE_IEEEFP_H
22416 #include <ieeefp.h>
22417 #endif
22420 main ()
22422 _isinff(0);
22424 return 0;
22426 _ACEOF
22427 if ac_fn_cxx_try_compile "$LINENO"; then :
22428 glibcxx_cv_func__isinff_use=yes
22429 else
22430 glibcxx_cv_func__isinff_use=no
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433 ac_ext=c
22434 ac_cpp='$CPP $CPPFLAGS'
22435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22444 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22446 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22447 for ac_func in _isinff
22448 do :
22449 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22450 if test "x$ac_cv_func__isinff" = x""yes; then :
22451 cat >>confdefs.h <<_ACEOF
22452 #define HAVE__ISINFF 1
22453 _ACEOF
22456 done
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22466 $as_echo_n "checking for atan2f declaration... " >&6; }
22467 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22468 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22469 $as_echo_n "(cached) " >&6
22470 else
22473 ac_ext=cpp
22474 ac_cpp='$CXXCPP $CPPFLAGS'
22475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22480 /* end confdefs.h. */
22481 #include <math.h>
22483 main ()
22485 atan2f(0, 0);
22487 return 0;
22489 _ACEOF
22490 if ac_fn_cxx_try_compile "$LINENO"; then :
22491 glibcxx_cv_func_atan2f_use=yes
22492 else
22493 glibcxx_cv_func_atan2f_use=no
22495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22496 ac_ext=c
22497 ac_cpp='$CPP $CPPFLAGS'
22498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22507 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22509 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22510 for ac_func in atan2f
22511 do :
22512 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22513 if test "x$ac_cv_func_atan2f" = x""yes; then :
22514 cat >>confdefs.h <<_ACEOF
22515 #define HAVE_ATAN2F 1
22516 _ACEOF
22519 done
22521 else
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22524 $as_echo_n "checking for _atan2f declaration... " >&6; }
22525 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22526 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22528 else
22531 ac_ext=cpp
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22538 /* end confdefs.h. */
22539 #include <math.h>
22541 main ()
22543 _atan2f(0, 0);
22545 return 0;
22547 _ACEOF
22548 if ac_fn_cxx_try_compile "$LINENO"; then :
22549 glibcxx_cv_func__atan2f_use=yes
22550 else
22551 glibcxx_cv_func__atan2f_use=no
22553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22554 ac_ext=c
22555 ac_cpp='$CPP $CPPFLAGS'
22556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22565 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22567 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22568 for ac_func in _atan2f
22569 do :
22570 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22571 if test "x$ac_cv_func__atan2f" = x""yes; then :
22572 cat >>confdefs.h <<_ACEOF
22573 #define HAVE__ATAN2F 1
22574 _ACEOF
22577 done
22586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22587 $as_echo_n "checking for fabsf declaration... " >&6; }
22588 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22589 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22590 $as_echo_n "(cached) " >&6
22591 else
22594 ac_ext=cpp
22595 ac_cpp='$CXXCPP $CPPFLAGS'
22596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22602 #include <math.h>
22603 #ifdef HAVE_IEEEFP_H
22604 #include <ieeefp.h>
22605 #endif
22608 main ()
22610 fabsf(0);
22612 return 0;
22614 _ACEOF
22615 if ac_fn_cxx_try_compile "$LINENO"; then :
22616 glibcxx_cv_func_fabsf_use=yes
22617 else
22618 glibcxx_cv_func_fabsf_use=no
22620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22621 ac_ext=c
22622 ac_cpp='$CPP $CPPFLAGS'
22623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22632 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22634 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22635 for ac_func in fabsf
22636 do :
22637 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22638 if test "x$ac_cv_func_fabsf" = x""yes; then :
22639 cat >>confdefs.h <<_ACEOF
22640 #define HAVE_FABSF 1
22641 _ACEOF
22644 done
22646 else
22648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22649 $as_echo_n "checking for _fabsf declaration... " >&6; }
22650 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22651 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22652 $as_echo_n "(cached) " >&6
22653 else
22656 ac_ext=cpp
22657 ac_cpp='$CXXCPP $CPPFLAGS'
22658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22663 /* end confdefs.h. */
22664 #include <math.h>
22665 #ifdef HAVE_IEEEFP_H
22666 #include <ieeefp.h>
22667 #endif
22670 main ()
22672 _fabsf(0);
22674 return 0;
22676 _ACEOF
22677 if ac_fn_cxx_try_compile "$LINENO"; then :
22678 glibcxx_cv_func__fabsf_use=yes
22679 else
22680 glibcxx_cv_func__fabsf_use=no
22682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22683 ac_ext=c
22684 ac_cpp='$CPP $CPPFLAGS'
22685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22694 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22696 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22697 for ac_func in _fabsf
22698 do :
22699 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22700 if test "x$ac_cv_func__fabsf" = x""yes; then :
22701 cat >>confdefs.h <<_ACEOF
22702 #define HAVE__FABSF 1
22703 _ACEOF
22706 done
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22716 $as_echo_n "checking for fmodf declaration... " >&6; }
22717 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22718 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22719 $as_echo_n "(cached) " >&6
22720 else
22723 ac_ext=cpp
22724 ac_cpp='$CXXCPP $CPPFLAGS'
22725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22730 /* end confdefs.h. */
22731 #include <math.h>
22733 main ()
22735 fmodf(0, 0);
22737 return 0;
22739 _ACEOF
22740 if ac_fn_cxx_try_compile "$LINENO"; then :
22741 glibcxx_cv_func_fmodf_use=yes
22742 else
22743 glibcxx_cv_func_fmodf_use=no
22745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22746 ac_ext=c
22747 ac_cpp='$CPP $CPPFLAGS'
22748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22757 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22759 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22760 for ac_func in fmodf
22761 do :
22762 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22763 if test "x$ac_cv_func_fmodf" = x""yes; then :
22764 cat >>confdefs.h <<_ACEOF
22765 #define HAVE_FMODF 1
22766 _ACEOF
22769 done
22771 else
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22774 $as_echo_n "checking for _fmodf declaration... " >&6; }
22775 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22776 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22777 $as_echo_n "(cached) " >&6
22778 else
22781 ac_ext=cpp
22782 ac_cpp='$CXXCPP $CPPFLAGS'
22783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22788 /* end confdefs.h. */
22789 #include <math.h>
22791 main ()
22793 _fmodf(0, 0);
22795 return 0;
22797 _ACEOF
22798 if ac_fn_cxx_try_compile "$LINENO"; then :
22799 glibcxx_cv_func__fmodf_use=yes
22800 else
22801 glibcxx_cv_func__fmodf_use=no
22803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22804 ac_ext=c
22805 ac_cpp='$CPP $CPPFLAGS'
22806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22815 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22817 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22818 for ac_func in _fmodf
22819 do :
22820 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22821 if test "x$ac_cv_func__fmodf" = x""yes; then :
22822 cat >>confdefs.h <<_ACEOF
22823 #define HAVE__FMODF 1
22824 _ACEOF
22827 done
22836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22837 $as_echo_n "checking for frexpf declaration... " >&6; }
22838 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22839 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22840 $as_echo_n "(cached) " >&6
22841 else
22844 ac_ext=cpp
22845 ac_cpp='$CXXCPP $CPPFLAGS'
22846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22851 /* end confdefs.h. */
22852 #include <math.h>
22854 main ()
22856 frexpf(0, 0);
22858 return 0;
22860 _ACEOF
22861 if ac_fn_cxx_try_compile "$LINENO"; then :
22862 glibcxx_cv_func_frexpf_use=yes
22863 else
22864 glibcxx_cv_func_frexpf_use=no
22866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22867 ac_ext=c
22868 ac_cpp='$CPP $CPPFLAGS'
22869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22878 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22880 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22881 for ac_func in frexpf
22882 do :
22883 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22884 if test "x$ac_cv_func_frexpf" = x""yes; then :
22885 cat >>confdefs.h <<_ACEOF
22886 #define HAVE_FREXPF 1
22887 _ACEOF
22890 done
22892 else
22894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22895 $as_echo_n "checking for _frexpf declaration... " >&6; }
22896 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22897 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
22916 return 0;
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func__frexpf_use=yes
22921 else
22922 glibcxx_cv_func__frexpf_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
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22936 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22938 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22939 for ac_func in _frexpf
22940 do :
22941 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22942 if test "x$ac_cv_func__frexpf" = x""yes; then :
22943 cat >>confdefs.h <<_ACEOF
22944 #define HAVE__FREXPF 1
22945 _ACEOF
22948 done
22957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22958 $as_echo_n "checking for hypotf declaration... " >&6; }
22959 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22960 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22961 $as_echo_n "(cached) " >&6
22962 else
22965 ac_ext=cpp
22966 ac_cpp='$CXXCPP $CPPFLAGS'
22967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22972 /* end confdefs.h. */
22973 #include <math.h>
22975 main ()
22977 hypotf(0, 0);
22979 return 0;
22981 _ACEOF
22982 if ac_fn_cxx_try_compile "$LINENO"; then :
22983 glibcxx_cv_func_hypotf_use=yes
22984 else
22985 glibcxx_cv_func_hypotf_use=no
22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22988 ac_ext=c
22989 ac_cpp='$CPP $CPPFLAGS'
22990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22999 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23001 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23002 for ac_func in hypotf
23003 do :
23004 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23005 if test "x$ac_cv_func_hypotf" = x""yes; then :
23006 cat >>confdefs.h <<_ACEOF
23007 #define HAVE_HYPOTF 1
23008 _ACEOF
23011 done
23013 else
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23016 $as_echo_n "checking for _hypotf declaration... " >&6; }
23017 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23018 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23019 $as_echo_n "(cached) " >&6
23020 else
23023 ac_ext=cpp
23024 ac_cpp='$CXXCPP $CPPFLAGS'
23025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23031 #include <math.h>
23033 main ()
23035 _hypotf(0, 0);
23037 return 0;
23039 _ACEOF
23040 if ac_fn_cxx_try_compile "$LINENO"; then :
23041 glibcxx_cv_func__hypotf_use=yes
23042 else
23043 glibcxx_cv_func__hypotf_use=no
23045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046 ac_ext=c
23047 ac_cpp='$CPP $CPPFLAGS'
23048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23057 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23059 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23060 for ac_func in _hypotf
23061 do :
23062 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23063 if test "x$ac_cv_func__hypotf" = x""yes; then :
23064 cat >>confdefs.h <<_ACEOF
23065 #define HAVE__HYPOTF 1
23066 _ACEOF
23069 done
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23079 $as_echo_n "checking for ldexpf declaration... " >&6; }
23080 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23081 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23082 $as_echo_n "(cached) " >&6
23083 else
23086 ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23094 #include <math.h>
23096 main ()
23098 ldexpf(0, 0);
23100 return 0;
23102 _ACEOF
23103 if ac_fn_cxx_try_compile "$LINENO"; then :
23104 glibcxx_cv_func_ldexpf_use=yes
23105 else
23106 glibcxx_cv_func_ldexpf_use=no
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23120 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23122 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23123 for ac_func in ldexpf
23124 do :
23125 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23126 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define HAVE_LDEXPF 1
23129 _ACEOF
23132 done
23134 else
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23137 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23138 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23139 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152 #include <math.h>
23154 main ()
23156 _ldexpf(0, 0);
23158 return 0;
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func__ldexpf_use=yes
23163 else
23164 glibcxx_cv_func__ldexpf_use=no
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23178 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23180 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23181 for ac_func in _ldexpf
23182 do :
23183 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23184 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23185 cat >>confdefs.h <<_ACEOF
23186 #define HAVE__LDEXPF 1
23187 _ACEOF
23190 done
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23200 $as_echo_n "checking for logf declaration... " >&6; }
23201 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23202 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23215 #include <math.h>
23216 #ifdef HAVE_IEEEFP_H
23217 #include <ieeefp.h>
23218 #endif
23221 main ()
23223 logf(0);
23225 return 0;
23227 _ACEOF
23228 if ac_fn_cxx_try_compile "$LINENO"; then :
23229 glibcxx_cv_func_logf_use=yes
23230 else
23231 glibcxx_cv_func_logf_use=no
23233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23234 ac_ext=c
23235 ac_cpp='$CPP $CPPFLAGS'
23236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23245 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23247 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23248 for ac_func in logf
23249 do :
23250 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23251 if test "x$ac_cv_func_logf" = x""yes; then :
23252 cat >>confdefs.h <<_ACEOF
23253 #define HAVE_LOGF 1
23254 _ACEOF
23257 done
23259 else
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23262 $as_echo_n "checking for _logf declaration... " >&6; }
23263 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23264 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23265 $as_echo_n "(cached) " >&6
23266 else
23269 ac_ext=cpp
23270 ac_cpp='$CXXCPP $CPPFLAGS'
23271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23276 /* end confdefs.h. */
23277 #include <math.h>
23278 #ifdef HAVE_IEEEFP_H
23279 #include <ieeefp.h>
23280 #endif
23283 main ()
23285 _logf(0);
23287 return 0;
23289 _ACEOF
23290 if ac_fn_cxx_try_compile "$LINENO"; then :
23291 glibcxx_cv_func__logf_use=yes
23292 else
23293 glibcxx_cv_func__logf_use=no
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 ac_ext=c
23297 ac_cpp='$CPP $CPPFLAGS'
23298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23307 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23309 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23310 for ac_func in _logf
23311 do :
23312 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23313 if test "x$ac_cv_func__logf" = x""yes; then :
23314 cat >>confdefs.h <<_ACEOF
23315 #define HAVE__LOGF 1
23316 _ACEOF
23319 done
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23329 $as_echo_n "checking for log10f declaration... " >&6; }
23330 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23331 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23332 $as_echo_n "(cached) " >&6
23333 else
23336 ac_ext=cpp
23337 ac_cpp='$CXXCPP $CPPFLAGS'
23338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23343 /* end confdefs.h. */
23344 #include <math.h>
23345 #ifdef HAVE_IEEEFP_H
23346 #include <ieeefp.h>
23347 #endif
23350 main ()
23352 log10f(0);
23354 return 0;
23356 _ACEOF
23357 if ac_fn_cxx_try_compile "$LINENO"; then :
23358 glibcxx_cv_func_log10f_use=yes
23359 else
23360 glibcxx_cv_func_log10f_use=no
23362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23363 ac_ext=c
23364 ac_cpp='$CPP $CPPFLAGS'
23365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23374 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23376 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23377 for ac_func in log10f
23378 do :
23379 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23380 if test "x$ac_cv_func_log10f" = x""yes; then :
23381 cat >>confdefs.h <<_ACEOF
23382 #define HAVE_LOG10F 1
23383 _ACEOF
23386 done
23388 else
23390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23391 $as_echo_n "checking for _log10f declaration... " >&6; }
23392 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23393 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23394 $as_echo_n "(cached) " >&6
23395 else
23398 ac_ext=cpp
23399 ac_cpp='$CXXCPP $CPPFLAGS'
23400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23405 /* end confdefs.h. */
23406 #include <math.h>
23407 #ifdef HAVE_IEEEFP_H
23408 #include <ieeefp.h>
23409 #endif
23412 main ()
23414 _log10f(0);
23416 return 0;
23418 _ACEOF
23419 if ac_fn_cxx_try_compile "$LINENO"; then :
23420 glibcxx_cv_func__log10f_use=yes
23421 else
23422 glibcxx_cv_func__log10f_use=no
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 ac_ext=c
23426 ac_cpp='$CPP $CPPFLAGS'
23427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23436 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23438 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23439 for ac_func in _log10f
23440 do :
23441 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23442 if test "x$ac_cv_func__log10f" = x""yes; then :
23443 cat >>confdefs.h <<_ACEOF
23444 #define HAVE__LOG10F 1
23445 _ACEOF
23448 done
23457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23458 $as_echo_n "checking for modff declaration... " >&6; }
23459 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23460 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23461 $as_echo_n "(cached) " >&6
23462 else
23465 ac_ext=cpp
23466 ac_cpp='$CXXCPP $CPPFLAGS'
23467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23472 /* end confdefs.h. */
23473 #include <math.h>
23475 main ()
23477 modff(0, 0);
23479 return 0;
23481 _ACEOF
23482 if ac_fn_cxx_try_compile "$LINENO"; then :
23483 glibcxx_cv_func_modff_use=yes
23484 else
23485 glibcxx_cv_func_modff_use=no
23487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23488 ac_ext=c
23489 ac_cpp='$CPP $CPPFLAGS'
23490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23499 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23501 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23502 for ac_func in modff
23503 do :
23504 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23505 if test "x$ac_cv_func_modff" = x""yes; then :
23506 cat >>confdefs.h <<_ACEOF
23507 #define HAVE_MODFF 1
23508 _ACEOF
23511 done
23513 else
23515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23516 $as_echo_n "checking for _modff declaration... " >&6; }
23517 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23518 if test "${glibcxx_cv_func__modff_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 _modff(0, 0);
23537 return 0;
23539 _ACEOF
23540 if ac_fn_cxx_try_compile "$LINENO"; then :
23541 glibcxx_cv_func__modff_use=yes
23542 else
23543 glibcxx_cv_func__modff_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__modff_use" >&5
23557 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23559 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23560 for ac_func in _modff
23561 do :
23562 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23563 if test "x$ac_cv_func__modff" = x""yes; then :
23564 cat >>confdefs.h <<_ACEOF
23565 #define HAVE__MODFF 1
23566 _ACEOF
23569 done
23578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23579 $as_echo_n "checking for modf declaration... " >&6; }
23580 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23581 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23582 $as_echo_n "(cached) " >&6
23583 else
23586 ac_ext=cpp
23587 ac_cpp='$CXXCPP $CPPFLAGS'
23588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23593 /* end confdefs.h. */
23594 #include <math.h>
23596 main ()
23598 modf(0, 0);
23600 return 0;
23602 _ACEOF
23603 if ac_fn_cxx_try_compile "$LINENO"; then :
23604 glibcxx_cv_func_modf_use=yes
23605 else
23606 glibcxx_cv_func_modf_use=no
23608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23609 ac_ext=c
23610 ac_cpp='$CPP $CPPFLAGS'
23611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23620 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23622 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23623 for ac_func in modf
23624 do :
23625 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23626 if test "x$ac_cv_func_modf" = x""yes; then :
23627 cat >>confdefs.h <<_ACEOF
23628 #define HAVE_MODF 1
23629 _ACEOF
23632 done
23634 else
23636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23637 $as_echo_n "checking for _modf declaration... " >&6; }
23638 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23639 if test "${glibcxx_cv_func__modf_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>
23654 main ()
23656 _modf(0, 0);
23658 return 0;
23660 _ACEOF
23661 if ac_fn_cxx_try_compile "$LINENO"; then :
23662 glibcxx_cv_func__modf_use=yes
23663 else
23664 glibcxx_cv_func__modf_use=no
23666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 ac_ext=c
23668 ac_cpp='$CPP $CPPFLAGS'
23669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23678 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23680 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23681 for ac_func in _modf
23682 do :
23683 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23684 if test "x$ac_cv_func__modf" = x""yes; then :
23685 cat >>confdefs.h <<_ACEOF
23686 #define HAVE__MODF 1
23687 _ACEOF
23690 done
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23700 $as_echo_n "checking for powf declaration... " >&6; }
23701 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23702 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23717 main ()
23719 powf(0, 0);
23721 return 0;
23723 _ACEOF
23724 if ac_fn_cxx_try_compile "$LINENO"; then :
23725 glibcxx_cv_func_powf_use=yes
23726 else
23727 glibcxx_cv_func_powf_use=no
23729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23730 ac_ext=c
23731 ac_cpp='$CPP $CPPFLAGS'
23732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23741 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23743 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23744 for ac_func in powf
23745 do :
23746 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23747 if test "x$ac_cv_func_powf" = x""yes; then :
23748 cat >>confdefs.h <<_ACEOF
23749 #define HAVE_POWF 1
23750 _ACEOF
23753 done
23755 else
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23758 $as_echo_n "checking for _powf declaration... " >&6; }
23759 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23760 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23761 $as_echo_n "(cached) " >&6
23762 else
23765 ac_ext=cpp
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23773 #include <math.h>
23775 main ()
23777 _powf(0, 0);
23779 return 0;
23781 _ACEOF
23782 if ac_fn_cxx_try_compile "$LINENO"; then :
23783 glibcxx_cv_func__powf_use=yes
23784 else
23785 glibcxx_cv_func__powf_use=no
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23799 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23801 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23802 for ac_func in _powf
23803 do :
23804 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23805 if test "x$ac_cv_func__powf" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE__POWF 1
23808 _ACEOF
23811 done
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23821 $as_echo_n "checking for sqrtf declaration... " >&6; }
23822 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23823 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23824 $as_echo_n "(cached) " >&6
23825 else
23828 ac_ext=cpp
23829 ac_cpp='$CXXCPP $CPPFLAGS'
23830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23835 /* end confdefs.h. */
23836 #include <math.h>
23837 #ifdef HAVE_IEEEFP_H
23838 #include <ieeefp.h>
23839 #endif
23842 main ()
23844 sqrtf(0);
23846 return 0;
23848 _ACEOF
23849 if ac_fn_cxx_try_compile "$LINENO"; then :
23850 glibcxx_cv_func_sqrtf_use=yes
23851 else
23852 glibcxx_cv_func_sqrtf_use=no
23854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23855 ac_ext=c
23856 ac_cpp='$CPP $CPPFLAGS'
23857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23866 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23868 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23869 for ac_func in sqrtf
23870 do :
23871 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23872 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23873 cat >>confdefs.h <<_ACEOF
23874 #define HAVE_SQRTF 1
23875 _ACEOF
23878 done
23880 else
23882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23883 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23884 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23885 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23886 $as_echo_n "(cached) " >&6
23887 else
23890 ac_ext=cpp
23891 ac_cpp='$CXXCPP $CPPFLAGS'
23892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23897 /* end confdefs.h. */
23898 #include <math.h>
23899 #ifdef HAVE_IEEEFP_H
23900 #include <ieeefp.h>
23901 #endif
23904 main ()
23906 _sqrtf(0);
23908 return 0;
23910 _ACEOF
23911 if ac_fn_cxx_try_compile "$LINENO"; then :
23912 glibcxx_cv_func__sqrtf_use=yes
23913 else
23914 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
23928 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23930 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23931 for ac_func in _sqrtf
23932 do :
23933 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23934 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23935 cat >>confdefs.h <<_ACEOF
23936 #define HAVE__SQRTF 1
23937 _ACEOF
23940 done
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23950 $as_echo_n "checking for sincosf declaration... " >&6; }
23951 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23952 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23953 $as_echo_n "(cached) " >&6
23954 else
23957 ac_ext=cpp
23958 ac_cpp='$CXXCPP $CPPFLAGS'
23959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23965 #include <math.h>
23967 main ()
23969 sincosf(0, 0, 0);
23971 return 0;
23973 _ACEOF
23974 if ac_fn_cxx_try_compile "$LINENO"; then :
23975 glibcxx_cv_func_sincosf_use=yes
23976 else
23977 glibcxx_cv_func_sincosf_use=no
23979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23980 ac_ext=c
23981 ac_cpp='$CPP $CPPFLAGS'
23982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23991 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23993 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23994 for ac_func in sincosf
23995 do :
23996 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23997 if test "x$ac_cv_func_sincosf" = x""yes; then :
23998 cat >>confdefs.h <<_ACEOF
23999 #define HAVE_SINCOSF 1
24000 _ACEOF
24003 done
24005 else
24007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24008 $as_echo_n "checking for _sincosf declaration... " >&6; }
24009 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24010 if test "${glibcxx_cv_func__sincosf_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 _sincosf(0, 0, 0);
24029 return 0;
24031 _ACEOF
24032 if ac_fn_cxx_try_compile "$LINENO"; then :
24033 glibcxx_cv_func__sincosf_use=yes
24034 else
24035 glibcxx_cv_func__sincosf_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__sincosf_use" >&5
24049 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24051 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24052 for ac_func in _sincosf
24053 do :
24054 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24055 if test "x$ac_cv_func__sincosf" = x""yes; then :
24056 cat >>confdefs.h <<_ACEOF
24057 #define HAVE__SINCOSF 1
24058 _ACEOF
24061 done
24070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24071 $as_echo_n "checking for finitef declaration... " >&6; }
24072 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24073 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24074 $as_echo_n "(cached) " >&6
24075 else
24078 ac_ext=cpp
24079 ac_cpp='$CXXCPP $CPPFLAGS'
24080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24085 /* end confdefs.h. */
24086 #include <math.h>
24087 #ifdef HAVE_IEEEFP_H
24088 #include <ieeefp.h>
24089 #endif
24092 main ()
24094 finitef(0);
24096 return 0;
24098 _ACEOF
24099 if ac_fn_cxx_try_compile "$LINENO"; then :
24100 glibcxx_cv_func_finitef_use=yes
24101 else
24102 glibcxx_cv_func_finitef_use=no
24104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24105 ac_ext=c
24106 ac_cpp='$CPP $CPPFLAGS'
24107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24116 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24118 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24119 for ac_func in finitef
24120 do :
24121 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24122 if test "x$ac_cv_func_finitef" = x""yes; then :
24123 cat >>confdefs.h <<_ACEOF
24124 #define HAVE_FINITEF 1
24125 _ACEOF
24128 done
24130 else
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24133 $as_echo_n "checking for _finitef declaration... " >&6; }
24134 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24135 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24136 $as_echo_n "(cached) " >&6
24137 else
24140 ac_ext=cpp
24141 ac_cpp='$CXXCPP $CPPFLAGS'
24142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24147 /* end confdefs.h. */
24148 #include <math.h>
24149 #ifdef HAVE_IEEEFP_H
24150 #include <ieeefp.h>
24151 #endif
24154 main ()
24156 _finitef(0);
24158 return 0;
24160 _ACEOF
24161 if ac_fn_cxx_try_compile "$LINENO"; then :
24162 glibcxx_cv_func__finitef_use=yes
24163 else
24164 glibcxx_cv_func__finitef_use=no
24166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24167 ac_ext=c
24168 ac_cpp='$CPP $CPPFLAGS'
24169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24178 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24180 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24181 for ac_func in _finitef
24182 do :
24183 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24184 if test "x$ac_cv_func__finitef" = x""yes; then :
24185 cat >>confdefs.h <<_ACEOF
24186 #define HAVE__FINITEF 1
24187 _ACEOF
24190 done
24199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24200 $as_echo_n "checking for long double trig functions... " >&6; }
24201 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24202 $as_echo_n "(cached) " >&6
24203 else
24206 ac_ext=cpp
24207 ac_cpp='$CXXCPP $CPPFLAGS'
24208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24213 /* end confdefs.h. */
24214 #include <math.h>
24216 main ()
24218 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24220 return 0;
24222 _ACEOF
24223 if ac_fn_cxx_try_compile "$LINENO"; then :
24224 glibcxx_cv_func_long_double_trig_use=yes
24225 else
24226 glibcxx_cv_func_long_double_trig_use=no
24228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24229 ac_ext=c
24230 ac_cpp='$CPP $CPPFLAGS'
24231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24238 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24239 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24240 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24241 do :
24242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24244 eval as_val=\$$as_ac_var
24245 if test "x$as_val" = x""yes; then :
24246 cat >>confdefs.h <<_ACEOF
24247 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24248 _ACEOF
24251 done
24253 else
24254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24255 $as_echo_n "checking for _long double trig functions... " >&6; }
24256 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24257 $as_echo_n "(cached) " >&6
24258 else
24261 ac_ext=cpp
24262 ac_cpp='$CXXCPP $CPPFLAGS'
24263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24268 /* end confdefs.h. */
24269 #include <math.h>
24271 main ()
24273 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24275 return 0;
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func__long_double_trig_use=yes
24280 else
24281 glibcxx_cv_func__long_double_trig_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
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24293 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24294 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24295 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24296 do :
24297 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24298 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24299 eval as_val=\$$as_ac_var
24300 if test "x$as_val" = x""yes; then :
24301 cat >>confdefs.h <<_ACEOF
24302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24303 _ACEOF
24306 done
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24316 $as_echo_n "checking for long double round functions... " >&6; }
24317 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24318 $as_echo_n "(cached) " >&6
24319 else
24322 ac_ext=cpp
24323 ac_cpp='$CXXCPP $CPPFLAGS'
24324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24329 /* end confdefs.h. */
24330 #include <math.h>
24332 main ()
24334 ceill (0); floorl (0);
24336 return 0;
24338 _ACEOF
24339 if ac_fn_cxx_try_compile "$LINENO"; then :
24340 glibcxx_cv_func_long_double_round_use=yes
24341 else
24342 glibcxx_cv_func_long_double_round_use=no
24344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24345 ac_ext=c
24346 ac_cpp='$CPP $CPPFLAGS'
24347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24354 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24355 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24356 for ac_func in ceill floorl
24357 do :
24358 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24359 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24360 eval as_val=\$$as_ac_var
24361 if test "x$as_val" = x""yes; then :
24362 cat >>confdefs.h <<_ACEOF
24363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24364 _ACEOF
24367 done
24369 else
24370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24371 $as_echo_n "checking for _long double round functions... " >&6; }
24372 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24373 $as_echo_n "(cached) " >&6
24374 else
24377 ac_ext=cpp
24378 ac_cpp='$CXXCPP $CPPFLAGS'
24379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24385 #include <math.h>
24387 main ()
24389 _ceill (0); _floorl (0);
24391 return 0;
24393 _ACEOF
24394 if ac_fn_cxx_try_compile "$LINENO"; then :
24395 glibcxx_cv_func__long_double_round_use=yes
24396 else
24397 glibcxx_cv_func__long_double_round_use=no
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400 ac_ext=c
24401 ac_cpp='$CPP $CPPFLAGS'
24402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24409 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24410 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24411 for ac_func in _ceill _floorl
24412 do :
24413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24415 eval as_val=\$$as_ac_var
24416 if test "x$as_val" = x""yes; then :
24417 cat >>confdefs.h <<_ACEOF
24418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24419 _ACEOF
24422 done
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24433 $as_echo_n "checking for isnanl declaration... " >&6; }
24434 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24435 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24449 #ifdef HAVE_IEEEFP_H
24450 #include <ieeefp.h>
24451 #endif
24454 main ()
24456 isnanl(0);
24458 return 0;
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_isnanl_use=yes
24463 else
24464 glibcxx_cv_func_isnanl_use=no
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24478 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24480 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24481 for ac_func in isnanl
24482 do :
24483 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24484 if test "x$ac_cv_func_isnanl" = x""yes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE_ISNANL 1
24487 _ACEOF
24490 done
24492 else
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24495 $as_echo_n "checking for _isnanl declaration... " >&6; }
24496 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24497 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24511 #ifdef HAVE_IEEEFP_H
24512 #include <ieeefp.h>
24513 #endif
24516 main ()
24518 _isnanl(0);
24520 return 0;
24522 _ACEOF
24523 if ac_fn_cxx_try_compile "$LINENO"; then :
24524 glibcxx_cv_func__isnanl_use=yes
24525 else
24526 glibcxx_cv_func__isnanl_use=no
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 ac_ext=c
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24540 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24542 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24543 for ac_func in _isnanl
24544 do :
24545 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24546 if test "x$ac_cv_func__isnanl" = x""yes; then :
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE__ISNANL 1
24549 _ACEOF
24552 done
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24562 $as_echo_n "checking for isinfl declaration... " >&6; }
24563 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24564 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24569 ac_ext=cpp
24570 ac_cpp='$CXXCPP $CPPFLAGS'
24571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h. */
24577 #include <math.h>
24578 #ifdef HAVE_IEEEFP_H
24579 #include <ieeefp.h>
24580 #endif
24583 main ()
24585 isinfl(0);
24587 return 0;
24589 _ACEOF
24590 if ac_fn_cxx_try_compile "$LINENO"; then :
24591 glibcxx_cv_func_isinfl_use=yes
24592 else
24593 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
24607 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24609 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24610 for ac_func in isinfl
24611 do :
24612 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24613 if test "x$ac_cv_func_isinfl" = x""yes; then :
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE_ISINFL 1
24616 _ACEOF
24619 done
24621 else
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24624 $as_echo_n "checking for _isinfl declaration... " >&6; }
24625 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24626 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24628 else
24631 ac_ext=cpp
24632 ac_cpp='$CXXCPP $CPPFLAGS'
24633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24639 #include <math.h>
24640 #ifdef HAVE_IEEEFP_H
24641 #include <ieeefp.h>
24642 #endif
24645 main ()
24647 _isinfl(0);
24649 return 0;
24651 _ACEOF
24652 if ac_fn_cxx_try_compile "$LINENO"; then :
24653 glibcxx_cv_func__isinfl_use=yes
24654 else
24655 glibcxx_cv_func__isinfl_use=no
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24669 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24671 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24672 for ac_func in _isinfl
24673 do :
24674 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24675 if test "x$ac_cv_func__isinfl" = x""yes; then :
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE__ISINFL 1
24678 _ACEOF
24681 done
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24691 $as_echo_n "checking for atan2l declaration... " >&6; }
24692 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24693 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24708 main ()
24710 atan2l(0, 0);
24712 return 0;
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func_atan2l_use=yes
24717 else
24718 glibcxx_cv_func_atan2l_use=no
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24732 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24734 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24735 for ac_func in atan2l
24736 do :
24737 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24738 if test "x$ac_cv_func_atan2l" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE_ATAN2L 1
24741 _ACEOF
24744 done
24746 else
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24749 $as_echo_n "checking for _atan2l declaration... " >&6; }
24750 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24751 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <math.h>
24766 main ()
24768 _atan2l(0, 0);
24770 return 0;
24772 _ACEOF
24773 if ac_fn_cxx_try_compile "$LINENO"; then :
24774 glibcxx_cv_func__atan2l_use=yes
24775 else
24776 glibcxx_cv_func__atan2l_use=no
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 ac_ext=c
24780 ac_cpp='$CPP $CPPFLAGS'
24781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24790 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24792 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24793 for ac_func in _atan2l
24794 do :
24795 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24796 if test "x$ac_cv_func__atan2l" = x""yes; then :
24797 cat >>confdefs.h <<_ACEOF
24798 #define HAVE__ATAN2L 1
24799 _ACEOF
24802 done
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24812 $as_echo_n "checking for expl declaration... " >&6; }
24813 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24814 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24819 ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827 #include <math.h>
24828 #ifdef HAVE_IEEEFP_H
24829 #include <ieeefp.h>
24830 #endif
24833 main ()
24835 expl(0);
24837 return 0;
24839 _ACEOF
24840 if ac_fn_cxx_try_compile "$LINENO"; then :
24841 glibcxx_cv_func_expl_use=yes
24842 else
24843 glibcxx_cv_func_expl_use=no
24845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24846 ac_ext=c
24847 ac_cpp='$CPP $CPPFLAGS'
24848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24857 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24859 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24860 for ac_func in expl
24861 do :
24862 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24863 if test "x$ac_cv_func_expl" = x""yes; then :
24864 cat >>confdefs.h <<_ACEOF
24865 #define HAVE_EXPL 1
24866 _ACEOF
24869 done
24871 else
24873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24874 $as_echo_n "checking for _expl declaration... " >&6; }
24875 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24876 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24877 $as_echo_n "(cached) " >&6
24878 else
24881 ac_ext=cpp
24882 ac_cpp='$CXXCPP $CPPFLAGS'
24883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24888 /* end confdefs.h. */
24889 #include <math.h>
24890 #ifdef HAVE_IEEEFP_H
24891 #include <ieeefp.h>
24892 #endif
24895 main ()
24897 _expl(0);
24899 return 0;
24901 _ACEOF
24902 if ac_fn_cxx_try_compile "$LINENO"; then :
24903 glibcxx_cv_func__expl_use=yes
24904 else
24905 glibcxx_cv_func__expl_use=no
24907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24908 ac_ext=c
24909 ac_cpp='$CPP $CPPFLAGS'
24910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24919 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24921 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24922 for ac_func in _expl
24923 do :
24924 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24925 if test "x$ac_cv_func__expl" = x""yes; then :
24926 cat >>confdefs.h <<_ACEOF
24927 #define HAVE__EXPL 1
24928 _ACEOF
24931 done
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24941 $as_echo_n "checking for fabsl declaration... " >&6; }
24942 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24943 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24944 $as_echo_n "(cached) " >&6
24945 else
24948 ac_ext=cpp
24949 ac_cpp='$CXXCPP $CPPFLAGS'
24950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24955 /* end confdefs.h. */
24956 #include <math.h>
24957 #ifdef HAVE_IEEEFP_H
24958 #include <ieeefp.h>
24959 #endif
24962 main ()
24964 fabsl(0);
24966 return 0;
24968 _ACEOF
24969 if ac_fn_cxx_try_compile "$LINENO"; then :
24970 glibcxx_cv_func_fabsl_use=yes
24971 else
24972 glibcxx_cv_func_fabsl_use=no
24974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24975 ac_ext=c
24976 ac_cpp='$CPP $CPPFLAGS'
24977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24986 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24988 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24989 for ac_func in fabsl
24990 do :
24991 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24992 if test "x$ac_cv_func_fabsl" = x""yes; then :
24993 cat >>confdefs.h <<_ACEOF
24994 #define HAVE_FABSL 1
24995 _ACEOF
24998 done
25000 else
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25003 $as_echo_n "checking for _fabsl declaration... " >&6; }
25004 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25005 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25006 $as_echo_n "(cached) " >&6
25007 else
25010 ac_ext=cpp
25011 ac_cpp='$CXXCPP $CPPFLAGS'
25012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25017 /* end confdefs.h. */
25018 #include <math.h>
25019 #ifdef HAVE_IEEEFP_H
25020 #include <ieeefp.h>
25021 #endif
25024 main ()
25026 _fabsl(0);
25028 return 0;
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032 glibcxx_cv_func__fabsl_use=yes
25033 else
25034 glibcxx_cv_func__fabsl_use=no
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25048 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25050 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25051 for ac_func in _fabsl
25052 do :
25053 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25054 if test "x$ac_cv_func__fabsl" = x""yes; then :
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE__FABSL 1
25057 _ACEOF
25060 done
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25070 $as_echo_n "checking for fmodl declaration... " >&6; }
25071 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25072 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25073 $as_echo_n "(cached) " >&6
25074 else
25077 ac_ext=cpp
25078 ac_cpp='$CXXCPP $CPPFLAGS'
25079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25084 /* end confdefs.h. */
25085 #include <math.h>
25087 main ()
25089 fmodl(0, 0);
25091 return 0;
25093 _ACEOF
25094 if ac_fn_cxx_try_compile "$LINENO"; then :
25095 glibcxx_cv_func_fmodl_use=yes
25096 else
25097 glibcxx_cv_func_fmodl_use=no
25099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25100 ac_ext=c
25101 ac_cpp='$CPP $CPPFLAGS'
25102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25111 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25113 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25114 for ac_func in fmodl
25115 do :
25116 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25117 if test "x$ac_cv_func_fmodl" = x""yes; then :
25118 cat >>confdefs.h <<_ACEOF
25119 #define HAVE_FMODL 1
25120 _ACEOF
25123 done
25125 else
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25128 $as_echo_n "checking for _fmodl declaration... " >&6; }
25129 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25130 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <math.h>
25145 main ()
25147 _fmodl(0, 0);
25149 return 0;
25151 _ACEOF
25152 if ac_fn_cxx_try_compile "$LINENO"; then :
25153 glibcxx_cv_func__fmodl_use=yes
25154 else
25155 glibcxx_cv_func__fmodl_use=no
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 ac_ext=c
25159 ac_cpp='$CPP $CPPFLAGS'
25160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25169 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25171 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25172 for ac_func in _fmodl
25173 do :
25174 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25175 if test "x$ac_cv_func__fmodl" = x""yes; then :
25176 cat >>confdefs.h <<_ACEOF
25177 #define HAVE__FMODL 1
25178 _ACEOF
25181 done
25190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25191 $as_echo_n "checking for frexpl declaration... " >&6; }
25192 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25193 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25194 $as_echo_n "(cached) " >&6
25195 else
25198 ac_ext=cpp
25199 ac_cpp='$CXXCPP $CPPFLAGS'
25200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25205 /* end confdefs.h. */
25206 #include <math.h>
25208 main ()
25210 frexpl(0, 0);
25212 return 0;
25214 _ACEOF
25215 if ac_fn_cxx_try_compile "$LINENO"; then :
25216 glibcxx_cv_func_frexpl_use=yes
25217 else
25218 glibcxx_cv_func_frexpl_use=no
25220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25221 ac_ext=c
25222 ac_cpp='$CPP $CPPFLAGS'
25223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25232 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25234 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25235 for ac_func in frexpl
25236 do :
25237 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25238 if test "x$ac_cv_func_frexpl" = x""yes; then :
25239 cat >>confdefs.h <<_ACEOF
25240 #define HAVE_FREXPL 1
25241 _ACEOF
25244 done
25246 else
25248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25249 $as_echo_n "checking for _frexpl declaration... " >&6; }
25250 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25251 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
25270 return 0;
25272 _ACEOF
25273 if ac_fn_cxx_try_compile "$LINENO"; then :
25274 glibcxx_cv_func__frexpl_use=yes
25275 else
25276 glibcxx_cv_func__frexpl_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
25289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25290 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25292 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25293 for ac_func in _frexpl
25294 do :
25295 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25296 if test "x$ac_cv_func__frexpl" = x""yes; then :
25297 cat >>confdefs.h <<_ACEOF
25298 #define HAVE__FREXPL 1
25299 _ACEOF
25302 done
25311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25312 $as_echo_n "checking for hypotl declaration... " >&6; }
25313 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25314 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25315 $as_echo_n "(cached) " >&6
25316 else
25319 ac_ext=cpp
25320 ac_cpp='$CXXCPP $CPPFLAGS'
25321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25326 /* end confdefs.h. */
25327 #include <math.h>
25329 main ()
25331 hypotl(0, 0);
25333 return 0;
25335 _ACEOF
25336 if ac_fn_cxx_try_compile "$LINENO"; then :
25337 glibcxx_cv_func_hypotl_use=yes
25338 else
25339 glibcxx_cv_func_hypotl_use=no
25341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25342 ac_ext=c
25343 ac_cpp='$CPP $CPPFLAGS'
25344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25353 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25355 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25356 for ac_func in hypotl
25357 do :
25358 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25359 if test "x$ac_cv_func_hypotl" = x""yes; then :
25360 cat >>confdefs.h <<_ACEOF
25361 #define HAVE_HYPOTL 1
25362 _ACEOF
25365 done
25367 else
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25370 $as_echo_n "checking for _hypotl declaration... " >&6; }
25371 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25372 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25373 $as_echo_n "(cached) " >&6
25374 else
25377 ac_ext=cpp
25378 ac_cpp='$CXXCPP $CPPFLAGS'
25379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25385 #include <math.h>
25387 main ()
25389 _hypotl(0, 0);
25391 return 0;
25393 _ACEOF
25394 if ac_fn_cxx_try_compile "$LINENO"; then :
25395 glibcxx_cv_func__hypotl_use=yes
25396 else
25397 glibcxx_cv_func__hypotl_use=no
25399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25400 ac_ext=c
25401 ac_cpp='$CPP $CPPFLAGS'
25402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25411 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25413 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25414 for ac_func in _hypotl
25415 do :
25416 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25417 if test "x$ac_cv_func__hypotl" = x""yes; then :
25418 cat >>confdefs.h <<_ACEOF
25419 #define HAVE__HYPOTL 1
25420 _ACEOF
25423 done
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25433 $as_echo_n "checking for ldexpl declaration... " >&6; }
25434 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25435 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25436 $as_echo_n "(cached) " >&6
25437 else
25440 ac_ext=cpp
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h. */
25448 #include <math.h>
25450 main ()
25452 ldexpl(0, 0);
25454 return 0;
25456 _ACEOF
25457 if ac_fn_cxx_try_compile "$LINENO"; then :
25458 glibcxx_cv_func_ldexpl_use=yes
25459 else
25460 glibcxx_cv_func_ldexpl_use=no
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ac_ext=c
25464 ac_cpp='$CPP $CPPFLAGS'
25465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25474 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25476 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25477 for ac_func in ldexpl
25478 do :
25479 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25480 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25481 cat >>confdefs.h <<_ACEOF
25482 #define HAVE_LDEXPL 1
25483 _ACEOF
25486 done
25488 else
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25491 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25492 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25493 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25494 $as_echo_n "(cached) " >&6
25495 else
25498 ac_ext=cpp
25499 ac_cpp='$CXXCPP $CPPFLAGS'
25500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 #include <math.h>
25508 main ()
25510 _ldexpl(0, 0);
25512 return 0;
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func__ldexpl_use=yes
25517 else
25518 glibcxx_cv_func__ldexpl_use=no
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25532 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25534 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25535 for ac_func in _ldexpl
25536 do :
25537 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25538 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25539 cat >>confdefs.h <<_ACEOF
25540 #define HAVE__LDEXPL 1
25541 _ACEOF
25544 done
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25554 $as_echo_n "checking for logl declaration... " >&6; }
25555 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25556 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25557 $as_echo_n "(cached) " >&6
25558 else
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25569 #include <math.h>
25570 #ifdef HAVE_IEEEFP_H
25571 #include <ieeefp.h>
25572 #endif
25575 main ()
25577 logl(0);
25579 return 0;
25581 _ACEOF
25582 if ac_fn_cxx_try_compile "$LINENO"; then :
25583 glibcxx_cv_func_logl_use=yes
25584 else
25585 glibcxx_cv_func_logl_use=no
25587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25588 ac_ext=c
25589 ac_cpp='$CPP $CPPFLAGS'
25590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25599 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25601 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25602 for ac_func in logl
25603 do :
25604 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25605 if test "x$ac_cv_func_logl" = x""yes; then :
25606 cat >>confdefs.h <<_ACEOF
25607 #define HAVE_LOGL 1
25608 _ACEOF
25611 done
25613 else
25615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25616 $as_echo_n "checking for _logl declaration... " >&6; }
25617 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25618 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25619 $as_echo_n "(cached) " >&6
25620 else
25623 ac_ext=cpp
25624 ac_cpp='$CXXCPP $CPPFLAGS'
25625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25630 /* end confdefs.h. */
25631 #include <math.h>
25632 #ifdef HAVE_IEEEFP_H
25633 #include <ieeefp.h>
25634 #endif
25637 main ()
25639 _logl(0);
25641 return 0;
25643 _ACEOF
25644 if ac_fn_cxx_try_compile "$LINENO"; then :
25645 glibcxx_cv_func__logl_use=yes
25646 else
25647 glibcxx_cv_func__logl_use=no
25649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25650 ac_ext=c
25651 ac_cpp='$CPP $CPPFLAGS'
25652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25661 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25663 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25664 for ac_func in _logl
25665 do :
25666 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25667 if test "x$ac_cv_func__logl" = x""yes; then :
25668 cat >>confdefs.h <<_ACEOF
25669 #define HAVE__LOGL 1
25670 _ACEOF
25673 done
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25683 $as_echo_n "checking for log10l declaration... " >&6; }
25684 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25685 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25686 $as_echo_n "(cached) " >&6
25687 else
25690 ac_ext=cpp
25691 ac_cpp='$CXXCPP $CPPFLAGS'
25692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25697 /* end confdefs.h. */
25698 #include <math.h>
25699 #ifdef HAVE_IEEEFP_H
25700 #include <ieeefp.h>
25701 #endif
25704 main ()
25706 log10l(0);
25708 return 0;
25710 _ACEOF
25711 if ac_fn_cxx_try_compile "$LINENO"; then :
25712 glibcxx_cv_func_log10l_use=yes
25713 else
25714 glibcxx_cv_func_log10l_use=no
25716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25717 ac_ext=c
25718 ac_cpp='$CPP $CPPFLAGS'
25719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25728 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25730 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25731 for ac_func in log10l
25732 do :
25733 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25734 if test "x$ac_cv_func_log10l" = x""yes; then :
25735 cat >>confdefs.h <<_ACEOF
25736 #define HAVE_LOG10L 1
25737 _ACEOF
25740 done
25742 else
25744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25745 $as_echo_n "checking for _log10l declaration... " >&6; }
25746 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25747 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25748 $as_echo_n "(cached) " >&6
25749 else
25752 ac_ext=cpp
25753 ac_cpp='$CXXCPP $CPPFLAGS'
25754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25759 /* end confdefs.h. */
25760 #include <math.h>
25761 #ifdef HAVE_IEEEFP_H
25762 #include <ieeefp.h>
25763 #endif
25766 main ()
25768 _log10l(0);
25770 return 0;
25772 _ACEOF
25773 if ac_fn_cxx_try_compile "$LINENO"; then :
25774 glibcxx_cv_func__log10l_use=yes
25775 else
25776 glibcxx_cv_func__log10l_use=no
25778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25779 ac_ext=c
25780 ac_cpp='$CPP $CPPFLAGS'
25781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25790 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25792 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25793 for ac_func in _log10l
25794 do :
25795 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25796 if test "x$ac_cv_func__log10l" = x""yes; then :
25797 cat >>confdefs.h <<_ACEOF
25798 #define HAVE__LOG10L 1
25799 _ACEOF
25802 done
25811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25812 $as_echo_n "checking for modfl declaration... " >&6; }
25813 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25814 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25815 $as_echo_n "(cached) " >&6
25816 else
25819 ac_ext=cpp
25820 ac_cpp='$CXXCPP $CPPFLAGS'
25821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25826 /* end confdefs.h. */
25827 #include <math.h>
25829 main ()
25831 modfl(0, 0);
25833 return 0;
25835 _ACEOF
25836 if ac_fn_cxx_try_compile "$LINENO"; then :
25837 glibcxx_cv_func_modfl_use=yes
25838 else
25839 glibcxx_cv_func_modfl_use=no
25841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25842 ac_ext=c
25843 ac_cpp='$CPP $CPPFLAGS'
25844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25853 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25855 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25856 for ac_func in modfl
25857 do :
25858 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25859 if test "x$ac_cv_func_modfl" = x""yes; then :
25860 cat >>confdefs.h <<_ACEOF
25861 #define HAVE_MODFL 1
25862 _ACEOF
25865 done
25867 else
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25870 $as_echo_n "checking for _modfl declaration... " >&6; }
25871 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25872 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25873 $as_echo_n "(cached) " >&6
25874 else
25877 ac_ext=cpp
25878 ac_cpp='$CXXCPP $CPPFLAGS'
25879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25884 /* end confdefs.h. */
25885 #include <math.h>
25887 main ()
25889 _modfl(0, 0);
25891 return 0;
25893 _ACEOF
25894 if ac_fn_cxx_try_compile "$LINENO"; then :
25895 glibcxx_cv_func__modfl_use=yes
25896 else
25897 glibcxx_cv_func__modfl_use=no
25899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25900 ac_ext=c
25901 ac_cpp='$CPP $CPPFLAGS'
25902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25911 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25913 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25914 for ac_func in _modfl
25915 do :
25916 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25917 if test "x$ac_cv_func__modfl" = x""yes; then :
25918 cat >>confdefs.h <<_ACEOF
25919 #define HAVE__MODFL 1
25920 _ACEOF
25923 done
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25933 $as_echo_n "checking for powl declaration... " >&6; }
25934 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25935 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25936 $as_echo_n "(cached) " >&6
25937 else
25940 ac_ext=cpp
25941 ac_cpp='$CXXCPP $CPPFLAGS'
25942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25947 /* end confdefs.h. */
25948 #include <math.h>
25950 main ()
25952 powl(0, 0);
25954 return 0;
25956 _ACEOF
25957 if ac_fn_cxx_try_compile "$LINENO"; then :
25958 glibcxx_cv_func_powl_use=yes
25959 else
25960 glibcxx_cv_func_powl_use=no
25962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25963 ac_ext=c
25964 ac_cpp='$CPP $CPPFLAGS'
25965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25974 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25976 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25977 for ac_func in powl
25978 do :
25979 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25980 if test "x$ac_cv_func_powl" = x""yes; then :
25981 cat >>confdefs.h <<_ACEOF
25982 #define HAVE_POWL 1
25983 _ACEOF
25986 done
25988 else
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25991 $as_echo_n "checking for _powl declaration... " >&6; }
25992 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25993 if test "${glibcxx_cv_func__powl_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>
26008 main ()
26010 _powl(0, 0);
26012 return 0;
26014 _ACEOF
26015 if ac_fn_cxx_try_compile "$LINENO"; then :
26016 glibcxx_cv_func__powl_use=yes
26017 else
26018 glibcxx_cv_func__powl_use=no
26020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26021 ac_ext=c
26022 ac_cpp='$CPP $CPPFLAGS'
26023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26032 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26034 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26035 for ac_func in _powl
26036 do :
26037 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26038 if test "x$ac_cv_func__powl" = x""yes; then :
26039 cat >>confdefs.h <<_ACEOF
26040 #define HAVE__POWL 1
26041 _ACEOF
26044 done
26053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26054 $as_echo_n "checking for sqrtl declaration... " >&6; }
26055 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26056 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26057 $as_echo_n "(cached) " >&6
26058 else
26061 ac_ext=cpp
26062 ac_cpp='$CXXCPP $CPPFLAGS'
26063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26068 /* end confdefs.h. */
26069 #include <math.h>
26070 #ifdef HAVE_IEEEFP_H
26071 #include <ieeefp.h>
26072 #endif
26075 main ()
26077 sqrtl(0);
26079 return 0;
26081 _ACEOF
26082 if ac_fn_cxx_try_compile "$LINENO"; then :
26083 glibcxx_cv_func_sqrtl_use=yes
26084 else
26085 glibcxx_cv_func_sqrtl_use=no
26087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26088 ac_ext=c
26089 ac_cpp='$CPP $CPPFLAGS'
26090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26099 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26101 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26102 for ac_func in sqrtl
26103 do :
26104 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26105 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26106 cat >>confdefs.h <<_ACEOF
26107 #define HAVE_SQRTL 1
26108 _ACEOF
26111 done
26113 else
26115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26116 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26117 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26118 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26119 $as_echo_n "(cached) " >&6
26120 else
26123 ac_ext=cpp
26124 ac_cpp='$CXXCPP $CPPFLAGS'
26125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26130 /* end confdefs.h. */
26131 #include <math.h>
26132 #ifdef HAVE_IEEEFP_H
26133 #include <ieeefp.h>
26134 #endif
26137 main ()
26139 _sqrtl(0);
26141 return 0;
26143 _ACEOF
26144 if ac_fn_cxx_try_compile "$LINENO"; then :
26145 glibcxx_cv_func__sqrtl_use=yes
26146 else
26147 glibcxx_cv_func__sqrtl_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__sqrtl_use" >&5
26161 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26163 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26164 for ac_func in _sqrtl
26165 do :
26166 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26167 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26168 cat >>confdefs.h <<_ACEOF
26169 #define HAVE__SQRTL 1
26170 _ACEOF
26173 done
26182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26183 $as_echo_n "checking for sincosl declaration... " >&6; }
26184 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26185 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26186 $as_echo_n "(cached) " >&6
26187 else
26190 ac_ext=cpp
26191 ac_cpp='$CXXCPP $CPPFLAGS'
26192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26197 /* end confdefs.h. */
26198 #include <math.h>
26200 main ()
26202 sincosl(0, 0, 0);
26204 return 0;
26206 _ACEOF
26207 if ac_fn_cxx_try_compile "$LINENO"; then :
26208 glibcxx_cv_func_sincosl_use=yes
26209 else
26210 glibcxx_cv_func_sincosl_use=no
26212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26213 ac_ext=c
26214 ac_cpp='$CPP $CPPFLAGS'
26215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26224 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26226 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26227 for ac_func in sincosl
26228 do :
26229 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26230 if test "x$ac_cv_func_sincosl" = x""yes; then :
26231 cat >>confdefs.h <<_ACEOF
26232 #define HAVE_SINCOSL 1
26233 _ACEOF
26236 done
26238 else
26240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26241 $as_echo_n "checking for _sincosl declaration... " >&6; }
26242 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26243 if test "${glibcxx_cv_func__sincosl_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 _sincosl(0, 0, 0);
26262 return 0;
26264 _ACEOF
26265 if ac_fn_cxx_try_compile "$LINENO"; then :
26266 glibcxx_cv_func__sincosl_use=yes
26267 else
26268 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
26282 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26284 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26285 for ac_func in _sincosl
26286 do :
26287 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26288 if test "x$ac_cv_func__sincosl" = x""yes; then :
26289 cat >>confdefs.h <<_ACEOF
26290 #define HAVE__SINCOSL 1
26291 _ACEOF
26294 done
26303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26304 $as_echo_n "checking for finitel declaration... " >&6; }
26305 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26306 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26307 $as_echo_n "(cached) " >&6
26308 else
26311 ac_ext=cpp
26312 ac_cpp='$CXXCPP $CPPFLAGS'
26313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26318 /* end confdefs.h. */
26319 #include <math.h>
26320 #ifdef HAVE_IEEEFP_H
26321 #include <ieeefp.h>
26322 #endif
26325 main ()
26327 finitel(0);
26329 return 0;
26331 _ACEOF
26332 if ac_fn_cxx_try_compile "$LINENO"; then :
26333 glibcxx_cv_func_finitel_use=yes
26334 else
26335 glibcxx_cv_func_finitel_use=no
26337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26338 ac_ext=c
26339 ac_cpp='$CPP $CPPFLAGS'
26340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26349 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26351 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26352 for ac_func in finitel
26353 do :
26354 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26355 if test "x$ac_cv_func_finitel" = x""yes; then :
26356 cat >>confdefs.h <<_ACEOF
26357 #define HAVE_FINITEL 1
26358 _ACEOF
26361 done
26363 else
26365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26366 $as_echo_n "checking for _finitel declaration... " >&6; }
26367 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26368 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26369 $as_echo_n "(cached) " >&6
26370 else
26373 ac_ext=cpp
26374 ac_cpp='$CXXCPP $CPPFLAGS'
26375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26380 /* end confdefs.h. */
26381 #include <math.h>
26382 #ifdef HAVE_IEEEFP_H
26383 #include <ieeefp.h>
26384 #endif
26387 main ()
26389 _finitel(0);
26391 return 0;
26393 _ACEOF
26394 if ac_fn_cxx_try_compile "$LINENO"; then :
26395 glibcxx_cv_func__finitel_use=yes
26396 else
26397 glibcxx_cv_func__finitel_use=no
26399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26400 ac_ext=c
26401 ac_cpp='$CPP $CPPFLAGS'
26402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26411 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26413 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26414 for ac_func in _finitel
26415 do :
26416 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26417 if test "x$ac_cv_func__finitel" = x""yes; then :
26418 cat >>confdefs.h <<_ACEOF
26419 #define HAVE__FINITEL 1
26420 _ACEOF
26423 done
26431 LIBS="$ac_save_LIBS"
26432 CXXFLAGS="$ac_save_CXXFLAGS"
26435 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26436 ac_save_CXXFLAGS="$CXXFLAGS"
26437 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26441 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26442 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26443 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26444 $as_echo_n "(cached) " >&6
26445 else
26448 ac_ext=cpp
26449 ac_cpp='$CXXCPP $CPPFLAGS'
26450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26455 /* end confdefs.h. */
26456 #include <stdlib.h>
26458 main ()
26460 at_quick_exit(0);
26462 return 0;
26464 _ACEOF
26465 if ac_fn_cxx_try_compile "$LINENO"; then :
26466 glibcxx_cv_func_at_quick_exit_use=yes
26467 else
26468 glibcxx_cv_func_at_quick_exit_use=no
26470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26471 ac_ext=c
26472 ac_cpp='$CPP $CPPFLAGS'
26473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26482 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26483 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26484 for ac_func in at_quick_exit
26485 do :
26486 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26487 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26488 cat >>confdefs.h <<_ACEOF
26489 #define HAVE_AT_QUICK_EXIT 1
26490 _ACEOF
26493 done
26498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26499 $as_echo_n "checking for quick_exit declaration... " >&6; }
26500 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26501 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26502 $as_echo_n "(cached) " >&6
26503 else
26506 ac_ext=cpp
26507 ac_cpp='$CXXCPP $CPPFLAGS'
26508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26513 /* end confdefs.h. */
26514 #include <stdlib.h>
26516 main ()
26518 quick_exit(0);
26520 return 0;
26522 _ACEOF
26523 if ac_fn_cxx_try_compile "$LINENO"; then :
26524 glibcxx_cv_func_quick_exit_use=yes
26525 else
26526 glibcxx_cv_func_quick_exit_use=no
26528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26529 ac_ext=c
26530 ac_cpp='$CPP $CPPFLAGS'
26531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26540 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26541 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26542 for ac_func in quick_exit
26543 do :
26544 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26545 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26546 cat >>confdefs.h <<_ACEOF
26547 #define HAVE_QUICK_EXIT 1
26548 _ACEOF
26551 done
26556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26557 $as_echo_n "checking for strtold declaration... " >&6; }
26558 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26559 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26560 $as_echo_n "(cached) " >&6
26561 else
26564 ac_ext=cpp
26565 ac_cpp='$CXXCPP $CPPFLAGS'
26566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26571 /* end confdefs.h. */
26572 #include <stdlib.h>
26574 main ()
26576 strtold(0, 0);
26578 return 0;
26580 _ACEOF
26581 if ac_fn_cxx_try_compile "$LINENO"; then :
26582 glibcxx_cv_func_strtold_use=yes
26583 else
26584 glibcxx_cv_func_strtold_use=no
26586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26587 ac_ext=c
26588 ac_cpp='$CPP $CPPFLAGS'
26589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26598 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26599 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26600 for ac_func in strtold
26601 do :
26602 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26603 if test "x$ac_cv_func_strtold" = x""yes; then :
26604 cat >>confdefs.h <<_ACEOF
26605 #define HAVE_STRTOLD 1
26606 _ACEOF
26609 done
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26617 $as_echo_n "checking for strtof declaration... " >&6; }
26618 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26619 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <stdlib.h>
26634 main ()
26636 strtof(0, 0);
26638 return 0;
26640 _ACEOF
26641 if ac_fn_cxx_try_compile "$LINENO"; then :
26642 glibcxx_cv_func_strtof_use=yes
26643 else
26644 glibcxx_cv_func_strtof_use=no
26646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26647 ac_ext=c
26648 ac_cpp='$CPP $CPPFLAGS'
26649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26658 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26659 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26660 for ac_func in strtof
26661 do :
26662 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26663 if test "x$ac_cv_func_strtof" = x""yes; then :
26664 cat >>confdefs.h <<_ACEOF
26665 #define HAVE_STRTOF 1
26666 _ACEOF
26669 done
26676 CXXFLAGS="$ac_save_CXXFLAGS"
26679 # For /dev/random and /dev/urandom for TR1.
26682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26683 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26684 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26685 $as_echo_n "(cached) " >&6
26686 else
26688 if test -r /dev/random && test -r /dev/urandom; then
26689 ## For MSys environment the test above is detect as false-positive
26690 ## on mingw-targets. So disable it explicit for them.
26691 case ${target_os} in
26692 *mingw*) glibcxx_cv_random_tr1=no ;;
26693 *) glibcxx_cv_random_tr1=yes ;;
26694 esac
26695 else
26696 glibcxx_cv_random_tr1=no;
26701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26702 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26704 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26706 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26712 # For TLS support.
26715 # Check whether --enable-tls was given.
26716 if test "${enable_tls+set}" = set; then :
26717 enableval=$enable_tls;
26718 case "$enableval" in
26719 yes|no) ;;
26720 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26721 esac
26723 else
26724 enable_tls=yes
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26729 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26730 if test "${gcc_cv_have_tls+set}" = set; then :
26731 $as_echo_n "(cached) " >&6
26732 else
26734 if test "$cross_compiling" = yes; then :
26735 if test x$gcc_no_link = xyes; then
26736 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26739 /* end confdefs.h. */
26740 __thread int a; int b; int main() { return a = b; }
26741 _ACEOF
26742 if ac_fn_c_try_link "$LINENO"; then :
26743 chktls_save_LDFLAGS="$LDFLAGS"
26744 case $host in
26745 *-*-linux*)
26746 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26748 esac
26749 chktls_save_CFLAGS="$CFLAGS"
26750 CFLAGS="-fPIC $CFLAGS"
26751 if test x$gcc_no_link = xyes; then
26752 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26755 /* end confdefs.h. */
26756 int f() { return 0; }
26757 _ACEOF
26758 if ac_fn_c_try_link "$LINENO"; then :
26759 if test x$gcc_no_link = xyes; then
26760 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26763 /* end confdefs.h. */
26764 __thread int a; int b; int f() { return a = b; }
26765 _ACEOF
26766 if ac_fn_c_try_link "$LINENO"; then :
26767 gcc_cv_have_tls=yes
26768 else
26769 gcc_cv_have_tls=no
26771 rm -f core conftest.err conftest.$ac_objext \
26772 conftest$ac_exeext conftest.$ac_ext
26773 else
26774 gcc_cv_have_tls=yes
26776 rm -f core conftest.err conftest.$ac_objext \
26777 conftest$ac_exeext conftest.$ac_ext
26778 CFLAGS="$chktls_save_CFLAGS"
26779 LDFLAGS="$chktls_save_LDFLAGS"
26780 else
26781 gcc_cv_have_tls=no
26783 rm -f core conftest.err conftest.$ac_objext \
26784 conftest$ac_exeext conftest.$ac_ext
26787 else
26788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26789 /* end confdefs.h. */
26790 __thread int a; int b; int main() { return a = b; }
26791 _ACEOF
26792 if ac_fn_c_try_run "$LINENO"; then :
26793 chktls_save_LDFLAGS="$LDFLAGS"
26794 LDFLAGS="-static $LDFLAGS"
26795 if test x$gcc_no_link = xyes; then
26796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26799 /* end confdefs.h. */
26800 int main() { return 0; }
26801 _ACEOF
26802 if ac_fn_c_try_link "$LINENO"; then :
26803 if test "$cross_compiling" = yes; then :
26804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26806 as_fn_error "cannot run test program while cross compiling
26807 See \`config.log' for more details." "$LINENO" 5; }
26808 else
26809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26810 /* end confdefs.h. */
26811 __thread int a; int b; int main() { return a = b; }
26812 _ACEOF
26813 if ac_fn_c_try_run "$LINENO"; then :
26814 gcc_cv_have_tls=yes
26815 else
26816 gcc_cv_have_tls=no
26818 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26819 conftest.$ac_objext conftest.beam conftest.$ac_ext
26822 else
26823 gcc_cv_have_tls=yes
26825 rm -f core conftest.err conftest.$ac_objext \
26826 conftest$ac_exeext conftest.$ac_ext
26827 LDFLAGS="$chktls_save_LDFLAGS"
26828 if test $gcc_cv_have_tls = yes; then
26829 chktls_save_CFLAGS="$CFLAGS"
26830 thread_CFLAGS=failed
26831 for flag in '' '-pthread' '-lpthread'; do
26832 CFLAGS="$flag $chktls_save_CFLAGS"
26833 if test x$gcc_no_link = xyes; then
26834 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26837 /* end confdefs.h. */
26838 #include <pthread.h>
26839 void *g(void *d) { return NULL; }
26841 main ()
26843 pthread_t t; pthread_create(&t,NULL,g,NULL);
26845 return 0;
26847 _ACEOF
26848 if ac_fn_c_try_link "$LINENO"; then :
26849 thread_CFLAGS="$flag"
26851 rm -f core conftest.err conftest.$ac_objext \
26852 conftest$ac_exeext conftest.$ac_ext
26853 if test "X$thread_CFLAGS" != Xfailed; then
26854 break
26856 done
26857 CFLAGS="$chktls_save_CFLAGS"
26858 if test "X$thread_CFLAGS" != Xfailed; then
26859 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26860 if test "$cross_compiling" = yes; then :
26861 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26862 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26863 as_fn_error "cannot run test program while cross compiling
26864 See \`config.log' for more details." "$LINENO" 5; }
26865 else
26866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26867 /* end confdefs.h. */
26868 #include <pthread.h>
26869 __thread int a;
26870 static int *volatile a_in_other_thread;
26871 static void *
26872 thread_func (void *arg)
26874 a_in_other_thread = &a;
26875 return (void *)0;
26878 main ()
26880 pthread_t thread;
26881 void *thread_retval;
26882 int *volatile a_in_main_thread;
26883 a_in_main_thread = &a;
26884 if (pthread_create (&thread, (pthread_attr_t *)0,
26885 thread_func, (void *)0))
26886 return 0;
26887 if (pthread_join (thread, &thread_retval))
26888 return 0;
26889 return (a_in_other_thread == a_in_main_thread);
26891 return 0;
26893 _ACEOF
26894 if ac_fn_c_try_run "$LINENO"; then :
26895 gcc_cv_have_tls=yes
26896 else
26897 gcc_cv_have_tls=no
26899 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26900 conftest.$ac_objext conftest.beam conftest.$ac_ext
26903 CFLAGS="$chktls_save_CFLAGS"
26906 else
26907 gcc_cv_have_tls=no
26909 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26910 conftest.$ac_objext conftest.beam conftest.$ac_ext
26914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26915 $as_echo "$gcc_cv_have_tls" >&6; }
26916 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26918 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26922 for ac_func in __cxa_thread_atexit_impl
26923 do :
26924 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
26925 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
26926 cat >>confdefs.h <<_ACEOF
26927 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
26928 _ACEOF
26931 done
26934 # For iconv support.
26936 if test "X$prefix" = "XNONE"; then
26937 acl_final_prefix="$ac_default_prefix"
26938 else
26939 acl_final_prefix="$prefix"
26941 if test "X$exec_prefix" = "XNONE"; then
26942 acl_final_exec_prefix='${prefix}'
26943 else
26944 acl_final_exec_prefix="$exec_prefix"
26946 acl_save_prefix="$prefix"
26947 prefix="$acl_final_prefix"
26948 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26949 prefix="$acl_save_prefix"
26952 # Check whether --with-gnu-ld was given.
26953 if test "${with_gnu_ld+set}" = set; then :
26954 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26955 else
26956 with_gnu_ld=no
26959 # Prepare PATH_SEPARATOR.
26960 # The user is always right.
26961 if test "${PATH_SEPARATOR+set}" != set; then
26962 echo "#! /bin/sh" >conf$$.sh
26963 echo "exit 0" >>conf$$.sh
26964 chmod +x conf$$.sh
26965 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26966 PATH_SEPARATOR=';'
26967 else
26968 PATH_SEPARATOR=:
26970 rm -f conf$$.sh
26972 ac_prog=ld
26973 if test "$GCC" = yes; then
26974 # Check if gcc -print-prog-name=ld gives a path.
26975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26976 $as_echo_n "checking for ld used by GCC... " >&6; }
26977 case $host in
26978 *-*-mingw*)
26979 # gcc leaves a trailing carriage return which upsets mingw
26980 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26982 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26983 esac
26984 case $ac_prog in
26985 # Accept absolute paths.
26986 [\\/]* | [A-Za-z]:[\\/]*)
26987 re_direlt='/[^/][^/]*/\.\./'
26988 # Canonicalize the path of ld
26989 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26990 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26991 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26992 done
26993 test -z "$LD" && LD="$ac_prog"
26996 # If it fails, then pretend we aren't using GCC.
26997 ac_prog=ld
27000 # If it is relative, then search for the first ld in PATH.
27001 with_gnu_ld=unknown
27003 esac
27004 elif test "$with_gnu_ld" = yes; then
27005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27006 $as_echo_n "checking for GNU ld... " >&6; }
27007 else
27008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27009 $as_echo_n "checking for non-GNU ld... " >&6; }
27011 if test "${acl_cv_path_LD+set}" = set; then :
27012 $as_echo_n "(cached) " >&6
27013 else
27014 if test -z "$LD"; then
27015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27016 for ac_dir in $PATH; do
27017 test -z "$ac_dir" && ac_dir=.
27018 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27019 acl_cv_path_LD="$ac_dir/$ac_prog"
27020 # Check to see if the program is GNU ld. I'd rather use --version,
27021 # but apparently some GNU ld's only accept -v.
27022 # Break only if it was the GNU/non-GNU ld that we prefer.
27023 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27024 test "$with_gnu_ld" != no && break
27025 else
27026 test "$with_gnu_ld" != yes && break
27029 done
27030 IFS="$ac_save_ifs"
27031 else
27032 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27036 LD="$acl_cv_path_LD"
27037 if test -n "$LD"; then
27038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27039 $as_echo "$LD" >&6; }
27040 else
27041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27042 $as_echo "no" >&6; }
27044 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27046 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27047 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27048 $as_echo_n "(cached) " >&6
27049 else
27050 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27051 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27052 acl_cv_prog_gnu_ld=yes
27053 else
27054 acl_cv_prog_gnu_ld=no
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27058 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27059 with_gnu_ld=$acl_cv_prog_gnu_ld
27063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27064 $as_echo_n "checking for shared library run path origin... " >&6; }
27065 if test "${acl_cv_rpath+set}" = set; then :
27066 $as_echo_n "(cached) " >&6
27067 else
27069 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27070 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27071 . ./conftest.sh
27072 rm -f ./conftest.sh
27073 acl_cv_rpath=done
27076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27077 $as_echo "$acl_cv_rpath" >&6; }
27078 wl="$acl_cv_wl"
27079 libext="$acl_cv_libext"
27080 shlibext="$acl_cv_shlibext"
27081 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27082 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27083 hardcode_direct="$acl_cv_hardcode_direct"
27084 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27085 # Check whether --enable-rpath was given.
27086 if test "${enable_rpath+set}" = set; then :
27087 enableval=$enable_rpath; :
27088 else
27089 enable_rpath=yes
27099 use_additional=yes
27101 acl_save_prefix="$prefix"
27102 prefix="$acl_final_prefix"
27103 acl_save_exec_prefix="$exec_prefix"
27104 exec_prefix="$acl_final_exec_prefix"
27106 eval additional_includedir=\"$includedir\"
27107 eval additional_libdir=\"$libdir\"
27109 exec_prefix="$acl_save_exec_prefix"
27110 prefix="$acl_save_prefix"
27113 # Check whether --with-libiconv-prefix was given.
27114 if test "${with_libiconv_prefix+set}" = set; then :
27115 withval=$with_libiconv_prefix;
27116 if test "X$withval" = "Xno"; then
27117 use_additional=no
27118 else
27119 if test "X$withval" = "X"; then
27121 acl_save_prefix="$prefix"
27122 prefix="$acl_final_prefix"
27123 acl_save_exec_prefix="$exec_prefix"
27124 exec_prefix="$acl_final_exec_prefix"
27126 eval additional_includedir=\"$includedir\"
27127 eval additional_libdir=\"$libdir\"
27129 exec_prefix="$acl_save_exec_prefix"
27130 prefix="$acl_save_prefix"
27132 else
27133 additional_includedir="$withval/include"
27134 additional_libdir="$withval/lib"
27140 LIBICONV=
27141 LTLIBICONV=
27142 INCICONV=
27143 rpathdirs=
27144 ltrpathdirs=
27145 names_already_handled=
27146 names_next_round='iconv '
27147 while test -n "$names_next_round"; do
27148 names_this_round="$names_next_round"
27149 names_next_round=
27150 for name in $names_this_round; do
27151 already_handled=
27152 for n in $names_already_handled; do
27153 if test "$n" = "$name"; then
27154 already_handled=yes
27155 break
27157 done
27158 if test -z "$already_handled"; then
27159 names_already_handled="$names_already_handled $name"
27160 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27161 eval value=\"\$HAVE_LIB$uppername\"
27162 if test -n "$value"; then
27163 if test "$value" = yes; then
27164 eval value=\"\$LIB$uppername\"
27165 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27166 eval value=\"\$LTLIB$uppername\"
27167 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27168 else
27171 else
27172 found_dir=
27173 found_la=
27174 found_so=
27175 found_a=
27176 if test $use_additional = yes; then
27177 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27178 found_dir="$additional_libdir"
27179 found_so="$additional_libdir/lib$name.$shlibext"
27180 if test -f "$additional_libdir/lib$name.la"; then
27181 found_la="$additional_libdir/lib$name.la"
27183 else
27184 if test -f "$additional_libdir/lib$name.$libext"; then
27185 found_dir="$additional_libdir"
27186 found_a="$additional_libdir/lib$name.$libext"
27187 if test -f "$additional_libdir/lib$name.la"; then
27188 found_la="$additional_libdir/lib$name.la"
27193 if test "X$found_dir" = "X"; then
27194 for x in $LDFLAGS $LTLIBICONV; do
27196 acl_save_prefix="$prefix"
27197 prefix="$acl_final_prefix"
27198 acl_save_exec_prefix="$exec_prefix"
27199 exec_prefix="$acl_final_exec_prefix"
27200 eval x=\"$x\"
27201 exec_prefix="$acl_save_exec_prefix"
27202 prefix="$acl_save_prefix"
27204 case "$x" in
27205 -L*)
27206 dir=`echo "X$x" | sed -e 's/^X-L//'`
27207 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27208 found_dir="$dir"
27209 found_so="$dir/lib$name.$shlibext"
27210 if test -f "$dir/lib$name.la"; then
27211 found_la="$dir/lib$name.la"
27213 else
27214 if test -f "$dir/lib$name.$libext"; then
27215 found_dir="$dir"
27216 found_a="$dir/lib$name.$libext"
27217 if test -f "$dir/lib$name.la"; then
27218 found_la="$dir/lib$name.la"
27223 esac
27224 if test "X$found_dir" != "X"; then
27225 break
27227 done
27229 if test "X$found_dir" != "X"; then
27230 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27231 if test "X$found_so" != "X"; then
27232 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27233 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27234 else
27235 haveit=
27236 for x in $ltrpathdirs; do
27237 if test "X$x" = "X$found_dir"; then
27238 haveit=yes
27239 break
27241 done
27242 if test -z "$haveit"; then
27243 ltrpathdirs="$ltrpathdirs $found_dir"
27245 if test "$hardcode_direct" = yes; then
27246 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27247 else
27248 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27249 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27250 haveit=
27251 for x in $rpathdirs; do
27252 if test "X$x" = "X$found_dir"; then
27253 haveit=yes
27254 break
27256 done
27257 if test -z "$haveit"; then
27258 rpathdirs="$rpathdirs $found_dir"
27260 else
27261 haveit=
27262 for x in $LDFLAGS $LIBICONV; do
27264 acl_save_prefix="$prefix"
27265 prefix="$acl_final_prefix"
27266 acl_save_exec_prefix="$exec_prefix"
27267 exec_prefix="$acl_final_exec_prefix"
27268 eval x=\"$x\"
27269 exec_prefix="$acl_save_exec_prefix"
27270 prefix="$acl_save_prefix"
27272 if test "X$x" = "X-L$found_dir"; then
27273 haveit=yes
27274 break
27276 done
27277 if test -z "$haveit"; then
27278 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27280 if test "$hardcode_minus_L" != no; then
27281 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27282 else
27283 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27288 else
27289 if test "X$found_a" != "X"; then
27290 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27291 else
27292 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27295 additional_includedir=
27296 case "$found_dir" in
27297 */lib | */lib/)
27298 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27299 additional_includedir="$basedir/include"
27301 esac
27302 if test "X$additional_includedir" != "X"; then
27303 if test "X$additional_includedir" != "X/usr/include"; then
27304 haveit=
27305 if test "X$additional_includedir" = "X/usr/local/include"; then
27306 if test -n "$GCC"; then
27307 case $host_os in
27308 linux*) haveit=yes;;
27309 esac
27312 if test -z "$haveit"; then
27313 for x in $CPPFLAGS $INCICONV; do
27315 acl_save_prefix="$prefix"
27316 prefix="$acl_final_prefix"
27317 acl_save_exec_prefix="$exec_prefix"
27318 exec_prefix="$acl_final_exec_prefix"
27319 eval x=\"$x\"
27320 exec_prefix="$acl_save_exec_prefix"
27321 prefix="$acl_save_prefix"
27323 if test "X$x" = "X-I$additional_includedir"; then
27324 haveit=yes
27325 break
27327 done
27328 if test -z "$haveit"; then
27329 if test -d "$additional_includedir"; then
27330 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27336 if test -n "$found_la"; then
27337 save_libdir="$libdir"
27338 case "$found_la" in
27339 */* | *\\*) . "$found_la" ;;
27340 *) . "./$found_la" ;;
27341 esac
27342 libdir="$save_libdir"
27343 for dep in $dependency_libs; do
27344 case "$dep" in
27345 -L*)
27346 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27347 if test "X$additional_libdir" != "X/usr/lib"; then
27348 haveit=
27349 if test "X$additional_libdir" = "X/usr/local/lib"; then
27350 if test -n "$GCC"; then
27351 case $host_os in
27352 linux*) haveit=yes;;
27353 esac
27356 if test -z "$haveit"; then
27357 haveit=
27358 for x in $LDFLAGS $LIBICONV; do
27360 acl_save_prefix="$prefix"
27361 prefix="$acl_final_prefix"
27362 acl_save_exec_prefix="$exec_prefix"
27363 exec_prefix="$acl_final_exec_prefix"
27364 eval x=\"$x\"
27365 exec_prefix="$acl_save_exec_prefix"
27366 prefix="$acl_save_prefix"
27368 if test "X$x" = "X-L$additional_libdir"; then
27369 haveit=yes
27370 break
27372 done
27373 if test -z "$haveit"; then
27374 if test -d "$additional_libdir"; then
27375 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27378 haveit=
27379 for x in $LDFLAGS $LTLIBICONV; do
27381 acl_save_prefix="$prefix"
27382 prefix="$acl_final_prefix"
27383 acl_save_exec_prefix="$exec_prefix"
27384 exec_prefix="$acl_final_exec_prefix"
27385 eval x=\"$x\"
27386 exec_prefix="$acl_save_exec_prefix"
27387 prefix="$acl_save_prefix"
27389 if test "X$x" = "X-L$additional_libdir"; then
27390 haveit=yes
27391 break
27393 done
27394 if test -z "$haveit"; then
27395 if test -d "$additional_libdir"; then
27396 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27402 -R*)
27403 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27404 if test "$enable_rpath" != no; then
27405 haveit=
27406 for x in $rpathdirs; do
27407 if test "X$x" = "X$dir"; then
27408 haveit=yes
27409 break
27411 done
27412 if test -z "$haveit"; then
27413 rpathdirs="$rpathdirs $dir"
27415 haveit=
27416 for x in $ltrpathdirs; do
27417 if test "X$x" = "X$dir"; then
27418 haveit=yes
27419 break
27421 done
27422 if test -z "$haveit"; then
27423 ltrpathdirs="$ltrpathdirs $dir"
27427 -l*)
27428 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27430 *.la)
27431 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27434 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27435 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27437 esac
27438 done
27440 else
27441 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27442 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27446 done
27447 done
27448 if test "X$rpathdirs" != "X"; then
27449 if test -n "$hardcode_libdir_separator"; then
27450 alldirs=
27451 for found_dir in $rpathdirs; do
27452 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27453 done
27454 acl_save_libdir="$libdir"
27455 libdir="$alldirs"
27456 eval flag=\"$hardcode_libdir_flag_spec\"
27457 libdir="$acl_save_libdir"
27458 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27459 else
27460 for found_dir in $rpathdirs; do
27461 acl_save_libdir="$libdir"
27462 libdir="$found_dir"
27463 eval flag=\"$hardcode_libdir_flag_spec\"
27464 libdir="$acl_save_libdir"
27465 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27466 done
27469 if test "X$ltrpathdirs" != "X"; then
27470 for found_dir in $ltrpathdirs; do
27471 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27472 done
27481 am_save_CPPFLAGS="$CPPFLAGS"
27483 for element in $INCICONV; do
27484 haveit=
27485 for x in $CPPFLAGS; do
27487 acl_save_prefix="$prefix"
27488 prefix="$acl_final_prefix"
27489 acl_save_exec_prefix="$exec_prefix"
27490 exec_prefix="$acl_final_exec_prefix"
27491 eval x=\"$x\"
27492 exec_prefix="$acl_save_exec_prefix"
27493 prefix="$acl_save_prefix"
27495 if test "X$x" = "X$element"; then
27496 haveit=yes
27497 break
27499 done
27500 if test -z "$haveit"; then
27501 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27503 done
27506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27507 $as_echo_n "checking for iconv... " >&6; }
27508 if test "${am_cv_func_iconv+set}" = set; then :
27509 $as_echo_n "(cached) " >&6
27510 else
27512 am_cv_func_iconv="no, consider installing GNU libiconv"
27513 am_cv_lib_iconv=no
27514 if test x$gcc_no_link = xyes; then
27515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27518 /* end confdefs.h. */
27519 #include <stdlib.h>
27520 #include <iconv.h>
27522 main ()
27524 iconv_t cd = iconv_open("","");
27525 iconv(cd,NULL,NULL,NULL,NULL);
27526 iconv_close(cd);
27528 return 0;
27530 _ACEOF
27531 if ac_fn_c_try_link "$LINENO"; then :
27532 am_cv_func_iconv=yes
27534 rm -f core conftest.err conftest.$ac_objext \
27535 conftest$ac_exeext conftest.$ac_ext
27536 if test "$am_cv_func_iconv" != yes; then
27537 am_save_LIBS="$LIBS"
27538 LIBS="$LIBS $LIBICONV"
27539 if test x$gcc_no_link = xyes; then
27540 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27543 /* end confdefs.h. */
27544 #include <stdlib.h>
27545 #include <iconv.h>
27547 main ()
27549 iconv_t cd = iconv_open("","");
27550 iconv(cd,NULL,NULL,NULL,NULL);
27551 iconv_close(cd);
27553 return 0;
27555 _ACEOF
27556 if ac_fn_c_try_link "$LINENO"; then :
27557 am_cv_lib_iconv=yes
27558 am_cv_func_iconv=yes
27560 rm -f core conftest.err conftest.$ac_objext \
27561 conftest$ac_exeext conftest.$ac_ext
27562 LIBS="$am_save_LIBS"
27566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27567 $as_echo "$am_cv_func_iconv" >&6; }
27568 if test "$am_cv_func_iconv" = yes; then
27570 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27573 if test "$am_cv_lib_iconv" = yes; then
27574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27575 $as_echo_n "checking how to link with libiconv... " >&6; }
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27577 $as_echo "$LIBICONV" >&6; }
27578 else
27579 CPPFLAGS="$am_save_CPPFLAGS"
27580 LIBICONV=
27581 LTLIBICONV=
27586 if test "$am_cv_func_iconv" = yes; then
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27588 $as_echo_n "checking for iconv declaration... " >&6; }
27589 if test "${am_cv_proto_iconv+set}" = set; then :
27590 $as_echo_n "(cached) " >&6
27591 else
27593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27594 /* end confdefs.h. */
27596 #include <stdlib.h>
27597 #include <iconv.h>
27598 extern
27599 #ifdef __cplusplus
27601 #endif
27602 #if defined(__STDC__) || defined(__cplusplus)
27603 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27604 #else
27605 size_t iconv();
27606 #endif
27609 main ()
27613 return 0;
27615 _ACEOF
27616 if ac_fn_c_try_compile "$LINENO"; then :
27617 am_cv_proto_iconv_arg1=""
27618 else
27619 am_cv_proto_iconv_arg1="const"
27621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27622 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);"
27625 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27627 }$am_cv_proto_iconv" >&5
27628 $as_echo "${ac_t:-
27629 }$am_cv_proto_iconv" >&6; }
27631 cat >>confdefs.h <<_ACEOF
27632 #define ICONV_CONST $am_cv_proto_iconv_arg1
27633 _ACEOF
27638 else
27640 # This lets us hard-code the functionality we know we'll have in the cross
27641 # target environment. "Let" is a sugar-coated word placed on an especially
27642 # dull and tedious hack, actually.
27644 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27645 # that involve linking, can't be used:
27646 # "cannot open sim-crt0.o"
27647 # "cannot open crt0.o"
27648 # etc. All this is because there currently exists no unified, consistent
27649 # way for top level CC information to be passed down to target directories:
27650 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27651 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27652 # crosses can be removed.
27654 # If Canadian cross, then don't pick up tools from the build directory.
27655 # Used only in GLIBCXX_EXPORT_INCLUDES.
27656 if test -n "$with_cross_host" &&
27657 test x"$build_alias" != x"$with_cross_host" &&
27658 test x"$build" != x"$target";
27659 then
27660 CANADIAN=yes
27661 else
27662 CANADIAN=no
27665 # Construct crosses by hand, eliminating bits that need ld...
27666 # GLIBCXX_CHECK_MATH_SUPPORT
27668 # First, test for "known" system libraries. We may be using newlib even
27669 # on a hosted environment.
27670 if test "x${with_newlib}" = "xyes"; then
27671 os_include_dir="os/newlib"
27672 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27675 # GLIBCXX_CHECK_STDLIB_SUPPORT
27676 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27679 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27681 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27683 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27685 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27687 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27689 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27691 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27693 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27695 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27697 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27699 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27701 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27703 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27705 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27707 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27709 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27711 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27713 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27715 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27717 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27719 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27721 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27724 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27726 else
27728 # Base decisions on target environment.
27729 case "${host}" in
27730 arm*-*-symbianelf*)
27731 # This is a freestanding configuration; there is nothing to do here.
27734 mips*-sde-elf*)
27735 # These definitions are for the SDE C library rather than newlib.
27736 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27739 # All these tests are for C++; save the language and the compiler flags.
27740 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27741 # found in GLIBCXX_CONFIGURE.
27743 ac_ext=cpp
27744 ac_cpp='$CXXCPP $CPPFLAGS'
27745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27749 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27750 ac_save_CXXFLAGS="$CXXFLAGS"
27752 # Check for maintainer-mode bits.
27753 if test x"$USE_MAINTAINER_MODE" = xno; then
27754 WERROR=''
27755 else
27756 WERROR='-Werror'
27759 # Check for -ffunction-sections -fdata-sections
27760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27761 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27762 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27764 /* end confdefs.h. */
27765 int foo; void bar() { };
27767 main ()
27771 return 0;
27773 _ACEOF
27774 if ac_fn_cxx_try_compile "$LINENO"; then :
27775 ac_fdsections=yes
27776 else
27777 ac_fdsections=no
27779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27780 if test "$ac_test_CXXFLAGS" = set; then
27781 CXXFLAGS="$ac_save_CXXFLAGS"
27782 else
27783 # this is the suspicious part
27784 CXXFLAGS=''
27786 if test x"$ac_fdsections" = x"yes"; then
27787 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27790 $as_echo "$ac_fdsections" >&6; }
27792 ac_ext=c
27793 ac_cpp='$CPP $CPPFLAGS'
27794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27802 # If we're not using GNU ld, then there's no point in even trying these
27803 # tests. Check for that first. We should have already tested for gld
27804 # by now (in libtool), but require it now just to be safe...
27805 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27806 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27810 # The name set by libtool depends on the version of libtool. Shame on us
27811 # for depending on an impl detail, but c'est la vie. Older versions used
27812 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27813 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27814 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27815 # set (hence we're using an older libtool), then set it.
27816 if test x${with_gnu_ld+set} != xset; then
27817 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27818 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27819 with_gnu_ld=no
27820 else
27821 with_gnu_ld=$ac_cv_prog_gnu_ld
27825 # Start by getting the version number. I think the libtool test already
27826 # does some of this, but throws away the result.
27827 glibcxx_ld_is_gold=no
27828 if test x"$with_gnu_ld" = x"yes"; then
27829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27830 $as_echo_n "checking for ld version... " >&6; }
27832 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27833 glibcxx_ld_is_gold=yes
27835 ldver=`$LD --version 2>/dev/null |
27836 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'`
27838 glibcxx_gnu_ld_version=`echo $ldver | \
27839 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27841 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27844 # Set --gc-sections.
27845 glibcxx_have_gc_sections=no
27846 if test "$glibcxx_ld_is_gold" = "yes"; then
27847 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27848 glibcxx_have_gc_sections=yes
27850 else
27851 glibcxx_gcsections_min_ld=21602
27852 if test x"$with_gnu_ld" = x"yes" &&
27853 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27854 glibcxx_have_gc_sections=yes
27857 if test "$glibcxx_have_gc_sections" = "yes"; then
27858 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27859 # NB: This flag only works reliably after 2.16.1. Configure tests
27860 # for this are difficult, so hard wire a value that should work.
27862 ac_test_CFLAGS="${CFLAGS+set}"
27863 ac_save_CFLAGS="$CFLAGS"
27864 CFLAGS='-Wl,--gc-sections'
27866 # Check for -Wl,--gc-sections
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27868 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27869 if test x$gcc_no_link = xyes; then
27870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27873 /* end confdefs.h. */
27874 int one(void) { return 1; }
27875 int two(void) { return 2; }
27878 main ()
27880 two();
27882 return 0;
27884 _ACEOF
27885 if ac_fn_c_try_link "$LINENO"; then :
27886 ac_gcsections=yes
27887 else
27888 ac_gcsections=no
27890 rm -f core conftest.err conftest.$ac_objext \
27891 conftest$ac_exeext conftest.$ac_ext
27892 if test "$ac_gcsections" = "yes"; then
27893 rm -f conftest.c
27894 touch conftest.c
27895 if $CC -c conftest.c; then
27896 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27897 grep "Warning: gc-sections option ignored" > /dev/null; then
27898 ac_gcsections=no
27901 rm -f conftest.c conftest.o conftest
27903 if test "$ac_gcsections" = "yes"; then
27904 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27907 $as_echo "$ac_gcsections" >&6; }
27909 if test "$ac_test_CFLAGS" = set; then
27910 CFLAGS="$ac_save_CFLAGS"
27911 else
27912 # this is the suspicious part
27913 CFLAGS=''
27917 # Set -z,relro.
27918 # Note this is only for shared objects.
27919 ac_ld_relro=no
27920 if test x"$with_gnu_ld" = x"yes"; then
27921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27922 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27923 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27924 if test -n "$cxx_z_relo"; then
27925 OPT_LDFLAGS="-Wl,-z,relro"
27926 ac_ld_relro=yes
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27929 $as_echo "$ac_ld_relro" >&6; }
27932 # Set linker optimization flags.
27933 if test x"$with_gnu_ld" = x"yes"; then
27934 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27941 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27942 ac_save_CXXFLAGS="$CXXFLAGS"
27943 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27946 $as_echo_n "checking for sin in -lm... " >&6; }
27947 if test "${ac_cv_lib_m_sin+set}" = set; then :
27948 $as_echo_n "(cached) " >&6
27949 else
27950 ac_check_lib_save_LIBS=$LIBS
27951 LIBS="-lm $LIBS"
27952 if test x$gcc_no_link = xyes; then
27953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27956 /* end confdefs.h. */
27958 /* Override any GCC internal prototype to avoid an error.
27959 Use char because int might match the return type of a GCC
27960 builtin and then its argument prototype would still apply. */
27961 #ifdef __cplusplus
27962 extern "C"
27963 #endif
27964 char sin ();
27966 main ()
27968 return sin ();
27970 return 0;
27972 _ACEOF
27973 if ac_fn_c_try_link "$LINENO"; then :
27974 ac_cv_lib_m_sin=yes
27975 else
27976 ac_cv_lib_m_sin=no
27978 rm -f core conftest.err conftest.$ac_objext \
27979 conftest$ac_exeext conftest.$ac_ext
27980 LIBS=$ac_check_lib_save_LIBS
27982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27983 $as_echo "$ac_cv_lib_m_sin" >&6; }
27984 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27985 libm="-lm"
27988 ac_save_LIBS="$LIBS"
27989 LIBS="$LIBS $libm"
27993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27994 $as_echo_n "checking for isinf declaration... " >&6; }
27995 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27996 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27997 $as_echo_n "(cached) " >&6
27998 else
28001 ac_ext=cpp
28002 ac_cpp='$CXXCPP $CPPFLAGS'
28003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28008 /* end confdefs.h. */
28009 #include <math.h>
28010 #ifdef HAVE_IEEEFP_H
28011 #include <ieeefp.h>
28012 #endif
28015 main ()
28017 isinf(0);
28019 return 0;
28021 _ACEOF
28022 if ac_fn_cxx_try_compile "$LINENO"; then :
28023 glibcxx_cv_func_isinf_use=yes
28024 else
28025 glibcxx_cv_func_isinf_use=no
28027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28028 ac_ext=c
28029 ac_cpp='$CPP $CPPFLAGS'
28030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28039 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28041 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28042 for ac_func in isinf
28043 do :
28044 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28045 if test "x$ac_cv_func_isinf" = x""yes; then :
28046 cat >>confdefs.h <<_ACEOF
28047 #define HAVE_ISINF 1
28048 _ACEOF
28051 done
28053 else
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28056 $as_echo_n "checking for _isinf declaration... " >&6; }
28057 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28058 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28059 $as_echo_n "(cached) " >&6
28060 else
28063 ac_ext=cpp
28064 ac_cpp='$CXXCPP $CPPFLAGS'
28065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28070 /* end confdefs.h. */
28071 #include <math.h>
28072 #ifdef HAVE_IEEEFP_H
28073 #include <ieeefp.h>
28074 #endif
28077 main ()
28079 _isinf(0);
28081 return 0;
28083 _ACEOF
28084 if ac_fn_cxx_try_compile "$LINENO"; then :
28085 glibcxx_cv_func__isinf_use=yes
28086 else
28087 glibcxx_cv_func__isinf_use=no
28089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28090 ac_ext=c
28091 ac_cpp='$CPP $CPPFLAGS'
28092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28101 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28103 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28104 for ac_func in _isinf
28105 do :
28106 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28107 if test "x$ac_cv_func__isinf" = x""yes; then :
28108 cat >>confdefs.h <<_ACEOF
28109 #define HAVE__ISINF 1
28110 _ACEOF
28113 done
28122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28123 $as_echo_n "checking for isnan declaration... " >&6; }
28124 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28125 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28126 $as_echo_n "(cached) " >&6
28127 else
28130 ac_ext=cpp
28131 ac_cpp='$CXXCPP $CPPFLAGS'
28132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28137 /* end confdefs.h. */
28138 #include <math.h>
28139 #ifdef HAVE_IEEEFP_H
28140 #include <ieeefp.h>
28141 #endif
28144 main ()
28146 isnan(0);
28148 return 0;
28150 _ACEOF
28151 if ac_fn_cxx_try_compile "$LINENO"; then :
28152 glibcxx_cv_func_isnan_use=yes
28153 else
28154 glibcxx_cv_func_isnan_use=no
28156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28157 ac_ext=c
28158 ac_cpp='$CPP $CPPFLAGS'
28159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28168 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28170 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28171 for ac_func in isnan
28172 do :
28173 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28174 if test "x$ac_cv_func_isnan" = x""yes; then :
28175 cat >>confdefs.h <<_ACEOF
28176 #define HAVE_ISNAN 1
28177 _ACEOF
28180 done
28182 else
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28185 $as_echo_n "checking for _isnan declaration... " >&6; }
28186 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28187 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28188 $as_echo_n "(cached) " >&6
28189 else
28192 ac_ext=cpp
28193 ac_cpp='$CXXCPP $CPPFLAGS'
28194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28199 /* end confdefs.h. */
28200 #include <math.h>
28201 #ifdef HAVE_IEEEFP_H
28202 #include <ieeefp.h>
28203 #endif
28206 main ()
28208 _isnan(0);
28210 return 0;
28212 _ACEOF
28213 if ac_fn_cxx_try_compile "$LINENO"; then :
28214 glibcxx_cv_func__isnan_use=yes
28215 else
28216 glibcxx_cv_func__isnan_use=no
28218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28219 ac_ext=c
28220 ac_cpp='$CPP $CPPFLAGS'
28221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28230 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28232 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28233 for ac_func in _isnan
28234 do :
28235 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28236 if test "x$ac_cv_func__isnan" = x""yes; then :
28237 cat >>confdefs.h <<_ACEOF
28238 #define HAVE__ISNAN 1
28239 _ACEOF
28242 done
28251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28252 $as_echo_n "checking for finite declaration... " >&6; }
28253 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28254 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28255 $as_echo_n "(cached) " >&6
28256 else
28259 ac_ext=cpp
28260 ac_cpp='$CXXCPP $CPPFLAGS'
28261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28266 /* end confdefs.h. */
28267 #include <math.h>
28268 #ifdef HAVE_IEEEFP_H
28269 #include <ieeefp.h>
28270 #endif
28273 main ()
28275 finite(0);
28277 return 0;
28279 _ACEOF
28280 if ac_fn_cxx_try_compile "$LINENO"; then :
28281 glibcxx_cv_func_finite_use=yes
28282 else
28283 glibcxx_cv_func_finite_use=no
28285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28286 ac_ext=c
28287 ac_cpp='$CPP $CPPFLAGS'
28288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28297 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28299 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28300 for ac_func in finite
28301 do :
28302 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28303 if test "x$ac_cv_func_finite" = x""yes; then :
28304 cat >>confdefs.h <<_ACEOF
28305 #define HAVE_FINITE 1
28306 _ACEOF
28309 done
28311 else
28313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28314 $as_echo_n "checking for _finite declaration... " >&6; }
28315 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28316 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28317 $as_echo_n "(cached) " >&6
28318 else
28321 ac_ext=cpp
28322 ac_cpp='$CXXCPP $CPPFLAGS'
28323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28328 /* end confdefs.h. */
28329 #include <math.h>
28330 #ifdef HAVE_IEEEFP_H
28331 #include <ieeefp.h>
28332 #endif
28335 main ()
28337 _finite(0);
28339 return 0;
28341 _ACEOF
28342 if ac_fn_cxx_try_compile "$LINENO"; then :
28343 glibcxx_cv_func__finite_use=yes
28344 else
28345 glibcxx_cv_func__finite_use=no
28347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28348 ac_ext=c
28349 ac_cpp='$CPP $CPPFLAGS'
28350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28359 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28361 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28362 for ac_func in _finite
28363 do :
28364 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28365 if test "x$ac_cv_func__finite" = x""yes; then :
28366 cat >>confdefs.h <<_ACEOF
28367 #define HAVE__FINITE 1
28368 _ACEOF
28371 done
28380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28381 $as_echo_n "checking for sincos declaration... " >&6; }
28382 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28383 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28384 $as_echo_n "(cached) " >&6
28385 else
28388 ac_ext=cpp
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28395 /* end confdefs.h. */
28396 #include <math.h>
28398 main ()
28400 sincos(0, 0, 0);
28402 return 0;
28404 _ACEOF
28405 if ac_fn_cxx_try_compile "$LINENO"; then :
28406 glibcxx_cv_func_sincos_use=yes
28407 else
28408 glibcxx_cv_func_sincos_use=no
28410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28411 ac_ext=c
28412 ac_cpp='$CPP $CPPFLAGS'
28413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28422 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28424 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28425 for ac_func in sincos
28426 do :
28427 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28428 if test "x$ac_cv_func_sincos" = x""yes; then :
28429 cat >>confdefs.h <<_ACEOF
28430 #define HAVE_SINCOS 1
28431 _ACEOF
28434 done
28436 else
28438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28439 $as_echo_n "checking for _sincos declaration... " >&6; }
28440 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28441 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28442 $as_echo_n "(cached) " >&6
28443 else
28446 ac_ext=cpp
28447 ac_cpp='$CXXCPP $CPPFLAGS'
28448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28453 /* end confdefs.h. */
28454 #include <math.h>
28456 main ()
28458 _sincos(0, 0, 0);
28460 return 0;
28462 _ACEOF
28463 if ac_fn_cxx_try_compile "$LINENO"; then :
28464 glibcxx_cv_func__sincos_use=yes
28465 else
28466 glibcxx_cv_func__sincos_use=no
28468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28469 ac_ext=c
28470 ac_cpp='$CPP $CPPFLAGS'
28471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28480 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28482 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28483 for ac_func in _sincos
28484 do :
28485 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28486 if test "x$ac_cv_func__sincos" = x""yes; then :
28487 cat >>confdefs.h <<_ACEOF
28488 #define HAVE__SINCOS 1
28489 _ACEOF
28492 done
28501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28502 $as_echo_n "checking for fpclass declaration... " >&6; }
28503 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28504 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28505 $as_echo_n "(cached) " >&6
28506 else
28509 ac_ext=cpp
28510 ac_cpp='$CXXCPP $CPPFLAGS'
28511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28516 /* end confdefs.h. */
28517 #include <math.h>
28518 #ifdef HAVE_IEEEFP_H
28519 #include <ieeefp.h>
28520 #endif
28523 main ()
28525 fpclass(0);
28527 return 0;
28529 _ACEOF
28530 if ac_fn_cxx_try_compile "$LINENO"; then :
28531 glibcxx_cv_func_fpclass_use=yes
28532 else
28533 glibcxx_cv_func_fpclass_use=no
28535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28536 ac_ext=c
28537 ac_cpp='$CPP $CPPFLAGS'
28538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28547 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28549 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28550 for ac_func in fpclass
28551 do :
28552 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28553 if test "x$ac_cv_func_fpclass" = x""yes; then :
28554 cat >>confdefs.h <<_ACEOF
28555 #define HAVE_FPCLASS 1
28556 _ACEOF
28559 done
28561 else
28563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28564 $as_echo_n "checking for _fpclass declaration... " >&6; }
28565 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28566 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28567 $as_echo_n "(cached) " >&6
28568 else
28571 ac_ext=cpp
28572 ac_cpp='$CXXCPP $CPPFLAGS'
28573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28578 /* end confdefs.h. */
28579 #include <math.h>
28580 #ifdef HAVE_IEEEFP_H
28581 #include <ieeefp.h>
28582 #endif
28585 main ()
28587 _fpclass(0);
28589 return 0;
28591 _ACEOF
28592 if ac_fn_cxx_try_compile "$LINENO"; then :
28593 glibcxx_cv_func__fpclass_use=yes
28594 else
28595 glibcxx_cv_func__fpclass_use=no
28597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28598 ac_ext=c
28599 ac_cpp='$CPP $CPPFLAGS'
28600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28609 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28611 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28612 for ac_func in _fpclass
28613 do :
28614 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28615 if test "x$ac_cv_func__fpclass" = x""yes; then :
28616 cat >>confdefs.h <<_ACEOF
28617 #define HAVE__FPCLASS 1
28618 _ACEOF
28621 done
28630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28631 $as_echo_n "checking for qfpclass declaration... " >&6; }
28632 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28633 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28634 $as_echo_n "(cached) " >&6
28635 else
28638 ac_ext=cpp
28639 ac_cpp='$CXXCPP $CPPFLAGS'
28640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28645 /* end confdefs.h. */
28646 #include <math.h>
28647 #ifdef HAVE_IEEEFP_H
28648 #include <ieeefp.h>
28649 #endif
28652 main ()
28654 qfpclass(0);
28656 return 0;
28658 _ACEOF
28659 if ac_fn_cxx_try_compile "$LINENO"; then :
28660 glibcxx_cv_func_qfpclass_use=yes
28661 else
28662 glibcxx_cv_func_qfpclass_use=no
28664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28665 ac_ext=c
28666 ac_cpp='$CPP $CPPFLAGS'
28667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28676 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28678 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28679 for ac_func in qfpclass
28680 do :
28681 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28682 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28683 cat >>confdefs.h <<_ACEOF
28684 #define HAVE_QFPCLASS 1
28685 _ACEOF
28688 done
28690 else
28692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28693 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28694 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28695 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28696 $as_echo_n "(cached) " >&6
28697 else
28700 ac_ext=cpp
28701 ac_cpp='$CXXCPP $CPPFLAGS'
28702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28707 /* end confdefs.h. */
28708 #include <math.h>
28709 #ifdef HAVE_IEEEFP_H
28710 #include <ieeefp.h>
28711 #endif
28714 main ()
28716 _qfpclass(0);
28718 return 0;
28720 _ACEOF
28721 if ac_fn_cxx_try_compile "$LINENO"; then :
28722 glibcxx_cv_func__qfpclass_use=yes
28723 else
28724 glibcxx_cv_func__qfpclass_use=no
28726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28727 ac_ext=c
28728 ac_cpp='$CPP $CPPFLAGS'
28729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28738 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28740 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28741 for ac_func in _qfpclass
28742 do :
28743 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28744 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28745 cat >>confdefs.h <<_ACEOF
28746 #define HAVE__QFPCLASS 1
28747 _ACEOF
28750 done
28759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28760 $as_echo_n "checking for hypot declaration... " >&6; }
28761 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28762 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28763 $as_echo_n "(cached) " >&6
28764 else
28767 ac_ext=cpp
28768 ac_cpp='$CXXCPP $CPPFLAGS'
28769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28774 /* end confdefs.h. */
28775 #include <math.h>
28777 main ()
28779 hypot(0, 0);
28781 return 0;
28783 _ACEOF
28784 if ac_fn_cxx_try_compile "$LINENO"; then :
28785 glibcxx_cv_func_hypot_use=yes
28786 else
28787 glibcxx_cv_func_hypot_use=no
28789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28790 ac_ext=c
28791 ac_cpp='$CPP $CPPFLAGS'
28792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28801 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28803 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28804 for ac_func in hypot
28805 do :
28806 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28807 if test "x$ac_cv_func_hypot" = x""yes; then :
28808 cat >>confdefs.h <<_ACEOF
28809 #define HAVE_HYPOT 1
28810 _ACEOF
28813 done
28815 else
28817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28818 $as_echo_n "checking for _hypot declaration... " >&6; }
28819 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28820 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28821 $as_echo_n "(cached) " >&6
28822 else
28825 ac_ext=cpp
28826 ac_cpp='$CXXCPP $CPPFLAGS'
28827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28832 /* end confdefs.h. */
28833 #include <math.h>
28835 main ()
28837 _hypot(0, 0);
28839 return 0;
28841 _ACEOF
28842 if ac_fn_cxx_try_compile "$LINENO"; then :
28843 glibcxx_cv_func__hypot_use=yes
28844 else
28845 glibcxx_cv_func__hypot_use=no
28847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28848 ac_ext=c
28849 ac_cpp='$CPP $CPPFLAGS'
28850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28859 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28861 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28862 for ac_func in _hypot
28863 do :
28864 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28865 if test "x$ac_cv_func__hypot" = x""yes; then :
28866 cat >>confdefs.h <<_ACEOF
28867 #define HAVE__HYPOT 1
28868 _ACEOF
28871 done
28880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28881 $as_echo_n "checking for float trig functions... " >&6; }
28882 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28883 $as_echo_n "(cached) " >&6
28884 else
28887 ac_ext=cpp
28888 ac_cpp='$CXXCPP $CPPFLAGS'
28889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28894 /* end confdefs.h. */
28895 #include <math.h>
28897 main ()
28899 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28901 return 0;
28903 _ACEOF
28904 if ac_fn_cxx_try_compile "$LINENO"; then :
28905 glibcxx_cv_func_float_trig_use=yes
28906 else
28907 glibcxx_cv_func_float_trig_use=no
28909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28910 ac_ext=c
28911 ac_cpp='$CPP $CPPFLAGS'
28912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28919 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28920 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28921 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28922 do :
28923 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28924 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28925 eval as_val=\$$as_ac_var
28926 if test "x$as_val" = x""yes; then :
28927 cat >>confdefs.h <<_ACEOF
28928 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28929 _ACEOF
28932 done
28934 else
28935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28936 $as_echo_n "checking for _float trig functions... " >&6; }
28937 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28938 $as_echo_n "(cached) " >&6
28939 else
28942 ac_ext=cpp
28943 ac_cpp='$CXXCPP $CPPFLAGS'
28944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28949 /* end confdefs.h. */
28950 #include <math.h>
28952 main ()
28954 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28956 return 0;
28958 _ACEOF
28959 if ac_fn_cxx_try_compile "$LINENO"; then :
28960 glibcxx_cv_func__float_trig_use=yes
28961 else
28962 glibcxx_cv_func__float_trig_use=no
28964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28965 ac_ext=c
28966 ac_cpp='$CPP $CPPFLAGS'
28967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28974 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28975 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28976 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28977 do :
28978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28980 eval as_val=\$$as_ac_var
28981 if test "x$as_val" = x""yes; then :
28982 cat >>confdefs.h <<_ACEOF
28983 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28984 _ACEOF
28987 done
28996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28997 $as_echo_n "checking for float round functions... " >&6; }
28998 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28999 $as_echo_n "(cached) " >&6
29000 else
29003 ac_ext=cpp
29004 ac_cpp='$CXXCPP $CPPFLAGS'
29005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29010 /* end confdefs.h. */
29011 #include <math.h>
29013 main ()
29015 ceilf (0); floorf (0);
29017 return 0;
29019 _ACEOF
29020 if ac_fn_cxx_try_compile "$LINENO"; then :
29021 glibcxx_cv_func_float_round_use=yes
29022 else
29023 glibcxx_cv_func_float_round_use=no
29025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29026 ac_ext=c
29027 ac_cpp='$CPP $CPPFLAGS'
29028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29035 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29036 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29037 for ac_func in ceilf floorf
29038 do :
29039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29041 eval as_val=\$$as_ac_var
29042 if test "x$as_val" = x""yes; then :
29043 cat >>confdefs.h <<_ACEOF
29044 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29045 _ACEOF
29048 done
29050 else
29051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29052 $as_echo_n "checking for _float round functions... " >&6; }
29053 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29054 $as_echo_n "(cached) " >&6
29055 else
29058 ac_ext=cpp
29059 ac_cpp='$CXXCPP $CPPFLAGS'
29060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29065 /* end confdefs.h. */
29066 #include <math.h>
29068 main ()
29070 _ceilf (0); _floorf (0);
29072 return 0;
29074 _ACEOF
29075 if ac_fn_cxx_try_compile "$LINENO"; then :
29076 glibcxx_cv_func__float_round_use=yes
29077 else
29078 glibcxx_cv_func__float_round_use=no
29080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29081 ac_ext=c
29082 ac_cpp='$CPP $CPPFLAGS'
29083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29090 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29091 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29092 for ac_func in _ceilf _floorf
29093 do :
29094 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29095 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29096 eval as_val=\$$as_ac_var
29097 if test "x$as_val" = x""yes; then :
29098 cat >>confdefs.h <<_ACEOF
29099 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29100 _ACEOF
29103 done
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29114 $as_echo_n "checking for expf declaration... " >&6; }
29115 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29116 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29117 $as_echo_n "(cached) " >&6
29118 else
29121 ac_ext=cpp
29122 ac_cpp='$CXXCPP $CPPFLAGS'
29123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29128 /* end confdefs.h. */
29129 #include <math.h>
29130 #ifdef HAVE_IEEEFP_H
29131 #include <ieeefp.h>
29132 #endif
29135 main ()
29137 expf(0);
29139 return 0;
29141 _ACEOF
29142 if ac_fn_cxx_try_compile "$LINENO"; then :
29143 glibcxx_cv_func_expf_use=yes
29144 else
29145 glibcxx_cv_func_expf_use=no
29147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29148 ac_ext=c
29149 ac_cpp='$CPP $CPPFLAGS'
29150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29159 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29161 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29162 for ac_func in expf
29163 do :
29164 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29165 if test "x$ac_cv_func_expf" = x""yes; then :
29166 cat >>confdefs.h <<_ACEOF
29167 #define HAVE_EXPF 1
29168 _ACEOF
29171 done
29173 else
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29176 $as_echo_n "checking for _expf declaration... " >&6; }
29177 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29178 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29179 $as_echo_n "(cached) " >&6
29180 else
29183 ac_ext=cpp
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29191 #include <math.h>
29192 #ifdef HAVE_IEEEFP_H
29193 #include <ieeefp.h>
29194 #endif
29197 main ()
29199 _expf(0);
29201 return 0;
29203 _ACEOF
29204 if ac_fn_cxx_try_compile "$LINENO"; then :
29205 glibcxx_cv_func__expf_use=yes
29206 else
29207 glibcxx_cv_func__expf_use=no
29209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29210 ac_ext=c
29211 ac_cpp='$CPP $CPPFLAGS'
29212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29221 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29223 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29224 for ac_func in _expf
29225 do :
29226 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29227 if test "x$ac_cv_func__expf" = x""yes; then :
29228 cat >>confdefs.h <<_ACEOF
29229 #define HAVE__EXPF 1
29230 _ACEOF
29233 done
29242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29243 $as_echo_n "checking for isnanf declaration... " >&6; }
29244 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29245 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29246 $as_echo_n "(cached) " >&6
29247 else
29250 ac_ext=cpp
29251 ac_cpp='$CXXCPP $CPPFLAGS'
29252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29257 /* end confdefs.h. */
29258 #include <math.h>
29259 #ifdef HAVE_IEEEFP_H
29260 #include <ieeefp.h>
29261 #endif
29264 main ()
29266 isnanf(0);
29268 return 0;
29270 _ACEOF
29271 if ac_fn_cxx_try_compile "$LINENO"; then :
29272 glibcxx_cv_func_isnanf_use=yes
29273 else
29274 glibcxx_cv_func_isnanf_use=no
29276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29277 ac_ext=c
29278 ac_cpp='$CPP $CPPFLAGS'
29279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29288 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29290 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29291 for ac_func in isnanf
29292 do :
29293 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29294 if test "x$ac_cv_func_isnanf" = x""yes; then :
29295 cat >>confdefs.h <<_ACEOF
29296 #define HAVE_ISNANF 1
29297 _ACEOF
29300 done
29302 else
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29305 $as_echo_n "checking for _isnanf declaration... " >&6; }
29306 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29307 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29308 $as_echo_n "(cached) " >&6
29309 else
29312 ac_ext=cpp
29313 ac_cpp='$CXXCPP $CPPFLAGS'
29314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29319 /* end confdefs.h. */
29320 #include <math.h>
29321 #ifdef HAVE_IEEEFP_H
29322 #include <ieeefp.h>
29323 #endif
29326 main ()
29328 _isnanf(0);
29330 return 0;
29332 _ACEOF
29333 if ac_fn_cxx_try_compile "$LINENO"; then :
29334 glibcxx_cv_func__isnanf_use=yes
29335 else
29336 glibcxx_cv_func__isnanf_use=no
29338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29339 ac_ext=c
29340 ac_cpp='$CPP $CPPFLAGS'
29341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29350 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29352 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29353 for ac_func in _isnanf
29354 do :
29355 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29356 if test "x$ac_cv_func__isnanf" = x""yes; then :
29357 cat >>confdefs.h <<_ACEOF
29358 #define HAVE__ISNANF 1
29359 _ACEOF
29362 done
29371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29372 $as_echo_n "checking for isinff declaration... " >&6; }
29373 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29374 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29375 $as_echo_n "(cached) " >&6
29376 else
29379 ac_ext=cpp
29380 ac_cpp='$CXXCPP $CPPFLAGS'
29381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29386 /* end confdefs.h. */
29387 #include <math.h>
29388 #ifdef HAVE_IEEEFP_H
29389 #include <ieeefp.h>
29390 #endif
29393 main ()
29395 isinff(0);
29397 return 0;
29399 _ACEOF
29400 if ac_fn_cxx_try_compile "$LINENO"; then :
29401 glibcxx_cv_func_isinff_use=yes
29402 else
29403 glibcxx_cv_func_isinff_use=no
29405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29406 ac_ext=c
29407 ac_cpp='$CPP $CPPFLAGS'
29408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29417 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29419 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29420 for ac_func in isinff
29421 do :
29422 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29423 if test "x$ac_cv_func_isinff" = x""yes; then :
29424 cat >>confdefs.h <<_ACEOF
29425 #define HAVE_ISINFF 1
29426 _ACEOF
29429 done
29431 else
29433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29434 $as_echo_n "checking for _isinff declaration... " >&6; }
29435 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29436 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29437 $as_echo_n "(cached) " >&6
29438 else
29441 ac_ext=cpp
29442 ac_cpp='$CXXCPP $CPPFLAGS'
29443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29448 /* end confdefs.h. */
29449 #include <math.h>
29450 #ifdef HAVE_IEEEFP_H
29451 #include <ieeefp.h>
29452 #endif
29455 main ()
29457 _isinff(0);
29459 return 0;
29461 _ACEOF
29462 if ac_fn_cxx_try_compile "$LINENO"; then :
29463 glibcxx_cv_func__isinff_use=yes
29464 else
29465 glibcxx_cv_func__isinff_use=no
29467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29468 ac_ext=c
29469 ac_cpp='$CPP $CPPFLAGS'
29470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29479 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29481 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29482 for ac_func in _isinff
29483 do :
29484 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29485 if test "x$ac_cv_func__isinff" = x""yes; then :
29486 cat >>confdefs.h <<_ACEOF
29487 #define HAVE__ISINFF 1
29488 _ACEOF
29491 done
29500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29501 $as_echo_n "checking for atan2f declaration... " >&6; }
29502 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29503 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29504 $as_echo_n "(cached) " >&6
29505 else
29508 ac_ext=cpp
29509 ac_cpp='$CXXCPP $CPPFLAGS'
29510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29515 /* end confdefs.h. */
29516 #include <math.h>
29518 main ()
29520 atan2f(0, 0);
29522 return 0;
29524 _ACEOF
29525 if ac_fn_cxx_try_compile "$LINENO"; then :
29526 glibcxx_cv_func_atan2f_use=yes
29527 else
29528 glibcxx_cv_func_atan2f_use=no
29530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29531 ac_ext=c
29532 ac_cpp='$CPP $CPPFLAGS'
29533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29542 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29544 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29545 for ac_func in atan2f
29546 do :
29547 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29548 if test "x$ac_cv_func_atan2f" = x""yes; then :
29549 cat >>confdefs.h <<_ACEOF
29550 #define HAVE_ATAN2F 1
29551 _ACEOF
29554 done
29556 else
29558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29559 $as_echo_n "checking for _atan2f declaration... " >&6; }
29560 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29561 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29562 $as_echo_n "(cached) " >&6
29563 else
29566 ac_ext=cpp
29567 ac_cpp='$CXXCPP $CPPFLAGS'
29568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29573 /* end confdefs.h. */
29574 #include <math.h>
29576 main ()
29578 _atan2f(0, 0);
29580 return 0;
29582 _ACEOF
29583 if ac_fn_cxx_try_compile "$LINENO"; then :
29584 glibcxx_cv_func__atan2f_use=yes
29585 else
29586 glibcxx_cv_func__atan2f_use=no
29588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29589 ac_ext=c
29590 ac_cpp='$CPP $CPPFLAGS'
29591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29600 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29602 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29603 for ac_func in _atan2f
29604 do :
29605 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29606 if test "x$ac_cv_func__atan2f" = x""yes; then :
29607 cat >>confdefs.h <<_ACEOF
29608 #define HAVE__ATAN2F 1
29609 _ACEOF
29612 done
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29622 $as_echo_n "checking for fabsf declaration... " >&6; }
29623 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29624 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29625 $as_echo_n "(cached) " >&6
29626 else
29629 ac_ext=cpp
29630 ac_cpp='$CXXCPP $CPPFLAGS'
29631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29636 /* end confdefs.h. */
29637 #include <math.h>
29638 #ifdef HAVE_IEEEFP_H
29639 #include <ieeefp.h>
29640 #endif
29643 main ()
29645 fabsf(0);
29647 return 0;
29649 _ACEOF
29650 if ac_fn_cxx_try_compile "$LINENO"; then :
29651 glibcxx_cv_func_fabsf_use=yes
29652 else
29653 glibcxx_cv_func_fabsf_use=no
29655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29656 ac_ext=c
29657 ac_cpp='$CPP $CPPFLAGS'
29658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29667 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29669 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29670 for ac_func in fabsf
29671 do :
29672 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29673 if test "x$ac_cv_func_fabsf" = x""yes; then :
29674 cat >>confdefs.h <<_ACEOF
29675 #define HAVE_FABSF 1
29676 _ACEOF
29679 done
29681 else
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29684 $as_echo_n "checking for _fabsf declaration... " >&6; }
29685 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29686 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29691 ac_ext=cpp
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29698 /* end confdefs.h. */
29699 #include <math.h>
29700 #ifdef HAVE_IEEEFP_H
29701 #include <ieeefp.h>
29702 #endif
29705 main ()
29707 _fabsf(0);
29709 return 0;
29711 _ACEOF
29712 if ac_fn_cxx_try_compile "$LINENO"; then :
29713 glibcxx_cv_func__fabsf_use=yes
29714 else
29715 glibcxx_cv_func__fabsf_use=no
29717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29718 ac_ext=c
29719 ac_cpp='$CPP $CPPFLAGS'
29720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29729 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29731 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29732 for ac_func in _fabsf
29733 do :
29734 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29735 if test "x$ac_cv_func__fabsf" = x""yes; then :
29736 cat >>confdefs.h <<_ACEOF
29737 #define HAVE__FABSF 1
29738 _ACEOF
29741 done
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29751 $as_echo_n "checking for fmodf declaration... " >&6; }
29752 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29753 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29754 $as_echo_n "(cached) " >&6
29755 else
29758 ac_ext=cpp
29759 ac_cpp='$CXXCPP $CPPFLAGS'
29760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29765 /* end confdefs.h. */
29766 #include <math.h>
29768 main ()
29770 fmodf(0, 0);
29772 return 0;
29774 _ACEOF
29775 if ac_fn_cxx_try_compile "$LINENO"; then :
29776 glibcxx_cv_func_fmodf_use=yes
29777 else
29778 glibcxx_cv_func_fmodf_use=no
29780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29781 ac_ext=c
29782 ac_cpp='$CPP $CPPFLAGS'
29783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29792 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29794 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29795 for ac_func in fmodf
29796 do :
29797 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29798 if test "x$ac_cv_func_fmodf" = x""yes; then :
29799 cat >>confdefs.h <<_ACEOF
29800 #define HAVE_FMODF 1
29801 _ACEOF
29804 done
29806 else
29808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29809 $as_echo_n "checking for _fmodf declaration... " >&6; }
29810 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29811 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29812 $as_echo_n "(cached) " >&6
29813 else
29816 ac_ext=cpp
29817 ac_cpp='$CXXCPP $CPPFLAGS'
29818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29823 /* end confdefs.h. */
29824 #include <math.h>
29826 main ()
29828 _fmodf(0, 0);
29830 return 0;
29832 _ACEOF
29833 if ac_fn_cxx_try_compile "$LINENO"; then :
29834 glibcxx_cv_func__fmodf_use=yes
29835 else
29836 glibcxx_cv_func__fmodf_use=no
29838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29839 ac_ext=c
29840 ac_cpp='$CPP $CPPFLAGS'
29841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29850 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29852 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29853 for ac_func in _fmodf
29854 do :
29855 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29856 if test "x$ac_cv_func__fmodf" = x""yes; then :
29857 cat >>confdefs.h <<_ACEOF
29858 #define HAVE__FMODF 1
29859 _ACEOF
29862 done
29871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29872 $as_echo_n "checking for frexpf declaration... " >&6; }
29873 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29874 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29875 $as_echo_n "(cached) " >&6
29876 else
29879 ac_ext=cpp
29880 ac_cpp='$CXXCPP $CPPFLAGS'
29881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29886 /* end confdefs.h. */
29887 #include <math.h>
29889 main ()
29891 frexpf(0, 0);
29893 return 0;
29895 _ACEOF
29896 if ac_fn_cxx_try_compile "$LINENO"; then :
29897 glibcxx_cv_func_frexpf_use=yes
29898 else
29899 glibcxx_cv_func_frexpf_use=no
29901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29902 ac_ext=c
29903 ac_cpp='$CPP $CPPFLAGS'
29904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29913 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29915 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29916 for ac_func in frexpf
29917 do :
29918 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29919 if test "x$ac_cv_func_frexpf" = x""yes; then :
29920 cat >>confdefs.h <<_ACEOF
29921 #define HAVE_FREXPF 1
29922 _ACEOF
29925 done
29927 else
29929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29930 $as_echo_n "checking for _frexpf declaration... " >&6; }
29931 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29932 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29933 $as_echo_n "(cached) " >&6
29934 else
29937 ac_ext=cpp
29938 ac_cpp='$CXXCPP $CPPFLAGS'
29939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29944 /* end confdefs.h. */
29945 #include <math.h>
29947 main ()
29949 _frexpf(0, 0);
29951 return 0;
29953 _ACEOF
29954 if ac_fn_cxx_try_compile "$LINENO"; then :
29955 glibcxx_cv_func__frexpf_use=yes
29956 else
29957 glibcxx_cv_func__frexpf_use=no
29959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29960 ac_ext=c
29961 ac_cpp='$CPP $CPPFLAGS'
29962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29971 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29973 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29974 for ac_func in _frexpf
29975 do :
29976 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29977 if test "x$ac_cv_func__frexpf" = x""yes; then :
29978 cat >>confdefs.h <<_ACEOF
29979 #define HAVE__FREXPF 1
29980 _ACEOF
29983 done
29992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29993 $as_echo_n "checking for hypotf declaration... " >&6; }
29994 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29995 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29996 $as_echo_n "(cached) " >&6
29997 else
30000 ac_ext=cpp
30001 ac_cpp='$CXXCPP $CPPFLAGS'
30002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30007 /* end confdefs.h. */
30008 #include <math.h>
30010 main ()
30012 hypotf(0, 0);
30014 return 0;
30016 _ACEOF
30017 if ac_fn_cxx_try_compile "$LINENO"; then :
30018 glibcxx_cv_func_hypotf_use=yes
30019 else
30020 glibcxx_cv_func_hypotf_use=no
30022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30023 ac_ext=c
30024 ac_cpp='$CPP $CPPFLAGS'
30025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30034 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30036 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30037 for ac_func in hypotf
30038 do :
30039 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30040 if test "x$ac_cv_func_hypotf" = x""yes; then :
30041 cat >>confdefs.h <<_ACEOF
30042 #define HAVE_HYPOTF 1
30043 _ACEOF
30046 done
30048 else
30050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30051 $as_echo_n "checking for _hypotf declaration... " >&6; }
30052 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30053 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30054 $as_echo_n "(cached) " >&6
30055 else
30058 ac_ext=cpp
30059 ac_cpp='$CXXCPP $CPPFLAGS'
30060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30065 /* end confdefs.h. */
30066 #include <math.h>
30068 main ()
30070 _hypotf(0, 0);
30072 return 0;
30074 _ACEOF
30075 if ac_fn_cxx_try_compile "$LINENO"; then :
30076 glibcxx_cv_func__hypotf_use=yes
30077 else
30078 glibcxx_cv_func__hypotf_use=no
30080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30081 ac_ext=c
30082 ac_cpp='$CPP $CPPFLAGS'
30083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30092 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30094 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30095 for ac_func in _hypotf
30096 do :
30097 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30098 if test "x$ac_cv_func__hypotf" = x""yes; then :
30099 cat >>confdefs.h <<_ACEOF
30100 #define HAVE__HYPOTF 1
30101 _ACEOF
30104 done
30113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30114 $as_echo_n "checking for ldexpf declaration... " >&6; }
30115 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30116 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30117 $as_echo_n "(cached) " >&6
30118 else
30121 ac_ext=cpp
30122 ac_cpp='$CXXCPP $CPPFLAGS'
30123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30128 /* end confdefs.h. */
30129 #include <math.h>
30131 main ()
30133 ldexpf(0, 0);
30135 return 0;
30137 _ACEOF
30138 if ac_fn_cxx_try_compile "$LINENO"; then :
30139 glibcxx_cv_func_ldexpf_use=yes
30140 else
30141 glibcxx_cv_func_ldexpf_use=no
30143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30144 ac_ext=c
30145 ac_cpp='$CPP $CPPFLAGS'
30146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30155 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30157 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30158 for ac_func in ldexpf
30159 do :
30160 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30161 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30162 cat >>confdefs.h <<_ACEOF
30163 #define HAVE_LDEXPF 1
30164 _ACEOF
30167 done
30169 else
30171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30172 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30173 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30174 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30175 $as_echo_n "(cached) " >&6
30176 else
30179 ac_ext=cpp
30180 ac_cpp='$CXXCPP $CPPFLAGS'
30181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30186 /* end confdefs.h. */
30187 #include <math.h>
30189 main ()
30191 _ldexpf(0, 0);
30193 return 0;
30195 _ACEOF
30196 if ac_fn_cxx_try_compile "$LINENO"; then :
30197 glibcxx_cv_func__ldexpf_use=yes
30198 else
30199 glibcxx_cv_func__ldexpf_use=no
30201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30202 ac_ext=c
30203 ac_cpp='$CPP $CPPFLAGS'
30204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30213 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30215 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30216 for ac_func in _ldexpf
30217 do :
30218 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30219 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30220 cat >>confdefs.h <<_ACEOF
30221 #define HAVE__LDEXPF 1
30222 _ACEOF
30225 done
30234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30235 $as_echo_n "checking for logf declaration... " >&6; }
30236 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30237 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30238 $as_echo_n "(cached) " >&6
30239 else
30242 ac_ext=cpp
30243 ac_cpp='$CXXCPP $CPPFLAGS'
30244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30249 /* end confdefs.h. */
30250 #include <math.h>
30251 #ifdef HAVE_IEEEFP_H
30252 #include <ieeefp.h>
30253 #endif
30256 main ()
30258 logf(0);
30260 return 0;
30262 _ACEOF
30263 if ac_fn_cxx_try_compile "$LINENO"; then :
30264 glibcxx_cv_func_logf_use=yes
30265 else
30266 glibcxx_cv_func_logf_use=no
30268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30269 ac_ext=c
30270 ac_cpp='$CPP $CPPFLAGS'
30271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30280 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30282 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30283 for ac_func in logf
30284 do :
30285 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30286 if test "x$ac_cv_func_logf" = x""yes; then :
30287 cat >>confdefs.h <<_ACEOF
30288 #define HAVE_LOGF 1
30289 _ACEOF
30292 done
30294 else
30296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30297 $as_echo_n "checking for _logf declaration... " >&6; }
30298 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30299 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30300 $as_echo_n "(cached) " >&6
30301 else
30304 ac_ext=cpp
30305 ac_cpp='$CXXCPP $CPPFLAGS'
30306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30311 /* end confdefs.h. */
30312 #include <math.h>
30313 #ifdef HAVE_IEEEFP_H
30314 #include <ieeefp.h>
30315 #endif
30318 main ()
30320 _logf(0);
30322 return 0;
30324 _ACEOF
30325 if ac_fn_cxx_try_compile "$LINENO"; then :
30326 glibcxx_cv_func__logf_use=yes
30327 else
30328 glibcxx_cv_func__logf_use=no
30330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30331 ac_ext=c
30332 ac_cpp='$CPP $CPPFLAGS'
30333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30342 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30344 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30345 for ac_func in _logf
30346 do :
30347 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30348 if test "x$ac_cv_func__logf" = x""yes; then :
30349 cat >>confdefs.h <<_ACEOF
30350 #define HAVE__LOGF 1
30351 _ACEOF
30354 done
30363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30364 $as_echo_n "checking for log10f declaration... " >&6; }
30365 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30366 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30367 $as_echo_n "(cached) " >&6
30368 else
30371 ac_ext=cpp
30372 ac_cpp='$CXXCPP $CPPFLAGS'
30373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30378 /* end confdefs.h. */
30379 #include <math.h>
30380 #ifdef HAVE_IEEEFP_H
30381 #include <ieeefp.h>
30382 #endif
30385 main ()
30387 log10f(0);
30389 return 0;
30391 _ACEOF
30392 if ac_fn_cxx_try_compile "$LINENO"; then :
30393 glibcxx_cv_func_log10f_use=yes
30394 else
30395 glibcxx_cv_func_log10f_use=no
30397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30398 ac_ext=c
30399 ac_cpp='$CPP $CPPFLAGS'
30400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30409 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30411 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30412 for ac_func in log10f
30413 do :
30414 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30415 if test "x$ac_cv_func_log10f" = x""yes; then :
30416 cat >>confdefs.h <<_ACEOF
30417 #define HAVE_LOG10F 1
30418 _ACEOF
30421 done
30423 else
30425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30426 $as_echo_n "checking for _log10f declaration... " >&6; }
30427 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30428 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30429 $as_echo_n "(cached) " >&6
30430 else
30433 ac_ext=cpp
30434 ac_cpp='$CXXCPP $CPPFLAGS'
30435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30440 /* end confdefs.h. */
30441 #include <math.h>
30442 #ifdef HAVE_IEEEFP_H
30443 #include <ieeefp.h>
30444 #endif
30447 main ()
30449 _log10f(0);
30451 return 0;
30453 _ACEOF
30454 if ac_fn_cxx_try_compile "$LINENO"; then :
30455 glibcxx_cv_func__log10f_use=yes
30456 else
30457 glibcxx_cv_func__log10f_use=no
30459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30460 ac_ext=c
30461 ac_cpp='$CPP $CPPFLAGS'
30462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30471 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30473 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30474 for ac_func in _log10f
30475 do :
30476 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30477 if test "x$ac_cv_func__log10f" = x""yes; then :
30478 cat >>confdefs.h <<_ACEOF
30479 #define HAVE__LOG10F 1
30480 _ACEOF
30483 done
30492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30493 $as_echo_n "checking for modff declaration... " >&6; }
30494 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30495 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30496 $as_echo_n "(cached) " >&6
30497 else
30500 ac_ext=cpp
30501 ac_cpp='$CXXCPP $CPPFLAGS'
30502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30507 /* end confdefs.h. */
30508 #include <math.h>
30510 main ()
30512 modff(0, 0);
30514 return 0;
30516 _ACEOF
30517 if ac_fn_cxx_try_compile "$LINENO"; then :
30518 glibcxx_cv_func_modff_use=yes
30519 else
30520 glibcxx_cv_func_modff_use=no
30522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30523 ac_ext=c
30524 ac_cpp='$CPP $CPPFLAGS'
30525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30534 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30536 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30537 for ac_func in modff
30538 do :
30539 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30540 if test "x$ac_cv_func_modff" = x""yes; then :
30541 cat >>confdefs.h <<_ACEOF
30542 #define HAVE_MODFF 1
30543 _ACEOF
30546 done
30548 else
30550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30551 $as_echo_n "checking for _modff declaration... " >&6; }
30552 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30553 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30554 $as_echo_n "(cached) " >&6
30555 else
30558 ac_ext=cpp
30559 ac_cpp='$CXXCPP $CPPFLAGS'
30560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30565 /* end confdefs.h. */
30566 #include <math.h>
30568 main ()
30570 _modff(0, 0);
30572 return 0;
30574 _ACEOF
30575 if ac_fn_cxx_try_compile "$LINENO"; then :
30576 glibcxx_cv_func__modff_use=yes
30577 else
30578 glibcxx_cv_func__modff_use=no
30580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30581 ac_ext=c
30582 ac_cpp='$CPP $CPPFLAGS'
30583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30592 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30594 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30595 for ac_func in _modff
30596 do :
30597 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30598 if test "x$ac_cv_func__modff" = x""yes; then :
30599 cat >>confdefs.h <<_ACEOF
30600 #define HAVE__MODFF 1
30601 _ACEOF
30604 done
30613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30614 $as_echo_n "checking for modf declaration... " >&6; }
30615 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30616 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30617 $as_echo_n "(cached) " >&6
30618 else
30621 ac_ext=cpp
30622 ac_cpp='$CXXCPP $CPPFLAGS'
30623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30628 /* end confdefs.h. */
30629 #include <math.h>
30631 main ()
30633 modf(0, 0);
30635 return 0;
30637 _ACEOF
30638 if ac_fn_cxx_try_compile "$LINENO"; then :
30639 glibcxx_cv_func_modf_use=yes
30640 else
30641 glibcxx_cv_func_modf_use=no
30643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30644 ac_ext=c
30645 ac_cpp='$CPP $CPPFLAGS'
30646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30655 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30657 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30658 for ac_func in modf
30659 do :
30660 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30661 if test "x$ac_cv_func_modf" = x""yes; then :
30662 cat >>confdefs.h <<_ACEOF
30663 #define HAVE_MODF 1
30664 _ACEOF
30667 done
30669 else
30671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30672 $as_echo_n "checking for _modf declaration... " >&6; }
30673 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30674 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30675 $as_echo_n "(cached) " >&6
30676 else
30679 ac_ext=cpp
30680 ac_cpp='$CXXCPP $CPPFLAGS'
30681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30686 /* end confdefs.h. */
30687 #include <math.h>
30689 main ()
30691 _modf(0, 0);
30693 return 0;
30695 _ACEOF
30696 if ac_fn_cxx_try_compile "$LINENO"; then :
30697 glibcxx_cv_func__modf_use=yes
30698 else
30699 glibcxx_cv_func__modf_use=no
30701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30702 ac_ext=c
30703 ac_cpp='$CPP $CPPFLAGS'
30704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30713 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30715 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30716 for ac_func in _modf
30717 do :
30718 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30719 if test "x$ac_cv_func__modf" = x""yes; then :
30720 cat >>confdefs.h <<_ACEOF
30721 #define HAVE__MODF 1
30722 _ACEOF
30725 done
30734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30735 $as_echo_n "checking for powf declaration... " >&6; }
30736 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30737 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30738 $as_echo_n "(cached) " >&6
30739 else
30742 ac_ext=cpp
30743 ac_cpp='$CXXCPP $CPPFLAGS'
30744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30749 /* end confdefs.h. */
30750 #include <math.h>
30752 main ()
30754 powf(0, 0);
30756 return 0;
30758 _ACEOF
30759 if ac_fn_cxx_try_compile "$LINENO"; then :
30760 glibcxx_cv_func_powf_use=yes
30761 else
30762 glibcxx_cv_func_powf_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_powf_use" >&5
30776 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30778 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30779 for ac_func in powf
30780 do :
30781 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30782 if test "x$ac_cv_func_powf" = x""yes; then :
30783 cat >>confdefs.h <<_ACEOF
30784 #define HAVE_POWF 1
30785 _ACEOF
30788 done
30790 else
30792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30793 $as_echo_n "checking for _powf declaration... " >&6; }
30794 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30795 if test "${glibcxx_cv_func__powf_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>
30810 main ()
30812 _powf(0, 0);
30814 return 0;
30816 _ACEOF
30817 if ac_fn_cxx_try_compile "$LINENO"; then :
30818 glibcxx_cv_func__powf_use=yes
30819 else
30820 glibcxx_cv_func__powf_use=no
30822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30823 ac_ext=c
30824 ac_cpp='$CPP $CPPFLAGS'
30825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30834 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30836 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30837 for ac_func in _powf
30838 do :
30839 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30840 if test "x$ac_cv_func__powf" = x""yes; then :
30841 cat >>confdefs.h <<_ACEOF
30842 #define HAVE__POWF 1
30843 _ACEOF
30846 done
30855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30856 $as_echo_n "checking for sqrtf declaration... " >&6; }
30857 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30858 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30859 $as_echo_n "(cached) " >&6
30860 else
30863 ac_ext=cpp
30864 ac_cpp='$CXXCPP $CPPFLAGS'
30865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30870 /* end confdefs.h. */
30871 #include <math.h>
30872 #ifdef HAVE_IEEEFP_H
30873 #include <ieeefp.h>
30874 #endif
30877 main ()
30879 sqrtf(0);
30881 return 0;
30883 _ACEOF
30884 if ac_fn_cxx_try_compile "$LINENO"; then :
30885 glibcxx_cv_func_sqrtf_use=yes
30886 else
30887 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
30901 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30903 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30904 for ac_func in sqrtf
30905 do :
30906 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30907 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30908 cat >>confdefs.h <<_ACEOF
30909 #define HAVE_SQRTF 1
30910 _ACEOF
30913 done
30915 else
30917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30918 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30919 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30920 if test "${glibcxx_cv_func__sqrtf_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>
30934 #ifdef HAVE_IEEEFP_H
30935 #include <ieeefp.h>
30936 #endif
30939 main ()
30941 _sqrtf(0);
30943 return 0;
30945 _ACEOF
30946 if ac_fn_cxx_try_compile "$LINENO"; then :
30947 glibcxx_cv_func__sqrtf_use=yes
30948 else
30949 glibcxx_cv_func__sqrtf_use=no
30951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30952 ac_ext=c
30953 ac_cpp='$CPP $CPPFLAGS'
30954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30963 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30965 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30966 for ac_func in _sqrtf
30967 do :
30968 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30969 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30970 cat >>confdefs.h <<_ACEOF
30971 #define HAVE__SQRTF 1
30972 _ACEOF
30975 done
30984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30985 $as_echo_n "checking for sincosf declaration... " >&6; }
30986 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30987 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30988 $as_echo_n "(cached) " >&6
30989 else
30992 ac_ext=cpp
30993 ac_cpp='$CXXCPP $CPPFLAGS'
30994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30999 /* end confdefs.h. */
31000 #include <math.h>
31002 main ()
31004 sincosf(0, 0, 0);
31006 return 0;
31008 _ACEOF
31009 if ac_fn_cxx_try_compile "$LINENO"; then :
31010 glibcxx_cv_func_sincosf_use=yes
31011 else
31012 glibcxx_cv_func_sincosf_use=no
31014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31015 ac_ext=c
31016 ac_cpp='$CPP $CPPFLAGS'
31017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31026 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31028 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31029 for ac_func in sincosf
31030 do :
31031 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31032 if test "x$ac_cv_func_sincosf" = x""yes; then :
31033 cat >>confdefs.h <<_ACEOF
31034 #define HAVE_SINCOSF 1
31035 _ACEOF
31038 done
31040 else
31042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31043 $as_echo_n "checking for _sincosf declaration... " >&6; }
31044 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31045 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31046 $as_echo_n "(cached) " >&6
31047 else
31050 ac_ext=cpp
31051 ac_cpp='$CXXCPP $CPPFLAGS'
31052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31057 /* end confdefs.h. */
31058 #include <math.h>
31060 main ()
31062 _sincosf(0, 0, 0);
31064 return 0;
31066 _ACEOF
31067 if ac_fn_cxx_try_compile "$LINENO"; then :
31068 glibcxx_cv_func__sincosf_use=yes
31069 else
31070 glibcxx_cv_func__sincosf_use=no
31072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31073 ac_ext=c
31074 ac_cpp='$CPP $CPPFLAGS'
31075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31084 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31086 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31087 for ac_func in _sincosf
31088 do :
31089 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31090 if test "x$ac_cv_func__sincosf" = x""yes; then :
31091 cat >>confdefs.h <<_ACEOF
31092 #define HAVE__SINCOSF 1
31093 _ACEOF
31096 done
31105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31106 $as_echo_n "checking for finitef declaration... " >&6; }
31107 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31108 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31109 $as_echo_n "(cached) " >&6
31110 else
31113 ac_ext=cpp
31114 ac_cpp='$CXXCPP $CPPFLAGS'
31115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31120 /* end confdefs.h. */
31121 #include <math.h>
31122 #ifdef HAVE_IEEEFP_H
31123 #include <ieeefp.h>
31124 #endif
31127 main ()
31129 finitef(0);
31131 return 0;
31133 _ACEOF
31134 if ac_fn_cxx_try_compile "$LINENO"; then :
31135 glibcxx_cv_func_finitef_use=yes
31136 else
31137 glibcxx_cv_func_finitef_use=no
31139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31140 ac_ext=c
31141 ac_cpp='$CPP $CPPFLAGS'
31142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31151 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31153 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31154 for ac_func in finitef
31155 do :
31156 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31157 if test "x$ac_cv_func_finitef" = x""yes; then :
31158 cat >>confdefs.h <<_ACEOF
31159 #define HAVE_FINITEF 1
31160 _ACEOF
31163 done
31165 else
31167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31168 $as_echo_n "checking for _finitef declaration... " >&6; }
31169 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31170 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31171 $as_echo_n "(cached) " >&6
31172 else
31175 ac_ext=cpp
31176 ac_cpp='$CXXCPP $CPPFLAGS'
31177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31182 /* end confdefs.h. */
31183 #include <math.h>
31184 #ifdef HAVE_IEEEFP_H
31185 #include <ieeefp.h>
31186 #endif
31189 main ()
31191 _finitef(0);
31193 return 0;
31195 _ACEOF
31196 if ac_fn_cxx_try_compile "$LINENO"; then :
31197 glibcxx_cv_func__finitef_use=yes
31198 else
31199 glibcxx_cv_func__finitef_use=no
31201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31202 ac_ext=c
31203 ac_cpp='$CPP $CPPFLAGS'
31204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31213 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31215 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31216 for ac_func in _finitef
31217 do :
31218 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31219 if test "x$ac_cv_func__finitef" = x""yes; then :
31220 cat >>confdefs.h <<_ACEOF
31221 #define HAVE__FINITEF 1
31222 _ACEOF
31225 done
31234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31235 $as_echo_n "checking for long double trig functions... " >&6; }
31236 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31237 $as_echo_n "(cached) " >&6
31238 else
31241 ac_ext=cpp
31242 ac_cpp='$CXXCPP $CPPFLAGS'
31243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31248 /* end confdefs.h. */
31249 #include <math.h>
31251 main ()
31253 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31255 return 0;
31257 _ACEOF
31258 if ac_fn_cxx_try_compile "$LINENO"; then :
31259 glibcxx_cv_func_long_double_trig_use=yes
31260 else
31261 glibcxx_cv_func_long_double_trig_use=no
31263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31264 ac_ext=c
31265 ac_cpp='$CPP $CPPFLAGS'
31266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31273 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31274 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31275 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31276 do :
31277 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31278 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31279 eval as_val=\$$as_ac_var
31280 if test "x$as_val" = x""yes; then :
31281 cat >>confdefs.h <<_ACEOF
31282 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31283 _ACEOF
31286 done
31288 else
31289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31290 $as_echo_n "checking for _long double trig functions... " >&6; }
31291 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31292 $as_echo_n "(cached) " >&6
31293 else
31296 ac_ext=cpp
31297 ac_cpp='$CXXCPP $CPPFLAGS'
31298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31303 /* end confdefs.h. */
31304 #include <math.h>
31306 main ()
31308 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31310 return 0;
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314 glibcxx_cv_func__long_double_trig_use=yes
31315 else
31316 glibcxx_cv_func__long_double_trig_use=no
31318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319 ac_ext=c
31320 ac_cpp='$CPP $CPPFLAGS'
31321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31328 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31329 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31330 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31331 do :
31332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31334 eval as_val=\$$as_ac_var
31335 if test "x$as_val" = x""yes; then :
31336 cat >>confdefs.h <<_ACEOF
31337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31338 _ACEOF
31341 done
31350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31351 $as_echo_n "checking for long double round functions... " >&6; }
31352 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31353 $as_echo_n "(cached) " >&6
31354 else
31357 ac_ext=cpp
31358 ac_cpp='$CXXCPP $CPPFLAGS'
31359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31364 /* end confdefs.h. */
31365 #include <math.h>
31367 main ()
31369 ceill (0); floorl (0);
31371 return 0;
31373 _ACEOF
31374 if ac_fn_cxx_try_compile "$LINENO"; then :
31375 glibcxx_cv_func_long_double_round_use=yes
31376 else
31377 glibcxx_cv_func_long_double_round_use=no
31379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31380 ac_ext=c
31381 ac_cpp='$CPP $CPPFLAGS'
31382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31389 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31390 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31391 for ac_func in ceill floorl
31392 do :
31393 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31394 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31395 eval as_val=\$$as_ac_var
31396 if test "x$as_val" = x""yes; then :
31397 cat >>confdefs.h <<_ACEOF
31398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31399 _ACEOF
31402 done
31404 else
31405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31406 $as_echo_n "checking for _long double round functions... " >&6; }
31407 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31408 $as_echo_n "(cached) " >&6
31409 else
31412 ac_ext=cpp
31413 ac_cpp='$CXXCPP $CPPFLAGS'
31414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31419 /* end confdefs.h. */
31420 #include <math.h>
31422 main ()
31424 _ceill (0); _floorl (0);
31426 return 0;
31428 _ACEOF
31429 if ac_fn_cxx_try_compile "$LINENO"; then :
31430 glibcxx_cv_func__long_double_round_use=yes
31431 else
31432 glibcxx_cv_func__long_double_round_use=no
31434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31435 ac_ext=c
31436 ac_cpp='$CPP $CPPFLAGS'
31437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31444 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31445 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31446 for ac_func in _ceill _floorl
31447 do :
31448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31450 eval as_val=\$$as_ac_var
31451 if test "x$as_val" = x""yes; then :
31452 cat >>confdefs.h <<_ACEOF
31453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31454 _ACEOF
31457 done
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31468 $as_echo_n "checking for isnanl declaration... " >&6; }
31469 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31470 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31471 $as_echo_n "(cached) " >&6
31472 else
31475 ac_ext=cpp
31476 ac_cpp='$CXXCPP $CPPFLAGS'
31477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31482 /* end confdefs.h. */
31483 #include <math.h>
31484 #ifdef HAVE_IEEEFP_H
31485 #include <ieeefp.h>
31486 #endif
31489 main ()
31491 isnanl(0);
31493 return 0;
31495 _ACEOF
31496 if ac_fn_cxx_try_compile "$LINENO"; then :
31497 glibcxx_cv_func_isnanl_use=yes
31498 else
31499 glibcxx_cv_func_isnanl_use=no
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 ac_ext=c
31503 ac_cpp='$CPP $CPPFLAGS'
31504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31513 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31515 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31516 for ac_func in isnanl
31517 do :
31518 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31519 if test "x$ac_cv_func_isnanl" = x""yes; then :
31520 cat >>confdefs.h <<_ACEOF
31521 #define HAVE_ISNANL 1
31522 _ACEOF
31525 done
31527 else
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31530 $as_echo_n "checking for _isnanl declaration... " >&6; }
31531 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31532 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 #ifdef HAVE_IEEEFP_H
31547 #include <ieeefp.h>
31548 #endif
31551 main ()
31553 _isnanl(0);
31555 return 0;
31557 _ACEOF
31558 if ac_fn_cxx_try_compile "$LINENO"; then :
31559 glibcxx_cv_func__isnanl_use=yes
31560 else
31561 glibcxx_cv_func__isnanl_use=no
31563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31564 ac_ext=c
31565 ac_cpp='$CPP $CPPFLAGS'
31566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31575 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31577 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31578 for ac_func in _isnanl
31579 do :
31580 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31581 if test "x$ac_cv_func__isnanl" = x""yes; then :
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE__ISNANL 1
31584 _ACEOF
31587 done
31596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31597 $as_echo_n "checking for isinfl declaration... " >&6; }
31598 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31599 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31600 $as_echo_n "(cached) " >&6
31601 else
31604 ac_ext=cpp
31605 ac_cpp='$CXXCPP $CPPFLAGS'
31606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31611 /* end confdefs.h. */
31612 #include <math.h>
31613 #ifdef HAVE_IEEEFP_H
31614 #include <ieeefp.h>
31615 #endif
31618 main ()
31620 isinfl(0);
31622 return 0;
31624 _ACEOF
31625 if ac_fn_cxx_try_compile "$LINENO"; then :
31626 glibcxx_cv_func_isinfl_use=yes
31627 else
31628 glibcxx_cv_func_isinfl_use=no
31630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31631 ac_ext=c
31632 ac_cpp='$CPP $CPPFLAGS'
31633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31642 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31644 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31645 for ac_func in isinfl
31646 do :
31647 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31648 if test "x$ac_cv_func_isinfl" = x""yes; then :
31649 cat >>confdefs.h <<_ACEOF
31650 #define HAVE_ISINFL 1
31651 _ACEOF
31654 done
31656 else
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31659 $as_echo_n "checking for _isinfl declaration... " >&6; }
31660 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31661 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31662 $as_echo_n "(cached) " >&6
31663 else
31666 ac_ext=cpp
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31673 /* end confdefs.h. */
31674 #include <math.h>
31675 #ifdef HAVE_IEEEFP_H
31676 #include <ieeefp.h>
31677 #endif
31680 main ()
31682 _isinfl(0);
31684 return 0;
31686 _ACEOF
31687 if ac_fn_cxx_try_compile "$LINENO"; then :
31688 glibcxx_cv_func__isinfl_use=yes
31689 else
31690 glibcxx_cv_func__isinfl_use=no
31692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31693 ac_ext=c
31694 ac_cpp='$CPP $CPPFLAGS'
31695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31704 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31706 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31707 for ac_func in _isinfl
31708 do :
31709 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31710 if test "x$ac_cv_func__isinfl" = x""yes; then :
31711 cat >>confdefs.h <<_ACEOF
31712 #define HAVE__ISINFL 1
31713 _ACEOF
31716 done
31725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31726 $as_echo_n "checking for atan2l declaration... " >&6; }
31727 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31728 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31729 $as_echo_n "(cached) " >&6
31730 else
31733 ac_ext=cpp
31734 ac_cpp='$CXXCPP $CPPFLAGS'
31735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31740 /* end confdefs.h. */
31741 #include <math.h>
31743 main ()
31745 atan2l(0, 0);
31747 return 0;
31749 _ACEOF
31750 if ac_fn_cxx_try_compile "$LINENO"; then :
31751 glibcxx_cv_func_atan2l_use=yes
31752 else
31753 glibcxx_cv_func_atan2l_use=no
31755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31756 ac_ext=c
31757 ac_cpp='$CPP $CPPFLAGS'
31758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31767 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31769 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31770 for ac_func in atan2l
31771 do :
31772 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31773 if test "x$ac_cv_func_atan2l" = x""yes; then :
31774 cat >>confdefs.h <<_ACEOF
31775 #define HAVE_ATAN2L 1
31776 _ACEOF
31779 done
31781 else
31783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31784 $as_echo_n "checking for _atan2l declaration... " >&6; }
31785 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31786 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31787 $as_echo_n "(cached) " >&6
31788 else
31791 ac_ext=cpp
31792 ac_cpp='$CXXCPP $CPPFLAGS'
31793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31798 /* end confdefs.h. */
31799 #include <math.h>
31801 main ()
31803 _atan2l(0, 0);
31805 return 0;
31807 _ACEOF
31808 if ac_fn_cxx_try_compile "$LINENO"; then :
31809 glibcxx_cv_func__atan2l_use=yes
31810 else
31811 glibcxx_cv_func__atan2l_use=no
31813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31814 ac_ext=c
31815 ac_cpp='$CPP $CPPFLAGS'
31816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31825 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31827 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31828 for ac_func in _atan2l
31829 do :
31830 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31831 if test "x$ac_cv_func__atan2l" = x""yes; then :
31832 cat >>confdefs.h <<_ACEOF
31833 #define HAVE__ATAN2L 1
31834 _ACEOF
31837 done
31846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31847 $as_echo_n "checking for expl declaration... " >&6; }
31848 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31849 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31850 $as_echo_n "(cached) " >&6
31851 else
31854 ac_ext=cpp
31855 ac_cpp='$CXXCPP $CPPFLAGS'
31856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31861 /* end confdefs.h. */
31862 #include <math.h>
31863 #ifdef HAVE_IEEEFP_H
31864 #include <ieeefp.h>
31865 #endif
31868 main ()
31870 expl(0);
31872 return 0;
31874 _ACEOF
31875 if ac_fn_cxx_try_compile "$LINENO"; then :
31876 glibcxx_cv_func_expl_use=yes
31877 else
31878 glibcxx_cv_func_expl_use=no
31880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31881 ac_ext=c
31882 ac_cpp='$CPP $CPPFLAGS'
31883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31892 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31894 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31895 for ac_func in expl
31896 do :
31897 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31898 if test "x$ac_cv_func_expl" = x""yes; then :
31899 cat >>confdefs.h <<_ACEOF
31900 #define HAVE_EXPL 1
31901 _ACEOF
31904 done
31906 else
31908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31909 $as_echo_n "checking for _expl declaration... " >&6; }
31910 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31911 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31912 $as_echo_n "(cached) " >&6
31913 else
31916 ac_ext=cpp
31917 ac_cpp='$CXXCPP $CPPFLAGS'
31918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31923 /* end confdefs.h. */
31924 #include <math.h>
31925 #ifdef HAVE_IEEEFP_H
31926 #include <ieeefp.h>
31927 #endif
31930 main ()
31932 _expl(0);
31934 return 0;
31936 _ACEOF
31937 if ac_fn_cxx_try_compile "$LINENO"; then :
31938 glibcxx_cv_func__expl_use=yes
31939 else
31940 glibcxx_cv_func__expl_use=no
31942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31943 ac_ext=c
31944 ac_cpp='$CPP $CPPFLAGS'
31945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31954 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31956 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31957 for ac_func in _expl
31958 do :
31959 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31960 if test "x$ac_cv_func__expl" = x""yes; then :
31961 cat >>confdefs.h <<_ACEOF
31962 #define HAVE__EXPL 1
31963 _ACEOF
31966 done
31975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31976 $as_echo_n "checking for fabsl declaration... " >&6; }
31977 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31978 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31979 $as_echo_n "(cached) " >&6
31980 else
31983 ac_ext=cpp
31984 ac_cpp='$CXXCPP $CPPFLAGS'
31985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31990 /* end confdefs.h. */
31991 #include <math.h>
31992 #ifdef HAVE_IEEEFP_H
31993 #include <ieeefp.h>
31994 #endif
31997 main ()
31999 fabsl(0);
32001 return 0;
32003 _ACEOF
32004 if ac_fn_cxx_try_compile "$LINENO"; then :
32005 glibcxx_cv_func_fabsl_use=yes
32006 else
32007 glibcxx_cv_func_fabsl_use=no
32009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32010 ac_ext=c
32011 ac_cpp='$CPP $CPPFLAGS'
32012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32021 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32023 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32024 for ac_func in fabsl
32025 do :
32026 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32027 if test "x$ac_cv_func_fabsl" = x""yes; then :
32028 cat >>confdefs.h <<_ACEOF
32029 #define HAVE_FABSL 1
32030 _ACEOF
32033 done
32035 else
32037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32038 $as_echo_n "checking for _fabsl declaration... " >&6; }
32039 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32040 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32041 $as_echo_n "(cached) " >&6
32042 else
32045 ac_ext=cpp
32046 ac_cpp='$CXXCPP $CPPFLAGS'
32047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32052 /* end confdefs.h. */
32053 #include <math.h>
32054 #ifdef HAVE_IEEEFP_H
32055 #include <ieeefp.h>
32056 #endif
32059 main ()
32061 _fabsl(0);
32063 return 0;
32065 _ACEOF
32066 if ac_fn_cxx_try_compile "$LINENO"; then :
32067 glibcxx_cv_func__fabsl_use=yes
32068 else
32069 glibcxx_cv_func__fabsl_use=no
32071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32072 ac_ext=c
32073 ac_cpp='$CPP $CPPFLAGS'
32074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32083 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32085 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32086 for ac_func in _fabsl
32087 do :
32088 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32089 if test "x$ac_cv_func__fabsl" = x""yes; then :
32090 cat >>confdefs.h <<_ACEOF
32091 #define HAVE__FABSL 1
32092 _ACEOF
32095 done
32104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32105 $as_echo_n "checking for fmodl declaration... " >&6; }
32106 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32107 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32108 $as_echo_n "(cached) " >&6
32109 else
32112 ac_ext=cpp
32113 ac_cpp='$CXXCPP $CPPFLAGS'
32114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32119 /* end confdefs.h. */
32120 #include <math.h>
32122 main ()
32124 fmodl(0, 0);
32126 return 0;
32128 _ACEOF
32129 if ac_fn_cxx_try_compile "$LINENO"; then :
32130 glibcxx_cv_func_fmodl_use=yes
32131 else
32132 glibcxx_cv_func_fmodl_use=no
32134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32135 ac_ext=c
32136 ac_cpp='$CPP $CPPFLAGS'
32137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32146 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32148 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32149 for ac_func in fmodl
32150 do :
32151 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32152 if test "x$ac_cv_func_fmodl" = x""yes; then :
32153 cat >>confdefs.h <<_ACEOF
32154 #define HAVE_FMODL 1
32155 _ACEOF
32158 done
32160 else
32162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32163 $as_echo_n "checking for _fmodl declaration... " >&6; }
32164 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32165 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32166 $as_echo_n "(cached) " >&6
32167 else
32170 ac_ext=cpp
32171 ac_cpp='$CXXCPP $CPPFLAGS'
32172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32177 /* end confdefs.h. */
32178 #include <math.h>
32180 main ()
32182 _fmodl(0, 0);
32184 return 0;
32186 _ACEOF
32187 if ac_fn_cxx_try_compile "$LINENO"; then :
32188 glibcxx_cv_func__fmodl_use=yes
32189 else
32190 glibcxx_cv_func__fmodl_use=no
32192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32193 ac_ext=c
32194 ac_cpp='$CPP $CPPFLAGS'
32195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32204 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32206 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32207 for ac_func in _fmodl
32208 do :
32209 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32210 if test "x$ac_cv_func__fmodl" = x""yes; then :
32211 cat >>confdefs.h <<_ACEOF
32212 #define HAVE__FMODL 1
32213 _ACEOF
32216 done
32225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32226 $as_echo_n "checking for frexpl declaration... " >&6; }
32227 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32228 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32229 $as_echo_n "(cached) " >&6
32230 else
32233 ac_ext=cpp
32234 ac_cpp='$CXXCPP $CPPFLAGS'
32235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32240 /* end confdefs.h. */
32241 #include <math.h>
32243 main ()
32245 frexpl(0, 0);
32247 return 0;
32249 _ACEOF
32250 if ac_fn_cxx_try_compile "$LINENO"; then :
32251 glibcxx_cv_func_frexpl_use=yes
32252 else
32253 glibcxx_cv_func_frexpl_use=no
32255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32256 ac_ext=c
32257 ac_cpp='$CPP $CPPFLAGS'
32258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32267 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32269 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32270 for ac_func in frexpl
32271 do :
32272 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32273 if test "x$ac_cv_func_frexpl" = x""yes; then :
32274 cat >>confdefs.h <<_ACEOF
32275 #define HAVE_FREXPL 1
32276 _ACEOF
32279 done
32281 else
32283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32284 $as_echo_n "checking for _frexpl declaration... " >&6; }
32285 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32286 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32287 $as_echo_n "(cached) " >&6
32288 else
32291 ac_ext=cpp
32292 ac_cpp='$CXXCPP $CPPFLAGS'
32293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32298 /* end confdefs.h. */
32299 #include <math.h>
32301 main ()
32303 _frexpl(0, 0);
32305 return 0;
32307 _ACEOF
32308 if ac_fn_cxx_try_compile "$LINENO"; then :
32309 glibcxx_cv_func__frexpl_use=yes
32310 else
32311 glibcxx_cv_func__frexpl_use=no
32313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32314 ac_ext=c
32315 ac_cpp='$CPP $CPPFLAGS'
32316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32325 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32327 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32328 for ac_func in _frexpl
32329 do :
32330 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32331 if test "x$ac_cv_func__frexpl" = x""yes; then :
32332 cat >>confdefs.h <<_ACEOF
32333 #define HAVE__FREXPL 1
32334 _ACEOF
32337 done
32346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32347 $as_echo_n "checking for hypotl declaration... " >&6; }
32348 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32349 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32350 $as_echo_n "(cached) " >&6
32351 else
32354 ac_ext=cpp
32355 ac_cpp='$CXXCPP $CPPFLAGS'
32356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32361 /* end confdefs.h. */
32362 #include <math.h>
32364 main ()
32366 hypotl(0, 0);
32368 return 0;
32370 _ACEOF
32371 if ac_fn_cxx_try_compile "$LINENO"; then :
32372 glibcxx_cv_func_hypotl_use=yes
32373 else
32374 glibcxx_cv_func_hypotl_use=no
32376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32377 ac_ext=c
32378 ac_cpp='$CPP $CPPFLAGS'
32379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32388 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32390 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32391 for ac_func in hypotl
32392 do :
32393 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32394 if test "x$ac_cv_func_hypotl" = x""yes; then :
32395 cat >>confdefs.h <<_ACEOF
32396 #define HAVE_HYPOTL 1
32397 _ACEOF
32400 done
32402 else
32404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32405 $as_echo_n "checking for _hypotl declaration... " >&6; }
32406 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32407 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32408 $as_echo_n "(cached) " >&6
32409 else
32412 ac_ext=cpp
32413 ac_cpp='$CXXCPP $CPPFLAGS'
32414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32419 /* end confdefs.h. */
32420 #include <math.h>
32422 main ()
32424 _hypotl(0, 0);
32426 return 0;
32428 _ACEOF
32429 if ac_fn_cxx_try_compile "$LINENO"; then :
32430 glibcxx_cv_func__hypotl_use=yes
32431 else
32432 glibcxx_cv_func__hypotl_use=no
32434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32435 ac_ext=c
32436 ac_cpp='$CPP $CPPFLAGS'
32437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32446 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32448 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32449 for ac_func in _hypotl
32450 do :
32451 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32452 if test "x$ac_cv_func__hypotl" = x""yes; then :
32453 cat >>confdefs.h <<_ACEOF
32454 #define HAVE__HYPOTL 1
32455 _ACEOF
32458 done
32467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32468 $as_echo_n "checking for ldexpl declaration... " >&6; }
32469 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32470 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32471 $as_echo_n "(cached) " >&6
32472 else
32475 ac_ext=cpp
32476 ac_cpp='$CXXCPP $CPPFLAGS'
32477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32482 /* end confdefs.h. */
32483 #include <math.h>
32485 main ()
32487 ldexpl(0, 0);
32489 return 0;
32491 _ACEOF
32492 if ac_fn_cxx_try_compile "$LINENO"; then :
32493 glibcxx_cv_func_ldexpl_use=yes
32494 else
32495 glibcxx_cv_func_ldexpl_use=no
32497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32498 ac_ext=c
32499 ac_cpp='$CPP $CPPFLAGS'
32500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32509 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32511 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32512 for ac_func in ldexpl
32513 do :
32514 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32515 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32516 cat >>confdefs.h <<_ACEOF
32517 #define HAVE_LDEXPL 1
32518 _ACEOF
32521 done
32523 else
32525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32526 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32527 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32528 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32529 $as_echo_n "(cached) " >&6
32530 else
32533 ac_ext=cpp
32534 ac_cpp='$CXXCPP $CPPFLAGS'
32535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32540 /* end confdefs.h. */
32541 #include <math.h>
32543 main ()
32545 _ldexpl(0, 0);
32547 return 0;
32549 _ACEOF
32550 if ac_fn_cxx_try_compile "$LINENO"; then :
32551 glibcxx_cv_func__ldexpl_use=yes
32552 else
32553 glibcxx_cv_func__ldexpl_use=no
32555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32556 ac_ext=c
32557 ac_cpp='$CPP $CPPFLAGS'
32558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32567 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32569 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32570 for ac_func in _ldexpl
32571 do :
32572 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32573 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32574 cat >>confdefs.h <<_ACEOF
32575 #define HAVE__LDEXPL 1
32576 _ACEOF
32579 done
32588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32589 $as_echo_n "checking for logl declaration... " >&6; }
32590 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32591 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32592 $as_echo_n "(cached) " >&6
32593 else
32596 ac_ext=cpp
32597 ac_cpp='$CXXCPP $CPPFLAGS'
32598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32603 /* end confdefs.h. */
32604 #include <math.h>
32605 #ifdef HAVE_IEEEFP_H
32606 #include <ieeefp.h>
32607 #endif
32610 main ()
32612 logl(0);
32614 return 0;
32616 _ACEOF
32617 if ac_fn_cxx_try_compile "$LINENO"; then :
32618 glibcxx_cv_func_logl_use=yes
32619 else
32620 glibcxx_cv_func_logl_use=no
32622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32623 ac_ext=c
32624 ac_cpp='$CPP $CPPFLAGS'
32625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32634 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32636 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32637 for ac_func in logl
32638 do :
32639 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32640 if test "x$ac_cv_func_logl" = x""yes; then :
32641 cat >>confdefs.h <<_ACEOF
32642 #define HAVE_LOGL 1
32643 _ACEOF
32646 done
32648 else
32650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32651 $as_echo_n "checking for _logl declaration... " >&6; }
32652 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32653 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32654 $as_echo_n "(cached) " >&6
32655 else
32658 ac_ext=cpp
32659 ac_cpp='$CXXCPP $CPPFLAGS'
32660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32665 /* end confdefs.h. */
32666 #include <math.h>
32667 #ifdef HAVE_IEEEFP_H
32668 #include <ieeefp.h>
32669 #endif
32672 main ()
32674 _logl(0);
32676 return 0;
32678 _ACEOF
32679 if ac_fn_cxx_try_compile "$LINENO"; then :
32680 glibcxx_cv_func__logl_use=yes
32681 else
32682 glibcxx_cv_func__logl_use=no
32684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32685 ac_ext=c
32686 ac_cpp='$CPP $CPPFLAGS'
32687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32696 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32698 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32699 for ac_func in _logl
32700 do :
32701 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32702 if test "x$ac_cv_func__logl" = x""yes; then :
32703 cat >>confdefs.h <<_ACEOF
32704 #define HAVE__LOGL 1
32705 _ACEOF
32708 done
32717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32718 $as_echo_n "checking for log10l declaration... " >&6; }
32719 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32720 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32721 $as_echo_n "(cached) " >&6
32722 else
32725 ac_ext=cpp
32726 ac_cpp='$CXXCPP $CPPFLAGS'
32727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32732 /* end confdefs.h. */
32733 #include <math.h>
32734 #ifdef HAVE_IEEEFP_H
32735 #include <ieeefp.h>
32736 #endif
32739 main ()
32741 log10l(0);
32743 return 0;
32745 _ACEOF
32746 if ac_fn_cxx_try_compile "$LINENO"; then :
32747 glibcxx_cv_func_log10l_use=yes
32748 else
32749 glibcxx_cv_func_log10l_use=no
32751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32752 ac_ext=c
32753 ac_cpp='$CPP $CPPFLAGS'
32754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32763 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32765 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32766 for ac_func in log10l
32767 do :
32768 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32769 if test "x$ac_cv_func_log10l" = x""yes; then :
32770 cat >>confdefs.h <<_ACEOF
32771 #define HAVE_LOG10L 1
32772 _ACEOF
32775 done
32777 else
32779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32780 $as_echo_n "checking for _log10l declaration... " >&6; }
32781 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32782 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32783 $as_echo_n "(cached) " >&6
32784 else
32787 ac_ext=cpp
32788 ac_cpp='$CXXCPP $CPPFLAGS'
32789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32794 /* end confdefs.h. */
32795 #include <math.h>
32796 #ifdef HAVE_IEEEFP_H
32797 #include <ieeefp.h>
32798 #endif
32801 main ()
32803 _log10l(0);
32805 return 0;
32807 _ACEOF
32808 if ac_fn_cxx_try_compile "$LINENO"; then :
32809 glibcxx_cv_func__log10l_use=yes
32810 else
32811 glibcxx_cv_func__log10l_use=no
32813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32814 ac_ext=c
32815 ac_cpp='$CPP $CPPFLAGS'
32816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32825 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32827 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32828 for ac_func in _log10l
32829 do :
32830 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32831 if test "x$ac_cv_func__log10l" = x""yes; then :
32832 cat >>confdefs.h <<_ACEOF
32833 #define HAVE__LOG10L 1
32834 _ACEOF
32837 done
32846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32847 $as_echo_n "checking for modfl declaration... " >&6; }
32848 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32849 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32850 $as_echo_n "(cached) " >&6
32851 else
32854 ac_ext=cpp
32855 ac_cpp='$CXXCPP $CPPFLAGS'
32856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32861 /* end confdefs.h. */
32862 #include <math.h>
32864 main ()
32866 modfl(0, 0);
32868 return 0;
32870 _ACEOF
32871 if ac_fn_cxx_try_compile "$LINENO"; then :
32872 glibcxx_cv_func_modfl_use=yes
32873 else
32874 glibcxx_cv_func_modfl_use=no
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 ac_ext=c
32878 ac_cpp='$CPP $CPPFLAGS'
32879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32888 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32890 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32891 for ac_func in modfl
32892 do :
32893 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32894 if test "x$ac_cv_func_modfl" = x""yes; then :
32895 cat >>confdefs.h <<_ACEOF
32896 #define HAVE_MODFL 1
32897 _ACEOF
32900 done
32902 else
32904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32905 $as_echo_n "checking for _modfl declaration... " >&6; }
32906 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32907 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32908 $as_echo_n "(cached) " >&6
32909 else
32912 ac_ext=cpp
32913 ac_cpp='$CXXCPP $CPPFLAGS'
32914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32919 /* end confdefs.h. */
32920 #include <math.h>
32922 main ()
32924 _modfl(0, 0);
32926 return 0;
32928 _ACEOF
32929 if ac_fn_cxx_try_compile "$LINENO"; then :
32930 glibcxx_cv_func__modfl_use=yes
32931 else
32932 glibcxx_cv_func__modfl_use=no
32934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32935 ac_ext=c
32936 ac_cpp='$CPP $CPPFLAGS'
32937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32946 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32948 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32949 for ac_func in _modfl
32950 do :
32951 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32952 if test "x$ac_cv_func__modfl" = x""yes; then :
32953 cat >>confdefs.h <<_ACEOF
32954 #define HAVE__MODFL 1
32955 _ACEOF
32958 done
32967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32968 $as_echo_n "checking for powl declaration... " >&6; }
32969 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32970 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32971 $as_echo_n "(cached) " >&6
32972 else
32975 ac_ext=cpp
32976 ac_cpp='$CXXCPP $CPPFLAGS'
32977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32982 /* end confdefs.h. */
32983 #include <math.h>
32985 main ()
32987 powl(0, 0);
32989 return 0;
32991 _ACEOF
32992 if ac_fn_cxx_try_compile "$LINENO"; then :
32993 glibcxx_cv_func_powl_use=yes
32994 else
32995 glibcxx_cv_func_powl_use=no
32997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32998 ac_ext=c
32999 ac_cpp='$CPP $CPPFLAGS'
33000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33009 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33011 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33012 for ac_func in powl
33013 do :
33014 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33015 if test "x$ac_cv_func_powl" = x""yes; then :
33016 cat >>confdefs.h <<_ACEOF
33017 #define HAVE_POWL 1
33018 _ACEOF
33021 done
33023 else
33025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33026 $as_echo_n "checking for _powl declaration... " >&6; }
33027 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33028 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33029 $as_echo_n "(cached) " >&6
33030 else
33033 ac_ext=cpp
33034 ac_cpp='$CXXCPP $CPPFLAGS'
33035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33040 /* end confdefs.h. */
33041 #include <math.h>
33043 main ()
33045 _powl(0, 0);
33047 return 0;
33049 _ACEOF
33050 if ac_fn_cxx_try_compile "$LINENO"; then :
33051 glibcxx_cv_func__powl_use=yes
33052 else
33053 glibcxx_cv_func__powl_use=no
33055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33056 ac_ext=c
33057 ac_cpp='$CPP $CPPFLAGS'
33058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33067 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33069 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33070 for ac_func in _powl
33071 do :
33072 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33073 if test "x$ac_cv_func__powl" = x""yes; then :
33074 cat >>confdefs.h <<_ACEOF
33075 #define HAVE__POWL 1
33076 _ACEOF
33079 done
33088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33089 $as_echo_n "checking for sqrtl declaration... " >&6; }
33090 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33091 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33092 $as_echo_n "(cached) " >&6
33093 else
33096 ac_ext=cpp
33097 ac_cpp='$CXXCPP $CPPFLAGS'
33098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33103 /* end confdefs.h. */
33104 #include <math.h>
33105 #ifdef HAVE_IEEEFP_H
33106 #include <ieeefp.h>
33107 #endif
33110 main ()
33112 sqrtl(0);
33114 return 0;
33116 _ACEOF
33117 if ac_fn_cxx_try_compile "$LINENO"; then :
33118 glibcxx_cv_func_sqrtl_use=yes
33119 else
33120 glibcxx_cv_func_sqrtl_use=no
33122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33123 ac_ext=c
33124 ac_cpp='$CPP $CPPFLAGS'
33125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33134 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33136 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33137 for ac_func in sqrtl
33138 do :
33139 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33140 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33141 cat >>confdefs.h <<_ACEOF
33142 #define HAVE_SQRTL 1
33143 _ACEOF
33146 done
33148 else
33150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33151 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33152 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33153 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33154 $as_echo_n "(cached) " >&6
33155 else
33158 ac_ext=cpp
33159 ac_cpp='$CXXCPP $CPPFLAGS'
33160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33165 /* end confdefs.h. */
33166 #include <math.h>
33167 #ifdef HAVE_IEEEFP_H
33168 #include <ieeefp.h>
33169 #endif
33172 main ()
33174 _sqrtl(0);
33176 return 0;
33178 _ACEOF
33179 if ac_fn_cxx_try_compile "$LINENO"; then :
33180 glibcxx_cv_func__sqrtl_use=yes
33181 else
33182 glibcxx_cv_func__sqrtl_use=no
33184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33185 ac_ext=c
33186 ac_cpp='$CPP $CPPFLAGS'
33187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33196 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33198 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33199 for ac_func in _sqrtl
33200 do :
33201 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33202 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33203 cat >>confdefs.h <<_ACEOF
33204 #define HAVE__SQRTL 1
33205 _ACEOF
33208 done
33217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33218 $as_echo_n "checking for sincosl declaration... " >&6; }
33219 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33220 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33221 $as_echo_n "(cached) " >&6
33222 else
33225 ac_ext=cpp
33226 ac_cpp='$CXXCPP $CPPFLAGS'
33227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33232 /* end confdefs.h. */
33233 #include <math.h>
33235 main ()
33237 sincosl(0, 0, 0);
33239 return 0;
33241 _ACEOF
33242 if ac_fn_cxx_try_compile "$LINENO"; then :
33243 glibcxx_cv_func_sincosl_use=yes
33244 else
33245 glibcxx_cv_func_sincosl_use=no
33247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33248 ac_ext=c
33249 ac_cpp='$CPP $CPPFLAGS'
33250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33259 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33261 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33262 for ac_func in sincosl
33263 do :
33264 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33265 if test "x$ac_cv_func_sincosl" = x""yes; then :
33266 cat >>confdefs.h <<_ACEOF
33267 #define HAVE_SINCOSL 1
33268 _ACEOF
33271 done
33273 else
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33276 $as_echo_n "checking for _sincosl declaration... " >&6; }
33277 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33278 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33279 $as_echo_n "(cached) " >&6
33280 else
33283 ac_ext=cpp
33284 ac_cpp='$CXXCPP $CPPFLAGS'
33285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33290 /* end confdefs.h. */
33291 #include <math.h>
33293 main ()
33295 _sincosl(0, 0, 0);
33297 return 0;
33299 _ACEOF
33300 if ac_fn_cxx_try_compile "$LINENO"; then :
33301 glibcxx_cv_func__sincosl_use=yes
33302 else
33303 glibcxx_cv_func__sincosl_use=no
33305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33306 ac_ext=c
33307 ac_cpp='$CPP $CPPFLAGS'
33308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33317 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33319 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33320 for ac_func in _sincosl
33321 do :
33322 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33323 if test "x$ac_cv_func__sincosl" = x""yes; then :
33324 cat >>confdefs.h <<_ACEOF
33325 #define HAVE__SINCOSL 1
33326 _ACEOF
33329 done
33338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33339 $as_echo_n "checking for finitel declaration... " >&6; }
33340 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33341 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33342 $as_echo_n "(cached) " >&6
33343 else
33346 ac_ext=cpp
33347 ac_cpp='$CXXCPP $CPPFLAGS'
33348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33353 /* end confdefs.h. */
33354 #include <math.h>
33355 #ifdef HAVE_IEEEFP_H
33356 #include <ieeefp.h>
33357 #endif
33360 main ()
33362 finitel(0);
33364 return 0;
33366 _ACEOF
33367 if ac_fn_cxx_try_compile "$LINENO"; then :
33368 glibcxx_cv_func_finitel_use=yes
33369 else
33370 glibcxx_cv_func_finitel_use=no
33372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33373 ac_ext=c
33374 ac_cpp='$CPP $CPPFLAGS'
33375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33384 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33386 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33387 for ac_func in finitel
33388 do :
33389 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33390 if test "x$ac_cv_func_finitel" = x""yes; then :
33391 cat >>confdefs.h <<_ACEOF
33392 #define HAVE_FINITEL 1
33393 _ACEOF
33396 done
33398 else
33400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33401 $as_echo_n "checking for _finitel declaration... " >&6; }
33402 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33403 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33404 $as_echo_n "(cached) " >&6
33405 else
33408 ac_ext=cpp
33409 ac_cpp='$CXXCPP $CPPFLAGS'
33410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33415 /* end confdefs.h. */
33416 #include <math.h>
33417 #ifdef HAVE_IEEEFP_H
33418 #include <ieeefp.h>
33419 #endif
33422 main ()
33424 _finitel(0);
33426 return 0;
33428 _ACEOF
33429 if ac_fn_cxx_try_compile "$LINENO"; then :
33430 glibcxx_cv_func__finitel_use=yes
33431 else
33432 glibcxx_cv_func__finitel_use=no
33434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33435 ac_ext=c
33436 ac_cpp='$CPP $CPPFLAGS'
33437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33446 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33448 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33449 for ac_func in _finitel
33450 do :
33451 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33452 if test "x$ac_cv_func__finitel" = x""yes; then :
33453 cat >>confdefs.h <<_ACEOF
33454 #define HAVE__FINITEL 1
33455 _ACEOF
33458 done
33466 LIBS="$ac_save_LIBS"
33467 CXXFLAGS="$ac_save_CXXFLAGS"
33470 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33471 ac_save_CXXFLAGS="$CXXFLAGS"
33472 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33476 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33477 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33478 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33479 $as_echo_n "(cached) " >&6
33480 else
33483 ac_ext=cpp
33484 ac_cpp='$CXXCPP $CPPFLAGS'
33485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33490 /* end confdefs.h. */
33491 #include <stdlib.h>
33493 main ()
33495 at_quick_exit(0);
33497 return 0;
33499 _ACEOF
33500 if ac_fn_cxx_try_compile "$LINENO"; then :
33501 glibcxx_cv_func_at_quick_exit_use=yes
33502 else
33503 glibcxx_cv_func_at_quick_exit_use=no
33505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33506 ac_ext=c
33507 ac_cpp='$CPP $CPPFLAGS'
33508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33517 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33518 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33519 for ac_func in at_quick_exit
33520 do :
33521 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33522 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33523 cat >>confdefs.h <<_ACEOF
33524 #define HAVE_AT_QUICK_EXIT 1
33525 _ACEOF
33528 done
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33534 $as_echo_n "checking for quick_exit declaration... " >&6; }
33535 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33536 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33537 $as_echo_n "(cached) " >&6
33538 else
33541 ac_ext=cpp
33542 ac_cpp='$CXXCPP $CPPFLAGS'
33543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33548 /* end confdefs.h. */
33549 #include <stdlib.h>
33551 main ()
33553 quick_exit(0);
33555 return 0;
33557 _ACEOF
33558 if ac_fn_cxx_try_compile "$LINENO"; then :
33559 glibcxx_cv_func_quick_exit_use=yes
33560 else
33561 glibcxx_cv_func_quick_exit_use=no
33563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33564 ac_ext=c
33565 ac_cpp='$CPP $CPPFLAGS'
33566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33575 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33576 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33577 for ac_func in quick_exit
33578 do :
33579 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33580 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33581 cat >>confdefs.h <<_ACEOF
33582 #define HAVE_QUICK_EXIT 1
33583 _ACEOF
33586 done
33591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33592 $as_echo_n "checking for strtold declaration... " >&6; }
33593 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33594 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33595 $as_echo_n "(cached) " >&6
33596 else
33599 ac_ext=cpp
33600 ac_cpp='$CXXCPP $CPPFLAGS'
33601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33606 /* end confdefs.h. */
33607 #include <stdlib.h>
33609 main ()
33611 strtold(0, 0);
33613 return 0;
33615 _ACEOF
33616 if ac_fn_cxx_try_compile "$LINENO"; then :
33617 glibcxx_cv_func_strtold_use=yes
33618 else
33619 glibcxx_cv_func_strtold_use=no
33621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33622 ac_ext=c
33623 ac_cpp='$CPP $CPPFLAGS'
33624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33633 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33634 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33635 for ac_func in strtold
33636 do :
33637 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33638 if test "x$ac_cv_func_strtold" = x""yes; then :
33639 cat >>confdefs.h <<_ACEOF
33640 #define HAVE_STRTOLD 1
33641 _ACEOF
33644 done
33651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33652 $as_echo_n "checking for strtof declaration... " >&6; }
33653 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33654 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33655 $as_echo_n "(cached) " >&6
33656 else
33659 ac_ext=cpp
33660 ac_cpp='$CXXCPP $CPPFLAGS'
33661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33666 /* end confdefs.h. */
33667 #include <stdlib.h>
33669 main ()
33671 strtof(0, 0);
33673 return 0;
33675 _ACEOF
33676 if ac_fn_cxx_try_compile "$LINENO"; then :
33677 glibcxx_cv_func_strtof_use=yes
33678 else
33679 glibcxx_cv_func_strtof_use=no
33681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33682 ac_ext=c
33683 ac_cpp='$CPP $CPPFLAGS'
33684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33693 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33694 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33695 for ac_func in strtof
33696 do :
33697 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33698 if test "x$ac_cv_func_strtof" = x""yes; then :
33699 cat >>confdefs.h <<_ACEOF
33700 #define HAVE_STRTOF 1
33701 _ACEOF
33704 done
33711 CXXFLAGS="$ac_save_CXXFLAGS"
33714 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33716 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33718 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33720 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33723 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33725 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33727 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33731 *-aix*)
33733 # If we're not using GNU ld, then there's no point in even trying these
33734 # tests. Check for that first. We should have already tested for gld
33735 # by now (in libtool), but require it now just to be safe...
33736 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33737 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33741 # The name set by libtool depends on the version of libtool. Shame on us
33742 # for depending on an impl detail, but c'est la vie. Older versions used
33743 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33744 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33745 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33746 # set (hence we're using an older libtool), then set it.
33747 if test x${with_gnu_ld+set} != xset; then
33748 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33749 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33750 with_gnu_ld=no
33751 else
33752 with_gnu_ld=$ac_cv_prog_gnu_ld
33756 # Start by getting the version number. I think the libtool test already
33757 # does some of this, but throws away the result.
33758 glibcxx_ld_is_gold=no
33759 if test x"$with_gnu_ld" = x"yes"; then
33760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33761 $as_echo_n "checking for ld version... " >&6; }
33763 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33764 glibcxx_ld_is_gold=yes
33766 ldver=`$LD --version 2>/dev/null |
33767 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'`
33769 glibcxx_gnu_ld_version=`echo $ldver | \
33770 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33772 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33775 # Set --gc-sections.
33776 glibcxx_have_gc_sections=no
33777 if test "$glibcxx_ld_is_gold" = "yes"; then
33778 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33779 glibcxx_have_gc_sections=yes
33781 else
33782 glibcxx_gcsections_min_ld=21602
33783 if test x"$with_gnu_ld" = x"yes" &&
33784 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33785 glibcxx_have_gc_sections=yes
33788 if test "$glibcxx_have_gc_sections" = "yes"; then
33789 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33790 # NB: This flag only works reliably after 2.16.1. Configure tests
33791 # for this are difficult, so hard wire a value that should work.
33793 ac_test_CFLAGS="${CFLAGS+set}"
33794 ac_save_CFLAGS="$CFLAGS"
33795 CFLAGS='-Wl,--gc-sections'
33797 # Check for -Wl,--gc-sections
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33799 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33800 if test x$gcc_no_link = xyes; then
33801 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33804 /* end confdefs.h. */
33805 int one(void) { return 1; }
33806 int two(void) { return 2; }
33809 main ()
33811 two();
33813 return 0;
33815 _ACEOF
33816 if ac_fn_c_try_link "$LINENO"; then :
33817 ac_gcsections=yes
33818 else
33819 ac_gcsections=no
33821 rm -f core conftest.err conftest.$ac_objext \
33822 conftest$ac_exeext conftest.$ac_ext
33823 if test "$ac_gcsections" = "yes"; then
33824 rm -f conftest.c
33825 touch conftest.c
33826 if $CC -c conftest.c; then
33827 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33828 grep "Warning: gc-sections option ignored" > /dev/null; then
33829 ac_gcsections=no
33832 rm -f conftest.c conftest.o conftest
33834 if test "$ac_gcsections" = "yes"; then
33835 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33838 $as_echo "$ac_gcsections" >&6; }
33840 if test "$ac_test_CFLAGS" = set; then
33841 CFLAGS="$ac_save_CFLAGS"
33842 else
33843 # this is the suspicious part
33844 CFLAGS=''
33848 # Set -z,relro.
33849 # Note this is only for shared objects.
33850 ac_ld_relro=no
33851 if test x"$with_gnu_ld" = x"yes"; then
33852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33853 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33854 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33855 if test -n "$cxx_z_relo"; then
33856 OPT_LDFLAGS="-Wl,-z,relro"
33857 ac_ld_relro=yes
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33860 $as_echo "$ac_ld_relro" >&6; }
33863 # Set linker optimization flags.
33864 if test x"$with_gnu_ld" = x"yes"; then
33865 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33872 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33873 ac_save_CXXFLAGS="$CXXFLAGS"
33874 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33877 $as_echo_n "checking for sin in -lm... " >&6; }
33878 if test "${ac_cv_lib_m_sin+set}" = set; then :
33879 $as_echo_n "(cached) " >&6
33880 else
33881 ac_check_lib_save_LIBS=$LIBS
33882 LIBS="-lm $LIBS"
33883 if test x$gcc_no_link = xyes; then
33884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33887 /* end confdefs.h. */
33889 /* Override any GCC internal prototype to avoid an error.
33890 Use char because int might match the return type of a GCC
33891 builtin and then its argument prototype would still apply. */
33892 #ifdef __cplusplus
33893 extern "C"
33894 #endif
33895 char sin ();
33897 main ()
33899 return sin ();
33901 return 0;
33903 _ACEOF
33904 if ac_fn_c_try_link "$LINENO"; then :
33905 ac_cv_lib_m_sin=yes
33906 else
33907 ac_cv_lib_m_sin=no
33909 rm -f core conftest.err conftest.$ac_objext \
33910 conftest$ac_exeext conftest.$ac_ext
33911 LIBS=$ac_check_lib_save_LIBS
33913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33914 $as_echo "$ac_cv_lib_m_sin" >&6; }
33915 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33916 libm="-lm"
33919 ac_save_LIBS="$LIBS"
33920 LIBS="$LIBS $libm"
33924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33925 $as_echo_n "checking for isinf declaration... " >&6; }
33926 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33927 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33928 $as_echo_n "(cached) " >&6
33929 else
33932 ac_ext=cpp
33933 ac_cpp='$CXXCPP $CPPFLAGS'
33934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33939 /* end confdefs.h. */
33940 #include <math.h>
33941 #ifdef HAVE_IEEEFP_H
33942 #include <ieeefp.h>
33943 #endif
33946 main ()
33948 isinf(0);
33950 return 0;
33952 _ACEOF
33953 if ac_fn_cxx_try_compile "$LINENO"; then :
33954 glibcxx_cv_func_isinf_use=yes
33955 else
33956 glibcxx_cv_func_isinf_use=no
33958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33959 ac_ext=c
33960 ac_cpp='$CPP $CPPFLAGS'
33961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33970 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33972 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33973 for ac_func in isinf
33974 do :
33975 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33976 if test "x$ac_cv_func_isinf" = x""yes; then :
33977 cat >>confdefs.h <<_ACEOF
33978 #define HAVE_ISINF 1
33979 _ACEOF
33982 done
33984 else
33986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33987 $as_echo_n "checking for _isinf declaration... " >&6; }
33988 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33989 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33990 $as_echo_n "(cached) " >&6
33991 else
33994 ac_ext=cpp
33995 ac_cpp='$CXXCPP $CPPFLAGS'
33996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34001 /* end confdefs.h. */
34002 #include <math.h>
34003 #ifdef HAVE_IEEEFP_H
34004 #include <ieeefp.h>
34005 #endif
34008 main ()
34010 _isinf(0);
34012 return 0;
34014 _ACEOF
34015 if ac_fn_cxx_try_compile "$LINENO"; then :
34016 glibcxx_cv_func__isinf_use=yes
34017 else
34018 glibcxx_cv_func__isinf_use=no
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021 ac_ext=c
34022 ac_cpp='$CPP $CPPFLAGS'
34023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34032 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34034 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34035 for ac_func in _isinf
34036 do :
34037 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34038 if test "x$ac_cv_func__isinf" = x""yes; then :
34039 cat >>confdefs.h <<_ACEOF
34040 #define HAVE__ISINF 1
34041 _ACEOF
34044 done
34053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34054 $as_echo_n "checking for isnan declaration... " >&6; }
34055 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34056 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34057 $as_echo_n "(cached) " >&6
34058 else
34061 ac_ext=cpp
34062 ac_cpp='$CXXCPP $CPPFLAGS'
34063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34068 /* end confdefs.h. */
34069 #include <math.h>
34070 #ifdef HAVE_IEEEFP_H
34071 #include <ieeefp.h>
34072 #endif
34075 main ()
34077 isnan(0);
34079 return 0;
34081 _ACEOF
34082 if ac_fn_cxx_try_compile "$LINENO"; then :
34083 glibcxx_cv_func_isnan_use=yes
34084 else
34085 glibcxx_cv_func_isnan_use=no
34087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34088 ac_ext=c
34089 ac_cpp='$CPP $CPPFLAGS'
34090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34099 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34101 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34102 for ac_func in isnan
34103 do :
34104 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34105 if test "x$ac_cv_func_isnan" = x""yes; then :
34106 cat >>confdefs.h <<_ACEOF
34107 #define HAVE_ISNAN 1
34108 _ACEOF
34111 done
34113 else
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34116 $as_echo_n "checking for _isnan declaration... " >&6; }
34117 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34118 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34119 $as_echo_n "(cached) " >&6
34120 else
34123 ac_ext=cpp
34124 ac_cpp='$CXXCPP $CPPFLAGS'
34125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34130 /* end confdefs.h. */
34131 #include <math.h>
34132 #ifdef HAVE_IEEEFP_H
34133 #include <ieeefp.h>
34134 #endif
34137 main ()
34139 _isnan(0);
34141 return 0;
34143 _ACEOF
34144 if ac_fn_cxx_try_compile "$LINENO"; then :
34145 glibcxx_cv_func__isnan_use=yes
34146 else
34147 glibcxx_cv_func__isnan_use=no
34149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34150 ac_ext=c
34151 ac_cpp='$CPP $CPPFLAGS'
34152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34161 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34163 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34164 for ac_func in _isnan
34165 do :
34166 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34167 if test "x$ac_cv_func__isnan" = x""yes; then :
34168 cat >>confdefs.h <<_ACEOF
34169 #define HAVE__ISNAN 1
34170 _ACEOF
34173 done
34182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34183 $as_echo_n "checking for finite declaration... " >&6; }
34184 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34185 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34186 $as_echo_n "(cached) " >&6
34187 else
34190 ac_ext=cpp
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34198 #include <math.h>
34199 #ifdef HAVE_IEEEFP_H
34200 #include <ieeefp.h>
34201 #endif
34204 main ()
34206 finite(0);
34208 return 0;
34210 _ACEOF
34211 if ac_fn_cxx_try_compile "$LINENO"; then :
34212 glibcxx_cv_func_finite_use=yes
34213 else
34214 glibcxx_cv_func_finite_use=no
34216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34217 ac_ext=c
34218 ac_cpp='$CPP $CPPFLAGS'
34219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34228 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34230 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34231 for ac_func in finite
34232 do :
34233 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34234 if test "x$ac_cv_func_finite" = x""yes; then :
34235 cat >>confdefs.h <<_ACEOF
34236 #define HAVE_FINITE 1
34237 _ACEOF
34240 done
34242 else
34244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34245 $as_echo_n "checking for _finite declaration... " >&6; }
34246 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34247 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34248 $as_echo_n "(cached) " >&6
34249 else
34252 ac_ext=cpp
34253 ac_cpp='$CXXCPP $CPPFLAGS'
34254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34259 /* end confdefs.h. */
34260 #include <math.h>
34261 #ifdef HAVE_IEEEFP_H
34262 #include <ieeefp.h>
34263 #endif
34266 main ()
34268 _finite(0);
34270 return 0;
34272 _ACEOF
34273 if ac_fn_cxx_try_compile "$LINENO"; then :
34274 glibcxx_cv_func__finite_use=yes
34275 else
34276 glibcxx_cv_func__finite_use=no
34278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34279 ac_ext=c
34280 ac_cpp='$CPP $CPPFLAGS'
34281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34290 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34292 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34293 for ac_func in _finite
34294 do :
34295 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34296 if test "x$ac_cv_func__finite" = x""yes; then :
34297 cat >>confdefs.h <<_ACEOF
34298 #define HAVE__FINITE 1
34299 _ACEOF
34302 done
34311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34312 $as_echo_n "checking for sincos declaration... " >&6; }
34313 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34314 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34315 $as_echo_n "(cached) " >&6
34316 else
34319 ac_ext=cpp
34320 ac_cpp='$CXXCPP $CPPFLAGS'
34321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34326 /* end confdefs.h. */
34327 #include <math.h>
34329 main ()
34331 sincos(0, 0, 0);
34333 return 0;
34335 _ACEOF
34336 if ac_fn_cxx_try_compile "$LINENO"; then :
34337 glibcxx_cv_func_sincos_use=yes
34338 else
34339 glibcxx_cv_func_sincos_use=no
34341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34342 ac_ext=c
34343 ac_cpp='$CPP $CPPFLAGS'
34344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34353 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34355 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34356 for ac_func in sincos
34357 do :
34358 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34359 if test "x$ac_cv_func_sincos" = x""yes; then :
34360 cat >>confdefs.h <<_ACEOF
34361 #define HAVE_SINCOS 1
34362 _ACEOF
34365 done
34367 else
34369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34370 $as_echo_n "checking for _sincos declaration... " >&6; }
34371 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34372 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34373 $as_echo_n "(cached) " >&6
34374 else
34377 ac_ext=cpp
34378 ac_cpp='$CXXCPP $CPPFLAGS'
34379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34384 /* end confdefs.h. */
34385 #include <math.h>
34387 main ()
34389 _sincos(0, 0, 0);
34391 return 0;
34393 _ACEOF
34394 if ac_fn_cxx_try_compile "$LINENO"; then :
34395 glibcxx_cv_func__sincos_use=yes
34396 else
34397 glibcxx_cv_func__sincos_use=no
34399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34400 ac_ext=c
34401 ac_cpp='$CPP $CPPFLAGS'
34402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34411 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34413 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34414 for ac_func in _sincos
34415 do :
34416 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34417 if test "x$ac_cv_func__sincos" = x""yes; then :
34418 cat >>confdefs.h <<_ACEOF
34419 #define HAVE__SINCOS 1
34420 _ACEOF
34423 done
34432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34433 $as_echo_n "checking for fpclass declaration... " >&6; }
34434 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34435 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34436 $as_echo_n "(cached) " >&6
34437 else
34440 ac_ext=cpp
34441 ac_cpp='$CXXCPP $CPPFLAGS'
34442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34447 /* end confdefs.h. */
34448 #include <math.h>
34449 #ifdef HAVE_IEEEFP_H
34450 #include <ieeefp.h>
34451 #endif
34454 main ()
34456 fpclass(0);
34458 return 0;
34460 _ACEOF
34461 if ac_fn_cxx_try_compile "$LINENO"; then :
34462 glibcxx_cv_func_fpclass_use=yes
34463 else
34464 glibcxx_cv_func_fpclass_use=no
34466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34467 ac_ext=c
34468 ac_cpp='$CPP $CPPFLAGS'
34469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34478 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34480 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34481 for ac_func in fpclass
34482 do :
34483 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34484 if test "x$ac_cv_func_fpclass" = x""yes; then :
34485 cat >>confdefs.h <<_ACEOF
34486 #define HAVE_FPCLASS 1
34487 _ACEOF
34490 done
34492 else
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34495 $as_echo_n "checking for _fpclass declaration... " >&6; }
34496 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34497 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34498 $as_echo_n "(cached) " >&6
34499 else
34502 ac_ext=cpp
34503 ac_cpp='$CXXCPP $CPPFLAGS'
34504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34509 /* end confdefs.h. */
34510 #include <math.h>
34511 #ifdef HAVE_IEEEFP_H
34512 #include <ieeefp.h>
34513 #endif
34516 main ()
34518 _fpclass(0);
34520 return 0;
34522 _ACEOF
34523 if ac_fn_cxx_try_compile "$LINENO"; then :
34524 glibcxx_cv_func__fpclass_use=yes
34525 else
34526 glibcxx_cv_func__fpclass_use=no
34528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34529 ac_ext=c
34530 ac_cpp='$CPP $CPPFLAGS'
34531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34540 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34542 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34543 for ac_func in _fpclass
34544 do :
34545 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34546 if test "x$ac_cv_func__fpclass" = x""yes; then :
34547 cat >>confdefs.h <<_ACEOF
34548 #define HAVE__FPCLASS 1
34549 _ACEOF
34552 done
34561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34562 $as_echo_n "checking for qfpclass declaration... " >&6; }
34563 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34564 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34565 $as_echo_n "(cached) " >&6
34566 else
34569 ac_ext=cpp
34570 ac_cpp='$CXXCPP $CPPFLAGS'
34571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34576 /* end confdefs.h. */
34577 #include <math.h>
34578 #ifdef HAVE_IEEEFP_H
34579 #include <ieeefp.h>
34580 #endif
34583 main ()
34585 qfpclass(0);
34587 return 0;
34589 _ACEOF
34590 if ac_fn_cxx_try_compile "$LINENO"; then :
34591 glibcxx_cv_func_qfpclass_use=yes
34592 else
34593 glibcxx_cv_func_qfpclass_use=no
34595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34596 ac_ext=c
34597 ac_cpp='$CPP $CPPFLAGS'
34598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34607 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34609 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34610 for ac_func in qfpclass
34611 do :
34612 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34613 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34614 cat >>confdefs.h <<_ACEOF
34615 #define HAVE_QFPCLASS 1
34616 _ACEOF
34619 done
34621 else
34623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34624 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34625 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34626 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34627 $as_echo_n "(cached) " >&6
34628 else
34631 ac_ext=cpp
34632 ac_cpp='$CXXCPP $CPPFLAGS'
34633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34638 /* end confdefs.h. */
34639 #include <math.h>
34640 #ifdef HAVE_IEEEFP_H
34641 #include <ieeefp.h>
34642 #endif
34645 main ()
34647 _qfpclass(0);
34649 return 0;
34651 _ACEOF
34652 if ac_fn_cxx_try_compile "$LINENO"; then :
34653 glibcxx_cv_func__qfpclass_use=yes
34654 else
34655 glibcxx_cv_func__qfpclass_use=no
34657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34658 ac_ext=c
34659 ac_cpp='$CPP $CPPFLAGS'
34660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34669 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34671 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34672 for ac_func in _qfpclass
34673 do :
34674 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34675 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34676 cat >>confdefs.h <<_ACEOF
34677 #define HAVE__QFPCLASS 1
34678 _ACEOF
34681 done
34690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34691 $as_echo_n "checking for hypot declaration... " >&6; }
34692 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34693 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34694 $as_echo_n "(cached) " >&6
34695 else
34698 ac_ext=cpp
34699 ac_cpp='$CXXCPP $CPPFLAGS'
34700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34705 /* end confdefs.h. */
34706 #include <math.h>
34708 main ()
34710 hypot(0, 0);
34712 return 0;
34714 _ACEOF
34715 if ac_fn_cxx_try_compile "$LINENO"; then :
34716 glibcxx_cv_func_hypot_use=yes
34717 else
34718 glibcxx_cv_func_hypot_use=no
34720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34721 ac_ext=c
34722 ac_cpp='$CPP $CPPFLAGS'
34723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34732 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34734 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34735 for ac_func in hypot
34736 do :
34737 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34738 if test "x$ac_cv_func_hypot" = x""yes; then :
34739 cat >>confdefs.h <<_ACEOF
34740 #define HAVE_HYPOT 1
34741 _ACEOF
34744 done
34746 else
34748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34749 $as_echo_n "checking for _hypot declaration... " >&6; }
34750 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34751 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34752 $as_echo_n "(cached) " >&6
34753 else
34756 ac_ext=cpp
34757 ac_cpp='$CXXCPP $CPPFLAGS'
34758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34763 /* end confdefs.h. */
34764 #include <math.h>
34766 main ()
34768 _hypot(0, 0);
34770 return 0;
34772 _ACEOF
34773 if ac_fn_cxx_try_compile "$LINENO"; then :
34774 glibcxx_cv_func__hypot_use=yes
34775 else
34776 glibcxx_cv_func__hypot_use=no
34778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34779 ac_ext=c
34780 ac_cpp='$CPP $CPPFLAGS'
34781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34790 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34792 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34793 for ac_func in _hypot
34794 do :
34795 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34796 if test "x$ac_cv_func__hypot" = x""yes; then :
34797 cat >>confdefs.h <<_ACEOF
34798 #define HAVE__HYPOT 1
34799 _ACEOF
34802 done
34811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34812 $as_echo_n "checking for float trig functions... " >&6; }
34813 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34814 $as_echo_n "(cached) " >&6
34815 else
34818 ac_ext=cpp
34819 ac_cpp='$CXXCPP $CPPFLAGS'
34820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34825 /* end confdefs.h. */
34826 #include <math.h>
34828 main ()
34830 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34832 return 0;
34834 _ACEOF
34835 if ac_fn_cxx_try_compile "$LINENO"; then :
34836 glibcxx_cv_func_float_trig_use=yes
34837 else
34838 glibcxx_cv_func_float_trig_use=no
34840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34841 ac_ext=c
34842 ac_cpp='$CPP $CPPFLAGS'
34843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34850 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34851 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34852 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34853 do :
34854 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34855 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34856 eval as_val=\$$as_ac_var
34857 if test "x$as_val" = x""yes; then :
34858 cat >>confdefs.h <<_ACEOF
34859 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34860 _ACEOF
34863 done
34865 else
34866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34867 $as_echo_n "checking for _float trig functions... " >&6; }
34868 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34869 $as_echo_n "(cached) " >&6
34870 else
34873 ac_ext=cpp
34874 ac_cpp='$CXXCPP $CPPFLAGS'
34875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34880 /* end confdefs.h. */
34881 #include <math.h>
34883 main ()
34885 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34887 return 0;
34889 _ACEOF
34890 if ac_fn_cxx_try_compile "$LINENO"; then :
34891 glibcxx_cv_func__float_trig_use=yes
34892 else
34893 glibcxx_cv_func__float_trig_use=no
34895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34896 ac_ext=c
34897 ac_cpp='$CPP $CPPFLAGS'
34898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34905 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34906 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34907 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34908 do :
34909 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34910 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34911 eval as_val=\$$as_ac_var
34912 if test "x$as_val" = x""yes; then :
34913 cat >>confdefs.h <<_ACEOF
34914 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34915 _ACEOF
34918 done
34927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34928 $as_echo_n "checking for float round functions... " >&6; }
34929 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34930 $as_echo_n "(cached) " >&6
34931 else
34934 ac_ext=cpp
34935 ac_cpp='$CXXCPP $CPPFLAGS'
34936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34941 /* end confdefs.h. */
34942 #include <math.h>
34944 main ()
34946 ceilf (0); floorf (0);
34948 return 0;
34950 _ACEOF
34951 if ac_fn_cxx_try_compile "$LINENO"; then :
34952 glibcxx_cv_func_float_round_use=yes
34953 else
34954 glibcxx_cv_func_float_round_use=no
34956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34957 ac_ext=c
34958 ac_cpp='$CPP $CPPFLAGS'
34959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34966 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34967 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34968 for ac_func in ceilf floorf
34969 do :
34970 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34971 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34972 eval as_val=\$$as_ac_var
34973 if test "x$as_val" = x""yes; then :
34974 cat >>confdefs.h <<_ACEOF
34975 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34976 _ACEOF
34979 done
34981 else
34982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34983 $as_echo_n "checking for _float round functions... " >&6; }
34984 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34985 $as_echo_n "(cached) " >&6
34986 else
34989 ac_ext=cpp
34990 ac_cpp='$CXXCPP $CPPFLAGS'
34991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34996 /* end confdefs.h. */
34997 #include <math.h>
34999 main ()
35001 _ceilf (0); _floorf (0);
35003 return 0;
35005 _ACEOF
35006 if ac_fn_cxx_try_compile "$LINENO"; then :
35007 glibcxx_cv_func__float_round_use=yes
35008 else
35009 glibcxx_cv_func__float_round_use=no
35011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35012 ac_ext=c
35013 ac_cpp='$CPP $CPPFLAGS'
35014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35021 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35022 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35023 for ac_func in _ceilf _floorf
35024 do :
35025 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35026 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35027 eval as_val=\$$as_ac_var
35028 if test "x$as_val" = x""yes; then :
35029 cat >>confdefs.h <<_ACEOF
35030 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35031 _ACEOF
35034 done
35044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35045 $as_echo_n "checking for expf declaration... " >&6; }
35046 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35047 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35048 $as_echo_n "(cached) " >&6
35049 else
35052 ac_ext=cpp
35053 ac_cpp='$CXXCPP $CPPFLAGS'
35054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35059 /* end confdefs.h. */
35060 #include <math.h>
35061 #ifdef HAVE_IEEEFP_H
35062 #include <ieeefp.h>
35063 #endif
35066 main ()
35068 expf(0);
35070 return 0;
35072 _ACEOF
35073 if ac_fn_cxx_try_compile "$LINENO"; then :
35074 glibcxx_cv_func_expf_use=yes
35075 else
35076 glibcxx_cv_func_expf_use=no
35078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35079 ac_ext=c
35080 ac_cpp='$CPP $CPPFLAGS'
35081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35090 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35092 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35093 for ac_func in expf
35094 do :
35095 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35096 if test "x$ac_cv_func_expf" = x""yes; then :
35097 cat >>confdefs.h <<_ACEOF
35098 #define HAVE_EXPF 1
35099 _ACEOF
35102 done
35104 else
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35107 $as_echo_n "checking for _expf declaration... " >&6; }
35108 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35109 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35110 $as_echo_n "(cached) " >&6
35111 else
35114 ac_ext=cpp
35115 ac_cpp='$CXXCPP $CPPFLAGS'
35116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35121 /* end confdefs.h. */
35122 #include <math.h>
35123 #ifdef HAVE_IEEEFP_H
35124 #include <ieeefp.h>
35125 #endif
35128 main ()
35130 _expf(0);
35132 return 0;
35134 _ACEOF
35135 if ac_fn_cxx_try_compile "$LINENO"; then :
35136 glibcxx_cv_func__expf_use=yes
35137 else
35138 glibcxx_cv_func__expf_use=no
35140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35141 ac_ext=c
35142 ac_cpp='$CPP $CPPFLAGS'
35143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35152 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35154 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35155 for ac_func in _expf
35156 do :
35157 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35158 if test "x$ac_cv_func__expf" = x""yes; then :
35159 cat >>confdefs.h <<_ACEOF
35160 #define HAVE__EXPF 1
35161 _ACEOF
35164 done
35173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35174 $as_echo_n "checking for isnanf declaration... " >&6; }
35175 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35176 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35177 $as_echo_n "(cached) " >&6
35178 else
35181 ac_ext=cpp
35182 ac_cpp='$CXXCPP $CPPFLAGS'
35183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35188 /* end confdefs.h. */
35189 #include <math.h>
35190 #ifdef HAVE_IEEEFP_H
35191 #include <ieeefp.h>
35192 #endif
35195 main ()
35197 isnanf(0);
35199 return 0;
35201 _ACEOF
35202 if ac_fn_cxx_try_compile "$LINENO"; then :
35203 glibcxx_cv_func_isnanf_use=yes
35204 else
35205 glibcxx_cv_func_isnanf_use=no
35207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208 ac_ext=c
35209 ac_cpp='$CPP $CPPFLAGS'
35210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35219 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35221 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35222 for ac_func in isnanf
35223 do :
35224 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35225 if test "x$ac_cv_func_isnanf" = x""yes; then :
35226 cat >>confdefs.h <<_ACEOF
35227 #define HAVE_ISNANF 1
35228 _ACEOF
35231 done
35233 else
35235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35236 $as_echo_n "checking for _isnanf declaration... " >&6; }
35237 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35238 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35239 $as_echo_n "(cached) " >&6
35240 else
35243 ac_ext=cpp
35244 ac_cpp='$CXXCPP $CPPFLAGS'
35245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35250 /* end confdefs.h. */
35251 #include <math.h>
35252 #ifdef HAVE_IEEEFP_H
35253 #include <ieeefp.h>
35254 #endif
35257 main ()
35259 _isnanf(0);
35261 return 0;
35263 _ACEOF
35264 if ac_fn_cxx_try_compile "$LINENO"; then :
35265 glibcxx_cv_func__isnanf_use=yes
35266 else
35267 glibcxx_cv_func__isnanf_use=no
35269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35270 ac_ext=c
35271 ac_cpp='$CPP $CPPFLAGS'
35272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35281 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35283 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35284 for ac_func in _isnanf
35285 do :
35286 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35287 if test "x$ac_cv_func__isnanf" = x""yes; then :
35288 cat >>confdefs.h <<_ACEOF
35289 #define HAVE__ISNANF 1
35290 _ACEOF
35293 done
35302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35303 $as_echo_n "checking for isinff declaration... " >&6; }
35304 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35305 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35306 $as_echo_n "(cached) " >&6
35307 else
35310 ac_ext=cpp
35311 ac_cpp='$CXXCPP $CPPFLAGS'
35312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35317 /* end confdefs.h. */
35318 #include <math.h>
35319 #ifdef HAVE_IEEEFP_H
35320 #include <ieeefp.h>
35321 #endif
35324 main ()
35326 isinff(0);
35328 return 0;
35330 _ACEOF
35331 if ac_fn_cxx_try_compile "$LINENO"; then :
35332 glibcxx_cv_func_isinff_use=yes
35333 else
35334 glibcxx_cv_func_isinff_use=no
35336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35337 ac_ext=c
35338 ac_cpp='$CPP $CPPFLAGS'
35339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35348 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35350 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35351 for ac_func in isinff
35352 do :
35353 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35354 if test "x$ac_cv_func_isinff" = x""yes; then :
35355 cat >>confdefs.h <<_ACEOF
35356 #define HAVE_ISINFF 1
35357 _ACEOF
35360 done
35362 else
35364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35365 $as_echo_n "checking for _isinff declaration... " >&6; }
35366 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35367 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35368 $as_echo_n "(cached) " >&6
35369 else
35372 ac_ext=cpp
35373 ac_cpp='$CXXCPP $CPPFLAGS'
35374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35379 /* end confdefs.h. */
35380 #include <math.h>
35381 #ifdef HAVE_IEEEFP_H
35382 #include <ieeefp.h>
35383 #endif
35386 main ()
35388 _isinff(0);
35390 return 0;
35392 _ACEOF
35393 if ac_fn_cxx_try_compile "$LINENO"; then :
35394 glibcxx_cv_func__isinff_use=yes
35395 else
35396 glibcxx_cv_func__isinff_use=no
35398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35399 ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35410 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35412 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35413 for ac_func in _isinff
35414 do :
35415 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35416 if test "x$ac_cv_func__isinff" = x""yes; then :
35417 cat >>confdefs.h <<_ACEOF
35418 #define HAVE__ISINFF 1
35419 _ACEOF
35422 done
35431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35432 $as_echo_n "checking for atan2f declaration... " >&6; }
35433 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35434 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35435 $as_echo_n "(cached) " >&6
35436 else
35439 ac_ext=cpp
35440 ac_cpp='$CXXCPP $CPPFLAGS'
35441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35446 /* end confdefs.h. */
35447 #include <math.h>
35449 main ()
35451 atan2f(0, 0);
35453 return 0;
35455 _ACEOF
35456 if ac_fn_cxx_try_compile "$LINENO"; then :
35457 glibcxx_cv_func_atan2f_use=yes
35458 else
35459 glibcxx_cv_func_atan2f_use=no
35461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35462 ac_ext=c
35463 ac_cpp='$CPP $CPPFLAGS'
35464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35473 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35475 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35476 for ac_func in atan2f
35477 do :
35478 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35479 if test "x$ac_cv_func_atan2f" = x""yes; then :
35480 cat >>confdefs.h <<_ACEOF
35481 #define HAVE_ATAN2F 1
35482 _ACEOF
35485 done
35487 else
35489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35490 $as_echo_n "checking for _atan2f declaration... " >&6; }
35491 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35492 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35493 $as_echo_n "(cached) " >&6
35494 else
35497 ac_ext=cpp
35498 ac_cpp='$CXXCPP $CPPFLAGS'
35499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35504 /* end confdefs.h. */
35505 #include <math.h>
35507 main ()
35509 _atan2f(0, 0);
35511 return 0;
35513 _ACEOF
35514 if ac_fn_cxx_try_compile "$LINENO"; then :
35515 glibcxx_cv_func__atan2f_use=yes
35516 else
35517 glibcxx_cv_func__atan2f_use=no
35519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35520 ac_ext=c
35521 ac_cpp='$CPP $CPPFLAGS'
35522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35531 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35533 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35534 for ac_func in _atan2f
35535 do :
35536 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35537 if test "x$ac_cv_func__atan2f" = x""yes; then :
35538 cat >>confdefs.h <<_ACEOF
35539 #define HAVE__ATAN2F 1
35540 _ACEOF
35543 done
35552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35553 $as_echo_n "checking for fabsf declaration... " >&6; }
35554 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35555 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35556 $as_echo_n "(cached) " >&6
35557 else
35560 ac_ext=cpp
35561 ac_cpp='$CXXCPP $CPPFLAGS'
35562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35567 /* end confdefs.h. */
35568 #include <math.h>
35569 #ifdef HAVE_IEEEFP_H
35570 #include <ieeefp.h>
35571 #endif
35574 main ()
35576 fabsf(0);
35578 return 0;
35580 _ACEOF
35581 if ac_fn_cxx_try_compile "$LINENO"; then :
35582 glibcxx_cv_func_fabsf_use=yes
35583 else
35584 glibcxx_cv_func_fabsf_use=no
35586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35587 ac_ext=c
35588 ac_cpp='$CPP $CPPFLAGS'
35589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35598 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35600 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35601 for ac_func in fabsf
35602 do :
35603 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35604 if test "x$ac_cv_func_fabsf" = x""yes; then :
35605 cat >>confdefs.h <<_ACEOF
35606 #define HAVE_FABSF 1
35607 _ACEOF
35610 done
35612 else
35614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35615 $as_echo_n "checking for _fabsf declaration... " >&6; }
35616 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35617 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35618 $as_echo_n "(cached) " >&6
35619 else
35622 ac_ext=cpp
35623 ac_cpp='$CXXCPP $CPPFLAGS'
35624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35629 /* end confdefs.h. */
35630 #include <math.h>
35631 #ifdef HAVE_IEEEFP_H
35632 #include <ieeefp.h>
35633 #endif
35636 main ()
35638 _fabsf(0);
35640 return 0;
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func__fabsf_use=yes
35645 else
35646 glibcxx_cv_func__fabsf_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35660 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35662 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35663 for ac_func in _fabsf
35664 do :
35665 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35666 if test "x$ac_cv_func__fabsf" = x""yes; then :
35667 cat >>confdefs.h <<_ACEOF
35668 #define HAVE__FABSF 1
35669 _ACEOF
35672 done
35681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35682 $as_echo_n "checking for fmodf declaration... " >&6; }
35683 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35684 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35685 $as_echo_n "(cached) " >&6
35686 else
35689 ac_ext=cpp
35690 ac_cpp='$CXXCPP $CPPFLAGS'
35691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35696 /* end confdefs.h. */
35697 #include <math.h>
35699 main ()
35701 fmodf(0, 0);
35703 return 0;
35705 _ACEOF
35706 if ac_fn_cxx_try_compile "$LINENO"; then :
35707 glibcxx_cv_func_fmodf_use=yes
35708 else
35709 glibcxx_cv_func_fmodf_use=no
35711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35712 ac_ext=c
35713 ac_cpp='$CPP $CPPFLAGS'
35714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35723 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35725 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35726 for ac_func in fmodf
35727 do :
35728 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35729 if test "x$ac_cv_func_fmodf" = x""yes; then :
35730 cat >>confdefs.h <<_ACEOF
35731 #define HAVE_FMODF 1
35732 _ACEOF
35735 done
35737 else
35739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35740 $as_echo_n "checking for _fmodf declaration... " >&6; }
35741 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35742 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35743 $as_echo_n "(cached) " >&6
35744 else
35747 ac_ext=cpp
35748 ac_cpp='$CXXCPP $CPPFLAGS'
35749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35754 /* end confdefs.h. */
35755 #include <math.h>
35757 main ()
35759 _fmodf(0, 0);
35761 return 0;
35763 _ACEOF
35764 if ac_fn_cxx_try_compile "$LINENO"; then :
35765 glibcxx_cv_func__fmodf_use=yes
35766 else
35767 glibcxx_cv_func__fmodf_use=no
35769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35770 ac_ext=c
35771 ac_cpp='$CPP $CPPFLAGS'
35772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35781 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35783 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35784 for ac_func in _fmodf
35785 do :
35786 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35787 if test "x$ac_cv_func__fmodf" = x""yes; then :
35788 cat >>confdefs.h <<_ACEOF
35789 #define HAVE__FMODF 1
35790 _ACEOF
35793 done
35802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35803 $as_echo_n "checking for frexpf declaration... " >&6; }
35804 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35805 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35806 $as_echo_n "(cached) " >&6
35807 else
35810 ac_ext=cpp
35811 ac_cpp='$CXXCPP $CPPFLAGS'
35812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35817 /* end confdefs.h. */
35818 #include <math.h>
35820 main ()
35822 frexpf(0, 0);
35824 return 0;
35826 _ACEOF
35827 if ac_fn_cxx_try_compile "$LINENO"; then :
35828 glibcxx_cv_func_frexpf_use=yes
35829 else
35830 glibcxx_cv_func_frexpf_use=no
35832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35833 ac_ext=c
35834 ac_cpp='$CPP $CPPFLAGS'
35835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35844 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35846 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35847 for ac_func in frexpf
35848 do :
35849 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35850 if test "x$ac_cv_func_frexpf" = x""yes; then :
35851 cat >>confdefs.h <<_ACEOF
35852 #define HAVE_FREXPF 1
35853 _ACEOF
35856 done
35858 else
35860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35861 $as_echo_n "checking for _frexpf declaration... " >&6; }
35862 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35863 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35864 $as_echo_n "(cached) " >&6
35865 else
35868 ac_ext=cpp
35869 ac_cpp='$CXXCPP $CPPFLAGS'
35870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35875 /* end confdefs.h. */
35876 #include <math.h>
35878 main ()
35880 _frexpf(0, 0);
35882 return 0;
35884 _ACEOF
35885 if ac_fn_cxx_try_compile "$LINENO"; then :
35886 glibcxx_cv_func__frexpf_use=yes
35887 else
35888 glibcxx_cv_func__frexpf_use=no
35890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35891 ac_ext=c
35892 ac_cpp='$CPP $CPPFLAGS'
35893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35902 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35904 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35905 for ac_func in _frexpf
35906 do :
35907 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35908 if test "x$ac_cv_func__frexpf" = x""yes; then :
35909 cat >>confdefs.h <<_ACEOF
35910 #define HAVE__FREXPF 1
35911 _ACEOF
35914 done
35923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35924 $as_echo_n "checking for hypotf declaration... " >&6; }
35925 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35926 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35927 $as_echo_n "(cached) " >&6
35928 else
35931 ac_ext=cpp
35932 ac_cpp='$CXXCPP $CPPFLAGS'
35933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35938 /* end confdefs.h. */
35939 #include <math.h>
35941 main ()
35943 hypotf(0, 0);
35945 return 0;
35947 _ACEOF
35948 if ac_fn_cxx_try_compile "$LINENO"; then :
35949 glibcxx_cv_func_hypotf_use=yes
35950 else
35951 glibcxx_cv_func_hypotf_use=no
35953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35954 ac_ext=c
35955 ac_cpp='$CPP $CPPFLAGS'
35956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35965 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35967 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35968 for ac_func in hypotf
35969 do :
35970 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35971 if test "x$ac_cv_func_hypotf" = x""yes; then :
35972 cat >>confdefs.h <<_ACEOF
35973 #define HAVE_HYPOTF 1
35974 _ACEOF
35977 done
35979 else
35981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35982 $as_echo_n "checking for _hypotf declaration... " >&6; }
35983 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35984 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35985 $as_echo_n "(cached) " >&6
35986 else
35989 ac_ext=cpp
35990 ac_cpp='$CXXCPP $CPPFLAGS'
35991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35996 /* end confdefs.h. */
35997 #include <math.h>
35999 main ()
36001 _hypotf(0, 0);
36003 return 0;
36005 _ACEOF
36006 if ac_fn_cxx_try_compile "$LINENO"; then :
36007 glibcxx_cv_func__hypotf_use=yes
36008 else
36009 glibcxx_cv_func__hypotf_use=no
36011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36012 ac_ext=c
36013 ac_cpp='$CPP $CPPFLAGS'
36014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36023 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36025 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36026 for ac_func in _hypotf
36027 do :
36028 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36029 if test "x$ac_cv_func__hypotf" = x""yes; then :
36030 cat >>confdefs.h <<_ACEOF
36031 #define HAVE__HYPOTF 1
36032 _ACEOF
36035 done
36044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36045 $as_echo_n "checking for ldexpf declaration... " >&6; }
36046 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36047 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36048 $as_echo_n "(cached) " >&6
36049 else
36052 ac_ext=cpp
36053 ac_cpp='$CXXCPP $CPPFLAGS'
36054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36059 /* end confdefs.h. */
36060 #include <math.h>
36062 main ()
36064 ldexpf(0, 0);
36066 return 0;
36068 _ACEOF
36069 if ac_fn_cxx_try_compile "$LINENO"; then :
36070 glibcxx_cv_func_ldexpf_use=yes
36071 else
36072 glibcxx_cv_func_ldexpf_use=no
36074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36075 ac_ext=c
36076 ac_cpp='$CPP $CPPFLAGS'
36077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36086 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36088 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36089 for ac_func in ldexpf
36090 do :
36091 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36092 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36093 cat >>confdefs.h <<_ACEOF
36094 #define HAVE_LDEXPF 1
36095 _ACEOF
36098 done
36100 else
36102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36103 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36104 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36105 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36106 $as_echo_n "(cached) " >&6
36107 else
36110 ac_ext=cpp
36111 ac_cpp='$CXXCPP $CPPFLAGS'
36112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36117 /* end confdefs.h. */
36118 #include <math.h>
36120 main ()
36122 _ldexpf(0, 0);
36124 return 0;
36126 _ACEOF
36127 if ac_fn_cxx_try_compile "$LINENO"; then :
36128 glibcxx_cv_func__ldexpf_use=yes
36129 else
36130 glibcxx_cv_func__ldexpf_use=no
36132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36133 ac_ext=c
36134 ac_cpp='$CPP $CPPFLAGS'
36135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36144 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36146 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36147 for ac_func in _ldexpf
36148 do :
36149 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36150 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36151 cat >>confdefs.h <<_ACEOF
36152 #define HAVE__LDEXPF 1
36153 _ACEOF
36156 done
36165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36166 $as_echo_n "checking for logf declaration... " >&6; }
36167 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36168 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36169 $as_echo_n "(cached) " >&6
36170 else
36173 ac_ext=cpp
36174 ac_cpp='$CXXCPP $CPPFLAGS'
36175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36180 /* end confdefs.h. */
36181 #include <math.h>
36182 #ifdef HAVE_IEEEFP_H
36183 #include <ieeefp.h>
36184 #endif
36187 main ()
36189 logf(0);
36191 return 0;
36193 _ACEOF
36194 if ac_fn_cxx_try_compile "$LINENO"; then :
36195 glibcxx_cv_func_logf_use=yes
36196 else
36197 glibcxx_cv_func_logf_use=no
36199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36200 ac_ext=c
36201 ac_cpp='$CPP $CPPFLAGS'
36202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36211 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36213 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36214 for ac_func in logf
36215 do :
36216 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36217 if test "x$ac_cv_func_logf" = x""yes; then :
36218 cat >>confdefs.h <<_ACEOF
36219 #define HAVE_LOGF 1
36220 _ACEOF
36223 done
36225 else
36227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36228 $as_echo_n "checking for _logf declaration... " >&6; }
36229 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36230 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36231 $as_echo_n "(cached) " >&6
36232 else
36235 ac_ext=cpp
36236 ac_cpp='$CXXCPP $CPPFLAGS'
36237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36242 /* end confdefs.h. */
36243 #include <math.h>
36244 #ifdef HAVE_IEEEFP_H
36245 #include <ieeefp.h>
36246 #endif
36249 main ()
36251 _logf(0);
36253 return 0;
36255 _ACEOF
36256 if ac_fn_cxx_try_compile "$LINENO"; then :
36257 glibcxx_cv_func__logf_use=yes
36258 else
36259 glibcxx_cv_func__logf_use=no
36261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36262 ac_ext=c
36263 ac_cpp='$CPP $CPPFLAGS'
36264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36273 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36275 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36276 for ac_func in _logf
36277 do :
36278 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36279 if test "x$ac_cv_func__logf" = x""yes; then :
36280 cat >>confdefs.h <<_ACEOF
36281 #define HAVE__LOGF 1
36282 _ACEOF
36285 done
36294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36295 $as_echo_n "checking for log10f declaration... " >&6; }
36296 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36297 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36298 $as_echo_n "(cached) " >&6
36299 else
36302 ac_ext=cpp
36303 ac_cpp='$CXXCPP $CPPFLAGS'
36304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36309 /* end confdefs.h. */
36310 #include <math.h>
36311 #ifdef HAVE_IEEEFP_H
36312 #include <ieeefp.h>
36313 #endif
36316 main ()
36318 log10f(0);
36320 return 0;
36322 _ACEOF
36323 if ac_fn_cxx_try_compile "$LINENO"; then :
36324 glibcxx_cv_func_log10f_use=yes
36325 else
36326 glibcxx_cv_func_log10f_use=no
36328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36329 ac_ext=c
36330 ac_cpp='$CPP $CPPFLAGS'
36331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36340 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36342 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36343 for ac_func in log10f
36344 do :
36345 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36346 if test "x$ac_cv_func_log10f" = x""yes; then :
36347 cat >>confdefs.h <<_ACEOF
36348 #define HAVE_LOG10F 1
36349 _ACEOF
36352 done
36354 else
36356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36357 $as_echo_n "checking for _log10f declaration... " >&6; }
36358 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36359 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36360 $as_echo_n "(cached) " >&6
36361 else
36364 ac_ext=cpp
36365 ac_cpp='$CXXCPP $CPPFLAGS'
36366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36371 /* end confdefs.h. */
36372 #include <math.h>
36373 #ifdef HAVE_IEEEFP_H
36374 #include <ieeefp.h>
36375 #endif
36378 main ()
36380 _log10f(0);
36382 return 0;
36384 _ACEOF
36385 if ac_fn_cxx_try_compile "$LINENO"; then :
36386 glibcxx_cv_func__log10f_use=yes
36387 else
36388 glibcxx_cv_func__log10f_use=no
36390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36391 ac_ext=c
36392 ac_cpp='$CPP $CPPFLAGS'
36393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36402 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36404 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36405 for ac_func in _log10f
36406 do :
36407 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36408 if test "x$ac_cv_func__log10f" = x""yes; then :
36409 cat >>confdefs.h <<_ACEOF
36410 #define HAVE__LOG10F 1
36411 _ACEOF
36414 done
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36424 $as_echo_n "checking for modff declaration... " >&6; }
36425 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36426 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36427 $as_echo_n "(cached) " >&6
36428 else
36431 ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h. */
36439 #include <math.h>
36441 main ()
36443 modff(0, 0);
36445 return 0;
36447 _ACEOF
36448 if ac_fn_cxx_try_compile "$LINENO"; then :
36449 glibcxx_cv_func_modff_use=yes
36450 else
36451 glibcxx_cv_func_modff_use=no
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36465 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36467 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36468 for ac_func in modff
36469 do :
36470 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36471 if test "x$ac_cv_func_modff" = x""yes; then :
36472 cat >>confdefs.h <<_ACEOF
36473 #define HAVE_MODFF 1
36474 _ACEOF
36477 done
36479 else
36481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36482 $as_echo_n "checking for _modff declaration... " >&6; }
36483 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36484 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36485 $as_echo_n "(cached) " >&6
36486 else
36489 ac_ext=cpp
36490 ac_cpp='$CXXCPP $CPPFLAGS'
36491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36496 /* end confdefs.h. */
36497 #include <math.h>
36499 main ()
36501 _modff(0, 0);
36503 return 0;
36505 _ACEOF
36506 if ac_fn_cxx_try_compile "$LINENO"; then :
36507 glibcxx_cv_func__modff_use=yes
36508 else
36509 glibcxx_cv_func__modff_use=no
36511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36512 ac_ext=c
36513 ac_cpp='$CPP $CPPFLAGS'
36514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36523 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36525 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36526 for ac_func in _modff
36527 do :
36528 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36529 if test "x$ac_cv_func__modff" = x""yes; then :
36530 cat >>confdefs.h <<_ACEOF
36531 #define HAVE__MODFF 1
36532 _ACEOF
36535 done
36544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36545 $as_echo_n "checking for modf declaration... " >&6; }
36546 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36547 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36548 $as_echo_n "(cached) " >&6
36549 else
36552 ac_ext=cpp
36553 ac_cpp='$CXXCPP $CPPFLAGS'
36554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36559 /* end confdefs.h. */
36560 #include <math.h>
36562 main ()
36564 modf(0, 0);
36566 return 0;
36568 _ACEOF
36569 if ac_fn_cxx_try_compile "$LINENO"; then :
36570 glibcxx_cv_func_modf_use=yes
36571 else
36572 glibcxx_cv_func_modf_use=no
36574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36575 ac_ext=c
36576 ac_cpp='$CPP $CPPFLAGS'
36577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36586 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36588 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36589 for ac_func in modf
36590 do :
36591 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36592 if test "x$ac_cv_func_modf" = x""yes; then :
36593 cat >>confdefs.h <<_ACEOF
36594 #define HAVE_MODF 1
36595 _ACEOF
36598 done
36600 else
36602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36603 $as_echo_n "checking for _modf declaration... " >&6; }
36604 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36605 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36606 $as_echo_n "(cached) " >&6
36607 else
36610 ac_ext=cpp
36611 ac_cpp='$CXXCPP $CPPFLAGS'
36612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36617 /* end confdefs.h. */
36618 #include <math.h>
36620 main ()
36622 _modf(0, 0);
36624 return 0;
36626 _ACEOF
36627 if ac_fn_cxx_try_compile "$LINENO"; then :
36628 glibcxx_cv_func__modf_use=yes
36629 else
36630 glibcxx_cv_func__modf_use=no
36632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36633 ac_ext=c
36634 ac_cpp='$CPP $CPPFLAGS'
36635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36644 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36646 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36647 for ac_func in _modf
36648 do :
36649 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36650 if test "x$ac_cv_func__modf" = x""yes; then :
36651 cat >>confdefs.h <<_ACEOF
36652 #define HAVE__MODF 1
36653 _ACEOF
36656 done
36665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36666 $as_echo_n "checking for powf declaration... " >&6; }
36667 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36668 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36669 $as_echo_n "(cached) " >&6
36670 else
36673 ac_ext=cpp
36674 ac_cpp='$CXXCPP $CPPFLAGS'
36675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36680 /* end confdefs.h. */
36681 #include <math.h>
36683 main ()
36685 powf(0, 0);
36687 return 0;
36689 _ACEOF
36690 if ac_fn_cxx_try_compile "$LINENO"; then :
36691 glibcxx_cv_func_powf_use=yes
36692 else
36693 glibcxx_cv_func_powf_use=no
36695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36696 ac_ext=c
36697 ac_cpp='$CPP $CPPFLAGS'
36698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36707 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36709 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36710 for ac_func in powf
36711 do :
36712 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36713 if test "x$ac_cv_func_powf" = x""yes; then :
36714 cat >>confdefs.h <<_ACEOF
36715 #define HAVE_POWF 1
36716 _ACEOF
36719 done
36721 else
36723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36724 $as_echo_n "checking for _powf declaration... " >&6; }
36725 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36726 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36727 $as_echo_n "(cached) " >&6
36728 else
36731 ac_ext=cpp
36732 ac_cpp='$CXXCPP $CPPFLAGS'
36733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36738 /* end confdefs.h. */
36739 #include <math.h>
36741 main ()
36743 _powf(0, 0);
36745 return 0;
36747 _ACEOF
36748 if ac_fn_cxx_try_compile "$LINENO"; then :
36749 glibcxx_cv_func__powf_use=yes
36750 else
36751 glibcxx_cv_func__powf_use=no
36753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36754 ac_ext=c
36755 ac_cpp='$CPP $CPPFLAGS'
36756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36765 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36767 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36768 for ac_func in _powf
36769 do :
36770 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36771 if test "x$ac_cv_func__powf" = x""yes; then :
36772 cat >>confdefs.h <<_ACEOF
36773 #define HAVE__POWF 1
36774 _ACEOF
36777 done
36786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36787 $as_echo_n "checking for sqrtf declaration... " >&6; }
36788 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36789 if test "${glibcxx_cv_func_sqrtf_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 sqrtf(0);
36812 return 0;
36814 _ACEOF
36815 if ac_fn_cxx_try_compile "$LINENO"; then :
36816 glibcxx_cv_func_sqrtf_use=yes
36817 else
36818 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
36832 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36834 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36835 for ac_func in sqrtf
36836 do :
36837 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36838 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36839 cat >>confdefs.h <<_ACEOF
36840 #define HAVE_SQRTF 1
36841 _ACEOF
36844 done
36846 else
36848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36849 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36850 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36851 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36852 $as_echo_n "(cached) " >&6
36853 else
36856 ac_ext=cpp
36857 ac_cpp='$CXXCPP $CPPFLAGS'
36858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36863 /* end confdefs.h. */
36864 #include <math.h>
36865 #ifdef HAVE_IEEEFP_H
36866 #include <ieeefp.h>
36867 #endif
36870 main ()
36872 _sqrtf(0);
36874 return 0;
36876 _ACEOF
36877 if ac_fn_cxx_try_compile "$LINENO"; then :
36878 glibcxx_cv_func__sqrtf_use=yes
36879 else
36880 glibcxx_cv_func__sqrtf_use=no
36882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36883 ac_ext=c
36884 ac_cpp='$CPP $CPPFLAGS'
36885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36894 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36896 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36897 for ac_func in _sqrtf
36898 do :
36899 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36900 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36901 cat >>confdefs.h <<_ACEOF
36902 #define HAVE__SQRTF 1
36903 _ACEOF
36906 done
36915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36916 $as_echo_n "checking for sincosf declaration... " >&6; }
36917 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36918 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36919 $as_echo_n "(cached) " >&6
36920 else
36923 ac_ext=cpp
36924 ac_cpp='$CXXCPP $CPPFLAGS'
36925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36930 /* end confdefs.h. */
36931 #include <math.h>
36933 main ()
36935 sincosf(0, 0, 0);
36937 return 0;
36939 _ACEOF
36940 if ac_fn_cxx_try_compile "$LINENO"; then :
36941 glibcxx_cv_func_sincosf_use=yes
36942 else
36943 glibcxx_cv_func_sincosf_use=no
36945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36946 ac_ext=c
36947 ac_cpp='$CPP $CPPFLAGS'
36948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36957 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36959 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36960 for ac_func in sincosf
36961 do :
36962 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36963 if test "x$ac_cv_func_sincosf" = x""yes; then :
36964 cat >>confdefs.h <<_ACEOF
36965 #define HAVE_SINCOSF 1
36966 _ACEOF
36969 done
36971 else
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36974 $as_echo_n "checking for _sincosf declaration... " >&6; }
36975 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36976 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36977 $as_echo_n "(cached) " >&6
36978 else
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36989 #include <math.h>
36991 main ()
36993 _sincosf(0, 0, 0);
36995 return 0;
36997 _ACEOF
36998 if ac_fn_cxx_try_compile "$LINENO"; then :
36999 glibcxx_cv_func__sincosf_use=yes
37000 else
37001 glibcxx_cv_func__sincosf_use=no
37003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37004 ac_ext=c
37005 ac_cpp='$CPP $CPPFLAGS'
37006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37015 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37017 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37018 for ac_func in _sincosf
37019 do :
37020 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37021 if test "x$ac_cv_func__sincosf" = x""yes; then :
37022 cat >>confdefs.h <<_ACEOF
37023 #define HAVE__SINCOSF 1
37024 _ACEOF
37027 done
37036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37037 $as_echo_n "checking for finitef declaration... " >&6; }
37038 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37039 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37040 $as_echo_n "(cached) " >&6
37041 else
37044 ac_ext=cpp
37045 ac_cpp='$CXXCPP $CPPFLAGS'
37046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37051 /* end confdefs.h. */
37052 #include <math.h>
37053 #ifdef HAVE_IEEEFP_H
37054 #include <ieeefp.h>
37055 #endif
37058 main ()
37060 finitef(0);
37062 return 0;
37064 _ACEOF
37065 if ac_fn_cxx_try_compile "$LINENO"; then :
37066 glibcxx_cv_func_finitef_use=yes
37067 else
37068 glibcxx_cv_func_finitef_use=no
37070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37071 ac_ext=c
37072 ac_cpp='$CPP $CPPFLAGS'
37073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37082 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37084 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37085 for ac_func in finitef
37086 do :
37087 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37088 if test "x$ac_cv_func_finitef" = x""yes; then :
37089 cat >>confdefs.h <<_ACEOF
37090 #define HAVE_FINITEF 1
37091 _ACEOF
37094 done
37096 else
37098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37099 $as_echo_n "checking for _finitef declaration... " >&6; }
37100 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37101 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37102 $as_echo_n "(cached) " >&6
37103 else
37106 ac_ext=cpp
37107 ac_cpp='$CXXCPP $CPPFLAGS'
37108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37113 /* end confdefs.h. */
37114 #include <math.h>
37115 #ifdef HAVE_IEEEFP_H
37116 #include <ieeefp.h>
37117 #endif
37120 main ()
37122 _finitef(0);
37124 return 0;
37126 _ACEOF
37127 if ac_fn_cxx_try_compile "$LINENO"; then :
37128 glibcxx_cv_func__finitef_use=yes
37129 else
37130 glibcxx_cv_func__finitef_use=no
37132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_ext=c
37134 ac_cpp='$CPP $CPPFLAGS'
37135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37144 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37146 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37147 for ac_func in _finitef
37148 do :
37149 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37150 if test "x$ac_cv_func__finitef" = x""yes; then :
37151 cat >>confdefs.h <<_ACEOF
37152 #define HAVE__FINITEF 1
37153 _ACEOF
37156 done
37165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37166 $as_echo_n "checking for long double trig functions... " >&6; }
37167 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37168 $as_echo_n "(cached) " >&6
37169 else
37172 ac_ext=cpp
37173 ac_cpp='$CXXCPP $CPPFLAGS'
37174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37179 /* end confdefs.h. */
37180 #include <math.h>
37182 main ()
37184 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37186 return 0;
37188 _ACEOF
37189 if ac_fn_cxx_try_compile "$LINENO"; then :
37190 glibcxx_cv_func_long_double_trig_use=yes
37191 else
37192 glibcxx_cv_func_long_double_trig_use=no
37194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37195 ac_ext=c
37196 ac_cpp='$CPP $CPPFLAGS'
37197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37204 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37205 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37206 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37207 do :
37208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37210 eval as_val=\$$as_ac_var
37211 if test "x$as_val" = x""yes; then :
37212 cat >>confdefs.h <<_ACEOF
37213 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37214 _ACEOF
37217 done
37219 else
37220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37221 $as_echo_n "checking for _long double trig functions... " >&6; }
37222 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37223 $as_echo_n "(cached) " >&6
37224 else
37227 ac_ext=cpp
37228 ac_cpp='$CXXCPP $CPPFLAGS'
37229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37234 /* end confdefs.h. */
37235 #include <math.h>
37237 main ()
37239 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37241 return 0;
37243 _ACEOF
37244 if ac_fn_cxx_try_compile "$LINENO"; then :
37245 glibcxx_cv_func__long_double_trig_use=yes
37246 else
37247 glibcxx_cv_func__long_double_trig_use=no
37249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37250 ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37259 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37260 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37261 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37262 do :
37263 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37264 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37265 eval as_val=\$$as_ac_var
37266 if test "x$as_val" = x""yes; then :
37267 cat >>confdefs.h <<_ACEOF
37268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37269 _ACEOF
37272 done
37281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37282 $as_echo_n "checking for long double round functions... " >&6; }
37283 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37284 $as_echo_n "(cached) " >&6
37285 else
37288 ac_ext=cpp
37289 ac_cpp='$CXXCPP $CPPFLAGS'
37290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37295 /* end confdefs.h. */
37296 #include <math.h>
37298 main ()
37300 ceill (0); floorl (0);
37302 return 0;
37304 _ACEOF
37305 if ac_fn_cxx_try_compile "$LINENO"; then :
37306 glibcxx_cv_func_long_double_round_use=yes
37307 else
37308 glibcxx_cv_func_long_double_round_use=no
37310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37311 ac_ext=c
37312 ac_cpp='$CPP $CPPFLAGS'
37313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37320 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37321 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37322 for ac_func in ceill floorl
37323 do :
37324 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37325 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37326 eval as_val=\$$as_ac_var
37327 if test "x$as_val" = x""yes; then :
37328 cat >>confdefs.h <<_ACEOF
37329 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37330 _ACEOF
37333 done
37335 else
37336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37337 $as_echo_n "checking for _long double round functions... " >&6; }
37338 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37339 $as_echo_n "(cached) " >&6
37340 else
37343 ac_ext=cpp
37344 ac_cpp='$CXXCPP $CPPFLAGS'
37345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37350 /* end confdefs.h. */
37351 #include <math.h>
37353 main ()
37355 _ceill (0); _floorl (0);
37357 return 0;
37359 _ACEOF
37360 if ac_fn_cxx_try_compile "$LINENO"; then :
37361 glibcxx_cv_func__long_double_round_use=yes
37362 else
37363 glibcxx_cv_func__long_double_round_use=no
37365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37366 ac_ext=c
37367 ac_cpp='$CPP $CPPFLAGS'
37368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37375 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37376 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37377 for ac_func in _ceill _floorl
37378 do :
37379 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37380 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37381 eval as_val=\$$as_ac_var
37382 if test "x$as_val" = x""yes; then :
37383 cat >>confdefs.h <<_ACEOF
37384 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37385 _ACEOF
37388 done
37398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37399 $as_echo_n "checking for isnanl declaration... " >&6; }
37400 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37401 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37402 $as_echo_n "(cached) " >&6
37403 else
37406 ac_ext=cpp
37407 ac_cpp='$CXXCPP $CPPFLAGS'
37408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37413 /* end confdefs.h. */
37414 #include <math.h>
37415 #ifdef HAVE_IEEEFP_H
37416 #include <ieeefp.h>
37417 #endif
37420 main ()
37422 isnanl(0);
37424 return 0;
37426 _ACEOF
37427 if ac_fn_cxx_try_compile "$LINENO"; then :
37428 glibcxx_cv_func_isnanl_use=yes
37429 else
37430 glibcxx_cv_func_isnanl_use=no
37432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37433 ac_ext=c
37434 ac_cpp='$CPP $CPPFLAGS'
37435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37444 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37446 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37447 for ac_func in isnanl
37448 do :
37449 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37450 if test "x$ac_cv_func_isnanl" = x""yes; then :
37451 cat >>confdefs.h <<_ACEOF
37452 #define HAVE_ISNANL 1
37453 _ACEOF
37456 done
37458 else
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37461 $as_echo_n "checking for _isnanl declaration... " >&6; }
37462 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37463 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37477 #ifdef HAVE_IEEEFP_H
37478 #include <ieeefp.h>
37479 #endif
37482 main ()
37484 _isnanl(0);
37486 return 0;
37488 _ACEOF
37489 if ac_fn_cxx_try_compile "$LINENO"; then :
37490 glibcxx_cv_func__isnanl_use=yes
37491 else
37492 glibcxx_cv_func__isnanl_use=no
37494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37495 ac_ext=c
37496 ac_cpp='$CPP $CPPFLAGS'
37497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37506 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37508 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37509 for ac_func in _isnanl
37510 do :
37511 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37512 if test "x$ac_cv_func__isnanl" = x""yes; then :
37513 cat >>confdefs.h <<_ACEOF
37514 #define HAVE__ISNANL 1
37515 _ACEOF
37518 done
37527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37528 $as_echo_n "checking for isinfl declaration... " >&6; }
37529 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37530 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37531 $as_echo_n "(cached) " >&6
37532 else
37535 ac_ext=cpp
37536 ac_cpp='$CXXCPP $CPPFLAGS'
37537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37542 /* end confdefs.h. */
37543 #include <math.h>
37544 #ifdef HAVE_IEEEFP_H
37545 #include <ieeefp.h>
37546 #endif
37549 main ()
37551 isinfl(0);
37553 return 0;
37555 _ACEOF
37556 if ac_fn_cxx_try_compile "$LINENO"; then :
37557 glibcxx_cv_func_isinfl_use=yes
37558 else
37559 glibcxx_cv_func_isinfl_use=no
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37562 ac_ext=c
37563 ac_cpp='$CPP $CPPFLAGS'
37564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37573 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37575 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37576 for ac_func in isinfl
37577 do :
37578 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37579 if test "x$ac_cv_func_isinfl" = x""yes; then :
37580 cat >>confdefs.h <<_ACEOF
37581 #define HAVE_ISINFL 1
37582 _ACEOF
37585 done
37587 else
37589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37590 $as_echo_n "checking for _isinfl declaration... " >&6; }
37591 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37592 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37593 $as_echo_n "(cached) " >&6
37594 else
37597 ac_ext=cpp
37598 ac_cpp='$CXXCPP $CPPFLAGS'
37599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37604 /* end confdefs.h. */
37605 #include <math.h>
37606 #ifdef HAVE_IEEEFP_H
37607 #include <ieeefp.h>
37608 #endif
37611 main ()
37613 _isinfl(0);
37615 return 0;
37617 _ACEOF
37618 if ac_fn_cxx_try_compile "$LINENO"; then :
37619 glibcxx_cv_func__isinfl_use=yes
37620 else
37621 glibcxx_cv_func__isinfl_use=no
37623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37624 ac_ext=c
37625 ac_cpp='$CPP $CPPFLAGS'
37626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37635 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37637 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37638 for ac_func in _isinfl
37639 do :
37640 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37641 if test "x$ac_cv_func__isinfl" = x""yes; then :
37642 cat >>confdefs.h <<_ACEOF
37643 #define HAVE__ISINFL 1
37644 _ACEOF
37647 done
37656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37657 $as_echo_n "checking for atan2l declaration... " >&6; }
37658 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37659 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37660 $as_echo_n "(cached) " >&6
37661 else
37664 ac_ext=cpp
37665 ac_cpp='$CXXCPP $CPPFLAGS'
37666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37671 /* end confdefs.h. */
37672 #include <math.h>
37674 main ()
37676 atan2l(0, 0);
37678 return 0;
37680 _ACEOF
37681 if ac_fn_cxx_try_compile "$LINENO"; then :
37682 glibcxx_cv_func_atan2l_use=yes
37683 else
37684 glibcxx_cv_func_atan2l_use=no
37686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37687 ac_ext=c
37688 ac_cpp='$CPP $CPPFLAGS'
37689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37698 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37700 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37701 for ac_func in atan2l
37702 do :
37703 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37704 if test "x$ac_cv_func_atan2l" = x""yes; then :
37705 cat >>confdefs.h <<_ACEOF
37706 #define HAVE_ATAN2L 1
37707 _ACEOF
37710 done
37712 else
37714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37715 $as_echo_n "checking for _atan2l declaration... " >&6; }
37716 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37717 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37718 $as_echo_n "(cached) " >&6
37719 else
37722 ac_ext=cpp
37723 ac_cpp='$CXXCPP $CPPFLAGS'
37724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37729 /* end confdefs.h. */
37730 #include <math.h>
37732 main ()
37734 _atan2l(0, 0);
37736 return 0;
37738 _ACEOF
37739 if ac_fn_cxx_try_compile "$LINENO"; then :
37740 glibcxx_cv_func__atan2l_use=yes
37741 else
37742 glibcxx_cv_func__atan2l_use=no
37744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37745 ac_ext=c
37746 ac_cpp='$CPP $CPPFLAGS'
37747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37756 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37758 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37759 for ac_func in _atan2l
37760 do :
37761 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37762 if test "x$ac_cv_func__atan2l" = x""yes; then :
37763 cat >>confdefs.h <<_ACEOF
37764 #define HAVE__ATAN2L 1
37765 _ACEOF
37768 done
37777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37778 $as_echo_n "checking for expl declaration... " >&6; }
37779 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37780 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37781 $as_echo_n "(cached) " >&6
37782 else
37785 ac_ext=cpp
37786 ac_cpp='$CXXCPP $CPPFLAGS'
37787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37792 /* end confdefs.h. */
37793 #include <math.h>
37794 #ifdef HAVE_IEEEFP_H
37795 #include <ieeefp.h>
37796 #endif
37799 main ()
37801 expl(0);
37803 return 0;
37805 _ACEOF
37806 if ac_fn_cxx_try_compile "$LINENO"; then :
37807 glibcxx_cv_func_expl_use=yes
37808 else
37809 glibcxx_cv_func_expl_use=no
37811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37812 ac_ext=c
37813 ac_cpp='$CPP $CPPFLAGS'
37814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37823 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37825 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37826 for ac_func in expl
37827 do :
37828 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37829 if test "x$ac_cv_func_expl" = x""yes; then :
37830 cat >>confdefs.h <<_ACEOF
37831 #define HAVE_EXPL 1
37832 _ACEOF
37835 done
37837 else
37839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37840 $as_echo_n "checking for _expl declaration... " >&6; }
37841 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37842 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37843 $as_echo_n "(cached) " >&6
37844 else
37847 ac_ext=cpp
37848 ac_cpp='$CXXCPP $CPPFLAGS'
37849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37854 /* end confdefs.h. */
37855 #include <math.h>
37856 #ifdef HAVE_IEEEFP_H
37857 #include <ieeefp.h>
37858 #endif
37861 main ()
37863 _expl(0);
37865 return 0;
37867 _ACEOF
37868 if ac_fn_cxx_try_compile "$LINENO"; then :
37869 glibcxx_cv_func__expl_use=yes
37870 else
37871 glibcxx_cv_func__expl_use=no
37873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37874 ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37885 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37887 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37888 for ac_func in _expl
37889 do :
37890 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37891 if test "x$ac_cv_func__expl" = x""yes; then :
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE__EXPL 1
37894 _ACEOF
37897 done
37906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37907 $as_echo_n "checking for fabsl declaration... " >&6; }
37908 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37909 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37910 $as_echo_n "(cached) " >&6
37911 else
37914 ac_ext=cpp
37915 ac_cpp='$CXXCPP $CPPFLAGS'
37916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37921 /* end confdefs.h. */
37922 #include <math.h>
37923 #ifdef HAVE_IEEEFP_H
37924 #include <ieeefp.h>
37925 #endif
37928 main ()
37930 fabsl(0);
37932 return 0;
37934 _ACEOF
37935 if ac_fn_cxx_try_compile "$LINENO"; then :
37936 glibcxx_cv_func_fabsl_use=yes
37937 else
37938 glibcxx_cv_func_fabsl_use=no
37940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37941 ac_ext=c
37942 ac_cpp='$CPP $CPPFLAGS'
37943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37952 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37954 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37955 for ac_func in fabsl
37956 do :
37957 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37958 if test "x$ac_cv_func_fabsl" = x""yes; then :
37959 cat >>confdefs.h <<_ACEOF
37960 #define HAVE_FABSL 1
37961 _ACEOF
37964 done
37966 else
37968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37969 $as_echo_n "checking for _fabsl declaration... " >&6; }
37970 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37971 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37972 $as_echo_n "(cached) " >&6
37973 else
37976 ac_ext=cpp
37977 ac_cpp='$CXXCPP $CPPFLAGS'
37978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37983 /* end confdefs.h. */
37984 #include <math.h>
37985 #ifdef HAVE_IEEEFP_H
37986 #include <ieeefp.h>
37987 #endif
37990 main ()
37992 _fabsl(0);
37994 return 0;
37996 _ACEOF
37997 if ac_fn_cxx_try_compile "$LINENO"; then :
37998 glibcxx_cv_func__fabsl_use=yes
37999 else
38000 glibcxx_cv_func__fabsl_use=no
38002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38003 ac_ext=c
38004 ac_cpp='$CPP $CPPFLAGS'
38005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38014 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38016 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38017 for ac_func in _fabsl
38018 do :
38019 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38020 if test "x$ac_cv_func__fabsl" = x""yes; then :
38021 cat >>confdefs.h <<_ACEOF
38022 #define HAVE__FABSL 1
38023 _ACEOF
38026 done
38035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38036 $as_echo_n "checking for fmodl declaration... " >&6; }
38037 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38038 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38039 $as_echo_n "(cached) " >&6
38040 else
38043 ac_ext=cpp
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38050 /* end confdefs.h. */
38051 #include <math.h>
38053 main ()
38055 fmodl(0, 0);
38057 return 0;
38059 _ACEOF
38060 if ac_fn_cxx_try_compile "$LINENO"; then :
38061 glibcxx_cv_func_fmodl_use=yes
38062 else
38063 glibcxx_cv_func_fmodl_use=no
38065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38066 ac_ext=c
38067 ac_cpp='$CPP $CPPFLAGS'
38068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38077 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38079 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38080 for ac_func in fmodl
38081 do :
38082 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38083 if test "x$ac_cv_func_fmodl" = x""yes; then :
38084 cat >>confdefs.h <<_ACEOF
38085 #define HAVE_FMODL 1
38086 _ACEOF
38089 done
38091 else
38093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38094 $as_echo_n "checking for _fmodl declaration... " >&6; }
38095 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38096 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38097 $as_echo_n "(cached) " >&6
38098 else
38101 ac_ext=cpp
38102 ac_cpp='$CXXCPP $CPPFLAGS'
38103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38108 /* end confdefs.h. */
38109 #include <math.h>
38111 main ()
38113 _fmodl(0, 0);
38115 return 0;
38117 _ACEOF
38118 if ac_fn_cxx_try_compile "$LINENO"; then :
38119 glibcxx_cv_func__fmodl_use=yes
38120 else
38121 glibcxx_cv_func__fmodl_use=no
38123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38124 ac_ext=c
38125 ac_cpp='$CPP $CPPFLAGS'
38126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38135 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38137 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38138 for ac_func in _fmodl
38139 do :
38140 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38141 if test "x$ac_cv_func__fmodl" = x""yes; then :
38142 cat >>confdefs.h <<_ACEOF
38143 #define HAVE__FMODL 1
38144 _ACEOF
38147 done
38156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38157 $as_echo_n "checking for frexpl declaration... " >&6; }
38158 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38159 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38160 $as_echo_n "(cached) " >&6
38161 else
38164 ac_ext=cpp
38165 ac_cpp='$CXXCPP $CPPFLAGS'
38166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38171 /* end confdefs.h. */
38172 #include <math.h>
38174 main ()
38176 frexpl(0, 0);
38178 return 0;
38180 _ACEOF
38181 if ac_fn_cxx_try_compile "$LINENO"; then :
38182 glibcxx_cv_func_frexpl_use=yes
38183 else
38184 glibcxx_cv_func_frexpl_use=no
38186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38187 ac_ext=c
38188 ac_cpp='$CPP $CPPFLAGS'
38189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38198 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38200 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38201 for ac_func in frexpl
38202 do :
38203 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38204 if test "x$ac_cv_func_frexpl" = x""yes; then :
38205 cat >>confdefs.h <<_ACEOF
38206 #define HAVE_FREXPL 1
38207 _ACEOF
38210 done
38212 else
38214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38215 $as_echo_n "checking for _frexpl declaration... " >&6; }
38216 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38217 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38218 $as_echo_n "(cached) " >&6
38219 else
38222 ac_ext=cpp
38223 ac_cpp='$CXXCPP $CPPFLAGS'
38224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38229 /* end confdefs.h. */
38230 #include <math.h>
38232 main ()
38234 _frexpl(0, 0);
38236 return 0;
38238 _ACEOF
38239 if ac_fn_cxx_try_compile "$LINENO"; then :
38240 glibcxx_cv_func__frexpl_use=yes
38241 else
38242 glibcxx_cv_func__frexpl_use=no
38244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38245 ac_ext=c
38246 ac_cpp='$CPP $CPPFLAGS'
38247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38256 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38258 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38259 for ac_func in _frexpl
38260 do :
38261 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38262 if test "x$ac_cv_func__frexpl" = x""yes; then :
38263 cat >>confdefs.h <<_ACEOF
38264 #define HAVE__FREXPL 1
38265 _ACEOF
38268 done
38277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38278 $as_echo_n "checking for hypotl declaration... " >&6; }
38279 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38280 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38281 $as_echo_n "(cached) " >&6
38282 else
38285 ac_ext=cpp
38286 ac_cpp='$CXXCPP $CPPFLAGS'
38287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38292 /* end confdefs.h. */
38293 #include <math.h>
38295 main ()
38297 hypotl(0, 0);
38299 return 0;
38301 _ACEOF
38302 if ac_fn_cxx_try_compile "$LINENO"; then :
38303 glibcxx_cv_func_hypotl_use=yes
38304 else
38305 glibcxx_cv_func_hypotl_use=no
38307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38308 ac_ext=c
38309 ac_cpp='$CPP $CPPFLAGS'
38310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38319 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38321 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38322 for ac_func in hypotl
38323 do :
38324 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38325 if test "x$ac_cv_func_hypotl" = x""yes; then :
38326 cat >>confdefs.h <<_ACEOF
38327 #define HAVE_HYPOTL 1
38328 _ACEOF
38331 done
38333 else
38335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38336 $as_echo_n "checking for _hypotl declaration... " >&6; }
38337 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38338 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38339 $as_echo_n "(cached) " >&6
38340 else
38343 ac_ext=cpp
38344 ac_cpp='$CXXCPP $CPPFLAGS'
38345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38350 /* end confdefs.h. */
38351 #include <math.h>
38353 main ()
38355 _hypotl(0, 0);
38357 return 0;
38359 _ACEOF
38360 if ac_fn_cxx_try_compile "$LINENO"; then :
38361 glibcxx_cv_func__hypotl_use=yes
38362 else
38363 glibcxx_cv_func__hypotl_use=no
38365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38366 ac_ext=c
38367 ac_cpp='$CPP $CPPFLAGS'
38368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38377 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38379 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38380 for ac_func in _hypotl
38381 do :
38382 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38383 if test "x$ac_cv_func__hypotl" = x""yes; then :
38384 cat >>confdefs.h <<_ACEOF
38385 #define HAVE__HYPOTL 1
38386 _ACEOF
38389 done
38398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38399 $as_echo_n "checking for ldexpl declaration... " >&6; }
38400 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38401 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38402 $as_echo_n "(cached) " >&6
38403 else
38406 ac_ext=cpp
38407 ac_cpp='$CXXCPP $CPPFLAGS'
38408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38413 /* end confdefs.h. */
38414 #include <math.h>
38416 main ()
38418 ldexpl(0, 0);
38420 return 0;
38422 _ACEOF
38423 if ac_fn_cxx_try_compile "$LINENO"; then :
38424 glibcxx_cv_func_ldexpl_use=yes
38425 else
38426 glibcxx_cv_func_ldexpl_use=no
38428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38429 ac_ext=c
38430 ac_cpp='$CPP $CPPFLAGS'
38431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38440 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38442 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38443 for ac_func in ldexpl
38444 do :
38445 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38446 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38447 cat >>confdefs.h <<_ACEOF
38448 #define HAVE_LDEXPL 1
38449 _ACEOF
38452 done
38454 else
38456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38457 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38458 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38459 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38460 $as_echo_n "(cached) " >&6
38461 else
38464 ac_ext=cpp
38465 ac_cpp='$CXXCPP $CPPFLAGS'
38466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38471 /* end confdefs.h. */
38472 #include <math.h>
38474 main ()
38476 _ldexpl(0, 0);
38478 return 0;
38480 _ACEOF
38481 if ac_fn_cxx_try_compile "$LINENO"; then :
38482 glibcxx_cv_func__ldexpl_use=yes
38483 else
38484 glibcxx_cv_func__ldexpl_use=no
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38487 ac_ext=c
38488 ac_cpp='$CPP $CPPFLAGS'
38489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38498 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38500 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38501 for ac_func in _ldexpl
38502 do :
38503 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38504 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38505 cat >>confdefs.h <<_ACEOF
38506 #define HAVE__LDEXPL 1
38507 _ACEOF
38510 done
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38520 $as_echo_n "checking for logl declaration... " >&6; }
38521 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38522 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38523 $as_echo_n "(cached) " >&6
38524 else
38527 ac_ext=cpp
38528 ac_cpp='$CXXCPP $CPPFLAGS'
38529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38534 /* end confdefs.h. */
38535 #include <math.h>
38536 #ifdef HAVE_IEEEFP_H
38537 #include <ieeefp.h>
38538 #endif
38541 main ()
38543 logl(0);
38545 return 0;
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func_logl_use=yes
38550 else
38551 glibcxx_cv_func_logl_use=no
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38565 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38567 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38568 for ac_func in logl
38569 do :
38570 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38571 if test "x$ac_cv_func_logl" = x""yes; then :
38572 cat >>confdefs.h <<_ACEOF
38573 #define HAVE_LOGL 1
38574 _ACEOF
38577 done
38579 else
38581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38582 $as_echo_n "checking for _logl declaration... " >&6; }
38583 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38584 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38585 $as_echo_n "(cached) " >&6
38586 else
38589 ac_ext=cpp
38590 ac_cpp='$CXXCPP $CPPFLAGS'
38591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38596 /* end confdefs.h. */
38597 #include <math.h>
38598 #ifdef HAVE_IEEEFP_H
38599 #include <ieeefp.h>
38600 #endif
38603 main ()
38605 _logl(0);
38607 return 0;
38609 _ACEOF
38610 if ac_fn_cxx_try_compile "$LINENO"; then :
38611 glibcxx_cv_func__logl_use=yes
38612 else
38613 glibcxx_cv_func__logl_use=no
38615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38616 ac_ext=c
38617 ac_cpp='$CPP $CPPFLAGS'
38618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38627 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38629 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38630 for ac_func in _logl
38631 do :
38632 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38633 if test "x$ac_cv_func__logl" = x""yes; then :
38634 cat >>confdefs.h <<_ACEOF
38635 #define HAVE__LOGL 1
38636 _ACEOF
38639 done
38648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38649 $as_echo_n "checking for log10l declaration... " >&6; }
38650 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38651 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38652 $as_echo_n "(cached) " >&6
38653 else
38656 ac_ext=cpp
38657 ac_cpp='$CXXCPP $CPPFLAGS'
38658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38663 /* end confdefs.h. */
38664 #include <math.h>
38665 #ifdef HAVE_IEEEFP_H
38666 #include <ieeefp.h>
38667 #endif
38670 main ()
38672 log10l(0);
38674 return 0;
38676 _ACEOF
38677 if ac_fn_cxx_try_compile "$LINENO"; then :
38678 glibcxx_cv_func_log10l_use=yes
38679 else
38680 glibcxx_cv_func_log10l_use=no
38682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38683 ac_ext=c
38684 ac_cpp='$CPP $CPPFLAGS'
38685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38694 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38696 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38697 for ac_func in log10l
38698 do :
38699 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38700 if test "x$ac_cv_func_log10l" = x""yes; then :
38701 cat >>confdefs.h <<_ACEOF
38702 #define HAVE_LOG10L 1
38703 _ACEOF
38706 done
38708 else
38710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38711 $as_echo_n "checking for _log10l declaration... " >&6; }
38712 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38713 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38714 $as_echo_n "(cached) " >&6
38715 else
38718 ac_ext=cpp
38719 ac_cpp='$CXXCPP $CPPFLAGS'
38720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38725 /* end confdefs.h. */
38726 #include <math.h>
38727 #ifdef HAVE_IEEEFP_H
38728 #include <ieeefp.h>
38729 #endif
38732 main ()
38734 _log10l(0);
38736 return 0;
38738 _ACEOF
38739 if ac_fn_cxx_try_compile "$LINENO"; then :
38740 glibcxx_cv_func__log10l_use=yes
38741 else
38742 glibcxx_cv_func__log10l_use=no
38744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38745 ac_ext=c
38746 ac_cpp='$CPP $CPPFLAGS'
38747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38756 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38758 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38759 for ac_func in _log10l
38760 do :
38761 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38762 if test "x$ac_cv_func__log10l" = x""yes; then :
38763 cat >>confdefs.h <<_ACEOF
38764 #define HAVE__LOG10L 1
38765 _ACEOF
38768 done
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38778 $as_echo_n "checking for modfl declaration... " >&6; }
38779 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38780 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38781 $as_echo_n "(cached) " >&6
38782 else
38785 ac_ext=cpp
38786 ac_cpp='$CXXCPP $CPPFLAGS'
38787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38792 /* end confdefs.h. */
38793 #include <math.h>
38795 main ()
38797 modfl(0, 0);
38799 return 0;
38801 _ACEOF
38802 if ac_fn_cxx_try_compile "$LINENO"; then :
38803 glibcxx_cv_func_modfl_use=yes
38804 else
38805 glibcxx_cv_func_modfl_use=no
38807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38808 ac_ext=c
38809 ac_cpp='$CPP $CPPFLAGS'
38810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38819 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38821 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38822 for ac_func in modfl
38823 do :
38824 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38825 if test "x$ac_cv_func_modfl" = x""yes; then :
38826 cat >>confdefs.h <<_ACEOF
38827 #define HAVE_MODFL 1
38828 _ACEOF
38831 done
38833 else
38835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38836 $as_echo_n "checking for _modfl declaration... " >&6; }
38837 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38838 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38839 $as_echo_n "(cached) " >&6
38840 else
38843 ac_ext=cpp
38844 ac_cpp='$CXXCPP $CPPFLAGS'
38845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38850 /* end confdefs.h. */
38851 #include <math.h>
38853 main ()
38855 _modfl(0, 0);
38857 return 0;
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func__modfl_use=yes
38862 else
38863 glibcxx_cv_func__modfl_use=no
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38877 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38879 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38880 for ac_func in _modfl
38881 do :
38882 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38883 if test "x$ac_cv_func__modfl" = x""yes; then :
38884 cat >>confdefs.h <<_ACEOF
38885 #define HAVE__MODFL 1
38886 _ACEOF
38889 done
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38899 $as_echo_n "checking for powl declaration... " >&6; }
38900 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38901 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914 #include <math.h>
38916 main ()
38918 powl(0, 0);
38920 return 0;
38922 _ACEOF
38923 if ac_fn_cxx_try_compile "$LINENO"; then :
38924 glibcxx_cv_func_powl_use=yes
38925 else
38926 glibcxx_cv_func_powl_use=no
38928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38929 ac_ext=c
38930 ac_cpp='$CPP $CPPFLAGS'
38931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38940 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38942 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38943 for ac_func in powl
38944 do :
38945 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38946 if test "x$ac_cv_func_powl" = x""yes; then :
38947 cat >>confdefs.h <<_ACEOF
38948 #define HAVE_POWL 1
38949 _ACEOF
38952 done
38954 else
38956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38957 $as_echo_n "checking for _powl declaration... " >&6; }
38958 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38959 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38960 $as_echo_n "(cached) " >&6
38961 else
38964 ac_ext=cpp
38965 ac_cpp='$CXXCPP $CPPFLAGS'
38966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38971 /* end confdefs.h. */
38972 #include <math.h>
38974 main ()
38976 _powl(0, 0);
38978 return 0;
38980 _ACEOF
38981 if ac_fn_cxx_try_compile "$LINENO"; then :
38982 glibcxx_cv_func__powl_use=yes
38983 else
38984 glibcxx_cv_func__powl_use=no
38986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38987 ac_ext=c
38988 ac_cpp='$CPP $CPPFLAGS'
38989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38998 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39000 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39001 for ac_func in _powl
39002 do :
39003 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39004 if test "x$ac_cv_func__powl" = x""yes; then :
39005 cat >>confdefs.h <<_ACEOF
39006 #define HAVE__POWL 1
39007 _ACEOF
39010 done
39019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39020 $as_echo_n "checking for sqrtl declaration... " >&6; }
39021 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39022 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39023 $as_echo_n "(cached) " >&6
39024 else
39027 ac_ext=cpp
39028 ac_cpp='$CXXCPP $CPPFLAGS'
39029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39034 /* end confdefs.h. */
39035 #include <math.h>
39036 #ifdef HAVE_IEEEFP_H
39037 #include <ieeefp.h>
39038 #endif
39041 main ()
39043 sqrtl(0);
39045 return 0;
39047 _ACEOF
39048 if ac_fn_cxx_try_compile "$LINENO"; then :
39049 glibcxx_cv_func_sqrtl_use=yes
39050 else
39051 glibcxx_cv_func_sqrtl_use=no
39053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39054 ac_ext=c
39055 ac_cpp='$CPP $CPPFLAGS'
39056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39065 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39067 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39068 for ac_func in sqrtl
39069 do :
39070 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39071 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39072 cat >>confdefs.h <<_ACEOF
39073 #define HAVE_SQRTL 1
39074 _ACEOF
39077 done
39079 else
39081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39082 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39083 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39084 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39085 $as_echo_n "(cached) " >&6
39086 else
39089 ac_ext=cpp
39090 ac_cpp='$CXXCPP $CPPFLAGS'
39091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39096 /* end confdefs.h. */
39097 #include <math.h>
39098 #ifdef HAVE_IEEEFP_H
39099 #include <ieeefp.h>
39100 #endif
39103 main ()
39105 _sqrtl(0);
39107 return 0;
39109 _ACEOF
39110 if ac_fn_cxx_try_compile "$LINENO"; then :
39111 glibcxx_cv_func__sqrtl_use=yes
39112 else
39113 glibcxx_cv_func__sqrtl_use=no
39115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39116 ac_ext=c
39117 ac_cpp='$CPP $CPPFLAGS'
39118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39127 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39129 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39130 for ac_func in _sqrtl
39131 do :
39132 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39133 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39134 cat >>confdefs.h <<_ACEOF
39135 #define HAVE__SQRTL 1
39136 _ACEOF
39139 done
39148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39149 $as_echo_n "checking for sincosl declaration... " >&6; }
39150 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39151 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39152 $as_echo_n "(cached) " >&6
39153 else
39156 ac_ext=cpp
39157 ac_cpp='$CXXCPP $CPPFLAGS'
39158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39163 /* end confdefs.h. */
39164 #include <math.h>
39166 main ()
39168 sincosl(0, 0, 0);
39170 return 0;
39172 _ACEOF
39173 if ac_fn_cxx_try_compile "$LINENO"; then :
39174 glibcxx_cv_func_sincosl_use=yes
39175 else
39176 glibcxx_cv_func_sincosl_use=no
39178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39179 ac_ext=c
39180 ac_cpp='$CPP $CPPFLAGS'
39181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39190 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39192 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39193 for ac_func in sincosl
39194 do :
39195 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39196 if test "x$ac_cv_func_sincosl" = x""yes; then :
39197 cat >>confdefs.h <<_ACEOF
39198 #define HAVE_SINCOSL 1
39199 _ACEOF
39202 done
39204 else
39206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39207 $as_echo_n "checking for _sincosl declaration... " >&6; }
39208 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39209 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39210 $as_echo_n "(cached) " >&6
39211 else
39214 ac_ext=cpp
39215 ac_cpp='$CXXCPP $CPPFLAGS'
39216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39221 /* end confdefs.h. */
39222 #include <math.h>
39224 main ()
39226 _sincosl(0, 0, 0);
39228 return 0;
39230 _ACEOF
39231 if ac_fn_cxx_try_compile "$LINENO"; then :
39232 glibcxx_cv_func__sincosl_use=yes
39233 else
39234 glibcxx_cv_func__sincosl_use=no
39236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39237 ac_ext=c
39238 ac_cpp='$CPP $CPPFLAGS'
39239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39248 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39250 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39251 for ac_func in _sincosl
39252 do :
39253 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39254 if test "x$ac_cv_func__sincosl" = x""yes; then :
39255 cat >>confdefs.h <<_ACEOF
39256 #define HAVE__SINCOSL 1
39257 _ACEOF
39260 done
39269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39270 $as_echo_n "checking for finitel declaration... " >&6; }
39271 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39272 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39273 $as_echo_n "(cached) " >&6
39274 else
39277 ac_ext=cpp
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39284 /* end confdefs.h. */
39285 #include <math.h>
39286 #ifdef HAVE_IEEEFP_H
39287 #include <ieeefp.h>
39288 #endif
39291 main ()
39293 finitel(0);
39295 return 0;
39297 _ACEOF
39298 if ac_fn_cxx_try_compile "$LINENO"; then :
39299 glibcxx_cv_func_finitel_use=yes
39300 else
39301 glibcxx_cv_func_finitel_use=no
39303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39304 ac_ext=c
39305 ac_cpp='$CPP $CPPFLAGS'
39306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39315 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39317 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39318 for ac_func in finitel
39319 do :
39320 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39321 if test "x$ac_cv_func_finitel" = x""yes; then :
39322 cat >>confdefs.h <<_ACEOF
39323 #define HAVE_FINITEL 1
39324 _ACEOF
39327 done
39329 else
39331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39332 $as_echo_n "checking for _finitel declaration... " >&6; }
39333 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39334 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39335 $as_echo_n "(cached) " >&6
39336 else
39339 ac_ext=cpp
39340 ac_cpp='$CXXCPP $CPPFLAGS'
39341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39346 /* end confdefs.h. */
39347 #include <math.h>
39348 #ifdef HAVE_IEEEFP_H
39349 #include <ieeefp.h>
39350 #endif
39353 main ()
39355 _finitel(0);
39357 return 0;
39359 _ACEOF
39360 if ac_fn_cxx_try_compile "$LINENO"; then :
39361 glibcxx_cv_func__finitel_use=yes
39362 else
39363 glibcxx_cv_func__finitel_use=no
39365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39366 ac_ext=c
39367 ac_cpp='$CPP $CPPFLAGS'
39368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39377 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39379 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39380 for ac_func in _finitel
39381 do :
39382 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39383 if test "x$ac_cv_func__finitel" = x""yes; then :
39384 cat >>confdefs.h <<_ACEOF
39385 #define HAVE__FINITEL 1
39386 _ACEOF
39389 done
39397 LIBS="$ac_save_LIBS"
39398 CXXFLAGS="$ac_save_CXXFLAGS"
39401 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39402 ac_save_CXXFLAGS="$CXXFLAGS"
39403 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39407 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39408 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39409 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39410 $as_echo_n "(cached) " >&6
39411 else
39414 ac_ext=cpp
39415 ac_cpp='$CXXCPP $CPPFLAGS'
39416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39421 /* end confdefs.h. */
39422 #include <stdlib.h>
39424 main ()
39426 at_quick_exit(0);
39428 return 0;
39430 _ACEOF
39431 if ac_fn_cxx_try_compile "$LINENO"; then :
39432 glibcxx_cv_func_at_quick_exit_use=yes
39433 else
39434 glibcxx_cv_func_at_quick_exit_use=no
39436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39437 ac_ext=c
39438 ac_cpp='$CPP $CPPFLAGS'
39439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39448 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39449 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39450 for ac_func in at_quick_exit
39451 do :
39452 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39453 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39454 cat >>confdefs.h <<_ACEOF
39455 #define HAVE_AT_QUICK_EXIT 1
39456 _ACEOF
39459 done
39464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39465 $as_echo_n "checking for quick_exit declaration... " >&6; }
39466 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39467 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39468 $as_echo_n "(cached) " >&6
39469 else
39472 ac_ext=cpp
39473 ac_cpp='$CXXCPP $CPPFLAGS'
39474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39479 /* end confdefs.h. */
39480 #include <stdlib.h>
39482 main ()
39484 quick_exit(0);
39486 return 0;
39488 _ACEOF
39489 if ac_fn_cxx_try_compile "$LINENO"; then :
39490 glibcxx_cv_func_quick_exit_use=yes
39491 else
39492 glibcxx_cv_func_quick_exit_use=no
39494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39495 ac_ext=c
39496 ac_cpp='$CPP $CPPFLAGS'
39497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39506 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39507 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39508 for ac_func in quick_exit
39509 do :
39510 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39511 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39512 cat >>confdefs.h <<_ACEOF
39513 #define HAVE_QUICK_EXIT 1
39514 _ACEOF
39517 done
39522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39523 $as_echo_n "checking for strtold declaration... " >&6; }
39524 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39525 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39526 $as_echo_n "(cached) " >&6
39527 else
39530 ac_ext=cpp
39531 ac_cpp='$CXXCPP $CPPFLAGS'
39532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39537 /* end confdefs.h. */
39538 #include <stdlib.h>
39540 main ()
39542 strtold(0, 0);
39544 return 0;
39546 _ACEOF
39547 if ac_fn_cxx_try_compile "$LINENO"; then :
39548 glibcxx_cv_func_strtold_use=yes
39549 else
39550 glibcxx_cv_func_strtold_use=no
39552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39553 ac_ext=c
39554 ac_cpp='$CPP $CPPFLAGS'
39555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39564 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39565 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39566 for ac_func in strtold
39567 do :
39568 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39569 if test "x$ac_cv_func_strtold" = x""yes; then :
39570 cat >>confdefs.h <<_ACEOF
39571 #define HAVE_STRTOLD 1
39572 _ACEOF
39575 done
39582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39583 $as_echo_n "checking for strtof declaration... " >&6; }
39584 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39585 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39586 $as_echo_n "(cached) " >&6
39587 else
39590 ac_ext=cpp
39591 ac_cpp='$CXXCPP $CPPFLAGS'
39592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39597 /* end confdefs.h. */
39598 #include <stdlib.h>
39600 main ()
39602 strtof(0, 0);
39604 return 0;
39606 _ACEOF
39607 if ac_fn_cxx_try_compile "$LINENO"; then :
39608 glibcxx_cv_func_strtof_use=yes
39609 else
39610 glibcxx_cv_func_strtof_use=no
39612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39613 ac_ext=c
39614 ac_cpp='$CPP $CPPFLAGS'
39615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39624 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39625 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39626 for ac_func in strtof
39627 do :
39628 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39629 if test "x$ac_cv_func_strtof" = x""yes; then :
39630 cat >>confdefs.h <<_ACEOF
39631 #define HAVE_STRTOF 1
39632 _ACEOF
39635 done
39642 CXXFLAGS="$ac_save_CXXFLAGS"
39644 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39646 # We don't yet support AIX's TLS ABI.
39647 #GCC_CHECK_TLS
39653 am_save_CPPFLAGS="$CPPFLAGS"
39655 for element in $INCICONV; do
39656 haveit=
39657 for x in $CPPFLAGS; do
39659 acl_save_prefix="$prefix"
39660 prefix="$acl_final_prefix"
39661 acl_save_exec_prefix="$exec_prefix"
39662 exec_prefix="$acl_final_exec_prefix"
39663 eval x=\"$x\"
39664 exec_prefix="$acl_save_exec_prefix"
39665 prefix="$acl_save_prefix"
39667 if test "X$x" = "X$element"; then
39668 haveit=yes
39669 break
39671 done
39672 if test -z "$haveit"; then
39673 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39675 done
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39679 $as_echo_n "checking for iconv... " >&6; }
39680 if test "${am_cv_func_iconv+set}" = set; then :
39681 $as_echo_n "(cached) " >&6
39682 else
39684 am_cv_func_iconv="no, consider installing GNU libiconv"
39685 am_cv_lib_iconv=no
39686 if test x$gcc_no_link = xyes; then
39687 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39690 /* end confdefs.h. */
39691 #include <stdlib.h>
39692 #include <iconv.h>
39694 main ()
39696 iconv_t cd = iconv_open("","");
39697 iconv(cd,NULL,NULL,NULL,NULL);
39698 iconv_close(cd);
39700 return 0;
39702 _ACEOF
39703 if ac_fn_c_try_link "$LINENO"; then :
39704 am_cv_func_iconv=yes
39706 rm -f core conftest.err conftest.$ac_objext \
39707 conftest$ac_exeext conftest.$ac_ext
39708 if test "$am_cv_func_iconv" != yes; then
39709 am_save_LIBS="$LIBS"
39710 LIBS="$LIBS $LIBICONV"
39711 if test x$gcc_no_link = xyes; then
39712 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39715 /* end confdefs.h. */
39716 #include <stdlib.h>
39717 #include <iconv.h>
39719 main ()
39721 iconv_t cd = iconv_open("","");
39722 iconv(cd,NULL,NULL,NULL,NULL);
39723 iconv_close(cd);
39725 return 0;
39727 _ACEOF
39728 if ac_fn_c_try_link "$LINENO"; then :
39729 am_cv_lib_iconv=yes
39730 am_cv_func_iconv=yes
39732 rm -f core conftest.err conftest.$ac_objext \
39733 conftest$ac_exeext conftest.$ac_ext
39734 LIBS="$am_save_LIBS"
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39739 $as_echo "$am_cv_func_iconv" >&6; }
39740 if test "$am_cv_func_iconv" = yes; then
39742 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39745 if test "$am_cv_lib_iconv" = yes; then
39746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39747 $as_echo_n "checking how to link with libiconv... " >&6; }
39748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39749 $as_echo "$LIBICONV" >&6; }
39750 else
39751 CPPFLAGS="$am_save_CPPFLAGS"
39752 LIBICONV=
39753 LTLIBICONV=
39758 if test "$am_cv_func_iconv" = yes; then
39759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39760 $as_echo_n "checking for iconv declaration... " >&6; }
39761 if test "${am_cv_proto_iconv+set}" = set; then :
39762 $as_echo_n "(cached) " >&6
39763 else
39765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39766 /* end confdefs.h. */
39768 #include <stdlib.h>
39769 #include <iconv.h>
39770 extern
39771 #ifdef __cplusplus
39773 #endif
39774 #if defined(__STDC__) || defined(__cplusplus)
39775 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39776 #else
39777 size_t iconv();
39778 #endif
39781 main ()
39785 return 0;
39787 _ACEOF
39788 if ac_fn_c_try_compile "$LINENO"; then :
39789 am_cv_proto_iconv_arg1=""
39790 else
39791 am_cv_proto_iconv_arg1="const"
39793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39794 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);"
39797 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39799 }$am_cv_proto_iconv" >&5
39800 $as_echo "${ac_t:-
39801 }$am_cv_proto_iconv" >&6; }
39803 cat >>confdefs.h <<_ACEOF
39804 #define ICONV_CONST $am_cv_proto_iconv_arg1
39805 _ACEOF
39811 *-darwin*)
39812 # Darwin versions vary, but the linker should work in a cross environment,
39813 # so we just check for all the features here.
39814 # Check for available headers.
39816 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39818 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39819 ac_save_CXXFLAGS="$CXXFLAGS"
39820 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39823 $as_echo_n "checking for sin in -lm... " >&6; }
39824 if test "${ac_cv_lib_m_sin+set}" = set; then :
39825 $as_echo_n "(cached) " >&6
39826 else
39827 ac_check_lib_save_LIBS=$LIBS
39828 LIBS="-lm $LIBS"
39829 if test x$gcc_no_link = xyes; then
39830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39833 /* end confdefs.h. */
39835 /* Override any GCC internal prototype to avoid an error.
39836 Use char because int might match the return type of a GCC
39837 builtin and then its argument prototype would still apply. */
39838 #ifdef __cplusplus
39839 extern "C"
39840 #endif
39841 char sin ();
39843 main ()
39845 return sin ();
39847 return 0;
39849 _ACEOF
39850 if ac_fn_c_try_link "$LINENO"; then :
39851 ac_cv_lib_m_sin=yes
39852 else
39853 ac_cv_lib_m_sin=no
39855 rm -f core conftest.err conftest.$ac_objext \
39856 conftest$ac_exeext conftest.$ac_ext
39857 LIBS=$ac_check_lib_save_LIBS
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39860 $as_echo "$ac_cv_lib_m_sin" >&6; }
39861 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39862 libm="-lm"
39865 ac_save_LIBS="$LIBS"
39866 LIBS="$LIBS $libm"
39870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39871 $as_echo_n "checking for isinf declaration... " >&6; }
39872 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39873 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39874 $as_echo_n "(cached) " >&6
39875 else
39878 ac_ext=cpp
39879 ac_cpp='$CXXCPP $CPPFLAGS'
39880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39885 /* end confdefs.h. */
39886 #include <math.h>
39887 #ifdef HAVE_IEEEFP_H
39888 #include <ieeefp.h>
39889 #endif
39892 main ()
39894 isinf(0);
39896 return 0;
39898 _ACEOF
39899 if ac_fn_cxx_try_compile "$LINENO"; then :
39900 glibcxx_cv_func_isinf_use=yes
39901 else
39902 glibcxx_cv_func_isinf_use=no
39904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39905 ac_ext=c
39906 ac_cpp='$CPP $CPPFLAGS'
39907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39916 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39918 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39919 for ac_func in isinf
39920 do :
39921 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39922 if test "x$ac_cv_func_isinf" = x""yes; then :
39923 cat >>confdefs.h <<_ACEOF
39924 #define HAVE_ISINF 1
39925 _ACEOF
39928 done
39930 else
39932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39933 $as_echo_n "checking for _isinf declaration... " >&6; }
39934 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39935 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39936 $as_echo_n "(cached) " >&6
39937 else
39940 ac_ext=cpp
39941 ac_cpp='$CXXCPP $CPPFLAGS'
39942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39947 /* end confdefs.h. */
39948 #include <math.h>
39949 #ifdef HAVE_IEEEFP_H
39950 #include <ieeefp.h>
39951 #endif
39954 main ()
39956 _isinf(0);
39958 return 0;
39960 _ACEOF
39961 if ac_fn_cxx_try_compile "$LINENO"; then :
39962 glibcxx_cv_func__isinf_use=yes
39963 else
39964 glibcxx_cv_func__isinf_use=no
39966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39967 ac_ext=c
39968 ac_cpp='$CPP $CPPFLAGS'
39969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39978 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39980 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39981 for ac_func in _isinf
39982 do :
39983 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39984 if test "x$ac_cv_func__isinf" = x""yes; then :
39985 cat >>confdefs.h <<_ACEOF
39986 #define HAVE__ISINF 1
39987 _ACEOF
39990 done
39999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40000 $as_echo_n "checking for isnan declaration... " >&6; }
40001 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40002 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40003 $as_echo_n "(cached) " >&6
40004 else
40007 ac_ext=cpp
40008 ac_cpp='$CXXCPP $CPPFLAGS'
40009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40014 /* end confdefs.h. */
40015 #include <math.h>
40016 #ifdef HAVE_IEEEFP_H
40017 #include <ieeefp.h>
40018 #endif
40021 main ()
40023 isnan(0);
40025 return 0;
40027 _ACEOF
40028 if ac_fn_cxx_try_compile "$LINENO"; then :
40029 glibcxx_cv_func_isnan_use=yes
40030 else
40031 glibcxx_cv_func_isnan_use=no
40033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40034 ac_ext=c
40035 ac_cpp='$CPP $CPPFLAGS'
40036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40045 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40047 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40048 for ac_func in isnan
40049 do :
40050 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40051 if test "x$ac_cv_func_isnan" = x""yes; then :
40052 cat >>confdefs.h <<_ACEOF
40053 #define HAVE_ISNAN 1
40054 _ACEOF
40057 done
40059 else
40061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40062 $as_echo_n "checking for _isnan declaration... " >&6; }
40063 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40064 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40065 $as_echo_n "(cached) " >&6
40066 else
40069 ac_ext=cpp
40070 ac_cpp='$CXXCPP $CPPFLAGS'
40071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40076 /* end confdefs.h. */
40077 #include <math.h>
40078 #ifdef HAVE_IEEEFP_H
40079 #include <ieeefp.h>
40080 #endif
40083 main ()
40085 _isnan(0);
40087 return 0;
40089 _ACEOF
40090 if ac_fn_cxx_try_compile "$LINENO"; then :
40091 glibcxx_cv_func__isnan_use=yes
40092 else
40093 glibcxx_cv_func__isnan_use=no
40095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096 ac_ext=c
40097 ac_cpp='$CPP $CPPFLAGS'
40098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40107 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40109 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40110 for ac_func in _isnan
40111 do :
40112 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40113 if test "x$ac_cv_func__isnan" = x""yes; then :
40114 cat >>confdefs.h <<_ACEOF
40115 #define HAVE__ISNAN 1
40116 _ACEOF
40119 done
40128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40129 $as_echo_n "checking for finite declaration... " >&6; }
40130 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40131 if test "${glibcxx_cv_func_finite_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>
40145 #ifdef HAVE_IEEEFP_H
40146 #include <ieeefp.h>
40147 #endif
40150 main ()
40152 finite(0);
40154 return 0;
40156 _ACEOF
40157 if ac_fn_cxx_try_compile "$LINENO"; then :
40158 glibcxx_cv_func_finite_use=yes
40159 else
40160 glibcxx_cv_func_finite_use=no
40162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40163 ac_ext=c
40164 ac_cpp='$CPP $CPPFLAGS'
40165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40174 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40176 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40177 for ac_func in finite
40178 do :
40179 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40180 if test "x$ac_cv_func_finite" = x""yes; then :
40181 cat >>confdefs.h <<_ACEOF
40182 #define HAVE_FINITE 1
40183 _ACEOF
40186 done
40188 else
40190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40191 $as_echo_n "checking for _finite declaration... " >&6; }
40192 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40193 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40194 $as_echo_n "(cached) " >&6
40195 else
40198 ac_ext=cpp
40199 ac_cpp='$CXXCPP $CPPFLAGS'
40200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40205 /* end confdefs.h. */
40206 #include <math.h>
40207 #ifdef HAVE_IEEEFP_H
40208 #include <ieeefp.h>
40209 #endif
40212 main ()
40214 _finite(0);
40216 return 0;
40218 _ACEOF
40219 if ac_fn_cxx_try_compile "$LINENO"; then :
40220 glibcxx_cv_func__finite_use=yes
40221 else
40222 glibcxx_cv_func__finite_use=no
40224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40225 ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40236 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40238 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40239 for ac_func in _finite
40240 do :
40241 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40242 if test "x$ac_cv_func__finite" = x""yes; then :
40243 cat >>confdefs.h <<_ACEOF
40244 #define HAVE__FINITE 1
40245 _ACEOF
40248 done
40257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40258 $as_echo_n "checking for sincos declaration... " >&6; }
40259 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40260 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40261 $as_echo_n "(cached) " >&6
40262 else
40265 ac_ext=cpp
40266 ac_cpp='$CXXCPP $CPPFLAGS'
40267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40272 /* end confdefs.h. */
40273 #include <math.h>
40275 main ()
40277 sincos(0, 0, 0);
40279 return 0;
40281 _ACEOF
40282 if ac_fn_cxx_try_compile "$LINENO"; then :
40283 glibcxx_cv_func_sincos_use=yes
40284 else
40285 glibcxx_cv_func_sincos_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_sincos_use" >&5
40299 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40301 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40302 for ac_func in sincos
40303 do :
40304 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40305 if test "x$ac_cv_func_sincos" = x""yes; then :
40306 cat >>confdefs.h <<_ACEOF
40307 #define HAVE_SINCOS 1
40308 _ACEOF
40311 done
40313 else
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40316 $as_echo_n "checking for _sincos declaration... " >&6; }
40317 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40318 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40319 $as_echo_n "(cached) " >&6
40320 else
40323 ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h. */
40331 #include <math.h>
40333 main ()
40335 _sincos(0, 0, 0);
40337 return 0;
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func__sincos_use=yes
40342 else
40343 glibcxx_cv_func__sincos_use=no
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40357 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40359 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40360 for ac_func in _sincos
40361 do :
40362 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40363 if test "x$ac_cv_func__sincos" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE__SINCOS 1
40366 _ACEOF
40369 done
40378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40379 $as_echo_n "checking for fpclass declaration... " >&6; }
40380 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40381 if test "${glibcxx_cv_func_fpclass_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>
40395 #ifdef HAVE_IEEEFP_H
40396 #include <ieeefp.h>
40397 #endif
40400 main ()
40402 fpclass(0);
40404 return 0;
40406 _ACEOF
40407 if ac_fn_cxx_try_compile "$LINENO"; then :
40408 glibcxx_cv_func_fpclass_use=yes
40409 else
40410 glibcxx_cv_func_fpclass_use=no
40412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40413 ac_ext=c
40414 ac_cpp='$CPP $CPPFLAGS'
40415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40424 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40426 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40427 for ac_func in fpclass
40428 do :
40429 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40430 if test "x$ac_cv_func_fpclass" = x""yes; then :
40431 cat >>confdefs.h <<_ACEOF
40432 #define HAVE_FPCLASS 1
40433 _ACEOF
40436 done
40438 else
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40441 $as_echo_n "checking for _fpclass declaration... " >&6; }
40442 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40443 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40457 #ifdef HAVE_IEEEFP_H
40458 #include <ieeefp.h>
40459 #endif
40462 main ()
40464 _fpclass(0);
40466 return 0;
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func__fpclass_use=yes
40471 else
40472 glibcxx_cv_func__fpclass_use=no
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40486 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40488 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40489 for ac_func in _fpclass
40490 do :
40491 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40492 if test "x$ac_cv_func__fpclass" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE__FPCLASS 1
40495 _ACEOF
40498 done
40507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40508 $as_echo_n "checking for qfpclass declaration... " >&6; }
40509 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40510 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40511 $as_echo_n "(cached) " >&6
40512 else
40515 ac_ext=cpp
40516 ac_cpp='$CXXCPP $CPPFLAGS'
40517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40522 /* end confdefs.h. */
40523 #include <math.h>
40524 #ifdef HAVE_IEEEFP_H
40525 #include <ieeefp.h>
40526 #endif
40529 main ()
40531 qfpclass(0);
40533 return 0;
40535 _ACEOF
40536 if ac_fn_cxx_try_compile "$LINENO"; then :
40537 glibcxx_cv_func_qfpclass_use=yes
40538 else
40539 glibcxx_cv_func_qfpclass_use=no
40541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40542 ac_ext=c
40543 ac_cpp='$CPP $CPPFLAGS'
40544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40553 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40555 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40556 for ac_func in qfpclass
40557 do :
40558 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40559 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40560 cat >>confdefs.h <<_ACEOF
40561 #define HAVE_QFPCLASS 1
40562 _ACEOF
40565 done
40567 else
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40570 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40571 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40572 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40573 $as_echo_n "(cached) " >&6
40574 else
40577 ac_ext=cpp
40578 ac_cpp='$CXXCPP $CPPFLAGS'
40579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40584 /* end confdefs.h. */
40585 #include <math.h>
40586 #ifdef HAVE_IEEEFP_H
40587 #include <ieeefp.h>
40588 #endif
40591 main ()
40593 _qfpclass(0);
40595 return 0;
40597 _ACEOF
40598 if ac_fn_cxx_try_compile "$LINENO"; then :
40599 glibcxx_cv_func__qfpclass_use=yes
40600 else
40601 glibcxx_cv_func__qfpclass_use=no
40603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40604 ac_ext=c
40605 ac_cpp='$CPP $CPPFLAGS'
40606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40615 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40617 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40618 for ac_func in _qfpclass
40619 do :
40620 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40621 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40622 cat >>confdefs.h <<_ACEOF
40623 #define HAVE__QFPCLASS 1
40624 _ACEOF
40627 done
40636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40637 $as_echo_n "checking for hypot declaration... " >&6; }
40638 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40639 if test "${glibcxx_cv_func_hypot_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 <math.h>
40654 main ()
40656 hypot(0, 0);
40658 return 0;
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662 glibcxx_cv_func_hypot_use=yes
40663 else
40664 glibcxx_cv_func_hypot_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_hypot_use" >&5
40678 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40680 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40681 for ac_func in hypot
40682 do :
40683 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40684 if test "x$ac_cv_func_hypot" = x""yes; then :
40685 cat >>confdefs.h <<_ACEOF
40686 #define HAVE_HYPOT 1
40687 _ACEOF
40690 done
40692 else
40694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40695 $as_echo_n "checking for _hypot declaration... " >&6; }
40696 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40697 if test "${glibcxx_cv_func__hypot_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 <math.h>
40712 main ()
40714 _hypot(0, 0);
40716 return 0;
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func__hypot_use=yes
40721 else
40722 glibcxx_cv_func__hypot_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__hypot_use" >&5
40736 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40738 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40739 for ac_func in _hypot
40740 do :
40741 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40742 if test "x$ac_cv_func__hypot" = x""yes; then :
40743 cat >>confdefs.h <<_ACEOF
40744 #define HAVE__HYPOT 1
40745 _ACEOF
40748 done
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40758 $as_echo_n "checking for float trig functions... " >&6; }
40759 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40760 $as_echo_n "(cached) " >&6
40761 else
40764 ac_ext=cpp
40765 ac_cpp='$CXXCPP $CPPFLAGS'
40766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40771 /* end confdefs.h. */
40772 #include <math.h>
40774 main ()
40776 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40778 return 0;
40780 _ACEOF
40781 if ac_fn_cxx_try_compile "$LINENO"; then :
40782 glibcxx_cv_func_float_trig_use=yes
40783 else
40784 glibcxx_cv_func_float_trig_use=no
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787 ac_ext=c
40788 ac_cpp='$CPP $CPPFLAGS'
40789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40796 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40797 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40798 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40799 do :
40800 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40801 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40802 eval as_val=\$$as_ac_var
40803 if test "x$as_val" = x""yes; then :
40804 cat >>confdefs.h <<_ACEOF
40805 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40806 _ACEOF
40809 done
40811 else
40812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40813 $as_echo_n "checking for _float trig functions... " >&6; }
40814 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40815 $as_echo_n "(cached) " >&6
40816 else
40819 ac_ext=cpp
40820 ac_cpp='$CXXCPP $CPPFLAGS'
40821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40826 /* end confdefs.h. */
40827 #include <math.h>
40829 main ()
40831 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40833 return 0;
40835 _ACEOF
40836 if ac_fn_cxx_try_compile "$LINENO"; then :
40837 glibcxx_cv_func__float_trig_use=yes
40838 else
40839 glibcxx_cv_func__float_trig_use=no
40841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40842 ac_ext=c
40843 ac_cpp='$CPP $CPPFLAGS'
40844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40851 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40852 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40853 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40854 do :
40855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40856 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40857 eval as_val=\$$as_ac_var
40858 if test "x$as_val" = x""yes; then :
40859 cat >>confdefs.h <<_ACEOF
40860 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40861 _ACEOF
40864 done
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40874 $as_echo_n "checking for float round functions... " >&6; }
40875 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40876 $as_echo_n "(cached) " >&6
40877 else
40880 ac_ext=cpp
40881 ac_cpp='$CXXCPP $CPPFLAGS'
40882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40887 /* end confdefs.h. */
40888 #include <math.h>
40890 main ()
40892 ceilf (0); floorf (0);
40894 return 0;
40896 _ACEOF
40897 if ac_fn_cxx_try_compile "$LINENO"; then :
40898 glibcxx_cv_func_float_round_use=yes
40899 else
40900 glibcxx_cv_func_float_round_use=no
40902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40903 ac_ext=c
40904 ac_cpp='$CPP $CPPFLAGS'
40905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40912 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40913 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40914 for ac_func in ceilf floorf
40915 do :
40916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40918 eval as_val=\$$as_ac_var
40919 if test "x$as_val" = x""yes; then :
40920 cat >>confdefs.h <<_ACEOF
40921 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40922 _ACEOF
40925 done
40927 else
40928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40929 $as_echo_n "checking for _float round functions... " >&6; }
40930 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40931 $as_echo_n "(cached) " >&6
40932 else
40935 ac_ext=cpp
40936 ac_cpp='$CXXCPP $CPPFLAGS'
40937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40942 /* end confdefs.h. */
40943 #include <math.h>
40945 main ()
40947 _ceilf (0); _floorf (0);
40949 return 0;
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953 glibcxx_cv_func__float_round_use=yes
40954 else
40955 glibcxx_cv_func__float_round_use=no
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958 ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40967 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40968 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40969 for ac_func in _ceilf _floorf
40970 do :
40971 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40972 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40973 eval as_val=\$$as_ac_var
40974 if test "x$as_val" = x""yes; then :
40975 cat >>confdefs.h <<_ACEOF
40976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40977 _ACEOF
40980 done
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40991 $as_echo_n "checking for expf declaration... " >&6; }
40992 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40993 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40994 $as_echo_n "(cached) " >&6
40995 else
40998 ac_ext=cpp
40999 ac_cpp='$CXXCPP $CPPFLAGS'
41000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41005 /* end confdefs.h. */
41006 #include <math.h>
41007 #ifdef HAVE_IEEEFP_H
41008 #include <ieeefp.h>
41009 #endif
41012 main ()
41014 expf(0);
41016 return 0;
41018 _ACEOF
41019 if ac_fn_cxx_try_compile "$LINENO"; then :
41020 glibcxx_cv_func_expf_use=yes
41021 else
41022 glibcxx_cv_func_expf_use=no
41024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41025 ac_ext=c
41026 ac_cpp='$CPP $CPPFLAGS'
41027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41036 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41038 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41039 for ac_func in expf
41040 do :
41041 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41042 if test "x$ac_cv_func_expf" = x""yes; then :
41043 cat >>confdefs.h <<_ACEOF
41044 #define HAVE_EXPF 1
41045 _ACEOF
41048 done
41050 else
41052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41053 $as_echo_n "checking for _expf declaration... " >&6; }
41054 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41055 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41056 $as_echo_n "(cached) " >&6
41057 else
41060 ac_ext=cpp
41061 ac_cpp='$CXXCPP $CPPFLAGS'
41062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41067 /* end confdefs.h. */
41068 #include <math.h>
41069 #ifdef HAVE_IEEEFP_H
41070 #include <ieeefp.h>
41071 #endif
41074 main ()
41076 _expf(0);
41078 return 0;
41080 _ACEOF
41081 if ac_fn_cxx_try_compile "$LINENO"; then :
41082 glibcxx_cv_func__expf_use=yes
41083 else
41084 glibcxx_cv_func__expf_use=no
41086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41087 ac_ext=c
41088 ac_cpp='$CPP $CPPFLAGS'
41089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41098 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41100 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41101 for ac_func in _expf
41102 do :
41103 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41104 if test "x$ac_cv_func__expf" = x""yes; then :
41105 cat >>confdefs.h <<_ACEOF
41106 #define HAVE__EXPF 1
41107 _ACEOF
41110 done
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41120 $as_echo_n "checking for isnanf declaration... " >&6; }
41121 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41122 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41123 $as_echo_n "(cached) " >&6
41124 else
41127 ac_ext=cpp
41128 ac_cpp='$CXXCPP $CPPFLAGS'
41129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41134 /* end confdefs.h. */
41135 #include <math.h>
41136 #ifdef HAVE_IEEEFP_H
41137 #include <ieeefp.h>
41138 #endif
41141 main ()
41143 isnanf(0);
41145 return 0;
41147 _ACEOF
41148 if ac_fn_cxx_try_compile "$LINENO"; then :
41149 glibcxx_cv_func_isnanf_use=yes
41150 else
41151 glibcxx_cv_func_isnanf_use=no
41153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 ac_ext=c
41155 ac_cpp='$CPP $CPPFLAGS'
41156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41165 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41167 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41168 for ac_func in isnanf
41169 do :
41170 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41171 if test "x$ac_cv_func_isnanf" = x""yes; then :
41172 cat >>confdefs.h <<_ACEOF
41173 #define HAVE_ISNANF 1
41174 _ACEOF
41177 done
41179 else
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41182 $as_echo_n "checking for _isnanf declaration... " >&6; }
41183 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41184 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41185 $as_echo_n "(cached) " >&6
41186 else
41189 ac_ext=cpp
41190 ac_cpp='$CXXCPP $CPPFLAGS'
41191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41196 /* end confdefs.h. */
41197 #include <math.h>
41198 #ifdef HAVE_IEEEFP_H
41199 #include <ieeefp.h>
41200 #endif
41203 main ()
41205 _isnanf(0);
41207 return 0;
41209 _ACEOF
41210 if ac_fn_cxx_try_compile "$LINENO"; then :
41211 glibcxx_cv_func__isnanf_use=yes
41212 else
41213 glibcxx_cv_func__isnanf_use=no
41215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41216 ac_ext=c
41217 ac_cpp='$CPP $CPPFLAGS'
41218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41227 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41229 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41230 for ac_func in _isnanf
41231 do :
41232 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41233 if test "x$ac_cv_func__isnanf" = x""yes; then :
41234 cat >>confdefs.h <<_ACEOF
41235 #define HAVE__ISNANF 1
41236 _ACEOF
41239 done
41248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41249 $as_echo_n "checking for isinff declaration... " >&6; }
41250 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41251 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41252 $as_echo_n "(cached) " >&6
41253 else
41256 ac_ext=cpp
41257 ac_cpp='$CXXCPP $CPPFLAGS'
41258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41263 /* end confdefs.h. */
41264 #include <math.h>
41265 #ifdef HAVE_IEEEFP_H
41266 #include <ieeefp.h>
41267 #endif
41270 main ()
41272 isinff(0);
41274 return 0;
41276 _ACEOF
41277 if ac_fn_cxx_try_compile "$LINENO"; then :
41278 glibcxx_cv_func_isinff_use=yes
41279 else
41280 glibcxx_cv_func_isinff_use=no
41282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41283 ac_ext=c
41284 ac_cpp='$CPP $CPPFLAGS'
41285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41294 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41296 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41297 for ac_func in isinff
41298 do :
41299 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41300 if test "x$ac_cv_func_isinff" = x""yes; then :
41301 cat >>confdefs.h <<_ACEOF
41302 #define HAVE_ISINFF 1
41303 _ACEOF
41306 done
41308 else
41310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41311 $as_echo_n "checking for _isinff declaration... " >&6; }
41312 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41313 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41314 $as_echo_n "(cached) " >&6
41315 else
41318 ac_ext=cpp
41319 ac_cpp='$CXXCPP $CPPFLAGS'
41320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41325 /* end confdefs.h. */
41326 #include <math.h>
41327 #ifdef HAVE_IEEEFP_H
41328 #include <ieeefp.h>
41329 #endif
41332 main ()
41334 _isinff(0);
41336 return 0;
41338 _ACEOF
41339 if ac_fn_cxx_try_compile "$LINENO"; then :
41340 glibcxx_cv_func__isinff_use=yes
41341 else
41342 glibcxx_cv_func__isinff_use=no
41344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41345 ac_ext=c
41346 ac_cpp='$CPP $CPPFLAGS'
41347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41356 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41358 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41359 for ac_func in _isinff
41360 do :
41361 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41362 if test "x$ac_cv_func__isinff" = x""yes; then :
41363 cat >>confdefs.h <<_ACEOF
41364 #define HAVE__ISINFF 1
41365 _ACEOF
41368 done
41377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41378 $as_echo_n "checking for atan2f declaration... " >&6; }
41379 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41380 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41381 $as_echo_n "(cached) " >&6
41382 else
41385 ac_ext=cpp
41386 ac_cpp='$CXXCPP $CPPFLAGS'
41387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41392 /* end confdefs.h. */
41393 #include <math.h>
41395 main ()
41397 atan2f(0, 0);
41399 return 0;
41401 _ACEOF
41402 if ac_fn_cxx_try_compile "$LINENO"; then :
41403 glibcxx_cv_func_atan2f_use=yes
41404 else
41405 glibcxx_cv_func_atan2f_use=no
41407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41408 ac_ext=c
41409 ac_cpp='$CPP $CPPFLAGS'
41410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41419 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41421 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41422 for ac_func in atan2f
41423 do :
41424 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41425 if test "x$ac_cv_func_atan2f" = x""yes; then :
41426 cat >>confdefs.h <<_ACEOF
41427 #define HAVE_ATAN2F 1
41428 _ACEOF
41431 done
41433 else
41435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41436 $as_echo_n "checking for _atan2f declaration... " >&6; }
41437 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41438 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41439 $as_echo_n "(cached) " >&6
41440 else
41443 ac_ext=cpp
41444 ac_cpp='$CXXCPP $CPPFLAGS'
41445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41450 /* end confdefs.h. */
41451 #include <math.h>
41453 main ()
41455 _atan2f(0, 0);
41457 return 0;
41459 _ACEOF
41460 if ac_fn_cxx_try_compile "$LINENO"; then :
41461 glibcxx_cv_func__atan2f_use=yes
41462 else
41463 glibcxx_cv_func__atan2f_use=no
41465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41466 ac_ext=c
41467 ac_cpp='$CPP $CPPFLAGS'
41468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41477 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41479 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41480 for ac_func in _atan2f
41481 do :
41482 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41483 if test "x$ac_cv_func__atan2f" = x""yes; then :
41484 cat >>confdefs.h <<_ACEOF
41485 #define HAVE__ATAN2F 1
41486 _ACEOF
41489 done
41498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41499 $as_echo_n "checking for fabsf declaration... " >&6; }
41500 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41501 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41502 $as_echo_n "(cached) " >&6
41503 else
41506 ac_ext=cpp
41507 ac_cpp='$CXXCPP $CPPFLAGS'
41508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41513 /* end confdefs.h. */
41514 #include <math.h>
41515 #ifdef HAVE_IEEEFP_H
41516 #include <ieeefp.h>
41517 #endif
41520 main ()
41522 fabsf(0);
41524 return 0;
41526 _ACEOF
41527 if ac_fn_cxx_try_compile "$LINENO"; then :
41528 glibcxx_cv_func_fabsf_use=yes
41529 else
41530 glibcxx_cv_func_fabsf_use=no
41532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41533 ac_ext=c
41534 ac_cpp='$CPP $CPPFLAGS'
41535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41544 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41546 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41547 for ac_func in fabsf
41548 do :
41549 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41550 if test "x$ac_cv_func_fabsf" = x""yes; then :
41551 cat >>confdefs.h <<_ACEOF
41552 #define HAVE_FABSF 1
41553 _ACEOF
41556 done
41558 else
41560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41561 $as_echo_n "checking for _fabsf declaration... " >&6; }
41562 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41563 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41564 $as_echo_n "(cached) " >&6
41565 else
41568 ac_ext=cpp
41569 ac_cpp='$CXXCPP $CPPFLAGS'
41570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41575 /* end confdefs.h. */
41576 #include <math.h>
41577 #ifdef HAVE_IEEEFP_H
41578 #include <ieeefp.h>
41579 #endif
41582 main ()
41584 _fabsf(0);
41586 return 0;
41588 _ACEOF
41589 if ac_fn_cxx_try_compile "$LINENO"; then :
41590 glibcxx_cv_func__fabsf_use=yes
41591 else
41592 glibcxx_cv_func__fabsf_use=no
41594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41595 ac_ext=c
41596 ac_cpp='$CPP $CPPFLAGS'
41597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41606 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41608 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41609 for ac_func in _fabsf
41610 do :
41611 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41612 if test "x$ac_cv_func__fabsf" = x""yes; then :
41613 cat >>confdefs.h <<_ACEOF
41614 #define HAVE__FABSF 1
41615 _ACEOF
41618 done
41627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41628 $as_echo_n "checking for fmodf declaration... " >&6; }
41629 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41630 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41631 $as_echo_n "(cached) " >&6
41632 else
41635 ac_ext=cpp
41636 ac_cpp='$CXXCPP $CPPFLAGS'
41637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41642 /* end confdefs.h. */
41643 #include <math.h>
41645 main ()
41647 fmodf(0, 0);
41649 return 0;
41651 _ACEOF
41652 if ac_fn_cxx_try_compile "$LINENO"; then :
41653 glibcxx_cv_func_fmodf_use=yes
41654 else
41655 glibcxx_cv_func_fmodf_use=no
41657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41658 ac_ext=c
41659 ac_cpp='$CPP $CPPFLAGS'
41660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41669 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41671 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41672 for ac_func in fmodf
41673 do :
41674 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41675 if test "x$ac_cv_func_fmodf" = x""yes; then :
41676 cat >>confdefs.h <<_ACEOF
41677 #define HAVE_FMODF 1
41678 _ACEOF
41681 done
41683 else
41685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41686 $as_echo_n "checking for _fmodf declaration... " >&6; }
41687 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41688 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41689 $as_echo_n "(cached) " >&6
41690 else
41693 ac_ext=cpp
41694 ac_cpp='$CXXCPP $CPPFLAGS'
41695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41700 /* end confdefs.h. */
41701 #include <math.h>
41703 main ()
41705 _fmodf(0, 0);
41707 return 0;
41709 _ACEOF
41710 if ac_fn_cxx_try_compile "$LINENO"; then :
41711 glibcxx_cv_func__fmodf_use=yes
41712 else
41713 glibcxx_cv_func__fmodf_use=no
41715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41716 ac_ext=c
41717 ac_cpp='$CPP $CPPFLAGS'
41718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41727 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41729 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41730 for ac_func in _fmodf
41731 do :
41732 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41733 if test "x$ac_cv_func__fmodf" = x""yes; then :
41734 cat >>confdefs.h <<_ACEOF
41735 #define HAVE__FMODF 1
41736 _ACEOF
41739 done
41748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41749 $as_echo_n "checking for frexpf declaration... " >&6; }
41750 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41751 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41752 $as_echo_n "(cached) " >&6
41753 else
41756 ac_ext=cpp
41757 ac_cpp='$CXXCPP $CPPFLAGS'
41758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41763 /* end confdefs.h. */
41764 #include <math.h>
41766 main ()
41768 frexpf(0, 0);
41770 return 0;
41772 _ACEOF
41773 if ac_fn_cxx_try_compile "$LINENO"; then :
41774 glibcxx_cv_func_frexpf_use=yes
41775 else
41776 glibcxx_cv_func_frexpf_use=no
41778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41779 ac_ext=c
41780 ac_cpp='$CPP $CPPFLAGS'
41781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41790 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41792 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41793 for ac_func in frexpf
41794 do :
41795 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41796 if test "x$ac_cv_func_frexpf" = x""yes; then :
41797 cat >>confdefs.h <<_ACEOF
41798 #define HAVE_FREXPF 1
41799 _ACEOF
41802 done
41804 else
41806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41807 $as_echo_n "checking for _frexpf declaration... " >&6; }
41808 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41809 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41810 $as_echo_n "(cached) " >&6
41811 else
41814 ac_ext=cpp
41815 ac_cpp='$CXXCPP $CPPFLAGS'
41816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41821 /* end confdefs.h. */
41822 #include <math.h>
41824 main ()
41826 _frexpf(0, 0);
41828 return 0;
41830 _ACEOF
41831 if ac_fn_cxx_try_compile "$LINENO"; then :
41832 glibcxx_cv_func__frexpf_use=yes
41833 else
41834 glibcxx_cv_func__frexpf_use=no
41836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41837 ac_ext=c
41838 ac_cpp='$CPP $CPPFLAGS'
41839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41848 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41850 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41851 for ac_func in _frexpf
41852 do :
41853 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41854 if test "x$ac_cv_func__frexpf" = x""yes; then :
41855 cat >>confdefs.h <<_ACEOF
41856 #define HAVE__FREXPF 1
41857 _ACEOF
41860 done
41869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41870 $as_echo_n "checking for hypotf declaration... " >&6; }
41871 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41872 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41873 $as_echo_n "(cached) " >&6
41874 else
41877 ac_ext=cpp
41878 ac_cpp='$CXXCPP $CPPFLAGS'
41879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41884 /* end confdefs.h. */
41885 #include <math.h>
41887 main ()
41889 hypotf(0, 0);
41891 return 0;
41893 _ACEOF
41894 if ac_fn_cxx_try_compile "$LINENO"; then :
41895 glibcxx_cv_func_hypotf_use=yes
41896 else
41897 glibcxx_cv_func_hypotf_use=no
41899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41900 ac_ext=c
41901 ac_cpp='$CPP $CPPFLAGS'
41902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41911 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41913 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41914 for ac_func in hypotf
41915 do :
41916 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41917 if test "x$ac_cv_func_hypotf" = x""yes; then :
41918 cat >>confdefs.h <<_ACEOF
41919 #define HAVE_HYPOTF 1
41920 _ACEOF
41923 done
41925 else
41927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41928 $as_echo_n "checking for _hypotf declaration... " >&6; }
41929 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41930 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41931 $as_echo_n "(cached) " >&6
41932 else
41935 ac_ext=cpp
41936 ac_cpp='$CXXCPP $CPPFLAGS'
41937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41942 /* end confdefs.h. */
41943 #include <math.h>
41945 main ()
41947 _hypotf(0, 0);
41949 return 0;
41951 _ACEOF
41952 if ac_fn_cxx_try_compile "$LINENO"; then :
41953 glibcxx_cv_func__hypotf_use=yes
41954 else
41955 glibcxx_cv_func__hypotf_use=no
41957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41958 ac_ext=c
41959 ac_cpp='$CPP $CPPFLAGS'
41960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41969 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41971 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41972 for ac_func in _hypotf
41973 do :
41974 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41975 if test "x$ac_cv_func__hypotf" = x""yes; then :
41976 cat >>confdefs.h <<_ACEOF
41977 #define HAVE__HYPOTF 1
41978 _ACEOF
41981 done
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41991 $as_echo_n "checking for ldexpf declaration... " >&6; }
41992 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41993 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41994 $as_echo_n "(cached) " >&6
41995 else
41998 ac_ext=cpp
41999 ac_cpp='$CXXCPP $CPPFLAGS'
42000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42005 /* end confdefs.h. */
42006 #include <math.h>
42008 main ()
42010 ldexpf(0, 0);
42012 return 0;
42014 _ACEOF
42015 if ac_fn_cxx_try_compile "$LINENO"; then :
42016 glibcxx_cv_func_ldexpf_use=yes
42017 else
42018 glibcxx_cv_func_ldexpf_use=no
42020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42021 ac_ext=c
42022 ac_cpp='$CPP $CPPFLAGS'
42023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42032 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42034 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42035 for ac_func in ldexpf
42036 do :
42037 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42038 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42039 cat >>confdefs.h <<_ACEOF
42040 #define HAVE_LDEXPF 1
42041 _ACEOF
42044 done
42046 else
42048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42049 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42050 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42051 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42052 $as_echo_n "(cached) " >&6
42053 else
42056 ac_ext=cpp
42057 ac_cpp='$CXXCPP $CPPFLAGS'
42058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42063 /* end confdefs.h. */
42064 #include <math.h>
42066 main ()
42068 _ldexpf(0, 0);
42070 return 0;
42072 _ACEOF
42073 if ac_fn_cxx_try_compile "$LINENO"; then :
42074 glibcxx_cv_func__ldexpf_use=yes
42075 else
42076 glibcxx_cv_func__ldexpf_use=no
42078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42079 ac_ext=c
42080 ac_cpp='$CPP $CPPFLAGS'
42081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42090 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42092 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42093 for ac_func in _ldexpf
42094 do :
42095 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42096 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42097 cat >>confdefs.h <<_ACEOF
42098 #define HAVE__LDEXPF 1
42099 _ACEOF
42102 done
42111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42112 $as_echo_n "checking for logf declaration... " >&6; }
42113 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42114 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42115 $as_echo_n "(cached) " >&6
42116 else
42119 ac_ext=cpp
42120 ac_cpp='$CXXCPP $CPPFLAGS'
42121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42126 /* end confdefs.h. */
42127 #include <math.h>
42128 #ifdef HAVE_IEEEFP_H
42129 #include <ieeefp.h>
42130 #endif
42133 main ()
42135 logf(0);
42137 return 0;
42139 _ACEOF
42140 if ac_fn_cxx_try_compile "$LINENO"; then :
42141 glibcxx_cv_func_logf_use=yes
42142 else
42143 glibcxx_cv_func_logf_use=no
42145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42146 ac_ext=c
42147 ac_cpp='$CPP $CPPFLAGS'
42148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42157 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42159 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42160 for ac_func in logf
42161 do :
42162 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42163 if test "x$ac_cv_func_logf" = x""yes; then :
42164 cat >>confdefs.h <<_ACEOF
42165 #define HAVE_LOGF 1
42166 _ACEOF
42169 done
42171 else
42173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42174 $as_echo_n "checking for _logf declaration... " >&6; }
42175 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42176 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42177 $as_echo_n "(cached) " >&6
42178 else
42181 ac_ext=cpp
42182 ac_cpp='$CXXCPP $CPPFLAGS'
42183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42188 /* end confdefs.h. */
42189 #include <math.h>
42190 #ifdef HAVE_IEEEFP_H
42191 #include <ieeefp.h>
42192 #endif
42195 main ()
42197 _logf(0);
42199 return 0;
42201 _ACEOF
42202 if ac_fn_cxx_try_compile "$LINENO"; then :
42203 glibcxx_cv_func__logf_use=yes
42204 else
42205 glibcxx_cv_func__logf_use=no
42207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42208 ac_ext=c
42209 ac_cpp='$CPP $CPPFLAGS'
42210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42219 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42221 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42222 for ac_func in _logf
42223 do :
42224 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42225 if test "x$ac_cv_func__logf" = x""yes; then :
42226 cat >>confdefs.h <<_ACEOF
42227 #define HAVE__LOGF 1
42228 _ACEOF
42231 done
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42241 $as_echo_n "checking for log10f declaration... " >&6; }
42242 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42243 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42244 $as_echo_n "(cached) " >&6
42245 else
42248 ac_ext=cpp
42249 ac_cpp='$CXXCPP $CPPFLAGS'
42250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42255 /* end confdefs.h. */
42256 #include <math.h>
42257 #ifdef HAVE_IEEEFP_H
42258 #include <ieeefp.h>
42259 #endif
42262 main ()
42264 log10f(0);
42266 return 0;
42268 _ACEOF
42269 if ac_fn_cxx_try_compile "$LINENO"; then :
42270 glibcxx_cv_func_log10f_use=yes
42271 else
42272 glibcxx_cv_func_log10f_use=no
42274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42275 ac_ext=c
42276 ac_cpp='$CPP $CPPFLAGS'
42277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42286 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42288 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42289 for ac_func in log10f
42290 do :
42291 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42292 if test "x$ac_cv_func_log10f" = x""yes; then :
42293 cat >>confdefs.h <<_ACEOF
42294 #define HAVE_LOG10F 1
42295 _ACEOF
42298 done
42300 else
42302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42303 $as_echo_n "checking for _log10f declaration... " >&6; }
42304 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42305 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42306 $as_echo_n "(cached) " >&6
42307 else
42310 ac_ext=cpp
42311 ac_cpp='$CXXCPP $CPPFLAGS'
42312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42317 /* end confdefs.h. */
42318 #include <math.h>
42319 #ifdef HAVE_IEEEFP_H
42320 #include <ieeefp.h>
42321 #endif
42324 main ()
42326 _log10f(0);
42328 return 0;
42330 _ACEOF
42331 if ac_fn_cxx_try_compile "$LINENO"; then :
42332 glibcxx_cv_func__log10f_use=yes
42333 else
42334 glibcxx_cv_func__log10f_use=no
42336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42337 ac_ext=c
42338 ac_cpp='$CPP $CPPFLAGS'
42339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42348 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42350 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42351 for ac_func in _log10f
42352 do :
42353 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42354 if test "x$ac_cv_func__log10f" = x""yes; then :
42355 cat >>confdefs.h <<_ACEOF
42356 #define HAVE__LOG10F 1
42357 _ACEOF
42360 done
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42370 $as_echo_n "checking for modff declaration... " >&6; }
42371 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42372 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42373 $as_echo_n "(cached) " >&6
42374 else
42377 ac_ext=cpp
42378 ac_cpp='$CXXCPP $CPPFLAGS'
42379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42384 /* end confdefs.h. */
42385 #include <math.h>
42387 main ()
42389 modff(0, 0);
42391 return 0;
42393 _ACEOF
42394 if ac_fn_cxx_try_compile "$LINENO"; then :
42395 glibcxx_cv_func_modff_use=yes
42396 else
42397 glibcxx_cv_func_modff_use=no
42399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42400 ac_ext=c
42401 ac_cpp='$CPP $CPPFLAGS'
42402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42411 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42413 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42414 for ac_func in modff
42415 do :
42416 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42417 if test "x$ac_cv_func_modff" = x""yes; then :
42418 cat >>confdefs.h <<_ACEOF
42419 #define HAVE_MODFF 1
42420 _ACEOF
42423 done
42425 else
42427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42428 $as_echo_n "checking for _modff declaration... " >&6; }
42429 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42430 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42431 $as_echo_n "(cached) " >&6
42432 else
42435 ac_ext=cpp
42436 ac_cpp='$CXXCPP $CPPFLAGS'
42437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42442 /* end confdefs.h. */
42443 #include <math.h>
42445 main ()
42447 _modff(0, 0);
42449 return 0;
42451 _ACEOF
42452 if ac_fn_cxx_try_compile "$LINENO"; then :
42453 glibcxx_cv_func__modff_use=yes
42454 else
42455 glibcxx_cv_func__modff_use=no
42457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42458 ac_ext=c
42459 ac_cpp='$CPP $CPPFLAGS'
42460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42469 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42471 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42472 for ac_func in _modff
42473 do :
42474 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42475 if test "x$ac_cv_func__modff" = x""yes; then :
42476 cat >>confdefs.h <<_ACEOF
42477 #define HAVE__MODFF 1
42478 _ACEOF
42481 done
42490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42491 $as_echo_n "checking for modf declaration... " >&6; }
42492 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42493 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42494 $as_echo_n "(cached) " >&6
42495 else
42498 ac_ext=cpp
42499 ac_cpp='$CXXCPP $CPPFLAGS'
42500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42505 /* end confdefs.h. */
42506 #include <math.h>
42508 main ()
42510 modf(0, 0);
42512 return 0;
42514 _ACEOF
42515 if ac_fn_cxx_try_compile "$LINENO"; then :
42516 glibcxx_cv_func_modf_use=yes
42517 else
42518 glibcxx_cv_func_modf_use=no
42520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42521 ac_ext=c
42522 ac_cpp='$CPP $CPPFLAGS'
42523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42532 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42534 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42535 for ac_func in modf
42536 do :
42537 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42538 if test "x$ac_cv_func_modf" = x""yes; then :
42539 cat >>confdefs.h <<_ACEOF
42540 #define HAVE_MODF 1
42541 _ACEOF
42544 done
42546 else
42548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42549 $as_echo_n "checking for _modf declaration... " >&6; }
42550 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42551 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42552 $as_echo_n "(cached) " >&6
42553 else
42556 ac_ext=cpp
42557 ac_cpp='$CXXCPP $CPPFLAGS'
42558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42563 /* end confdefs.h. */
42564 #include <math.h>
42566 main ()
42568 _modf(0, 0);
42570 return 0;
42572 _ACEOF
42573 if ac_fn_cxx_try_compile "$LINENO"; then :
42574 glibcxx_cv_func__modf_use=yes
42575 else
42576 glibcxx_cv_func__modf_use=no
42578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42579 ac_ext=c
42580 ac_cpp='$CPP $CPPFLAGS'
42581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42590 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42592 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42593 for ac_func in _modf
42594 do :
42595 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42596 if test "x$ac_cv_func__modf" = x""yes; then :
42597 cat >>confdefs.h <<_ACEOF
42598 #define HAVE__MODF 1
42599 _ACEOF
42602 done
42611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42612 $as_echo_n "checking for powf declaration... " >&6; }
42613 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42614 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42615 $as_echo_n "(cached) " >&6
42616 else
42619 ac_ext=cpp
42620 ac_cpp='$CXXCPP $CPPFLAGS'
42621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42626 /* end confdefs.h. */
42627 #include <math.h>
42629 main ()
42631 powf(0, 0);
42633 return 0;
42635 _ACEOF
42636 if ac_fn_cxx_try_compile "$LINENO"; then :
42637 glibcxx_cv_func_powf_use=yes
42638 else
42639 glibcxx_cv_func_powf_use=no
42641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42642 ac_ext=c
42643 ac_cpp='$CPP $CPPFLAGS'
42644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42653 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42655 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42656 for ac_func in powf
42657 do :
42658 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42659 if test "x$ac_cv_func_powf" = x""yes; then :
42660 cat >>confdefs.h <<_ACEOF
42661 #define HAVE_POWF 1
42662 _ACEOF
42665 done
42667 else
42669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42670 $as_echo_n "checking for _powf declaration... " >&6; }
42671 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42672 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42673 $as_echo_n "(cached) " >&6
42674 else
42677 ac_ext=cpp
42678 ac_cpp='$CXXCPP $CPPFLAGS'
42679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42684 /* end confdefs.h. */
42685 #include <math.h>
42687 main ()
42689 _powf(0, 0);
42691 return 0;
42693 _ACEOF
42694 if ac_fn_cxx_try_compile "$LINENO"; then :
42695 glibcxx_cv_func__powf_use=yes
42696 else
42697 glibcxx_cv_func__powf_use=no
42699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42700 ac_ext=c
42701 ac_cpp='$CPP $CPPFLAGS'
42702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42711 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42713 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42714 for ac_func in _powf
42715 do :
42716 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42717 if test "x$ac_cv_func__powf" = x""yes; then :
42718 cat >>confdefs.h <<_ACEOF
42719 #define HAVE__POWF 1
42720 _ACEOF
42723 done
42732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42733 $as_echo_n "checking for sqrtf declaration... " >&6; }
42734 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42735 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42736 $as_echo_n "(cached) " >&6
42737 else
42740 ac_ext=cpp
42741 ac_cpp='$CXXCPP $CPPFLAGS'
42742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42747 /* end confdefs.h. */
42748 #include <math.h>
42749 #ifdef HAVE_IEEEFP_H
42750 #include <ieeefp.h>
42751 #endif
42754 main ()
42756 sqrtf(0);
42758 return 0;
42760 _ACEOF
42761 if ac_fn_cxx_try_compile "$LINENO"; then :
42762 glibcxx_cv_func_sqrtf_use=yes
42763 else
42764 glibcxx_cv_func_sqrtf_use=no
42766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42767 ac_ext=c
42768 ac_cpp='$CPP $CPPFLAGS'
42769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42778 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42780 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42781 for ac_func in sqrtf
42782 do :
42783 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42784 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42785 cat >>confdefs.h <<_ACEOF
42786 #define HAVE_SQRTF 1
42787 _ACEOF
42790 done
42792 else
42794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42795 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42796 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42797 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42798 $as_echo_n "(cached) " >&6
42799 else
42802 ac_ext=cpp
42803 ac_cpp='$CXXCPP $CPPFLAGS'
42804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42809 /* end confdefs.h. */
42810 #include <math.h>
42811 #ifdef HAVE_IEEEFP_H
42812 #include <ieeefp.h>
42813 #endif
42816 main ()
42818 _sqrtf(0);
42820 return 0;
42822 _ACEOF
42823 if ac_fn_cxx_try_compile "$LINENO"; then :
42824 glibcxx_cv_func__sqrtf_use=yes
42825 else
42826 glibcxx_cv_func__sqrtf_use=no
42828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42829 ac_ext=c
42830 ac_cpp='$CPP $CPPFLAGS'
42831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42840 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42842 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42843 for ac_func in _sqrtf
42844 do :
42845 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42846 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42847 cat >>confdefs.h <<_ACEOF
42848 #define HAVE__SQRTF 1
42849 _ACEOF
42852 done
42861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42862 $as_echo_n "checking for sincosf declaration... " >&6; }
42863 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42864 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42865 $as_echo_n "(cached) " >&6
42866 else
42869 ac_ext=cpp
42870 ac_cpp='$CXXCPP $CPPFLAGS'
42871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42876 /* end confdefs.h. */
42877 #include <math.h>
42879 main ()
42881 sincosf(0, 0, 0);
42883 return 0;
42885 _ACEOF
42886 if ac_fn_cxx_try_compile "$LINENO"; then :
42887 glibcxx_cv_func_sincosf_use=yes
42888 else
42889 glibcxx_cv_func_sincosf_use=no
42891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42892 ac_ext=c
42893 ac_cpp='$CPP $CPPFLAGS'
42894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42903 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42905 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42906 for ac_func in sincosf
42907 do :
42908 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42909 if test "x$ac_cv_func_sincosf" = x""yes; then :
42910 cat >>confdefs.h <<_ACEOF
42911 #define HAVE_SINCOSF 1
42912 _ACEOF
42915 done
42917 else
42919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42920 $as_echo_n "checking for _sincosf declaration... " >&6; }
42921 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42922 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42923 $as_echo_n "(cached) " >&6
42924 else
42927 ac_ext=cpp
42928 ac_cpp='$CXXCPP $CPPFLAGS'
42929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42934 /* end confdefs.h. */
42935 #include <math.h>
42937 main ()
42939 _sincosf(0, 0, 0);
42941 return 0;
42943 _ACEOF
42944 if ac_fn_cxx_try_compile "$LINENO"; then :
42945 glibcxx_cv_func__sincosf_use=yes
42946 else
42947 glibcxx_cv_func__sincosf_use=no
42949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42950 ac_ext=c
42951 ac_cpp='$CPP $CPPFLAGS'
42952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42961 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42963 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42964 for ac_func in _sincosf
42965 do :
42966 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42967 if test "x$ac_cv_func__sincosf" = x""yes; then :
42968 cat >>confdefs.h <<_ACEOF
42969 #define HAVE__SINCOSF 1
42970 _ACEOF
42973 done
42982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42983 $as_echo_n "checking for finitef declaration... " >&6; }
42984 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42985 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42986 $as_echo_n "(cached) " >&6
42987 else
42990 ac_ext=cpp
42991 ac_cpp='$CXXCPP $CPPFLAGS'
42992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42997 /* end confdefs.h. */
42998 #include <math.h>
42999 #ifdef HAVE_IEEEFP_H
43000 #include <ieeefp.h>
43001 #endif
43004 main ()
43006 finitef(0);
43008 return 0;
43010 _ACEOF
43011 if ac_fn_cxx_try_compile "$LINENO"; then :
43012 glibcxx_cv_func_finitef_use=yes
43013 else
43014 glibcxx_cv_func_finitef_use=no
43016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43017 ac_ext=c
43018 ac_cpp='$CPP $CPPFLAGS'
43019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43028 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43030 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43031 for ac_func in finitef
43032 do :
43033 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43034 if test "x$ac_cv_func_finitef" = x""yes; then :
43035 cat >>confdefs.h <<_ACEOF
43036 #define HAVE_FINITEF 1
43037 _ACEOF
43040 done
43042 else
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43045 $as_echo_n "checking for _finitef declaration... " >&6; }
43046 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43047 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43048 $as_echo_n "(cached) " >&6
43049 else
43052 ac_ext=cpp
43053 ac_cpp='$CXXCPP $CPPFLAGS'
43054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43059 /* end confdefs.h. */
43060 #include <math.h>
43061 #ifdef HAVE_IEEEFP_H
43062 #include <ieeefp.h>
43063 #endif
43066 main ()
43068 _finitef(0);
43070 return 0;
43072 _ACEOF
43073 if ac_fn_cxx_try_compile "$LINENO"; then :
43074 glibcxx_cv_func__finitef_use=yes
43075 else
43076 glibcxx_cv_func__finitef_use=no
43078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43079 ac_ext=c
43080 ac_cpp='$CPP $CPPFLAGS'
43081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43090 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43092 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43093 for ac_func in _finitef
43094 do :
43095 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43096 if test "x$ac_cv_func__finitef" = x""yes; then :
43097 cat >>confdefs.h <<_ACEOF
43098 #define HAVE__FINITEF 1
43099 _ACEOF
43102 done
43111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43112 $as_echo_n "checking for long double trig functions... " >&6; }
43113 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43114 $as_echo_n "(cached) " >&6
43115 else
43118 ac_ext=cpp
43119 ac_cpp='$CXXCPP $CPPFLAGS'
43120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43125 /* end confdefs.h. */
43126 #include <math.h>
43128 main ()
43130 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43132 return 0;
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func_long_double_trig_use=yes
43137 else
43138 glibcxx_cv_func_long_double_trig_use=no
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43150 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43151 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43152 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43153 do :
43154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43156 eval as_val=\$$as_ac_var
43157 if test "x$as_val" = x""yes; then :
43158 cat >>confdefs.h <<_ACEOF
43159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43160 _ACEOF
43163 done
43165 else
43166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43167 $as_echo_n "checking for _long double trig functions... " >&6; }
43168 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43169 $as_echo_n "(cached) " >&6
43170 else
43173 ac_ext=cpp
43174 ac_cpp='$CXXCPP $CPPFLAGS'
43175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43180 /* end confdefs.h. */
43181 #include <math.h>
43183 main ()
43185 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43187 return 0;
43189 _ACEOF
43190 if ac_fn_cxx_try_compile "$LINENO"; then :
43191 glibcxx_cv_func__long_double_trig_use=yes
43192 else
43193 glibcxx_cv_func__long_double_trig_use=no
43195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43196 ac_ext=c
43197 ac_cpp='$CPP $CPPFLAGS'
43198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43205 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43206 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43207 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43208 do :
43209 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43210 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43211 eval as_val=\$$as_ac_var
43212 if test "x$as_val" = x""yes; then :
43213 cat >>confdefs.h <<_ACEOF
43214 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43215 _ACEOF
43218 done
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43228 $as_echo_n "checking for long double round functions... " >&6; }
43229 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43230 $as_echo_n "(cached) " >&6
43231 else
43234 ac_ext=cpp
43235 ac_cpp='$CXXCPP $CPPFLAGS'
43236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43241 /* end confdefs.h. */
43242 #include <math.h>
43244 main ()
43246 ceill (0); floorl (0);
43248 return 0;
43250 _ACEOF
43251 if ac_fn_cxx_try_compile "$LINENO"; then :
43252 glibcxx_cv_func_long_double_round_use=yes
43253 else
43254 glibcxx_cv_func_long_double_round_use=no
43256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43257 ac_ext=c
43258 ac_cpp='$CPP $CPPFLAGS'
43259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43266 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43267 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43268 for ac_func in ceill floorl
43269 do :
43270 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43271 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43272 eval as_val=\$$as_ac_var
43273 if test "x$as_val" = x""yes; then :
43274 cat >>confdefs.h <<_ACEOF
43275 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43276 _ACEOF
43279 done
43281 else
43282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43283 $as_echo_n "checking for _long double round functions... " >&6; }
43284 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43285 $as_echo_n "(cached) " >&6
43286 else
43289 ac_ext=cpp
43290 ac_cpp='$CXXCPP $CPPFLAGS'
43291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43296 /* end confdefs.h. */
43297 #include <math.h>
43299 main ()
43301 _ceill (0); _floorl (0);
43303 return 0;
43305 _ACEOF
43306 if ac_fn_cxx_try_compile "$LINENO"; then :
43307 glibcxx_cv_func__long_double_round_use=yes
43308 else
43309 glibcxx_cv_func__long_double_round_use=no
43311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43312 ac_ext=c
43313 ac_cpp='$CPP $CPPFLAGS'
43314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43321 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43322 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43323 for ac_func in _ceill _floorl
43324 do :
43325 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43326 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43327 eval as_val=\$$as_ac_var
43328 if test "x$as_val" = x""yes; then :
43329 cat >>confdefs.h <<_ACEOF
43330 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43331 _ACEOF
43334 done
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43345 $as_echo_n "checking for isnanl declaration... " >&6; }
43346 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43347 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43348 $as_echo_n "(cached) " >&6
43349 else
43352 ac_ext=cpp
43353 ac_cpp='$CXXCPP $CPPFLAGS'
43354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43359 /* end confdefs.h. */
43360 #include <math.h>
43361 #ifdef HAVE_IEEEFP_H
43362 #include <ieeefp.h>
43363 #endif
43366 main ()
43368 isnanl(0);
43370 return 0;
43372 _ACEOF
43373 if ac_fn_cxx_try_compile "$LINENO"; then :
43374 glibcxx_cv_func_isnanl_use=yes
43375 else
43376 glibcxx_cv_func_isnanl_use=no
43378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43379 ac_ext=c
43380 ac_cpp='$CPP $CPPFLAGS'
43381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43390 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43392 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43393 for ac_func in isnanl
43394 do :
43395 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43396 if test "x$ac_cv_func_isnanl" = x""yes; then :
43397 cat >>confdefs.h <<_ACEOF
43398 #define HAVE_ISNANL 1
43399 _ACEOF
43402 done
43404 else
43406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43407 $as_echo_n "checking for _isnanl declaration... " >&6; }
43408 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43409 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43410 $as_echo_n "(cached) " >&6
43411 else
43414 ac_ext=cpp
43415 ac_cpp='$CXXCPP $CPPFLAGS'
43416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43421 /* end confdefs.h. */
43422 #include <math.h>
43423 #ifdef HAVE_IEEEFP_H
43424 #include <ieeefp.h>
43425 #endif
43428 main ()
43430 _isnanl(0);
43432 return 0;
43434 _ACEOF
43435 if ac_fn_cxx_try_compile "$LINENO"; then :
43436 glibcxx_cv_func__isnanl_use=yes
43437 else
43438 glibcxx_cv_func__isnanl_use=no
43440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43441 ac_ext=c
43442 ac_cpp='$CPP $CPPFLAGS'
43443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43452 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43454 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43455 for ac_func in _isnanl
43456 do :
43457 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43458 if test "x$ac_cv_func__isnanl" = x""yes; then :
43459 cat >>confdefs.h <<_ACEOF
43460 #define HAVE__ISNANL 1
43461 _ACEOF
43464 done
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43474 $as_echo_n "checking for isinfl declaration... " >&6; }
43475 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43476 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43477 $as_echo_n "(cached) " >&6
43478 else
43481 ac_ext=cpp
43482 ac_cpp='$CXXCPP $CPPFLAGS'
43483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43488 /* end confdefs.h. */
43489 #include <math.h>
43490 #ifdef HAVE_IEEEFP_H
43491 #include <ieeefp.h>
43492 #endif
43495 main ()
43497 isinfl(0);
43499 return 0;
43501 _ACEOF
43502 if ac_fn_cxx_try_compile "$LINENO"; then :
43503 glibcxx_cv_func_isinfl_use=yes
43504 else
43505 glibcxx_cv_func_isinfl_use=no
43507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43519 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43521 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43522 for ac_func in isinfl
43523 do :
43524 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43525 if test "x$ac_cv_func_isinfl" = x""yes; then :
43526 cat >>confdefs.h <<_ACEOF
43527 #define HAVE_ISINFL 1
43528 _ACEOF
43531 done
43533 else
43535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43536 $as_echo_n "checking for _isinfl declaration... " >&6; }
43537 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43538 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43539 $as_echo_n "(cached) " >&6
43540 else
43543 ac_ext=cpp
43544 ac_cpp='$CXXCPP $CPPFLAGS'
43545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43550 /* end confdefs.h. */
43551 #include <math.h>
43552 #ifdef HAVE_IEEEFP_H
43553 #include <ieeefp.h>
43554 #endif
43557 main ()
43559 _isinfl(0);
43561 return 0;
43563 _ACEOF
43564 if ac_fn_cxx_try_compile "$LINENO"; then :
43565 glibcxx_cv_func__isinfl_use=yes
43566 else
43567 glibcxx_cv_func__isinfl_use=no
43569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43570 ac_ext=c
43571 ac_cpp='$CPP $CPPFLAGS'
43572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43581 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43583 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43584 for ac_func in _isinfl
43585 do :
43586 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43587 if test "x$ac_cv_func__isinfl" = x""yes; then :
43588 cat >>confdefs.h <<_ACEOF
43589 #define HAVE__ISINFL 1
43590 _ACEOF
43593 done
43602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43603 $as_echo_n "checking for atan2l declaration... " >&6; }
43604 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43605 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43606 $as_echo_n "(cached) " >&6
43607 else
43610 ac_ext=cpp
43611 ac_cpp='$CXXCPP $CPPFLAGS'
43612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43617 /* end confdefs.h. */
43618 #include <math.h>
43620 main ()
43622 atan2l(0, 0);
43624 return 0;
43626 _ACEOF
43627 if ac_fn_cxx_try_compile "$LINENO"; then :
43628 glibcxx_cv_func_atan2l_use=yes
43629 else
43630 glibcxx_cv_func_atan2l_use=no
43632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43633 ac_ext=c
43634 ac_cpp='$CPP $CPPFLAGS'
43635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43644 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43646 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43647 for ac_func in atan2l
43648 do :
43649 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43650 if test "x$ac_cv_func_atan2l" = x""yes; then :
43651 cat >>confdefs.h <<_ACEOF
43652 #define HAVE_ATAN2L 1
43653 _ACEOF
43656 done
43658 else
43660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43661 $as_echo_n "checking for _atan2l declaration... " >&6; }
43662 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43663 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43664 $as_echo_n "(cached) " >&6
43665 else
43668 ac_ext=cpp
43669 ac_cpp='$CXXCPP $CPPFLAGS'
43670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43675 /* end confdefs.h. */
43676 #include <math.h>
43678 main ()
43680 _atan2l(0, 0);
43682 return 0;
43684 _ACEOF
43685 if ac_fn_cxx_try_compile "$LINENO"; then :
43686 glibcxx_cv_func__atan2l_use=yes
43687 else
43688 glibcxx_cv_func__atan2l_use=no
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43691 ac_ext=c
43692 ac_cpp='$CPP $CPPFLAGS'
43693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43702 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43704 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43705 for ac_func in _atan2l
43706 do :
43707 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43708 if test "x$ac_cv_func__atan2l" = x""yes; then :
43709 cat >>confdefs.h <<_ACEOF
43710 #define HAVE__ATAN2L 1
43711 _ACEOF
43714 done
43723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43724 $as_echo_n "checking for expl declaration... " >&6; }
43725 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43726 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43727 $as_echo_n "(cached) " >&6
43728 else
43731 ac_ext=cpp
43732 ac_cpp='$CXXCPP $CPPFLAGS'
43733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43738 /* end confdefs.h. */
43739 #include <math.h>
43740 #ifdef HAVE_IEEEFP_H
43741 #include <ieeefp.h>
43742 #endif
43745 main ()
43747 expl(0);
43749 return 0;
43751 _ACEOF
43752 if ac_fn_cxx_try_compile "$LINENO"; then :
43753 glibcxx_cv_func_expl_use=yes
43754 else
43755 glibcxx_cv_func_expl_use=no
43757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43758 ac_ext=c
43759 ac_cpp='$CPP $CPPFLAGS'
43760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43769 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43771 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43772 for ac_func in expl
43773 do :
43774 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43775 if test "x$ac_cv_func_expl" = x""yes; then :
43776 cat >>confdefs.h <<_ACEOF
43777 #define HAVE_EXPL 1
43778 _ACEOF
43781 done
43783 else
43785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43786 $as_echo_n "checking for _expl declaration... " >&6; }
43787 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43788 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43789 $as_echo_n "(cached) " >&6
43790 else
43793 ac_ext=cpp
43794 ac_cpp='$CXXCPP $CPPFLAGS'
43795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43800 /* end confdefs.h. */
43801 #include <math.h>
43802 #ifdef HAVE_IEEEFP_H
43803 #include <ieeefp.h>
43804 #endif
43807 main ()
43809 _expl(0);
43811 return 0;
43813 _ACEOF
43814 if ac_fn_cxx_try_compile "$LINENO"; then :
43815 glibcxx_cv_func__expl_use=yes
43816 else
43817 glibcxx_cv_func__expl_use=no
43819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43820 ac_ext=c
43821 ac_cpp='$CPP $CPPFLAGS'
43822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43831 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43833 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43834 for ac_func in _expl
43835 do :
43836 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43837 if test "x$ac_cv_func__expl" = x""yes; then :
43838 cat >>confdefs.h <<_ACEOF
43839 #define HAVE__EXPL 1
43840 _ACEOF
43843 done
43852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43853 $as_echo_n "checking for fabsl declaration... " >&6; }
43854 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43855 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43856 $as_echo_n "(cached) " >&6
43857 else
43860 ac_ext=cpp
43861 ac_cpp='$CXXCPP $CPPFLAGS'
43862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43867 /* end confdefs.h. */
43868 #include <math.h>
43869 #ifdef HAVE_IEEEFP_H
43870 #include <ieeefp.h>
43871 #endif
43874 main ()
43876 fabsl(0);
43878 return 0;
43880 _ACEOF
43881 if ac_fn_cxx_try_compile "$LINENO"; then :
43882 glibcxx_cv_func_fabsl_use=yes
43883 else
43884 glibcxx_cv_func_fabsl_use=no
43886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43887 ac_ext=c
43888 ac_cpp='$CPP $CPPFLAGS'
43889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43898 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43900 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43901 for ac_func in fabsl
43902 do :
43903 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43904 if test "x$ac_cv_func_fabsl" = x""yes; then :
43905 cat >>confdefs.h <<_ACEOF
43906 #define HAVE_FABSL 1
43907 _ACEOF
43910 done
43912 else
43914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43915 $as_echo_n "checking for _fabsl declaration... " >&6; }
43916 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43917 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43918 $as_echo_n "(cached) " >&6
43919 else
43922 ac_ext=cpp
43923 ac_cpp='$CXXCPP $CPPFLAGS'
43924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43929 /* end confdefs.h. */
43930 #include <math.h>
43931 #ifdef HAVE_IEEEFP_H
43932 #include <ieeefp.h>
43933 #endif
43936 main ()
43938 _fabsl(0);
43940 return 0;
43942 _ACEOF
43943 if ac_fn_cxx_try_compile "$LINENO"; then :
43944 glibcxx_cv_func__fabsl_use=yes
43945 else
43946 glibcxx_cv_func__fabsl_use=no
43948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43949 ac_ext=c
43950 ac_cpp='$CPP $CPPFLAGS'
43951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43960 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43962 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43963 for ac_func in _fabsl
43964 do :
43965 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43966 if test "x$ac_cv_func__fabsl" = x""yes; then :
43967 cat >>confdefs.h <<_ACEOF
43968 #define HAVE__FABSL 1
43969 _ACEOF
43972 done
43981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43982 $as_echo_n "checking for fmodl declaration... " >&6; }
43983 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43984 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43985 $as_echo_n "(cached) " >&6
43986 else
43989 ac_ext=cpp
43990 ac_cpp='$CXXCPP $CPPFLAGS'
43991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43996 /* end confdefs.h. */
43997 #include <math.h>
43999 main ()
44001 fmodl(0, 0);
44003 return 0;
44005 _ACEOF
44006 if ac_fn_cxx_try_compile "$LINENO"; then :
44007 glibcxx_cv_func_fmodl_use=yes
44008 else
44009 glibcxx_cv_func_fmodl_use=no
44011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44012 ac_ext=c
44013 ac_cpp='$CPP $CPPFLAGS'
44014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44023 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44025 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44026 for ac_func in fmodl
44027 do :
44028 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44029 if test "x$ac_cv_func_fmodl" = x""yes; then :
44030 cat >>confdefs.h <<_ACEOF
44031 #define HAVE_FMODL 1
44032 _ACEOF
44035 done
44037 else
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44040 $as_echo_n "checking for _fmodl declaration... " >&6; }
44041 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44042 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44043 $as_echo_n "(cached) " >&6
44044 else
44047 ac_ext=cpp
44048 ac_cpp='$CXXCPP $CPPFLAGS'
44049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44054 /* end confdefs.h. */
44055 #include <math.h>
44057 main ()
44059 _fmodl(0, 0);
44061 return 0;
44063 _ACEOF
44064 if ac_fn_cxx_try_compile "$LINENO"; then :
44065 glibcxx_cv_func__fmodl_use=yes
44066 else
44067 glibcxx_cv_func__fmodl_use=no
44069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44070 ac_ext=c
44071 ac_cpp='$CPP $CPPFLAGS'
44072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44081 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44083 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44084 for ac_func in _fmodl
44085 do :
44086 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44087 if test "x$ac_cv_func__fmodl" = x""yes; then :
44088 cat >>confdefs.h <<_ACEOF
44089 #define HAVE__FMODL 1
44090 _ACEOF
44093 done
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44103 $as_echo_n "checking for frexpl declaration... " >&6; }
44104 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44105 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44106 $as_echo_n "(cached) " >&6
44107 else
44110 ac_ext=cpp
44111 ac_cpp='$CXXCPP $CPPFLAGS'
44112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44117 /* end confdefs.h. */
44118 #include <math.h>
44120 main ()
44122 frexpl(0, 0);
44124 return 0;
44126 _ACEOF
44127 if ac_fn_cxx_try_compile "$LINENO"; then :
44128 glibcxx_cv_func_frexpl_use=yes
44129 else
44130 glibcxx_cv_func_frexpl_use=no
44132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44133 ac_ext=c
44134 ac_cpp='$CPP $CPPFLAGS'
44135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44144 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44146 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44147 for ac_func in frexpl
44148 do :
44149 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44150 if test "x$ac_cv_func_frexpl" = x""yes; then :
44151 cat >>confdefs.h <<_ACEOF
44152 #define HAVE_FREXPL 1
44153 _ACEOF
44156 done
44158 else
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44161 $as_echo_n "checking for _frexpl declaration... " >&6; }
44162 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44163 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44164 $as_echo_n "(cached) " >&6
44165 else
44168 ac_ext=cpp
44169 ac_cpp='$CXXCPP $CPPFLAGS'
44170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44175 /* end confdefs.h. */
44176 #include <math.h>
44178 main ()
44180 _frexpl(0, 0);
44182 return 0;
44184 _ACEOF
44185 if ac_fn_cxx_try_compile "$LINENO"; then :
44186 glibcxx_cv_func__frexpl_use=yes
44187 else
44188 glibcxx_cv_func__frexpl_use=no
44190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44191 ac_ext=c
44192 ac_cpp='$CPP $CPPFLAGS'
44193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44202 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44204 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44205 for ac_func in _frexpl
44206 do :
44207 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44208 if test "x$ac_cv_func__frexpl" = x""yes; then :
44209 cat >>confdefs.h <<_ACEOF
44210 #define HAVE__FREXPL 1
44211 _ACEOF
44214 done
44223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44224 $as_echo_n "checking for hypotl declaration... " >&6; }
44225 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44226 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44227 $as_echo_n "(cached) " >&6
44228 else
44231 ac_ext=cpp
44232 ac_cpp='$CXXCPP $CPPFLAGS'
44233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44238 /* end confdefs.h. */
44239 #include <math.h>
44241 main ()
44243 hypotl(0, 0);
44245 return 0;
44247 _ACEOF
44248 if ac_fn_cxx_try_compile "$LINENO"; then :
44249 glibcxx_cv_func_hypotl_use=yes
44250 else
44251 glibcxx_cv_func_hypotl_use=no
44253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44254 ac_ext=c
44255 ac_cpp='$CPP $CPPFLAGS'
44256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44265 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44267 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44268 for ac_func in hypotl
44269 do :
44270 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44271 if test "x$ac_cv_func_hypotl" = x""yes; then :
44272 cat >>confdefs.h <<_ACEOF
44273 #define HAVE_HYPOTL 1
44274 _ACEOF
44277 done
44279 else
44281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44282 $as_echo_n "checking for _hypotl declaration... " >&6; }
44283 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44284 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44285 $as_echo_n "(cached) " >&6
44286 else
44289 ac_ext=cpp
44290 ac_cpp='$CXXCPP $CPPFLAGS'
44291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44296 /* end confdefs.h. */
44297 #include <math.h>
44299 main ()
44301 _hypotl(0, 0);
44303 return 0;
44305 _ACEOF
44306 if ac_fn_cxx_try_compile "$LINENO"; then :
44307 glibcxx_cv_func__hypotl_use=yes
44308 else
44309 glibcxx_cv_func__hypotl_use=no
44311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44312 ac_ext=c
44313 ac_cpp='$CPP $CPPFLAGS'
44314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44323 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44325 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44326 for ac_func in _hypotl
44327 do :
44328 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44329 if test "x$ac_cv_func__hypotl" = x""yes; then :
44330 cat >>confdefs.h <<_ACEOF
44331 #define HAVE__HYPOTL 1
44332 _ACEOF
44335 done
44344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44345 $as_echo_n "checking for ldexpl declaration... " >&6; }
44346 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44347 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44348 $as_echo_n "(cached) " >&6
44349 else
44352 ac_ext=cpp
44353 ac_cpp='$CXXCPP $CPPFLAGS'
44354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44359 /* end confdefs.h. */
44360 #include <math.h>
44362 main ()
44364 ldexpl(0, 0);
44366 return 0;
44368 _ACEOF
44369 if ac_fn_cxx_try_compile "$LINENO"; then :
44370 glibcxx_cv_func_ldexpl_use=yes
44371 else
44372 glibcxx_cv_func_ldexpl_use=no
44374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44375 ac_ext=c
44376 ac_cpp='$CPP $CPPFLAGS'
44377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44386 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44388 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44389 for ac_func in ldexpl
44390 do :
44391 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44392 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44393 cat >>confdefs.h <<_ACEOF
44394 #define HAVE_LDEXPL 1
44395 _ACEOF
44398 done
44400 else
44402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44403 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44404 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44405 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44406 $as_echo_n "(cached) " >&6
44407 else
44410 ac_ext=cpp
44411 ac_cpp='$CXXCPP $CPPFLAGS'
44412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44417 /* end confdefs.h. */
44418 #include <math.h>
44420 main ()
44422 _ldexpl(0, 0);
44424 return 0;
44426 _ACEOF
44427 if ac_fn_cxx_try_compile "$LINENO"; then :
44428 glibcxx_cv_func__ldexpl_use=yes
44429 else
44430 glibcxx_cv_func__ldexpl_use=no
44432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44433 ac_ext=c
44434 ac_cpp='$CPP $CPPFLAGS'
44435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44444 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44446 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44447 for ac_func in _ldexpl
44448 do :
44449 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44450 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44451 cat >>confdefs.h <<_ACEOF
44452 #define HAVE__LDEXPL 1
44453 _ACEOF
44456 done
44465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44466 $as_echo_n "checking for logl declaration... " >&6; }
44467 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44468 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44469 $as_echo_n "(cached) " >&6
44470 else
44473 ac_ext=cpp
44474 ac_cpp='$CXXCPP $CPPFLAGS'
44475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44480 /* end confdefs.h. */
44481 #include <math.h>
44482 #ifdef HAVE_IEEEFP_H
44483 #include <ieeefp.h>
44484 #endif
44487 main ()
44489 logl(0);
44491 return 0;
44493 _ACEOF
44494 if ac_fn_cxx_try_compile "$LINENO"; then :
44495 glibcxx_cv_func_logl_use=yes
44496 else
44497 glibcxx_cv_func_logl_use=no
44499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44500 ac_ext=c
44501 ac_cpp='$CPP $CPPFLAGS'
44502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44511 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44513 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44514 for ac_func in logl
44515 do :
44516 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44517 if test "x$ac_cv_func_logl" = x""yes; then :
44518 cat >>confdefs.h <<_ACEOF
44519 #define HAVE_LOGL 1
44520 _ACEOF
44523 done
44525 else
44527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44528 $as_echo_n "checking for _logl declaration... " >&6; }
44529 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44530 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44531 $as_echo_n "(cached) " >&6
44532 else
44535 ac_ext=cpp
44536 ac_cpp='$CXXCPP $CPPFLAGS'
44537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44542 /* end confdefs.h. */
44543 #include <math.h>
44544 #ifdef HAVE_IEEEFP_H
44545 #include <ieeefp.h>
44546 #endif
44549 main ()
44551 _logl(0);
44553 return 0;
44555 _ACEOF
44556 if ac_fn_cxx_try_compile "$LINENO"; then :
44557 glibcxx_cv_func__logl_use=yes
44558 else
44559 glibcxx_cv_func__logl_use=no
44561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44562 ac_ext=c
44563 ac_cpp='$CPP $CPPFLAGS'
44564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44573 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44575 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44576 for ac_func in _logl
44577 do :
44578 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44579 if test "x$ac_cv_func__logl" = x""yes; then :
44580 cat >>confdefs.h <<_ACEOF
44581 #define HAVE__LOGL 1
44582 _ACEOF
44585 done
44594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44595 $as_echo_n "checking for log10l declaration... " >&6; }
44596 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44597 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44598 $as_echo_n "(cached) " >&6
44599 else
44602 ac_ext=cpp
44603 ac_cpp='$CXXCPP $CPPFLAGS'
44604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44609 /* end confdefs.h. */
44610 #include <math.h>
44611 #ifdef HAVE_IEEEFP_H
44612 #include <ieeefp.h>
44613 #endif
44616 main ()
44618 log10l(0);
44620 return 0;
44622 _ACEOF
44623 if ac_fn_cxx_try_compile "$LINENO"; then :
44624 glibcxx_cv_func_log10l_use=yes
44625 else
44626 glibcxx_cv_func_log10l_use=no
44628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44629 ac_ext=c
44630 ac_cpp='$CPP $CPPFLAGS'
44631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44640 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44642 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44643 for ac_func in log10l
44644 do :
44645 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44646 if test "x$ac_cv_func_log10l" = x""yes; then :
44647 cat >>confdefs.h <<_ACEOF
44648 #define HAVE_LOG10L 1
44649 _ACEOF
44652 done
44654 else
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44657 $as_echo_n "checking for _log10l declaration... " >&6; }
44658 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44659 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44660 $as_echo_n "(cached) " >&6
44661 else
44664 ac_ext=cpp
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44671 /* end confdefs.h. */
44672 #include <math.h>
44673 #ifdef HAVE_IEEEFP_H
44674 #include <ieeefp.h>
44675 #endif
44678 main ()
44680 _log10l(0);
44682 return 0;
44684 _ACEOF
44685 if ac_fn_cxx_try_compile "$LINENO"; then :
44686 glibcxx_cv_func__log10l_use=yes
44687 else
44688 glibcxx_cv_func__log10l_use=no
44690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44691 ac_ext=c
44692 ac_cpp='$CPP $CPPFLAGS'
44693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44702 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44704 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44705 for ac_func in _log10l
44706 do :
44707 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44708 if test "x$ac_cv_func__log10l" = x""yes; then :
44709 cat >>confdefs.h <<_ACEOF
44710 #define HAVE__LOG10L 1
44711 _ACEOF
44714 done
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44724 $as_echo_n "checking for modfl declaration... " >&6; }
44725 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44726 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44727 $as_echo_n "(cached) " >&6
44728 else
44731 ac_ext=cpp
44732 ac_cpp='$CXXCPP $CPPFLAGS'
44733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44738 /* end confdefs.h. */
44739 #include <math.h>
44741 main ()
44743 modfl(0, 0);
44745 return 0;
44747 _ACEOF
44748 if ac_fn_cxx_try_compile "$LINENO"; then :
44749 glibcxx_cv_func_modfl_use=yes
44750 else
44751 glibcxx_cv_func_modfl_use=no
44753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44754 ac_ext=c
44755 ac_cpp='$CPP $CPPFLAGS'
44756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44765 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44767 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44768 for ac_func in modfl
44769 do :
44770 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44771 if test "x$ac_cv_func_modfl" = x""yes; then :
44772 cat >>confdefs.h <<_ACEOF
44773 #define HAVE_MODFL 1
44774 _ACEOF
44777 done
44779 else
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44782 $as_echo_n "checking for _modfl declaration... " >&6; }
44783 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44784 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44785 $as_echo_n "(cached) " >&6
44786 else
44789 ac_ext=cpp
44790 ac_cpp='$CXXCPP $CPPFLAGS'
44791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44796 /* end confdefs.h. */
44797 #include <math.h>
44799 main ()
44801 _modfl(0, 0);
44803 return 0;
44805 _ACEOF
44806 if ac_fn_cxx_try_compile "$LINENO"; then :
44807 glibcxx_cv_func__modfl_use=yes
44808 else
44809 glibcxx_cv_func__modfl_use=no
44811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44812 ac_ext=c
44813 ac_cpp='$CPP $CPPFLAGS'
44814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44823 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44825 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44826 for ac_func in _modfl
44827 do :
44828 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44829 if test "x$ac_cv_func__modfl" = x""yes; then :
44830 cat >>confdefs.h <<_ACEOF
44831 #define HAVE__MODFL 1
44832 _ACEOF
44835 done
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44845 $as_echo_n "checking for powl declaration... " >&6; }
44846 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44847 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44848 $as_echo_n "(cached) " >&6
44849 else
44852 ac_ext=cpp
44853 ac_cpp='$CXXCPP $CPPFLAGS'
44854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44859 /* end confdefs.h. */
44860 #include <math.h>
44862 main ()
44864 powl(0, 0);
44866 return 0;
44868 _ACEOF
44869 if ac_fn_cxx_try_compile "$LINENO"; then :
44870 glibcxx_cv_func_powl_use=yes
44871 else
44872 glibcxx_cv_func_powl_use=no
44874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44875 ac_ext=c
44876 ac_cpp='$CPP $CPPFLAGS'
44877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44886 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44888 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44889 for ac_func in powl
44890 do :
44891 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44892 if test "x$ac_cv_func_powl" = x""yes; then :
44893 cat >>confdefs.h <<_ACEOF
44894 #define HAVE_POWL 1
44895 _ACEOF
44898 done
44900 else
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44903 $as_echo_n "checking for _powl declaration... " >&6; }
44904 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44905 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44906 $as_echo_n "(cached) " >&6
44907 else
44910 ac_ext=cpp
44911 ac_cpp='$CXXCPP $CPPFLAGS'
44912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44917 /* end confdefs.h. */
44918 #include <math.h>
44920 main ()
44922 _powl(0, 0);
44924 return 0;
44926 _ACEOF
44927 if ac_fn_cxx_try_compile "$LINENO"; then :
44928 glibcxx_cv_func__powl_use=yes
44929 else
44930 glibcxx_cv_func__powl_use=no
44932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44933 ac_ext=c
44934 ac_cpp='$CPP $CPPFLAGS'
44935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44944 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44946 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44947 for ac_func in _powl
44948 do :
44949 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44950 if test "x$ac_cv_func__powl" = x""yes; then :
44951 cat >>confdefs.h <<_ACEOF
44952 #define HAVE__POWL 1
44953 _ACEOF
44956 done
44965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44966 $as_echo_n "checking for sqrtl declaration... " >&6; }
44967 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44968 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44969 $as_echo_n "(cached) " >&6
44970 else
44973 ac_ext=cpp
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44980 /* end confdefs.h. */
44981 #include <math.h>
44982 #ifdef HAVE_IEEEFP_H
44983 #include <ieeefp.h>
44984 #endif
44987 main ()
44989 sqrtl(0);
44991 return 0;
44993 _ACEOF
44994 if ac_fn_cxx_try_compile "$LINENO"; then :
44995 glibcxx_cv_func_sqrtl_use=yes
44996 else
44997 glibcxx_cv_func_sqrtl_use=no
44999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45000 ac_ext=c
45001 ac_cpp='$CPP $CPPFLAGS'
45002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45011 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45013 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45014 for ac_func in sqrtl
45015 do :
45016 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45017 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45018 cat >>confdefs.h <<_ACEOF
45019 #define HAVE_SQRTL 1
45020 _ACEOF
45023 done
45025 else
45027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45028 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45029 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45030 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45031 $as_echo_n "(cached) " >&6
45032 else
45035 ac_ext=cpp
45036 ac_cpp='$CXXCPP $CPPFLAGS'
45037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45042 /* end confdefs.h. */
45043 #include <math.h>
45044 #ifdef HAVE_IEEEFP_H
45045 #include <ieeefp.h>
45046 #endif
45049 main ()
45051 _sqrtl(0);
45053 return 0;
45055 _ACEOF
45056 if ac_fn_cxx_try_compile "$LINENO"; then :
45057 glibcxx_cv_func__sqrtl_use=yes
45058 else
45059 glibcxx_cv_func__sqrtl_use=no
45061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45062 ac_ext=c
45063 ac_cpp='$CPP $CPPFLAGS'
45064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45073 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45075 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45076 for ac_func in _sqrtl
45077 do :
45078 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45079 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45080 cat >>confdefs.h <<_ACEOF
45081 #define HAVE__SQRTL 1
45082 _ACEOF
45085 done
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45095 $as_echo_n "checking for sincosl declaration... " >&6; }
45096 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45097 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45098 $as_echo_n "(cached) " >&6
45099 else
45102 ac_ext=cpp
45103 ac_cpp='$CXXCPP $CPPFLAGS'
45104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45109 /* end confdefs.h. */
45110 #include <math.h>
45112 main ()
45114 sincosl(0, 0, 0);
45116 return 0;
45118 _ACEOF
45119 if ac_fn_cxx_try_compile "$LINENO"; then :
45120 glibcxx_cv_func_sincosl_use=yes
45121 else
45122 glibcxx_cv_func_sincosl_use=no
45124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45125 ac_ext=c
45126 ac_cpp='$CPP $CPPFLAGS'
45127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45136 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45138 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45139 for ac_func in sincosl
45140 do :
45141 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45142 if test "x$ac_cv_func_sincosl" = x""yes; then :
45143 cat >>confdefs.h <<_ACEOF
45144 #define HAVE_SINCOSL 1
45145 _ACEOF
45148 done
45150 else
45152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45153 $as_echo_n "checking for _sincosl declaration... " >&6; }
45154 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45155 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45156 $as_echo_n "(cached) " >&6
45157 else
45160 ac_ext=cpp
45161 ac_cpp='$CXXCPP $CPPFLAGS'
45162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45167 /* end confdefs.h. */
45168 #include <math.h>
45170 main ()
45172 _sincosl(0, 0, 0);
45174 return 0;
45176 _ACEOF
45177 if ac_fn_cxx_try_compile "$LINENO"; then :
45178 glibcxx_cv_func__sincosl_use=yes
45179 else
45180 glibcxx_cv_func__sincosl_use=no
45182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45183 ac_ext=c
45184 ac_cpp='$CPP $CPPFLAGS'
45185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45194 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45196 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45197 for ac_func in _sincosl
45198 do :
45199 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45200 if test "x$ac_cv_func__sincosl" = x""yes; then :
45201 cat >>confdefs.h <<_ACEOF
45202 #define HAVE__SINCOSL 1
45203 _ACEOF
45206 done
45215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45216 $as_echo_n "checking for finitel declaration... " >&6; }
45217 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45218 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45219 $as_echo_n "(cached) " >&6
45220 else
45223 ac_ext=cpp
45224 ac_cpp='$CXXCPP $CPPFLAGS'
45225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45230 /* end confdefs.h. */
45231 #include <math.h>
45232 #ifdef HAVE_IEEEFP_H
45233 #include <ieeefp.h>
45234 #endif
45237 main ()
45239 finitel(0);
45241 return 0;
45243 _ACEOF
45244 if ac_fn_cxx_try_compile "$LINENO"; then :
45245 glibcxx_cv_func_finitel_use=yes
45246 else
45247 glibcxx_cv_func_finitel_use=no
45249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45250 ac_ext=c
45251 ac_cpp='$CPP $CPPFLAGS'
45252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45261 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45263 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45264 for ac_func in finitel
45265 do :
45266 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45267 if test "x$ac_cv_func_finitel" = x""yes; then :
45268 cat >>confdefs.h <<_ACEOF
45269 #define HAVE_FINITEL 1
45270 _ACEOF
45273 done
45275 else
45277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45278 $as_echo_n "checking for _finitel declaration... " >&6; }
45279 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45280 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45281 $as_echo_n "(cached) " >&6
45282 else
45285 ac_ext=cpp
45286 ac_cpp='$CXXCPP $CPPFLAGS'
45287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45292 /* end confdefs.h. */
45293 #include <math.h>
45294 #ifdef HAVE_IEEEFP_H
45295 #include <ieeefp.h>
45296 #endif
45299 main ()
45301 _finitel(0);
45303 return 0;
45305 _ACEOF
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func__finitel_use=yes
45308 else
45309 glibcxx_cv_func__finitel_use=no
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45323 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45325 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45326 for ac_func in _finitel
45327 do :
45328 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45329 if test "x$ac_cv_func__finitel" = x""yes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE__FINITEL 1
45332 _ACEOF
45335 done
45343 LIBS="$ac_save_LIBS"
45344 CXXFLAGS="$ac_save_CXXFLAGS"
45347 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45348 ac_save_CXXFLAGS="$CXXFLAGS"
45349 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45353 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45354 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45355 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45356 $as_echo_n "(cached) " >&6
45357 else
45360 ac_ext=cpp
45361 ac_cpp='$CXXCPP $CPPFLAGS'
45362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45367 /* end confdefs.h. */
45368 #include <stdlib.h>
45370 main ()
45372 at_quick_exit(0);
45374 return 0;
45376 _ACEOF
45377 if ac_fn_cxx_try_compile "$LINENO"; then :
45378 glibcxx_cv_func_at_quick_exit_use=yes
45379 else
45380 glibcxx_cv_func_at_quick_exit_use=no
45382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45383 ac_ext=c
45384 ac_cpp='$CPP $CPPFLAGS'
45385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45394 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45395 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45396 for ac_func in at_quick_exit
45397 do :
45398 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45399 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45400 cat >>confdefs.h <<_ACEOF
45401 #define HAVE_AT_QUICK_EXIT 1
45402 _ACEOF
45405 done
45410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45411 $as_echo_n "checking for quick_exit declaration... " >&6; }
45412 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45413 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45414 $as_echo_n "(cached) " >&6
45415 else
45418 ac_ext=cpp
45419 ac_cpp='$CXXCPP $CPPFLAGS'
45420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45425 /* end confdefs.h. */
45426 #include <stdlib.h>
45428 main ()
45430 quick_exit(0);
45432 return 0;
45434 _ACEOF
45435 if ac_fn_cxx_try_compile "$LINENO"; then :
45436 glibcxx_cv_func_quick_exit_use=yes
45437 else
45438 glibcxx_cv_func_quick_exit_use=no
45440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45441 ac_ext=c
45442 ac_cpp='$CPP $CPPFLAGS'
45443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45452 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45453 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45454 for ac_func in quick_exit
45455 do :
45456 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45457 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45458 cat >>confdefs.h <<_ACEOF
45459 #define HAVE_QUICK_EXIT 1
45460 _ACEOF
45463 done
45468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45469 $as_echo_n "checking for strtold declaration... " >&6; }
45470 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45471 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45472 $as_echo_n "(cached) " >&6
45473 else
45476 ac_ext=cpp
45477 ac_cpp='$CXXCPP $CPPFLAGS'
45478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45483 /* end confdefs.h. */
45484 #include <stdlib.h>
45486 main ()
45488 strtold(0, 0);
45490 return 0;
45492 _ACEOF
45493 if ac_fn_cxx_try_compile "$LINENO"; then :
45494 glibcxx_cv_func_strtold_use=yes
45495 else
45496 glibcxx_cv_func_strtold_use=no
45498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45499 ac_ext=c
45500 ac_cpp='$CPP $CPPFLAGS'
45501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45510 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45511 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45512 for ac_func in strtold
45513 do :
45514 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45515 if test "x$ac_cv_func_strtold" = x""yes; then :
45516 cat >>confdefs.h <<_ACEOF
45517 #define HAVE_STRTOLD 1
45518 _ACEOF
45521 done
45528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45529 $as_echo_n "checking for strtof declaration... " >&6; }
45530 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45531 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45532 $as_echo_n "(cached) " >&6
45533 else
45536 ac_ext=cpp
45537 ac_cpp='$CXXCPP $CPPFLAGS'
45538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45543 /* end confdefs.h. */
45544 #include <stdlib.h>
45546 main ()
45548 strtof(0, 0);
45550 return 0;
45552 _ACEOF
45553 if ac_fn_cxx_try_compile "$LINENO"; then :
45554 glibcxx_cv_func_strtof_use=yes
45555 else
45556 glibcxx_cv_func_strtof_use=no
45558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45559 ac_ext=c
45560 ac_cpp='$CPP $CPPFLAGS'
45561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45570 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45571 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45572 for ac_func in strtof
45573 do :
45574 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45575 if test "x$ac_cv_func_strtof" = x""yes; then :
45576 cat >>confdefs.h <<_ACEOF
45577 #define HAVE_STRTOF 1
45578 _ACEOF
45581 done
45588 CXXFLAGS="$ac_save_CXXFLAGS"
45592 *djgpp)
45593 # GLIBCXX_CHECK_MATH_SUPPORT
45594 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45596 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45598 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45600 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
45602 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45606 *-freebsd*)
45607 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45610 # If we're not using GNU ld, then there's no point in even trying these
45611 # tests. Check for that first. We should have already tested for gld
45612 # by now (in libtool), but require it now just to be safe...
45613 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45614 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45618 # The name set by libtool depends on the version of libtool. Shame on us
45619 # for depending on an impl detail, but c'est la vie. Older versions used
45620 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45621 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45622 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45623 # set (hence we're using an older libtool), then set it.
45624 if test x${with_gnu_ld+set} != xset; then
45625 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45626 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45627 with_gnu_ld=no
45628 else
45629 with_gnu_ld=$ac_cv_prog_gnu_ld
45633 # Start by getting the version number. I think the libtool test already
45634 # does some of this, but throws away the result.
45635 glibcxx_ld_is_gold=no
45636 if test x"$with_gnu_ld" = x"yes"; then
45637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45638 $as_echo_n "checking for ld version... " >&6; }
45640 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45641 glibcxx_ld_is_gold=yes
45643 ldver=`$LD --version 2>/dev/null |
45644 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'`
45646 glibcxx_gnu_ld_version=`echo $ldver | \
45647 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45649 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45652 # Set --gc-sections.
45653 glibcxx_have_gc_sections=no
45654 if test "$glibcxx_ld_is_gold" = "yes"; then
45655 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45656 glibcxx_have_gc_sections=yes
45658 else
45659 glibcxx_gcsections_min_ld=21602
45660 if test x"$with_gnu_ld" = x"yes" &&
45661 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45662 glibcxx_have_gc_sections=yes
45665 if test "$glibcxx_have_gc_sections" = "yes"; then
45666 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45667 # NB: This flag only works reliably after 2.16.1. Configure tests
45668 # for this are difficult, so hard wire a value that should work.
45670 ac_test_CFLAGS="${CFLAGS+set}"
45671 ac_save_CFLAGS="$CFLAGS"
45672 CFLAGS='-Wl,--gc-sections'
45674 # Check for -Wl,--gc-sections
45675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45676 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45677 if test x$gcc_no_link = xyes; then
45678 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45681 /* end confdefs.h. */
45682 int one(void) { return 1; }
45683 int two(void) { return 2; }
45686 main ()
45688 two();
45690 return 0;
45692 _ACEOF
45693 if ac_fn_c_try_link "$LINENO"; then :
45694 ac_gcsections=yes
45695 else
45696 ac_gcsections=no
45698 rm -f core conftest.err conftest.$ac_objext \
45699 conftest$ac_exeext conftest.$ac_ext
45700 if test "$ac_gcsections" = "yes"; then
45701 rm -f conftest.c
45702 touch conftest.c
45703 if $CC -c conftest.c; then
45704 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45705 grep "Warning: gc-sections option ignored" > /dev/null; then
45706 ac_gcsections=no
45709 rm -f conftest.c conftest.o conftest
45711 if test "$ac_gcsections" = "yes"; then
45712 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45715 $as_echo "$ac_gcsections" >&6; }
45717 if test "$ac_test_CFLAGS" = set; then
45718 CFLAGS="$ac_save_CFLAGS"
45719 else
45720 # this is the suspicious part
45721 CFLAGS=''
45725 # Set -z,relro.
45726 # Note this is only for shared objects.
45727 ac_ld_relro=no
45728 if test x"$with_gnu_ld" = x"yes"; then
45729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45730 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45731 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45732 if test -n "$cxx_z_relo"; then
45733 OPT_LDFLAGS="-Wl,-z,relro"
45734 ac_ld_relro=yes
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45737 $as_echo "$ac_ld_relro" >&6; }
45740 # Set linker optimization flags.
45741 if test x"$with_gnu_ld" = x"yes"; then
45742 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45748 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
45750 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45752 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45754 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45756 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45758 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45760 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45762 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45764 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45767 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45769 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45771 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45773 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45775 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45777 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45779 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45781 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45783 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45785 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45787 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45789 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45791 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45793 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45795 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45797 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45799 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45801 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45803 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45805 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45807 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45809 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45811 if test x"long_double_math_on_this_cpu" = x"yes"; then
45812 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45814 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45816 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45820 *-hpux*)
45821 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45824 # If we're not using GNU ld, then there's no point in even trying these
45825 # tests. Check for that first. We should have already tested for gld
45826 # by now (in libtool), but require it now just to be safe...
45827 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45828 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45832 # The name set by libtool depends on the version of libtool. Shame on us
45833 # for depending on an impl detail, but c'est la vie. Older versions used
45834 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45835 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45836 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45837 # set (hence we're using an older libtool), then set it.
45838 if test x${with_gnu_ld+set} != xset; then
45839 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45840 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45841 with_gnu_ld=no
45842 else
45843 with_gnu_ld=$ac_cv_prog_gnu_ld
45847 # Start by getting the version number. I think the libtool test already
45848 # does some of this, but throws away the result.
45849 glibcxx_ld_is_gold=no
45850 if test x"$with_gnu_ld" = x"yes"; then
45851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45852 $as_echo_n "checking for ld version... " >&6; }
45854 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45855 glibcxx_ld_is_gold=yes
45857 ldver=`$LD --version 2>/dev/null |
45858 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'`
45860 glibcxx_gnu_ld_version=`echo $ldver | \
45861 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45863 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45866 # Set --gc-sections.
45867 glibcxx_have_gc_sections=no
45868 if test "$glibcxx_ld_is_gold" = "yes"; then
45869 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45870 glibcxx_have_gc_sections=yes
45872 else
45873 glibcxx_gcsections_min_ld=21602
45874 if test x"$with_gnu_ld" = x"yes" &&
45875 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45876 glibcxx_have_gc_sections=yes
45879 if test "$glibcxx_have_gc_sections" = "yes"; then
45880 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45881 # NB: This flag only works reliably after 2.16.1. Configure tests
45882 # for this are difficult, so hard wire a value that should work.
45884 ac_test_CFLAGS="${CFLAGS+set}"
45885 ac_save_CFLAGS="$CFLAGS"
45886 CFLAGS='-Wl,--gc-sections'
45888 # Check for -Wl,--gc-sections
45889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45890 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45891 if test x$gcc_no_link = xyes; then
45892 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45895 /* end confdefs.h. */
45896 int one(void) { return 1; }
45897 int two(void) { return 2; }
45900 main ()
45902 two();
45904 return 0;
45906 _ACEOF
45907 if ac_fn_c_try_link "$LINENO"; then :
45908 ac_gcsections=yes
45909 else
45910 ac_gcsections=no
45912 rm -f core conftest.err conftest.$ac_objext \
45913 conftest$ac_exeext conftest.$ac_ext
45914 if test "$ac_gcsections" = "yes"; then
45915 rm -f conftest.c
45916 touch conftest.c
45917 if $CC -c conftest.c; then
45918 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45919 grep "Warning: gc-sections option ignored" > /dev/null; then
45920 ac_gcsections=no
45923 rm -f conftest.c conftest.o conftest
45925 if test "$ac_gcsections" = "yes"; then
45926 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45929 $as_echo "$ac_gcsections" >&6; }
45931 if test "$ac_test_CFLAGS" = set; then
45932 CFLAGS="$ac_save_CFLAGS"
45933 else
45934 # this is the suspicious part
45935 CFLAGS=''
45939 # Set -z,relro.
45940 # Note this is only for shared objects.
45941 ac_ld_relro=no
45942 if test x"$with_gnu_ld" = x"yes"; then
45943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45944 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45945 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45946 if test -n "$cxx_z_relo"; then
45947 OPT_LDFLAGS="-Wl,-z,relro"
45948 ac_ld_relro=yes
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45951 $as_echo "$ac_ld_relro" >&6; }
45954 # Set linker optimization flags.
45955 if test x"$with_gnu_ld" = x"yes"; then
45956 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45963 # GLIBCXX_CHECK_MATH_SUPPORT
45964 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45966 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45968 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45970 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45972 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45974 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45976 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45978 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45980 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45982 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45984 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45986 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45988 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45990 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45992 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45994 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45996 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45998 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
46000 $as_echo "#define HAVE_MODF 1" >>confdefs.h
46002 $as_echo "#define HAVE_POWF 1" >>confdefs.h
46004 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
46007 # GLIBCXX_CHECK_STDLIB_SUPPORT
46008 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
46013 # Check whether --enable-tls was given.
46014 if test "${enable_tls+set}" = set; then :
46015 enableval=$enable_tls;
46016 case "$enableval" in
46017 yes|no) ;;
46018 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
46019 esac
46021 else
46022 enable_tls=yes
46026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
46027 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
46028 if test "${gcc_cv_have_tls+set}" = set; then :
46029 $as_echo_n "(cached) " >&6
46030 else
46032 if test "$cross_compiling" = yes; then :
46033 if test x$gcc_no_link = xyes; then
46034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46037 /* end confdefs.h. */
46038 __thread int a; int b; int main() { return a = b; }
46039 _ACEOF
46040 if ac_fn_c_try_link "$LINENO"; then :
46041 chktls_save_LDFLAGS="$LDFLAGS"
46042 case $host in
46043 *-*-linux*)
46044 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
46046 esac
46047 chktls_save_CFLAGS="$CFLAGS"
46048 CFLAGS="-fPIC $CFLAGS"
46049 if test x$gcc_no_link = xyes; then
46050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46053 /* end confdefs.h. */
46054 int f() { return 0; }
46055 _ACEOF
46056 if ac_fn_c_try_link "$LINENO"; then :
46057 if test x$gcc_no_link = xyes; then
46058 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46061 /* end confdefs.h. */
46062 __thread int a; int b; int f() { return a = b; }
46063 _ACEOF
46064 if ac_fn_c_try_link "$LINENO"; then :
46065 gcc_cv_have_tls=yes
46066 else
46067 gcc_cv_have_tls=no
46069 rm -f core conftest.err conftest.$ac_objext \
46070 conftest$ac_exeext conftest.$ac_ext
46071 else
46072 gcc_cv_have_tls=yes
46074 rm -f core conftest.err conftest.$ac_objext \
46075 conftest$ac_exeext conftest.$ac_ext
46076 CFLAGS="$chktls_save_CFLAGS"
46077 LDFLAGS="$chktls_save_LDFLAGS"
46078 else
46079 gcc_cv_have_tls=no
46081 rm -f core conftest.err conftest.$ac_objext \
46082 conftest$ac_exeext conftest.$ac_ext
46085 else
46086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46087 /* end confdefs.h. */
46088 __thread int a; int b; int main() { return a = b; }
46089 _ACEOF
46090 if ac_fn_c_try_run "$LINENO"; then :
46091 chktls_save_LDFLAGS="$LDFLAGS"
46092 LDFLAGS="-static $LDFLAGS"
46093 if test x$gcc_no_link = xyes; then
46094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46097 /* end confdefs.h. */
46098 int main() { return 0; }
46099 _ACEOF
46100 if ac_fn_c_try_link "$LINENO"; then :
46101 if test "$cross_compiling" = yes; then :
46102 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46103 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46104 as_fn_error "cannot run test program while cross compiling
46105 See \`config.log' for more details." "$LINENO" 5; }
46106 else
46107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46108 /* end confdefs.h. */
46109 __thread int a; int b; int main() { return a = b; }
46110 _ACEOF
46111 if ac_fn_c_try_run "$LINENO"; then :
46112 gcc_cv_have_tls=yes
46113 else
46114 gcc_cv_have_tls=no
46116 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46117 conftest.$ac_objext conftest.beam conftest.$ac_ext
46120 else
46121 gcc_cv_have_tls=yes
46123 rm -f core conftest.err conftest.$ac_objext \
46124 conftest$ac_exeext conftest.$ac_ext
46125 LDFLAGS="$chktls_save_LDFLAGS"
46126 if test $gcc_cv_have_tls = yes; then
46127 chktls_save_CFLAGS="$CFLAGS"
46128 thread_CFLAGS=failed
46129 for flag in '' '-pthread' '-lpthread'; do
46130 CFLAGS="$flag $chktls_save_CFLAGS"
46131 if test x$gcc_no_link = xyes; then
46132 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46135 /* end confdefs.h. */
46136 #include <pthread.h>
46137 void *g(void *d) { return NULL; }
46139 main ()
46141 pthread_t t; pthread_create(&t,NULL,g,NULL);
46143 return 0;
46145 _ACEOF
46146 if ac_fn_c_try_link "$LINENO"; then :
46147 thread_CFLAGS="$flag"
46149 rm -f core conftest.err conftest.$ac_objext \
46150 conftest$ac_exeext conftest.$ac_ext
46151 if test "X$thread_CFLAGS" != Xfailed; then
46152 break
46154 done
46155 CFLAGS="$chktls_save_CFLAGS"
46156 if test "X$thread_CFLAGS" != Xfailed; then
46157 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
46158 if test "$cross_compiling" = yes; then :
46159 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
46160 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
46161 as_fn_error "cannot run test program while cross compiling
46162 See \`config.log' for more details." "$LINENO" 5; }
46163 else
46164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46165 /* end confdefs.h. */
46166 #include <pthread.h>
46167 __thread int a;
46168 static int *volatile a_in_other_thread;
46169 static void *
46170 thread_func (void *arg)
46172 a_in_other_thread = &a;
46173 return (void *)0;
46176 main ()
46178 pthread_t thread;
46179 void *thread_retval;
46180 int *volatile a_in_main_thread;
46181 a_in_main_thread = &a;
46182 if (pthread_create (&thread, (pthread_attr_t *)0,
46183 thread_func, (void *)0))
46184 return 0;
46185 if (pthread_join (thread, &thread_retval))
46186 return 0;
46187 return (a_in_other_thread == a_in_main_thread);
46189 return 0;
46191 _ACEOF
46192 if ac_fn_c_try_run "$LINENO"; then :
46193 gcc_cv_have_tls=yes
46194 else
46195 gcc_cv_have_tls=no
46197 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46198 conftest.$ac_objext conftest.beam conftest.$ac_ext
46201 CFLAGS="$chktls_save_CFLAGS"
46204 else
46205 gcc_cv_have_tls=no
46207 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
46208 conftest.$ac_objext conftest.beam conftest.$ac_ext
46212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
46213 $as_echo "$gcc_cv_have_tls" >&6; }
46214 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
46216 $as_echo "#define HAVE_TLS 1" >>confdefs.h
46219 case "$target" in
46220 *-hpux10*)
46221 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
46223 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
46225 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
46227 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
46229 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
46232 esac
46234 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
46236 # All these tests are for C++; save the language and the compiler flags.
46237 # The CXXFLAGS thing is suspicious, but based on similar bits previously
46238 # found in GLIBCXX_CONFIGURE.
46240 ac_ext=cpp
46241 ac_cpp='$CXXCPP $CPPFLAGS'
46242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46246 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46247 ac_save_CXXFLAGS="$CXXFLAGS"
46249 # Check for maintainer-mode bits.
46250 if test x"$USE_MAINTAINER_MODE" = xno; then
46251 WERROR=''
46252 else
46253 WERROR='-Werror'
46256 # Check for -ffunction-sections -fdata-sections
46257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
46258 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
46259 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
46260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46261 /* end confdefs.h. */
46262 int foo; void bar() { };
46264 main ()
46268 return 0;
46270 _ACEOF
46271 if ac_fn_cxx_try_compile "$LINENO"; then :
46272 ac_fdsections=yes
46273 else
46274 ac_fdsections=no
46276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46277 if test "$ac_test_CXXFLAGS" = set; then
46278 CXXFLAGS="$ac_save_CXXFLAGS"
46279 else
46280 # this is the suspicious part
46281 CXXFLAGS=''
46283 if test x"$ac_fdsections" = x"yes"; then
46284 SECTION_FLAGS='-ffunction-sections -fdata-sections'
46286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
46287 $as_echo "$ac_fdsections" >&6; }
46289 ac_ext=c
46290 ac_cpp='$CPP $CPPFLAGS'
46291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46299 # If we're not using GNU ld, then there's no point in even trying these
46300 # tests. Check for that first. We should have already tested for gld
46301 # by now (in libtool), but require it now just to be safe...
46302 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
46303 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
46307 # The name set by libtool depends on the version of libtool. Shame on us
46308 # for depending on an impl detail, but c'est la vie. Older versions used
46309 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
46310 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
46311 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
46312 # set (hence we're using an older libtool), then set it.
46313 if test x${with_gnu_ld+set} != xset; then
46314 if test x${ac_cv_prog_gnu_ld+set} != xset; then
46315 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
46316 with_gnu_ld=no
46317 else
46318 with_gnu_ld=$ac_cv_prog_gnu_ld
46322 # Start by getting the version number. I think the libtool test already
46323 # does some of this, but throws away the result.
46324 glibcxx_ld_is_gold=no
46325 if test x"$with_gnu_ld" = x"yes"; then
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
46327 $as_echo_n "checking for ld version... " >&6; }
46329 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
46330 glibcxx_ld_is_gold=yes
46332 ldver=`$LD --version 2>/dev/null |
46333 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'`
46335 glibcxx_gnu_ld_version=`echo $ldver | \
46336 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
46337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
46338 $as_echo "$glibcxx_gnu_ld_version" >&6; }
46341 # Set --gc-sections.
46342 glibcxx_have_gc_sections=no
46343 if test "$glibcxx_ld_is_gold" = "yes"; then
46344 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
46345 glibcxx_have_gc_sections=yes
46347 else
46348 glibcxx_gcsections_min_ld=21602
46349 if test x"$with_gnu_ld" = x"yes" &&
46350 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
46351 glibcxx_have_gc_sections=yes
46354 if test "$glibcxx_have_gc_sections" = "yes"; then
46355 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
46356 # NB: This flag only works reliably after 2.16.1. Configure tests
46357 # for this are difficult, so hard wire a value that should work.
46359 ac_test_CFLAGS="${CFLAGS+set}"
46360 ac_save_CFLAGS="$CFLAGS"
46361 CFLAGS='-Wl,--gc-sections'
46363 # Check for -Wl,--gc-sections
46364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
46365 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
46366 if test x$gcc_no_link = xyes; then
46367 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46370 /* end confdefs.h. */
46371 int one(void) { return 1; }
46372 int two(void) { return 2; }
46375 main ()
46377 two();
46379 return 0;
46381 _ACEOF
46382 if ac_fn_c_try_link "$LINENO"; then :
46383 ac_gcsections=yes
46384 else
46385 ac_gcsections=no
46387 rm -f core conftest.err conftest.$ac_objext \
46388 conftest$ac_exeext conftest.$ac_ext
46389 if test "$ac_gcsections" = "yes"; then
46390 rm -f conftest.c
46391 touch conftest.c
46392 if $CC -c conftest.c; then
46393 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
46394 grep "Warning: gc-sections option ignored" > /dev/null; then
46395 ac_gcsections=no
46398 rm -f conftest.c conftest.o conftest
46400 if test "$ac_gcsections" = "yes"; then
46401 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
46403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
46404 $as_echo "$ac_gcsections" >&6; }
46406 if test "$ac_test_CFLAGS" = set; then
46407 CFLAGS="$ac_save_CFLAGS"
46408 else
46409 # this is the suspicious part
46410 CFLAGS=''
46414 # Set -z,relro.
46415 # Note this is only for shared objects.
46416 ac_ld_relro=no
46417 if test x"$with_gnu_ld" = x"yes"; then
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
46419 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
46420 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
46421 if test -n "$cxx_z_relo"; then
46422 OPT_LDFLAGS="-Wl,-z,relro"
46423 ac_ld_relro=yes
46425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
46426 $as_echo "$ac_ld_relro" >&6; }
46429 # Set linker optimization flags.
46430 if test x"$with_gnu_ld" = x"yes"; then
46431 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
46438 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46439 ac_save_CXXFLAGS="$CXXFLAGS"
46440 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46443 $as_echo_n "checking for sin in -lm... " >&6; }
46444 if test "${ac_cv_lib_m_sin+set}" = set; then :
46445 $as_echo_n "(cached) " >&6
46446 else
46447 ac_check_lib_save_LIBS=$LIBS
46448 LIBS="-lm $LIBS"
46449 if test x$gcc_no_link = xyes; then
46450 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46453 /* end confdefs.h. */
46455 /* Override any GCC internal prototype to avoid an error.
46456 Use char because int might match the return type of a GCC
46457 builtin and then its argument prototype would still apply. */
46458 #ifdef __cplusplus
46459 extern "C"
46460 #endif
46461 char sin ();
46463 main ()
46465 return sin ();
46467 return 0;
46469 _ACEOF
46470 if ac_fn_c_try_link "$LINENO"; then :
46471 ac_cv_lib_m_sin=yes
46472 else
46473 ac_cv_lib_m_sin=no
46475 rm -f core conftest.err conftest.$ac_objext \
46476 conftest$ac_exeext conftest.$ac_ext
46477 LIBS=$ac_check_lib_save_LIBS
46479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46480 $as_echo "$ac_cv_lib_m_sin" >&6; }
46481 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46482 libm="-lm"
46485 ac_save_LIBS="$LIBS"
46486 LIBS="$LIBS $libm"
46490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46491 $as_echo_n "checking for isinf declaration... " >&6; }
46492 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46493 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46494 $as_echo_n "(cached) " >&6
46495 else
46498 ac_ext=cpp
46499 ac_cpp='$CXXCPP $CPPFLAGS'
46500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46505 /* end confdefs.h. */
46506 #include <math.h>
46507 #ifdef HAVE_IEEEFP_H
46508 #include <ieeefp.h>
46509 #endif
46512 main ()
46514 isinf(0);
46516 return 0;
46518 _ACEOF
46519 if ac_fn_cxx_try_compile "$LINENO"; then :
46520 glibcxx_cv_func_isinf_use=yes
46521 else
46522 glibcxx_cv_func_isinf_use=no
46524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46525 ac_ext=c
46526 ac_cpp='$CPP $CPPFLAGS'
46527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46536 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46538 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46539 for ac_func in isinf
46540 do :
46541 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46542 if test "x$ac_cv_func_isinf" = x""yes; then :
46543 cat >>confdefs.h <<_ACEOF
46544 #define HAVE_ISINF 1
46545 _ACEOF
46548 done
46550 else
46552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46553 $as_echo_n "checking for _isinf declaration... " >&6; }
46554 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46555 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46556 $as_echo_n "(cached) " >&6
46557 else
46560 ac_ext=cpp
46561 ac_cpp='$CXXCPP $CPPFLAGS'
46562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46567 /* end confdefs.h. */
46568 #include <math.h>
46569 #ifdef HAVE_IEEEFP_H
46570 #include <ieeefp.h>
46571 #endif
46574 main ()
46576 _isinf(0);
46578 return 0;
46580 _ACEOF
46581 if ac_fn_cxx_try_compile "$LINENO"; then :
46582 glibcxx_cv_func__isinf_use=yes
46583 else
46584 glibcxx_cv_func__isinf_use=no
46586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46587 ac_ext=c
46588 ac_cpp='$CPP $CPPFLAGS'
46589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46598 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46600 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46601 for ac_func in _isinf
46602 do :
46603 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46604 if test "x$ac_cv_func__isinf" = x""yes; then :
46605 cat >>confdefs.h <<_ACEOF
46606 #define HAVE__ISINF 1
46607 _ACEOF
46610 done
46619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46620 $as_echo_n "checking for isnan declaration... " >&6; }
46621 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46622 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46623 $as_echo_n "(cached) " >&6
46624 else
46627 ac_ext=cpp
46628 ac_cpp='$CXXCPP $CPPFLAGS'
46629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46634 /* end confdefs.h. */
46635 #include <math.h>
46636 #ifdef HAVE_IEEEFP_H
46637 #include <ieeefp.h>
46638 #endif
46641 main ()
46643 isnan(0);
46645 return 0;
46647 _ACEOF
46648 if ac_fn_cxx_try_compile "$LINENO"; then :
46649 glibcxx_cv_func_isnan_use=yes
46650 else
46651 glibcxx_cv_func_isnan_use=no
46653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46654 ac_ext=c
46655 ac_cpp='$CPP $CPPFLAGS'
46656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46665 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46667 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46668 for ac_func in isnan
46669 do :
46670 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46671 if test "x$ac_cv_func_isnan" = x""yes; then :
46672 cat >>confdefs.h <<_ACEOF
46673 #define HAVE_ISNAN 1
46674 _ACEOF
46677 done
46679 else
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46682 $as_echo_n "checking for _isnan declaration... " >&6; }
46683 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46684 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46685 $as_echo_n "(cached) " >&6
46686 else
46689 ac_ext=cpp
46690 ac_cpp='$CXXCPP $CPPFLAGS'
46691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46696 /* end confdefs.h. */
46697 #include <math.h>
46698 #ifdef HAVE_IEEEFP_H
46699 #include <ieeefp.h>
46700 #endif
46703 main ()
46705 _isnan(0);
46707 return 0;
46709 _ACEOF
46710 if ac_fn_cxx_try_compile "$LINENO"; then :
46711 glibcxx_cv_func__isnan_use=yes
46712 else
46713 glibcxx_cv_func__isnan_use=no
46715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46716 ac_ext=c
46717 ac_cpp='$CPP $CPPFLAGS'
46718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46727 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46729 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46730 for ac_func in _isnan
46731 do :
46732 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46733 if test "x$ac_cv_func__isnan" = x""yes; then :
46734 cat >>confdefs.h <<_ACEOF
46735 #define HAVE__ISNAN 1
46736 _ACEOF
46739 done
46748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46749 $as_echo_n "checking for finite declaration... " >&6; }
46750 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46751 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46752 $as_echo_n "(cached) " >&6
46753 else
46756 ac_ext=cpp
46757 ac_cpp='$CXXCPP $CPPFLAGS'
46758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46763 /* end confdefs.h. */
46764 #include <math.h>
46765 #ifdef HAVE_IEEEFP_H
46766 #include <ieeefp.h>
46767 #endif
46770 main ()
46772 finite(0);
46774 return 0;
46776 _ACEOF
46777 if ac_fn_cxx_try_compile "$LINENO"; then :
46778 glibcxx_cv_func_finite_use=yes
46779 else
46780 glibcxx_cv_func_finite_use=no
46782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46783 ac_ext=c
46784 ac_cpp='$CPP $CPPFLAGS'
46785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46794 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46796 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46797 for ac_func in finite
46798 do :
46799 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46800 if test "x$ac_cv_func_finite" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define HAVE_FINITE 1
46803 _ACEOF
46806 done
46808 else
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46811 $as_echo_n "checking for _finite declaration... " >&6; }
46812 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46813 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46814 $as_echo_n "(cached) " >&6
46815 else
46818 ac_ext=cpp
46819 ac_cpp='$CXXCPP $CPPFLAGS'
46820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46825 /* end confdefs.h. */
46826 #include <math.h>
46827 #ifdef HAVE_IEEEFP_H
46828 #include <ieeefp.h>
46829 #endif
46832 main ()
46834 _finite(0);
46836 return 0;
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func__finite_use=yes
46841 else
46842 glibcxx_cv_func__finite_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__finite_use" >&5
46856 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46858 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46859 for ac_func in _finite
46860 do :
46861 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46862 if test "x$ac_cv_func__finite" = x""yes; then :
46863 cat >>confdefs.h <<_ACEOF
46864 #define HAVE__FINITE 1
46865 _ACEOF
46868 done
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46878 $as_echo_n "checking for sincos declaration... " >&6; }
46879 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46880 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46881 $as_echo_n "(cached) " >&6
46882 else
46885 ac_ext=cpp
46886 ac_cpp='$CXXCPP $CPPFLAGS'
46887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46892 /* end confdefs.h. */
46893 #include <math.h>
46895 main ()
46897 sincos(0, 0, 0);
46899 return 0;
46901 _ACEOF
46902 if ac_fn_cxx_try_compile "$LINENO"; then :
46903 glibcxx_cv_func_sincos_use=yes
46904 else
46905 glibcxx_cv_func_sincos_use=no
46907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46908 ac_ext=c
46909 ac_cpp='$CPP $CPPFLAGS'
46910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46919 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46921 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46922 for ac_func in sincos
46923 do :
46924 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46925 if test "x$ac_cv_func_sincos" = x""yes; then :
46926 cat >>confdefs.h <<_ACEOF
46927 #define HAVE_SINCOS 1
46928 _ACEOF
46931 done
46933 else
46935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46936 $as_echo_n "checking for _sincos declaration... " >&6; }
46937 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46938 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46939 $as_echo_n "(cached) " >&6
46940 else
46943 ac_ext=cpp
46944 ac_cpp='$CXXCPP $CPPFLAGS'
46945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46950 /* end confdefs.h. */
46951 #include <math.h>
46953 main ()
46955 _sincos(0, 0, 0);
46957 return 0;
46959 _ACEOF
46960 if ac_fn_cxx_try_compile "$LINENO"; then :
46961 glibcxx_cv_func__sincos_use=yes
46962 else
46963 glibcxx_cv_func__sincos_use=no
46965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46966 ac_ext=c
46967 ac_cpp='$CPP $CPPFLAGS'
46968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46977 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46979 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46980 for ac_func in _sincos
46981 do :
46982 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46983 if test "x$ac_cv_func__sincos" = x""yes; then :
46984 cat >>confdefs.h <<_ACEOF
46985 #define HAVE__SINCOS 1
46986 _ACEOF
46989 done
46998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46999 $as_echo_n "checking for fpclass declaration... " >&6; }
47000 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47001 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47002 $as_echo_n "(cached) " >&6
47003 else
47006 ac_ext=cpp
47007 ac_cpp='$CXXCPP $CPPFLAGS'
47008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47013 /* end confdefs.h. */
47014 #include <math.h>
47015 #ifdef HAVE_IEEEFP_H
47016 #include <ieeefp.h>
47017 #endif
47020 main ()
47022 fpclass(0);
47024 return 0;
47026 _ACEOF
47027 if ac_fn_cxx_try_compile "$LINENO"; then :
47028 glibcxx_cv_func_fpclass_use=yes
47029 else
47030 glibcxx_cv_func_fpclass_use=no
47032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47033 ac_ext=c
47034 ac_cpp='$CPP $CPPFLAGS'
47035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47044 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47046 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47047 for ac_func in fpclass
47048 do :
47049 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47050 if test "x$ac_cv_func_fpclass" = x""yes; then :
47051 cat >>confdefs.h <<_ACEOF
47052 #define HAVE_FPCLASS 1
47053 _ACEOF
47056 done
47058 else
47060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47061 $as_echo_n "checking for _fpclass declaration... " >&6; }
47062 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47063 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47064 $as_echo_n "(cached) " >&6
47065 else
47068 ac_ext=cpp
47069 ac_cpp='$CXXCPP $CPPFLAGS'
47070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47075 /* end confdefs.h. */
47076 #include <math.h>
47077 #ifdef HAVE_IEEEFP_H
47078 #include <ieeefp.h>
47079 #endif
47082 main ()
47084 _fpclass(0);
47086 return 0;
47088 _ACEOF
47089 if ac_fn_cxx_try_compile "$LINENO"; then :
47090 glibcxx_cv_func__fpclass_use=yes
47091 else
47092 glibcxx_cv_func__fpclass_use=no
47094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47095 ac_ext=c
47096 ac_cpp='$CPP $CPPFLAGS'
47097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47106 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47108 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47109 for ac_func in _fpclass
47110 do :
47111 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47112 if test "x$ac_cv_func__fpclass" = x""yes; then :
47113 cat >>confdefs.h <<_ACEOF
47114 #define HAVE__FPCLASS 1
47115 _ACEOF
47118 done
47127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47128 $as_echo_n "checking for qfpclass declaration... " >&6; }
47129 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47130 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47131 $as_echo_n "(cached) " >&6
47132 else
47135 ac_ext=cpp
47136 ac_cpp='$CXXCPP $CPPFLAGS'
47137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47142 /* end confdefs.h. */
47143 #include <math.h>
47144 #ifdef HAVE_IEEEFP_H
47145 #include <ieeefp.h>
47146 #endif
47149 main ()
47151 qfpclass(0);
47153 return 0;
47155 _ACEOF
47156 if ac_fn_cxx_try_compile "$LINENO"; then :
47157 glibcxx_cv_func_qfpclass_use=yes
47158 else
47159 glibcxx_cv_func_qfpclass_use=no
47161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47162 ac_ext=c
47163 ac_cpp='$CPP $CPPFLAGS'
47164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47173 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47175 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47176 for ac_func in qfpclass
47177 do :
47178 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47179 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47180 cat >>confdefs.h <<_ACEOF
47181 #define HAVE_QFPCLASS 1
47182 _ACEOF
47185 done
47187 else
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47190 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47191 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47192 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47193 $as_echo_n "(cached) " >&6
47194 else
47197 ac_ext=cpp
47198 ac_cpp='$CXXCPP $CPPFLAGS'
47199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47204 /* end confdefs.h. */
47205 #include <math.h>
47206 #ifdef HAVE_IEEEFP_H
47207 #include <ieeefp.h>
47208 #endif
47211 main ()
47213 _qfpclass(0);
47215 return 0;
47217 _ACEOF
47218 if ac_fn_cxx_try_compile "$LINENO"; then :
47219 glibcxx_cv_func__qfpclass_use=yes
47220 else
47221 glibcxx_cv_func__qfpclass_use=no
47223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47224 ac_ext=c
47225 ac_cpp='$CPP $CPPFLAGS'
47226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47235 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47237 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47238 for ac_func in _qfpclass
47239 do :
47240 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47241 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47242 cat >>confdefs.h <<_ACEOF
47243 #define HAVE__QFPCLASS 1
47244 _ACEOF
47247 done
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47257 $as_echo_n "checking for hypot declaration... " >&6; }
47258 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47259 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47260 $as_echo_n "(cached) " >&6
47261 else
47264 ac_ext=cpp
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271 /* end confdefs.h. */
47272 #include <math.h>
47274 main ()
47276 hypot(0, 0);
47278 return 0;
47280 _ACEOF
47281 if ac_fn_cxx_try_compile "$LINENO"; then :
47282 glibcxx_cv_func_hypot_use=yes
47283 else
47284 glibcxx_cv_func_hypot_use=no
47286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47287 ac_ext=c
47288 ac_cpp='$CPP $CPPFLAGS'
47289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
47298 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
47300 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47301 for ac_func in hypot
47302 do :
47303 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
47304 if test "x$ac_cv_func_hypot" = x""yes; then :
47305 cat >>confdefs.h <<_ACEOF
47306 #define HAVE_HYPOT 1
47307 _ACEOF
47310 done
47312 else
47314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
47315 $as_echo_n "checking for _hypot declaration... " >&6; }
47316 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47317 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
47318 $as_echo_n "(cached) " >&6
47319 else
47322 ac_ext=cpp
47323 ac_cpp='$CXXCPP $CPPFLAGS'
47324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47329 /* end confdefs.h. */
47330 #include <math.h>
47332 main ()
47334 _hypot(0, 0);
47336 return 0;
47338 _ACEOF
47339 if ac_fn_cxx_try_compile "$LINENO"; then :
47340 glibcxx_cv_func__hypot_use=yes
47341 else
47342 glibcxx_cv_func__hypot_use=no
47344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47345 ac_ext=c
47346 ac_cpp='$CPP $CPPFLAGS'
47347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47356 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47358 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47359 for ac_func in _hypot
47360 do :
47361 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47362 if test "x$ac_cv_func__hypot" = x""yes; then :
47363 cat >>confdefs.h <<_ACEOF
47364 #define HAVE__HYPOT 1
47365 _ACEOF
47368 done
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47378 $as_echo_n "checking for float trig functions... " >&6; }
47379 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47380 $as_echo_n "(cached) " >&6
47381 else
47384 ac_ext=cpp
47385 ac_cpp='$CXXCPP $CPPFLAGS'
47386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47391 /* end confdefs.h. */
47392 #include <math.h>
47394 main ()
47396 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47398 return 0;
47400 _ACEOF
47401 if ac_fn_cxx_try_compile "$LINENO"; then :
47402 glibcxx_cv_func_float_trig_use=yes
47403 else
47404 glibcxx_cv_func_float_trig_use=no
47406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47407 ac_ext=c
47408 ac_cpp='$CPP $CPPFLAGS'
47409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47416 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47417 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47418 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47419 do :
47420 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47421 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47422 eval as_val=\$$as_ac_var
47423 if test "x$as_val" = x""yes; then :
47424 cat >>confdefs.h <<_ACEOF
47425 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47426 _ACEOF
47429 done
47431 else
47432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47433 $as_echo_n "checking for _float trig functions... " >&6; }
47434 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47435 $as_echo_n "(cached) " >&6
47436 else
47439 ac_ext=cpp
47440 ac_cpp='$CXXCPP $CPPFLAGS'
47441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47446 /* end confdefs.h. */
47447 #include <math.h>
47449 main ()
47451 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47453 return 0;
47455 _ACEOF
47456 if ac_fn_cxx_try_compile "$LINENO"; then :
47457 glibcxx_cv_func__float_trig_use=yes
47458 else
47459 glibcxx_cv_func__float_trig_use=no
47461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47462 ac_ext=c
47463 ac_cpp='$CPP $CPPFLAGS'
47464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47471 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47472 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47473 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47474 do :
47475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47477 eval as_val=\$$as_ac_var
47478 if test "x$as_val" = x""yes; then :
47479 cat >>confdefs.h <<_ACEOF
47480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47481 _ACEOF
47484 done
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47494 $as_echo_n "checking for float round functions... " >&6; }
47495 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47496 $as_echo_n "(cached) " >&6
47497 else
47500 ac_ext=cpp
47501 ac_cpp='$CXXCPP $CPPFLAGS'
47502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47507 /* end confdefs.h. */
47508 #include <math.h>
47510 main ()
47512 ceilf (0); floorf (0);
47514 return 0;
47516 _ACEOF
47517 if ac_fn_cxx_try_compile "$LINENO"; then :
47518 glibcxx_cv_func_float_round_use=yes
47519 else
47520 glibcxx_cv_func_float_round_use=no
47522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47523 ac_ext=c
47524 ac_cpp='$CPP $CPPFLAGS'
47525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47532 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47533 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47534 for ac_func in ceilf floorf
47535 do :
47536 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47537 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47538 eval as_val=\$$as_ac_var
47539 if test "x$as_val" = x""yes; then :
47540 cat >>confdefs.h <<_ACEOF
47541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47542 _ACEOF
47545 done
47547 else
47548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47549 $as_echo_n "checking for _float round functions... " >&6; }
47550 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47551 $as_echo_n "(cached) " >&6
47552 else
47555 ac_ext=cpp
47556 ac_cpp='$CXXCPP $CPPFLAGS'
47557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47562 /* end confdefs.h. */
47563 #include <math.h>
47565 main ()
47567 _ceilf (0); _floorf (0);
47569 return 0;
47571 _ACEOF
47572 if ac_fn_cxx_try_compile "$LINENO"; then :
47573 glibcxx_cv_func__float_round_use=yes
47574 else
47575 glibcxx_cv_func__float_round_use=no
47577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47578 ac_ext=c
47579 ac_cpp='$CPP $CPPFLAGS'
47580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47587 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47588 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47589 for ac_func in _ceilf _floorf
47590 do :
47591 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47592 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47593 eval as_val=\$$as_ac_var
47594 if test "x$as_val" = x""yes; then :
47595 cat >>confdefs.h <<_ACEOF
47596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47597 _ACEOF
47600 done
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47611 $as_echo_n "checking for expf declaration... " >&6; }
47612 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47613 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47614 $as_echo_n "(cached) " >&6
47615 else
47618 ac_ext=cpp
47619 ac_cpp='$CXXCPP $CPPFLAGS'
47620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47625 /* end confdefs.h. */
47626 #include <math.h>
47627 #ifdef HAVE_IEEEFP_H
47628 #include <ieeefp.h>
47629 #endif
47632 main ()
47634 expf(0);
47636 return 0;
47638 _ACEOF
47639 if ac_fn_cxx_try_compile "$LINENO"; then :
47640 glibcxx_cv_func_expf_use=yes
47641 else
47642 glibcxx_cv_func_expf_use=no
47644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47645 ac_ext=c
47646 ac_cpp='$CPP $CPPFLAGS'
47647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47656 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47658 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47659 for ac_func in expf
47660 do :
47661 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47662 if test "x$ac_cv_func_expf" = x""yes; then :
47663 cat >>confdefs.h <<_ACEOF
47664 #define HAVE_EXPF 1
47665 _ACEOF
47668 done
47670 else
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47673 $as_echo_n "checking for _expf declaration... " >&6; }
47674 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47675 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47676 $as_echo_n "(cached) " >&6
47677 else
47680 ac_ext=cpp
47681 ac_cpp='$CXXCPP $CPPFLAGS'
47682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47687 /* end confdefs.h. */
47688 #include <math.h>
47689 #ifdef HAVE_IEEEFP_H
47690 #include <ieeefp.h>
47691 #endif
47694 main ()
47696 _expf(0);
47698 return 0;
47700 _ACEOF
47701 if ac_fn_cxx_try_compile "$LINENO"; then :
47702 glibcxx_cv_func__expf_use=yes
47703 else
47704 glibcxx_cv_func__expf_use=no
47706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47707 ac_ext=c
47708 ac_cpp='$CPP $CPPFLAGS'
47709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47718 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47720 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47721 for ac_func in _expf
47722 do :
47723 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47724 if test "x$ac_cv_func__expf" = x""yes; then :
47725 cat >>confdefs.h <<_ACEOF
47726 #define HAVE__EXPF 1
47727 _ACEOF
47730 done
47739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47740 $as_echo_n "checking for isnanf declaration... " >&6; }
47741 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47742 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47743 $as_echo_n "(cached) " >&6
47744 else
47747 ac_ext=cpp
47748 ac_cpp='$CXXCPP $CPPFLAGS'
47749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47754 /* end confdefs.h. */
47755 #include <math.h>
47756 #ifdef HAVE_IEEEFP_H
47757 #include <ieeefp.h>
47758 #endif
47761 main ()
47763 isnanf(0);
47765 return 0;
47767 _ACEOF
47768 if ac_fn_cxx_try_compile "$LINENO"; then :
47769 glibcxx_cv_func_isnanf_use=yes
47770 else
47771 glibcxx_cv_func_isnanf_use=no
47773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47774 ac_ext=c
47775 ac_cpp='$CPP $CPPFLAGS'
47776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47785 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47787 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47788 for ac_func in isnanf
47789 do :
47790 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47791 if test "x$ac_cv_func_isnanf" = x""yes; then :
47792 cat >>confdefs.h <<_ACEOF
47793 #define HAVE_ISNANF 1
47794 _ACEOF
47797 done
47799 else
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47802 $as_echo_n "checking for _isnanf declaration... " >&6; }
47803 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47804 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47805 $as_echo_n "(cached) " >&6
47806 else
47809 ac_ext=cpp
47810 ac_cpp='$CXXCPP $CPPFLAGS'
47811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47816 /* end confdefs.h. */
47817 #include <math.h>
47818 #ifdef HAVE_IEEEFP_H
47819 #include <ieeefp.h>
47820 #endif
47823 main ()
47825 _isnanf(0);
47827 return 0;
47829 _ACEOF
47830 if ac_fn_cxx_try_compile "$LINENO"; then :
47831 glibcxx_cv_func__isnanf_use=yes
47832 else
47833 glibcxx_cv_func__isnanf_use=no
47835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47836 ac_ext=c
47837 ac_cpp='$CPP $CPPFLAGS'
47838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47847 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47849 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47850 for ac_func in _isnanf
47851 do :
47852 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47853 if test "x$ac_cv_func__isnanf" = x""yes; then :
47854 cat >>confdefs.h <<_ACEOF
47855 #define HAVE__ISNANF 1
47856 _ACEOF
47859 done
47868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47869 $as_echo_n "checking for isinff declaration... " >&6; }
47870 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47871 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47872 $as_echo_n "(cached) " >&6
47873 else
47876 ac_ext=cpp
47877 ac_cpp='$CXXCPP $CPPFLAGS'
47878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47883 /* end confdefs.h. */
47884 #include <math.h>
47885 #ifdef HAVE_IEEEFP_H
47886 #include <ieeefp.h>
47887 #endif
47890 main ()
47892 isinff(0);
47894 return 0;
47896 _ACEOF
47897 if ac_fn_cxx_try_compile "$LINENO"; then :
47898 glibcxx_cv_func_isinff_use=yes
47899 else
47900 glibcxx_cv_func_isinff_use=no
47902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47903 ac_ext=c
47904 ac_cpp='$CPP $CPPFLAGS'
47905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47914 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47916 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47917 for ac_func in isinff
47918 do :
47919 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47920 if test "x$ac_cv_func_isinff" = x""yes; then :
47921 cat >>confdefs.h <<_ACEOF
47922 #define HAVE_ISINFF 1
47923 _ACEOF
47926 done
47928 else
47930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47931 $as_echo_n "checking for _isinff declaration... " >&6; }
47932 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47933 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47934 $as_echo_n "(cached) " >&6
47935 else
47938 ac_ext=cpp
47939 ac_cpp='$CXXCPP $CPPFLAGS'
47940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47945 /* end confdefs.h. */
47946 #include <math.h>
47947 #ifdef HAVE_IEEEFP_H
47948 #include <ieeefp.h>
47949 #endif
47952 main ()
47954 _isinff(0);
47956 return 0;
47958 _ACEOF
47959 if ac_fn_cxx_try_compile "$LINENO"; then :
47960 glibcxx_cv_func__isinff_use=yes
47961 else
47962 glibcxx_cv_func__isinff_use=no
47964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47965 ac_ext=c
47966 ac_cpp='$CPP $CPPFLAGS'
47967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47976 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47978 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47979 for ac_func in _isinff
47980 do :
47981 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47982 if test "x$ac_cv_func__isinff" = x""yes; then :
47983 cat >>confdefs.h <<_ACEOF
47984 #define HAVE__ISINFF 1
47985 _ACEOF
47988 done
47997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47998 $as_echo_n "checking for atan2f declaration... " >&6; }
47999 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48000 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48001 $as_echo_n "(cached) " >&6
48002 else
48005 ac_ext=cpp
48006 ac_cpp='$CXXCPP $CPPFLAGS'
48007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48012 /* end confdefs.h. */
48013 #include <math.h>
48015 main ()
48017 atan2f(0, 0);
48019 return 0;
48021 _ACEOF
48022 if ac_fn_cxx_try_compile "$LINENO"; then :
48023 glibcxx_cv_func_atan2f_use=yes
48024 else
48025 glibcxx_cv_func_atan2f_use=no
48027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48028 ac_ext=c
48029 ac_cpp='$CPP $CPPFLAGS'
48030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48039 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48041 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48042 for ac_func in atan2f
48043 do :
48044 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48045 if test "x$ac_cv_func_atan2f" = x""yes; then :
48046 cat >>confdefs.h <<_ACEOF
48047 #define HAVE_ATAN2F 1
48048 _ACEOF
48051 done
48053 else
48055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48056 $as_echo_n "checking for _atan2f declaration... " >&6; }
48057 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48058 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48059 $as_echo_n "(cached) " >&6
48060 else
48063 ac_ext=cpp
48064 ac_cpp='$CXXCPP $CPPFLAGS'
48065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48070 /* end confdefs.h. */
48071 #include <math.h>
48073 main ()
48075 _atan2f(0, 0);
48077 return 0;
48079 _ACEOF
48080 if ac_fn_cxx_try_compile "$LINENO"; then :
48081 glibcxx_cv_func__atan2f_use=yes
48082 else
48083 glibcxx_cv_func__atan2f_use=no
48085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48086 ac_ext=c
48087 ac_cpp='$CPP $CPPFLAGS'
48088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48097 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48099 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48100 for ac_func in _atan2f
48101 do :
48102 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48103 if test "x$ac_cv_func__atan2f" = x""yes; then :
48104 cat >>confdefs.h <<_ACEOF
48105 #define HAVE__ATAN2F 1
48106 _ACEOF
48109 done
48118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48119 $as_echo_n "checking for fabsf declaration... " >&6; }
48120 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48121 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48122 $as_echo_n "(cached) " >&6
48123 else
48126 ac_ext=cpp
48127 ac_cpp='$CXXCPP $CPPFLAGS'
48128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48133 /* end confdefs.h. */
48134 #include <math.h>
48135 #ifdef HAVE_IEEEFP_H
48136 #include <ieeefp.h>
48137 #endif
48140 main ()
48142 fabsf(0);
48144 return 0;
48146 _ACEOF
48147 if ac_fn_cxx_try_compile "$LINENO"; then :
48148 glibcxx_cv_func_fabsf_use=yes
48149 else
48150 glibcxx_cv_func_fabsf_use=no
48152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48153 ac_ext=c
48154 ac_cpp='$CPP $CPPFLAGS'
48155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48164 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48166 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48167 for ac_func in fabsf
48168 do :
48169 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48170 if test "x$ac_cv_func_fabsf" = x""yes; then :
48171 cat >>confdefs.h <<_ACEOF
48172 #define HAVE_FABSF 1
48173 _ACEOF
48176 done
48178 else
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48181 $as_echo_n "checking for _fabsf declaration... " >&6; }
48182 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48183 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48184 $as_echo_n "(cached) " >&6
48185 else
48188 ac_ext=cpp
48189 ac_cpp='$CXXCPP $CPPFLAGS'
48190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48195 /* end confdefs.h. */
48196 #include <math.h>
48197 #ifdef HAVE_IEEEFP_H
48198 #include <ieeefp.h>
48199 #endif
48202 main ()
48204 _fabsf(0);
48206 return 0;
48208 _ACEOF
48209 if ac_fn_cxx_try_compile "$LINENO"; then :
48210 glibcxx_cv_func__fabsf_use=yes
48211 else
48212 glibcxx_cv_func__fabsf_use=no
48214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48215 ac_ext=c
48216 ac_cpp='$CPP $CPPFLAGS'
48217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48226 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48228 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48229 for ac_func in _fabsf
48230 do :
48231 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48232 if test "x$ac_cv_func__fabsf" = x""yes; then :
48233 cat >>confdefs.h <<_ACEOF
48234 #define HAVE__FABSF 1
48235 _ACEOF
48238 done
48247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48248 $as_echo_n "checking for fmodf declaration... " >&6; }
48249 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48250 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48251 $as_echo_n "(cached) " >&6
48252 else
48255 ac_ext=cpp
48256 ac_cpp='$CXXCPP $CPPFLAGS'
48257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48262 /* end confdefs.h. */
48263 #include <math.h>
48265 main ()
48267 fmodf(0, 0);
48269 return 0;
48271 _ACEOF
48272 if ac_fn_cxx_try_compile "$LINENO"; then :
48273 glibcxx_cv_func_fmodf_use=yes
48274 else
48275 glibcxx_cv_func_fmodf_use=no
48277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48278 ac_ext=c
48279 ac_cpp='$CPP $CPPFLAGS'
48280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48289 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
48291 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
48292 for ac_func in fmodf
48293 do :
48294 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
48295 if test "x$ac_cv_func_fmodf" = x""yes; then :
48296 cat >>confdefs.h <<_ACEOF
48297 #define HAVE_FMODF 1
48298 _ACEOF
48301 done
48303 else
48305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
48306 $as_echo_n "checking for _fmodf declaration... " >&6; }
48307 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48308 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
48309 $as_echo_n "(cached) " >&6
48310 else
48313 ac_ext=cpp
48314 ac_cpp='$CXXCPP $CPPFLAGS'
48315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48320 /* end confdefs.h. */
48321 #include <math.h>
48323 main ()
48325 _fmodf(0, 0);
48327 return 0;
48329 _ACEOF
48330 if ac_fn_cxx_try_compile "$LINENO"; then :
48331 glibcxx_cv_func__fmodf_use=yes
48332 else
48333 glibcxx_cv_func__fmodf_use=no
48335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48336 ac_ext=c
48337 ac_cpp='$CPP $CPPFLAGS'
48338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
48347 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
48349 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48350 for ac_func in _fmodf
48351 do :
48352 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48353 if test "x$ac_cv_func__fmodf" = x""yes; then :
48354 cat >>confdefs.h <<_ACEOF
48355 #define HAVE__FMODF 1
48356 _ACEOF
48359 done
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48369 $as_echo_n "checking for frexpf declaration... " >&6; }
48370 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48371 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48372 $as_echo_n "(cached) " >&6
48373 else
48376 ac_ext=cpp
48377 ac_cpp='$CXXCPP $CPPFLAGS'
48378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48383 /* end confdefs.h. */
48384 #include <math.h>
48386 main ()
48388 frexpf(0, 0);
48390 return 0;
48392 _ACEOF
48393 if ac_fn_cxx_try_compile "$LINENO"; then :
48394 glibcxx_cv_func_frexpf_use=yes
48395 else
48396 glibcxx_cv_func_frexpf_use=no
48398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48399 ac_ext=c
48400 ac_cpp='$CPP $CPPFLAGS'
48401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48410 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48412 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48413 for ac_func in frexpf
48414 do :
48415 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48416 if test "x$ac_cv_func_frexpf" = x""yes; then :
48417 cat >>confdefs.h <<_ACEOF
48418 #define HAVE_FREXPF 1
48419 _ACEOF
48422 done
48424 else
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48427 $as_echo_n "checking for _frexpf declaration... " >&6; }
48428 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48429 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48430 $as_echo_n "(cached) " >&6
48431 else
48434 ac_ext=cpp
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48441 /* end confdefs.h. */
48442 #include <math.h>
48444 main ()
48446 _frexpf(0, 0);
48448 return 0;
48450 _ACEOF
48451 if ac_fn_cxx_try_compile "$LINENO"; then :
48452 glibcxx_cv_func__frexpf_use=yes
48453 else
48454 glibcxx_cv_func__frexpf_use=no
48456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48468 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48470 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48471 for ac_func in _frexpf
48472 do :
48473 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48474 if test "x$ac_cv_func__frexpf" = x""yes; then :
48475 cat >>confdefs.h <<_ACEOF
48476 #define HAVE__FREXPF 1
48477 _ACEOF
48480 done
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48490 $as_echo_n "checking for hypotf declaration... " >&6; }
48491 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48492 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48493 $as_echo_n "(cached) " >&6
48494 else
48497 ac_ext=cpp
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48504 /* end confdefs.h. */
48505 #include <math.h>
48507 main ()
48509 hypotf(0, 0);
48511 return 0;
48513 _ACEOF
48514 if ac_fn_cxx_try_compile "$LINENO"; then :
48515 glibcxx_cv_func_hypotf_use=yes
48516 else
48517 glibcxx_cv_func_hypotf_use=no
48519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48520 ac_ext=c
48521 ac_cpp='$CPP $CPPFLAGS'
48522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48531 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48533 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48534 for ac_func in hypotf
48535 do :
48536 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48537 if test "x$ac_cv_func_hypotf" = x""yes; then :
48538 cat >>confdefs.h <<_ACEOF
48539 #define HAVE_HYPOTF 1
48540 _ACEOF
48543 done
48545 else
48547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48548 $as_echo_n "checking for _hypotf declaration... " >&6; }
48549 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48550 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48551 $as_echo_n "(cached) " >&6
48552 else
48555 ac_ext=cpp
48556 ac_cpp='$CXXCPP $CPPFLAGS'
48557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48562 /* end confdefs.h. */
48563 #include <math.h>
48565 main ()
48567 _hypotf(0, 0);
48569 return 0;
48571 _ACEOF
48572 if ac_fn_cxx_try_compile "$LINENO"; then :
48573 glibcxx_cv_func__hypotf_use=yes
48574 else
48575 glibcxx_cv_func__hypotf_use=no
48577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48578 ac_ext=c
48579 ac_cpp='$CPP $CPPFLAGS'
48580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48589 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48591 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48592 for ac_func in _hypotf
48593 do :
48594 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48595 if test "x$ac_cv_func__hypotf" = x""yes; then :
48596 cat >>confdefs.h <<_ACEOF
48597 #define HAVE__HYPOTF 1
48598 _ACEOF
48601 done
48610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48611 $as_echo_n "checking for ldexpf declaration... " >&6; }
48612 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48613 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48614 $as_echo_n "(cached) " >&6
48615 else
48618 ac_ext=cpp
48619 ac_cpp='$CXXCPP $CPPFLAGS'
48620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48625 /* end confdefs.h. */
48626 #include <math.h>
48628 main ()
48630 ldexpf(0, 0);
48632 return 0;
48634 _ACEOF
48635 if ac_fn_cxx_try_compile "$LINENO"; then :
48636 glibcxx_cv_func_ldexpf_use=yes
48637 else
48638 glibcxx_cv_func_ldexpf_use=no
48640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48641 ac_ext=c
48642 ac_cpp='$CPP $CPPFLAGS'
48643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48652 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48654 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48655 for ac_func in ldexpf
48656 do :
48657 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48658 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48659 cat >>confdefs.h <<_ACEOF
48660 #define HAVE_LDEXPF 1
48661 _ACEOF
48664 done
48666 else
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48669 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48670 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48671 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48672 $as_echo_n "(cached) " >&6
48673 else
48676 ac_ext=cpp
48677 ac_cpp='$CXXCPP $CPPFLAGS'
48678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48683 /* end confdefs.h. */
48684 #include <math.h>
48686 main ()
48688 _ldexpf(0, 0);
48690 return 0;
48692 _ACEOF
48693 if ac_fn_cxx_try_compile "$LINENO"; then :
48694 glibcxx_cv_func__ldexpf_use=yes
48695 else
48696 glibcxx_cv_func__ldexpf_use=no
48698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48699 ac_ext=c
48700 ac_cpp='$CPP $CPPFLAGS'
48701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48710 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48712 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48713 for ac_func in _ldexpf
48714 do :
48715 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48716 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48717 cat >>confdefs.h <<_ACEOF
48718 #define HAVE__LDEXPF 1
48719 _ACEOF
48722 done
48731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48732 $as_echo_n "checking for logf declaration... " >&6; }
48733 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48734 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48735 $as_echo_n "(cached) " >&6
48736 else
48739 ac_ext=cpp
48740 ac_cpp='$CXXCPP $CPPFLAGS'
48741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48746 /* end confdefs.h. */
48747 #include <math.h>
48748 #ifdef HAVE_IEEEFP_H
48749 #include <ieeefp.h>
48750 #endif
48753 main ()
48755 logf(0);
48757 return 0;
48759 _ACEOF
48760 if ac_fn_cxx_try_compile "$LINENO"; then :
48761 glibcxx_cv_func_logf_use=yes
48762 else
48763 glibcxx_cv_func_logf_use=no
48765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48766 ac_ext=c
48767 ac_cpp='$CPP $CPPFLAGS'
48768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48777 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48779 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48780 for ac_func in logf
48781 do :
48782 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48783 if test "x$ac_cv_func_logf" = x""yes; then :
48784 cat >>confdefs.h <<_ACEOF
48785 #define HAVE_LOGF 1
48786 _ACEOF
48789 done
48791 else
48793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48794 $as_echo_n "checking for _logf declaration... " >&6; }
48795 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48796 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48797 $as_echo_n "(cached) " >&6
48798 else
48801 ac_ext=cpp
48802 ac_cpp='$CXXCPP $CPPFLAGS'
48803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48808 /* end confdefs.h. */
48809 #include <math.h>
48810 #ifdef HAVE_IEEEFP_H
48811 #include <ieeefp.h>
48812 #endif
48815 main ()
48817 _logf(0);
48819 return 0;
48821 _ACEOF
48822 if ac_fn_cxx_try_compile "$LINENO"; then :
48823 glibcxx_cv_func__logf_use=yes
48824 else
48825 glibcxx_cv_func__logf_use=no
48827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48828 ac_ext=c
48829 ac_cpp='$CPP $CPPFLAGS'
48830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48839 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48841 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48842 for ac_func in _logf
48843 do :
48844 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48845 if test "x$ac_cv_func__logf" = x""yes; then :
48846 cat >>confdefs.h <<_ACEOF
48847 #define HAVE__LOGF 1
48848 _ACEOF
48851 done
48860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48861 $as_echo_n "checking for log10f declaration... " >&6; }
48862 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48863 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48864 $as_echo_n "(cached) " >&6
48865 else
48868 ac_ext=cpp
48869 ac_cpp='$CXXCPP $CPPFLAGS'
48870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48875 /* end confdefs.h. */
48876 #include <math.h>
48877 #ifdef HAVE_IEEEFP_H
48878 #include <ieeefp.h>
48879 #endif
48882 main ()
48884 log10f(0);
48886 return 0;
48888 _ACEOF
48889 if ac_fn_cxx_try_compile "$LINENO"; then :
48890 glibcxx_cv_func_log10f_use=yes
48891 else
48892 glibcxx_cv_func_log10f_use=no
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895 ac_ext=c
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48906 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48908 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48909 for ac_func in log10f
48910 do :
48911 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48912 if test "x$ac_cv_func_log10f" = x""yes; then :
48913 cat >>confdefs.h <<_ACEOF
48914 #define HAVE_LOG10F 1
48915 _ACEOF
48918 done
48920 else
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48923 $as_echo_n "checking for _log10f declaration... " >&6; }
48924 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48925 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48926 $as_echo_n "(cached) " >&6
48927 else
48930 ac_ext=cpp
48931 ac_cpp='$CXXCPP $CPPFLAGS'
48932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48937 /* end confdefs.h. */
48938 #include <math.h>
48939 #ifdef HAVE_IEEEFP_H
48940 #include <ieeefp.h>
48941 #endif
48944 main ()
48946 _log10f(0);
48948 return 0;
48950 _ACEOF
48951 if ac_fn_cxx_try_compile "$LINENO"; then :
48952 glibcxx_cv_func__log10f_use=yes
48953 else
48954 glibcxx_cv_func__log10f_use=no
48956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48957 ac_ext=c
48958 ac_cpp='$CPP $CPPFLAGS'
48959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48968 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48970 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48971 for ac_func in _log10f
48972 do :
48973 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48974 if test "x$ac_cv_func__log10f" = x""yes; then :
48975 cat >>confdefs.h <<_ACEOF
48976 #define HAVE__LOG10F 1
48977 _ACEOF
48980 done
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48990 $as_echo_n "checking for modff declaration... " >&6; }
48991 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48992 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48993 $as_echo_n "(cached) " >&6
48994 else
48997 ac_ext=cpp
48998 ac_cpp='$CXXCPP $CPPFLAGS'
48999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49004 /* end confdefs.h. */
49005 #include <math.h>
49007 main ()
49009 modff(0, 0);
49011 return 0;
49013 _ACEOF
49014 if ac_fn_cxx_try_compile "$LINENO"; then :
49015 glibcxx_cv_func_modff_use=yes
49016 else
49017 glibcxx_cv_func_modff_use=no
49019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49020 ac_ext=c
49021 ac_cpp='$CPP $CPPFLAGS'
49022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49031 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49033 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49034 for ac_func in modff
49035 do :
49036 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49037 if test "x$ac_cv_func_modff" = x""yes; then :
49038 cat >>confdefs.h <<_ACEOF
49039 #define HAVE_MODFF 1
49040 _ACEOF
49043 done
49045 else
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49048 $as_echo_n "checking for _modff declaration... " >&6; }
49049 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49050 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49051 $as_echo_n "(cached) " >&6
49052 else
49055 ac_ext=cpp
49056 ac_cpp='$CXXCPP $CPPFLAGS'
49057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49062 /* end confdefs.h. */
49063 #include <math.h>
49065 main ()
49067 _modff(0, 0);
49069 return 0;
49071 _ACEOF
49072 if ac_fn_cxx_try_compile "$LINENO"; then :
49073 glibcxx_cv_func__modff_use=yes
49074 else
49075 glibcxx_cv_func__modff_use=no
49077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49078 ac_ext=c
49079 ac_cpp='$CPP $CPPFLAGS'
49080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49089 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49091 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49092 for ac_func in _modff
49093 do :
49094 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49095 if test "x$ac_cv_func__modff" = x""yes; then :
49096 cat >>confdefs.h <<_ACEOF
49097 #define HAVE__MODFF 1
49098 _ACEOF
49101 done
49110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49111 $as_echo_n "checking for modf declaration... " >&6; }
49112 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49113 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49114 $as_echo_n "(cached) " >&6
49115 else
49118 ac_ext=cpp
49119 ac_cpp='$CXXCPP $CPPFLAGS'
49120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49125 /* end confdefs.h. */
49126 #include <math.h>
49128 main ()
49130 modf(0, 0);
49132 return 0;
49134 _ACEOF
49135 if ac_fn_cxx_try_compile "$LINENO"; then :
49136 glibcxx_cv_func_modf_use=yes
49137 else
49138 glibcxx_cv_func_modf_use=no
49140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49141 ac_ext=c
49142 ac_cpp='$CPP $CPPFLAGS'
49143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49152 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49154 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49155 for ac_func in modf
49156 do :
49157 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49158 if test "x$ac_cv_func_modf" = x""yes; then :
49159 cat >>confdefs.h <<_ACEOF
49160 #define HAVE_MODF 1
49161 _ACEOF
49164 done
49166 else
49168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49169 $as_echo_n "checking for _modf declaration... " >&6; }
49170 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49171 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49172 $as_echo_n "(cached) " >&6
49173 else
49176 ac_ext=cpp
49177 ac_cpp='$CXXCPP $CPPFLAGS'
49178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49183 /* end confdefs.h. */
49184 #include <math.h>
49186 main ()
49188 _modf(0, 0);
49190 return 0;
49192 _ACEOF
49193 if ac_fn_cxx_try_compile "$LINENO"; then :
49194 glibcxx_cv_func__modf_use=yes
49195 else
49196 glibcxx_cv_func__modf_use=no
49198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49199 ac_ext=c
49200 ac_cpp='$CPP $CPPFLAGS'
49201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49210 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49212 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49213 for ac_func in _modf
49214 do :
49215 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49216 if test "x$ac_cv_func__modf" = x""yes; then :
49217 cat >>confdefs.h <<_ACEOF
49218 #define HAVE__MODF 1
49219 _ACEOF
49222 done
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49232 $as_echo_n "checking for powf declaration... " >&6; }
49233 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49234 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49235 $as_echo_n "(cached) " >&6
49236 else
49239 ac_ext=cpp
49240 ac_cpp='$CXXCPP $CPPFLAGS'
49241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49246 /* end confdefs.h. */
49247 #include <math.h>
49249 main ()
49251 powf(0, 0);
49253 return 0;
49255 _ACEOF
49256 if ac_fn_cxx_try_compile "$LINENO"; then :
49257 glibcxx_cv_func_powf_use=yes
49258 else
49259 glibcxx_cv_func_powf_use=no
49261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49262 ac_ext=c
49263 ac_cpp='$CPP $CPPFLAGS'
49264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49273 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49275 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49276 for ac_func in powf
49277 do :
49278 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49279 if test "x$ac_cv_func_powf" = x""yes; then :
49280 cat >>confdefs.h <<_ACEOF
49281 #define HAVE_POWF 1
49282 _ACEOF
49285 done
49287 else
49289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
49290 $as_echo_n "checking for _powf declaration... " >&6; }
49291 if test x${glibcxx_cv_func__powf_use+set} != xset; then
49292 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
49293 $as_echo_n "(cached) " >&6
49294 else
49297 ac_ext=cpp
49298 ac_cpp='$CXXCPP $CPPFLAGS'
49299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49304 /* end confdefs.h. */
49305 #include <math.h>
49307 main ()
49309 _powf(0, 0);
49311 return 0;
49313 _ACEOF
49314 if ac_fn_cxx_try_compile "$LINENO"; then :
49315 glibcxx_cv_func__powf_use=yes
49316 else
49317 glibcxx_cv_func__powf_use=no
49319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49320 ac_ext=c
49321 ac_cpp='$CPP $CPPFLAGS'
49322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
49331 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
49333 if test x$glibcxx_cv_func__powf_use = x"yes"; then
49334 for ac_func in _powf
49335 do :
49336 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
49337 if test "x$ac_cv_func__powf" = x""yes; then :
49338 cat >>confdefs.h <<_ACEOF
49339 #define HAVE__POWF 1
49340 _ACEOF
49343 done
49352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49353 $as_echo_n "checking for sqrtf declaration... " >&6; }
49354 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49355 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49356 $as_echo_n "(cached) " >&6
49357 else
49360 ac_ext=cpp
49361 ac_cpp='$CXXCPP $CPPFLAGS'
49362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49367 /* end confdefs.h. */
49368 #include <math.h>
49369 #ifdef HAVE_IEEEFP_H
49370 #include <ieeefp.h>
49371 #endif
49374 main ()
49376 sqrtf(0);
49378 return 0;
49380 _ACEOF
49381 if ac_fn_cxx_try_compile "$LINENO"; then :
49382 glibcxx_cv_func_sqrtf_use=yes
49383 else
49384 glibcxx_cv_func_sqrtf_use=no
49386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49387 ac_ext=c
49388 ac_cpp='$CPP $CPPFLAGS'
49389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49398 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49400 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49401 for ac_func in sqrtf
49402 do :
49403 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49404 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49405 cat >>confdefs.h <<_ACEOF
49406 #define HAVE_SQRTF 1
49407 _ACEOF
49410 done
49412 else
49414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49415 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49416 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49417 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49418 $as_echo_n "(cached) " >&6
49419 else
49422 ac_ext=cpp
49423 ac_cpp='$CXXCPP $CPPFLAGS'
49424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49429 /* end confdefs.h. */
49430 #include <math.h>
49431 #ifdef HAVE_IEEEFP_H
49432 #include <ieeefp.h>
49433 #endif
49436 main ()
49438 _sqrtf(0);
49440 return 0;
49442 _ACEOF
49443 if ac_fn_cxx_try_compile "$LINENO"; then :
49444 glibcxx_cv_func__sqrtf_use=yes
49445 else
49446 glibcxx_cv_func__sqrtf_use=no
49448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49449 ac_ext=c
49450 ac_cpp='$CPP $CPPFLAGS'
49451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49460 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49462 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49463 for ac_func in _sqrtf
49464 do :
49465 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49466 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49467 cat >>confdefs.h <<_ACEOF
49468 #define HAVE__SQRTF 1
49469 _ACEOF
49472 done
49481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49482 $as_echo_n "checking for sincosf declaration... " >&6; }
49483 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49484 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49485 $as_echo_n "(cached) " >&6
49486 else
49489 ac_ext=cpp
49490 ac_cpp='$CXXCPP $CPPFLAGS'
49491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49496 /* end confdefs.h. */
49497 #include <math.h>
49499 main ()
49501 sincosf(0, 0, 0);
49503 return 0;
49505 _ACEOF
49506 if ac_fn_cxx_try_compile "$LINENO"; then :
49507 glibcxx_cv_func_sincosf_use=yes
49508 else
49509 glibcxx_cv_func_sincosf_use=no
49511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49512 ac_ext=c
49513 ac_cpp='$CPP $CPPFLAGS'
49514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49523 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49525 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49526 for ac_func in sincosf
49527 do :
49528 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49529 if test "x$ac_cv_func_sincosf" = x""yes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define HAVE_SINCOSF 1
49532 _ACEOF
49535 done
49537 else
49539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49540 $as_echo_n "checking for _sincosf declaration... " >&6; }
49541 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49542 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49557 main ()
49559 _sincosf(0, 0, 0);
49561 return 0;
49563 _ACEOF
49564 if ac_fn_cxx_try_compile "$LINENO"; then :
49565 glibcxx_cv_func__sincosf_use=yes
49566 else
49567 glibcxx_cv_func__sincosf_use=no
49569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49570 ac_ext=c
49571 ac_cpp='$CPP $CPPFLAGS'
49572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49581 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49583 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49584 for ac_func in _sincosf
49585 do :
49586 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49587 if test "x$ac_cv_func__sincosf" = x""yes; then :
49588 cat >>confdefs.h <<_ACEOF
49589 #define HAVE__SINCOSF 1
49590 _ACEOF
49593 done
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49603 $as_echo_n "checking for finitef declaration... " >&6; }
49604 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49605 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49606 $as_echo_n "(cached) " >&6
49607 else
49610 ac_ext=cpp
49611 ac_cpp='$CXXCPP $CPPFLAGS'
49612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49617 /* end confdefs.h. */
49618 #include <math.h>
49619 #ifdef HAVE_IEEEFP_H
49620 #include <ieeefp.h>
49621 #endif
49624 main ()
49626 finitef(0);
49628 return 0;
49630 _ACEOF
49631 if ac_fn_cxx_try_compile "$LINENO"; then :
49632 glibcxx_cv_func_finitef_use=yes
49633 else
49634 glibcxx_cv_func_finitef_use=no
49636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49637 ac_ext=c
49638 ac_cpp='$CPP $CPPFLAGS'
49639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49648 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49650 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49651 for ac_func in finitef
49652 do :
49653 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49654 if test "x$ac_cv_func_finitef" = x""yes; then :
49655 cat >>confdefs.h <<_ACEOF
49656 #define HAVE_FINITEF 1
49657 _ACEOF
49660 done
49662 else
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49665 $as_echo_n "checking for _finitef declaration... " >&6; }
49666 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49667 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49681 #ifdef HAVE_IEEEFP_H
49682 #include <ieeefp.h>
49683 #endif
49686 main ()
49688 _finitef(0);
49690 return 0;
49692 _ACEOF
49693 if ac_fn_cxx_try_compile "$LINENO"; then :
49694 glibcxx_cv_func__finitef_use=yes
49695 else
49696 glibcxx_cv_func__finitef_use=no
49698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49699 ac_ext=c
49700 ac_cpp='$CPP $CPPFLAGS'
49701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49710 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49712 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49713 for ac_func in _finitef
49714 do :
49715 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49716 if test "x$ac_cv_func__finitef" = x""yes; then :
49717 cat >>confdefs.h <<_ACEOF
49718 #define HAVE__FINITEF 1
49719 _ACEOF
49722 done
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49732 $as_echo_n "checking for long double trig functions... " >&6; }
49733 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49734 $as_echo_n "(cached) " >&6
49735 else
49738 ac_ext=cpp
49739 ac_cpp='$CXXCPP $CPPFLAGS'
49740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49745 /* end confdefs.h. */
49746 #include <math.h>
49748 main ()
49750 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49752 return 0;
49754 _ACEOF
49755 if ac_fn_cxx_try_compile "$LINENO"; then :
49756 glibcxx_cv_func_long_double_trig_use=yes
49757 else
49758 glibcxx_cv_func_long_double_trig_use=no
49760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49761 ac_ext=c
49762 ac_cpp='$CPP $CPPFLAGS'
49763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49770 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49771 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49772 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49773 do :
49774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49775 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49776 eval as_val=\$$as_ac_var
49777 if test "x$as_val" = x""yes; then :
49778 cat >>confdefs.h <<_ACEOF
49779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49780 _ACEOF
49783 done
49785 else
49786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49787 $as_echo_n "checking for _long double trig functions... " >&6; }
49788 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49789 $as_echo_n "(cached) " >&6
49790 else
49793 ac_ext=cpp
49794 ac_cpp='$CXXCPP $CPPFLAGS'
49795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49800 /* end confdefs.h. */
49801 #include <math.h>
49803 main ()
49805 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49807 return 0;
49809 _ACEOF
49810 if ac_fn_cxx_try_compile "$LINENO"; then :
49811 glibcxx_cv_func__long_double_trig_use=yes
49812 else
49813 glibcxx_cv_func__long_double_trig_use=no
49815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49816 ac_ext=c
49817 ac_cpp='$CPP $CPPFLAGS'
49818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49825 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49826 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49827 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49828 do :
49829 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49830 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49831 eval as_val=\$$as_ac_var
49832 if test "x$as_val" = x""yes; then :
49833 cat >>confdefs.h <<_ACEOF
49834 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49835 _ACEOF
49838 done
49847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49848 $as_echo_n "checking for long double round functions... " >&6; }
49849 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49850 $as_echo_n "(cached) " >&6
49851 else
49854 ac_ext=cpp
49855 ac_cpp='$CXXCPP $CPPFLAGS'
49856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49861 /* end confdefs.h. */
49862 #include <math.h>
49864 main ()
49866 ceill (0); floorl (0);
49868 return 0;
49870 _ACEOF
49871 if ac_fn_cxx_try_compile "$LINENO"; then :
49872 glibcxx_cv_func_long_double_round_use=yes
49873 else
49874 glibcxx_cv_func_long_double_round_use=no
49876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49877 ac_ext=c
49878 ac_cpp='$CPP $CPPFLAGS'
49879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49886 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49887 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49888 for ac_func in ceill floorl
49889 do :
49890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49892 eval as_val=\$$as_ac_var
49893 if test "x$as_val" = x""yes; then :
49894 cat >>confdefs.h <<_ACEOF
49895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49896 _ACEOF
49899 done
49901 else
49902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49903 $as_echo_n "checking for _long double round functions... " >&6; }
49904 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49905 $as_echo_n "(cached) " >&6
49906 else
49909 ac_ext=cpp
49910 ac_cpp='$CXXCPP $CPPFLAGS'
49911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49916 /* end confdefs.h. */
49917 #include <math.h>
49919 main ()
49921 _ceill (0); _floorl (0);
49923 return 0;
49925 _ACEOF
49926 if ac_fn_cxx_try_compile "$LINENO"; then :
49927 glibcxx_cv_func__long_double_round_use=yes
49928 else
49929 glibcxx_cv_func__long_double_round_use=no
49931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49932 ac_ext=c
49933 ac_cpp='$CPP $CPPFLAGS'
49934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49941 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49942 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49943 for ac_func in _ceill _floorl
49944 do :
49945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49947 eval as_val=\$$as_ac_var
49948 if test "x$as_val" = x""yes; then :
49949 cat >>confdefs.h <<_ACEOF
49950 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49951 _ACEOF
49954 done
49964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49965 $as_echo_n "checking for isnanl declaration... " >&6; }
49966 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49967 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49968 $as_echo_n "(cached) " >&6
49969 else
49972 ac_ext=cpp
49973 ac_cpp='$CXXCPP $CPPFLAGS'
49974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49979 /* end confdefs.h. */
49980 #include <math.h>
49981 #ifdef HAVE_IEEEFP_H
49982 #include <ieeefp.h>
49983 #endif
49986 main ()
49988 isnanl(0);
49990 return 0;
49992 _ACEOF
49993 if ac_fn_cxx_try_compile "$LINENO"; then :
49994 glibcxx_cv_func_isnanl_use=yes
49995 else
49996 glibcxx_cv_func_isnanl_use=no
49998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49999 ac_ext=c
50000 ac_cpp='$CPP $CPPFLAGS'
50001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50010 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50012 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50013 for ac_func in isnanl
50014 do :
50015 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50016 if test "x$ac_cv_func_isnanl" = x""yes; then :
50017 cat >>confdefs.h <<_ACEOF
50018 #define HAVE_ISNANL 1
50019 _ACEOF
50022 done
50024 else
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50027 $as_echo_n "checking for _isnanl declaration... " >&6; }
50028 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50029 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50030 $as_echo_n "(cached) " >&6
50031 else
50034 ac_ext=cpp
50035 ac_cpp='$CXXCPP $CPPFLAGS'
50036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50041 /* end confdefs.h. */
50042 #include <math.h>
50043 #ifdef HAVE_IEEEFP_H
50044 #include <ieeefp.h>
50045 #endif
50048 main ()
50050 _isnanl(0);
50052 return 0;
50054 _ACEOF
50055 if ac_fn_cxx_try_compile "$LINENO"; then :
50056 glibcxx_cv_func__isnanl_use=yes
50057 else
50058 glibcxx_cv_func__isnanl_use=no
50060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50061 ac_ext=c
50062 ac_cpp='$CPP $CPPFLAGS'
50063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50072 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50074 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50075 for ac_func in _isnanl
50076 do :
50077 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50078 if test "x$ac_cv_func__isnanl" = x""yes; then :
50079 cat >>confdefs.h <<_ACEOF
50080 #define HAVE__ISNANL 1
50081 _ACEOF
50084 done
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50094 $as_echo_n "checking for isinfl declaration... " >&6; }
50095 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50096 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50097 $as_echo_n "(cached) " >&6
50098 else
50101 ac_ext=cpp
50102 ac_cpp='$CXXCPP $CPPFLAGS'
50103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50108 /* end confdefs.h. */
50109 #include <math.h>
50110 #ifdef HAVE_IEEEFP_H
50111 #include <ieeefp.h>
50112 #endif
50115 main ()
50117 isinfl(0);
50119 return 0;
50121 _ACEOF
50122 if ac_fn_cxx_try_compile "$LINENO"; then :
50123 glibcxx_cv_func_isinfl_use=yes
50124 else
50125 glibcxx_cv_func_isinfl_use=no
50127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50128 ac_ext=c
50129 ac_cpp='$CPP $CPPFLAGS'
50130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50139 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50141 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50142 for ac_func in isinfl
50143 do :
50144 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50145 if test "x$ac_cv_func_isinfl" = x""yes; then :
50146 cat >>confdefs.h <<_ACEOF
50147 #define HAVE_ISINFL 1
50148 _ACEOF
50151 done
50153 else
50155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50156 $as_echo_n "checking for _isinfl declaration... " >&6; }
50157 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50158 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50159 $as_echo_n "(cached) " >&6
50160 else
50163 ac_ext=cpp
50164 ac_cpp='$CXXCPP $CPPFLAGS'
50165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50170 /* end confdefs.h. */
50171 #include <math.h>
50172 #ifdef HAVE_IEEEFP_H
50173 #include <ieeefp.h>
50174 #endif
50177 main ()
50179 _isinfl(0);
50181 return 0;
50183 _ACEOF
50184 if ac_fn_cxx_try_compile "$LINENO"; then :
50185 glibcxx_cv_func__isinfl_use=yes
50186 else
50187 glibcxx_cv_func__isinfl_use=no
50189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50190 ac_ext=c
50191 ac_cpp='$CPP $CPPFLAGS'
50192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50201 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50203 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50204 for ac_func in _isinfl
50205 do :
50206 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50207 if test "x$ac_cv_func__isinfl" = x""yes; then :
50208 cat >>confdefs.h <<_ACEOF
50209 #define HAVE__ISINFL 1
50210 _ACEOF
50213 done
50222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50223 $as_echo_n "checking for atan2l declaration... " >&6; }
50224 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50225 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50226 $as_echo_n "(cached) " >&6
50227 else
50230 ac_ext=cpp
50231 ac_cpp='$CXXCPP $CPPFLAGS'
50232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50237 /* end confdefs.h. */
50238 #include <math.h>
50240 main ()
50242 atan2l(0, 0);
50244 return 0;
50246 _ACEOF
50247 if ac_fn_cxx_try_compile "$LINENO"; then :
50248 glibcxx_cv_func_atan2l_use=yes
50249 else
50250 glibcxx_cv_func_atan2l_use=no
50252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50253 ac_ext=c
50254 ac_cpp='$CPP $CPPFLAGS'
50255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50264 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50266 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50267 for ac_func in atan2l
50268 do :
50269 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50270 if test "x$ac_cv_func_atan2l" = x""yes; then :
50271 cat >>confdefs.h <<_ACEOF
50272 #define HAVE_ATAN2L 1
50273 _ACEOF
50276 done
50278 else
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50281 $as_echo_n "checking for _atan2l declaration... " >&6; }
50282 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50283 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50284 $as_echo_n "(cached) " >&6
50285 else
50288 ac_ext=cpp
50289 ac_cpp='$CXXCPP $CPPFLAGS'
50290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50295 /* end confdefs.h. */
50296 #include <math.h>
50298 main ()
50300 _atan2l(0, 0);
50302 return 0;
50304 _ACEOF
50305 if ac_fn_cxx_try_compile "$LINENO"; then :
50306 glibcxx_cv_func__atan2l_use=yes
50307 else
50308 glibcxx_cv_func__atan2l_use=no
50310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50311 ac_ext=c
50312 ac_cpp='$CPP $CPPFLAGS'
50313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
50322 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
50324 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
50325 for ac_func in _atan2l
50326 do :
50327 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
50328 if test "x$ac_cv_func__atan2l" = x""yes; then :
50329 cat >>confdefs.h <<_ACEOF
50330 #define HAVE__ATAN2L 1
50331 _ACEOF
50334 done
50343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
50344 $as_echo_n "checking for expl declaration... " >&6; }
50345 if test x${glibcxx_cv_func_expl_use+set} != xset; then
50346 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
50347 $as_echo_n "(cached) " >&6
50348 else
50351 ac_ext=cpp
50352 ac_cpp='$CXXCPP $CPPFLAGS'
50353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50358 /* end confdefs.h. */
50359 #include <math.h>
50360 #ifdef HAVE_IEEEFP_H
50361 #include <ieeefp.h>
50362 #endif
50365 main ()
50367 expl(0);
50369 return 0;
50371 _ACEOF
50372 if ac_fn_cxx_try_compile "$LINENO"; then :
50373 glibcxx_cv_func_expl_use=yes
50374 else
50375 glibcxx_cv_func_expl_use=no
50377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50378 ac_ext=c
50379 ac_cpp='$CPP $CPPFLAGS'
50380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50389 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50391 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50392 for ac_func in expl
50393 do :
50394 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50395 if test "x$ac_cv_func_expl" = x""yes; then :
50396 cat >>confdefs.h <<_ACEOF
50397 #define HAVE_EXPL 1
50398 _ACEOF
50401 done
50403 else
50405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50406 $as_echo_n "checking for _expl declaration... " >&6; }
50407 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50408 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50409 $as_echo_n "(cached) " >&6
50410 else
50413 ac_ext=cpp
50414 ac_cpp='$CXXCPP $CPPFLAGS'
50415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50420 /* end confdefs.h. */
50421 #include <math.h>
50422 #ifdef HAVE_IEEEFP_H
50423 #include <ieeefp.h>
50424 #endif
50427 main ()
50429 _expl(0);
50431 return 0;
50433 _ACEOF
50434 if ac_fn_cxx_try_compile "$LINENO"; then :
50435 glibcxx_cv_func__expl_use=yes
50436 else
50437 glibcxx_cv_func__expl_use=no
50439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50440 ac_ext=c
50441 ac_cpp='$CPP $CPPFLAGS'
50442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50451 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50453 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50454 for ac_func in _expl
50455 do :
50456 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50457 if test "x$ac_cv_func__expl" = x""yes; then :
50458 cat >>confdefs.h <<_ACEOF
50459 #define HAVE__EXPL 1
50460 _ACEOF
50463 done
50472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50473 $as_echo_n "checking for fabsl declaration... " >&6; }
50474 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50475 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50476 $as_echo_n "(cached) " >&6
50477 else
50480 ac_ext=cpp
50481 ac_cpp='$CXXCPP $CPPFLAGS'
50482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50487 /* end confdefs.h. */
50488 #include <math.h>
50489 #ifdef HAVE_IEEEFP_H
50490 #include <ieeefp.h>
50491 #endif
50494 main ()
50496 fabsl(0);
50498 return 0;
50500 _ACEOF
50501 if ac_fn_cxx_try_compile "$LINENO"; then :
50502 glibcxx_cv_func_fabsl_use=yes
50503 else
50504 glibcxx_cv_func_fabsl_use=no
50506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50507 ac_ext=c
50508 ac_cpp='$CPP $CPPFLAGS'
50509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50518 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50520 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50521 for ac_func in fabsl
50522 do :
50523 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50524 if test "x$ac_cv_func_fabsl" = x""yes; then :
50525 cat >>confdefs.h <<_ACEOF
50526 #define HAVE_FABSL 1
50527 _ACEOF
50530 done
50532 else
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50535 $as_echo_n "checking for _fabsl declaration... " >&6; }
50536 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50537 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50538 $as_echo_n "(cached) " >&6
50539 else
50542 ac_ext=cpp
50543 ac_cpp='$CXXCPP $CPPFLAGS'
50544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50549 /* end confdefs.h. */
50550 #include <math.h>
50551 #ifdef HAVE_IEEEFP_H
50552 #include <ieeefp.h>
50553 #endif
50556 main ()
50558 _fabsl(0);
50560 return 0;
50562 _ACEOF
50563 if ac_fn_cxx_try_compile "$LINENO"; then :
50564 glibcxx_cv_func__fabsl_use=yes
50565 else
50566 glibcxx_cv_func__fabsl_use=no
50568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50569 ac_ext=c
50570 ac_cpp='$CPP $CPPFLAGS'
50571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50580 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50582 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50583 for ac_func in _fabsl
50584 do :
50585 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50586 if test "x$ac_cv_func__fabsl" = x""yes; then :
50587 cat >>confdefs.h <<_ACEOF
50588 #define HAVE__FABSL 1
50589 _ACEOF
50592 done
50601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50602 $as_echo_n "checking for fmodl declaration... " >&6; }
50603 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50604 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50605 $as_echo_n "(cached) " >&6
50606 else
50609 ac_ext=cpp
50610 ac_cpp='$CXXCPP $CPPFLAGS'
50611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50616 /* end confdefs.h. */
50617 #include <math.h>
50619 main ()
50621 fmodl(0, 0);
50623 return 0;
50625 _ACEOF
50626 if ac_fn_cxx_try_compile "$LINENO"; then :
50627 glibcxx_cv_func_fmodl_use=yes
50628 else
50629 glibcxx_cv_func_fmodl_use=no
50631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50632 ac_ext=c
50633 ac_cpp='$CPP $CPPFLAGS'
50634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50643 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50645 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50646 for ac_func in fmodl
50647 do :
50648 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50649 if test "x$ac_cv_func_fmodl" = x""yes; then :
50650 cat >>confdefs.h <<_ACEOF
50651 #define HAVE_FMODL 1
50652 _ACEOF
50655 done
50657 else
50659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50660 $as_echo_n "checking for _fmodl declaration... " >&6; }
50661 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50662 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50663 $as_echo_n "(cached) " >&6
50664 else
50667 ac_ext=cpp
50668 ac_cpp='$CXXCPP $CPPFLAGS'
50669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50674 /* end confdefs.h. */
50675 #include <math.h>
50677 main ()
50679 _fmodl(0, 0);
50681 return 0;
50683 _ACEOF
50684 if ac_fn_cxx_try_compile "$LINENO"; then :
50685 glibcxx_cv_func__fmodl_use=yes
50686 else
50687 glibcxx_cv_func__fmodl_use=no
50689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50690 ac_ext=c
50691 ac_cpp='$CPP $CPPFLAGS'
50692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50701 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50703 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50704 for ac_func in _fmodl
50705 do :
50706 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50707 if test "x$ac_cv_func__fmodl" = x""yes; then :
50708 cat >>confdefs.h <<_ACEOF
50709 #define HAVE__FMODL 1
50710 _ACEOF
50713 done
50722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50723 $as_echo_n "checking for frexpl declaration... " >&6; }
50724 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50725 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50726 $as_echo_n "(cached) " >&6
50727 else
50730 ac_ext=cpp
50731 ac_cpp='$CXXCPP $CPPFLAGS'
50732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50737 /* end confdefs.h. */
50738 #include <math.h>
50740 main ()
50742 frexpl(0, 0);
50744 return 0;
50746 _ACEOF
50747 if ac_fn_cxx_try_compile "$LINENO"; then :
50748 glibcxx_cv_func_frexpl_use=yes
50749 else
50750 glibcxx_cv_func_frexpl_use=no
50752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50753 ac_ext=c
50754 ac_cpp='$CPP $CPPFLAGS'
50755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50764 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50766 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50767 for ac_func in frexpl
50768 do :
50769 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50770 if test "x$ac_cv_func_frexpl" = x""yes; then :
50771 cat >>confdefs.h <<_ACEOF
50772 #define HAVE_FREXPL 1
50773 _ACEOF
50776 done
50778 else
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50781 $as_echo_n "checking for _frexpl declaration... " >&6; }
50782 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50783 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50784 $as_echo_n "(cached) " >&6
50785 else
50788 ac_ext=cpp
50789 ac_cpp='$CXXCPP $CPPFLAGS'
50790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50795 /* end confdefs.h. */
50796 #include <math.h>
50798 main ()
50800 _frexpl(0, 0);
50802 return 0;
50804 _ACEOF
50805 if ac_fn_cxx_try_compile "$LINENO"; then :
50806 glibcxx_cv_func__frexpl_use=yes
50807 else
50808 glibcxx_cv_func__frexpl_use=no
50810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50811 ac_ext=c
50812 ac_cpp='$CPP $CPPFLAGS'
50813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50822 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50824 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50825 for ac_func in _frexpl
50826 do :
50827 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50828 if test "x$ac_cv_func__frexpl" = x""yes; then :
50829 cat >>confdefs.h <<_ACEOF
50830 #define HAVE__FREXPL 1
50831 _ACEOF
50834 done
50843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50844 $as_echo_n "checking for hypotl declaration... " >&6; }
50845 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50846 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50847 $as_echo_n "(cached) " >&6
50848 else
50851 ac_ext=cpp
50852 ac_cpp='$CXXCPP $CPPFLAGS'
50853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50858 /* end confdefs.h. */
50859 #include <math.h>
50861 main ()
50863 hypotl(0, 0);
50865 return 0;
50867 _ACEOF
50868 if ac_fn_cxx_try_compile "$LINENO"; then :
50869 glibcxx_cv_func_hypotl_use=yes
50870 else
50871 glibcxx_cv_func_hypotl_use=no
50873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50874 ac_ext=c
50875 ac_cpp='$CPP $CPPFLAGS'
50876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50885 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50887 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50888 for ac_func in hypotl
50889 do :
50890 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50891 if test "x$ac_cv_func_hypotl" = x""yes; then :
50892 cat >>confdefs.h <<_ACEOF
50893 #define HAVE_HYPOTL 1
50894 _ACEOF
50897 done
50899 else
50901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50902 $as_echo_n "checking for _hypotl declaration... " >&6; }
50903 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50904 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50905 $as_echo_n "(cached) " >&6
50906 else
50909 ac_ext=cpp
50910 ac_cpp='$CXXCPP $CPPFLAGS'
50911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50916 /* end confdefs.h. */
50917 #include <math.h>
50919 main ()
50921 _hypotl(0, 0);
50923 return 0;
50925 _ACEOF
50926 if ac_fn_cxx_try_compile "$LINENO"; then :
50927 glibcxx_cv_func__hypotl_use=yes
50928 else
50929 glibcxx_cv_func__hypotl_use=no
50931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50932 ac_ext=c
50933 ac_cpp='$CPP $CPPFLAGS'
50934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50943 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50945 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50946 for ac_func in _hypotl
50947 do :
50948 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50949 if test "x$ac_cv_func__hypotl" = x""yes; then :
50950 cat >>confdefs.h <<_ACEOF
50951 #define HAVE__HYPOTL 1
50952 _ACEOF
50955 done
50964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50965 $as_echo_n "checking for ldexpl declaration... " >&6; }
50966 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50967 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50968 $as_echo_n "(cached) " >&6
50969 else
50972 ac_ext=cpp
50973 ac_cpp='$CXXCPP $CPPFLAGS'
50974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50979 /* end confdefs.h. */
50980 #include <math.h>
50982 main ()
50984 ldexpl(0, 0);
50986 return 0;
50988 _ACEOF
50989 if ac_fn_cxx_try_compile "$LINENO"; then :
50990 glibcxx_cv_func_ldexpl_use=yes
50991 else
50992 glibcxx_cv_func_ldexpl_use=no
50994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50995 ac_ext=c
50996 ac_cpp='$CPP $CPPFLAGS'
50997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51006 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51008 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51009 for ac_func in ldexpl
51010 do :
51011 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51012 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51013 cat >>confdefs.h <<_ACEOF
51014 #define HAVE_LDEXPL 1
51015 _ACEOF
51018 done
51020 else
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51023 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51024 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51025 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51026 $as_echo_n "(cached) " >&6
51027 else
51030 ac_ext=cpp
51031 ac_cpp='$CXXCPP $CPPFLAGS'
51032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51037 /* end confdefs.h. */
51038 #include <math.h>
51040 main ()
51042 _ldexpl(0, 0);
51044 return 0;
51046 _ACEOF
51047 if ac_fn_cxx_try_compile "$LINENO"; then :
51048 glibcxx_cv_func__ldexpl_use=yes
51049 else
51050 glibcxx_cv_func__ldexpl_use=no
51052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51053 ac_ext=c
51054 ac_cpp='$CPP $CPPFLAGS'
51055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51064 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51066 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51067 for ac_func in _ldexpl
51068 do :
51069 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51070 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51071 cat >>confdefs.h <<_ACEOF
51072 #define HAVE__LDEXPL 1
51073 _ACEOF
51076 done
51085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51086 $as_echo_n "checking for logl declaration... " >&6; }
51087 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51088 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51089 $as_echo_n "(cached) " >&6
51090 else
51093 ac_ext=cpp
51094 ac_cpp='$CXXCPP $CPPFLAGS'
51095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51100 /* end confdefs.h. */
51101 #include <math.h>
51102 #ifdef HAVE_IEEEFP_H
51103 #include <ieeefp.h>
51104 #endif
51107 main ()
51109 logl(0);
51111 return 0;
51113 _ACEOF
51114 if ac_fn_cxx_try_compile "$LINENO"; then :
51115 glibcxx_cv_func_logl_use=yes
51116 else
51117 glibcxx_cv_func_logl_use=no
51119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51120 ac_ext=c
51121 ac_cpp='$CPP $CPPFLAGS'
51122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51131 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51133 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51134 for ac_func in logl
51135 do :
51136 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51137 if test "x$ac_cv_func_logl" = x""yes; then :
51138 cat >>confdefs.h <<_ACEOF
51139 #define HAVE_LOGL 1
51140 _ACEOF
51143 done
51145 else
51147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51148 $as_echo_n "checking for _logl declaration... " >&6; }
51149 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51150 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51151 $as_echo_n "(cached) " >&6
51152 else
51155 ac_ext=cpp
51156 ac_cpp='$CXXCPP $CPPFLAGS'
51157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51162 /* end confdefs.h. */
51163 #include <math.h>
51164 #ifdef HAVE_IEEEFP_H
51165 #include <ieeefp.h>
51166 #endif
51169 main ()
51171 _logl(0);
51173 return 0;
51175 _ACEOF
51176 if ac_fn_cxx_try_compile "$LINENO"; then :
51177 glibcxx_cv_func__logl_use=yes
51178 else
51179 glibcxx_cv_func__logl_use=no
51181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51182 ac_ext=c
51183 ac_cpp='$CPP $CPPFLAGS'
51184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51193 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51195 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51196 for ac_func in _logl
51197 do :
51198 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51199 if test "x$ac_cv_func__logl" = x""yes; then :
51200 cat >>confdefs.h <<_ACEOF
51201 #define HAVE__LOGL 1
51202 _ACEOF
51205 done
51214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51215 $as_echo_n "checking for log10l declaration... " >&6; }
51216 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51217 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51218 $as_echo_n "(cached) " >&6
51219 else
51222 ac_ext=cpp
51223 ac_cpp='$CXXCPP $CPPFLAGS'
51224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51229 /* end confdefs.h. */
51230 #include <math.h>
51231 #ifdef HAVE_IEEEFP_H
51232 #include <ieeefp.h>
51233 #endif
51236 main ()
51238 log10l(0);
51240 return 0;
51242 _ACEOF
51243 if ac_fn_cxx_try_compile "$LINENO"; then :
51244 glibcxx_cv_func_log10l_use=yes
51245 else
51246 glibcxx_cv_func_log10l_use=no
51248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51249 ac_ext=c
51250 ac_cpp='$CPP $CPPFLAGS'
51251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51260 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51262 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51263 for ac_func in log10l
51264 do :
51265 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51266 if test "x$ac_cv_func_log10l" = x""yes; then :
51267 cat >>confdefs.h <<_ACEOF
51268 #define HAVE_LOG10L 1
51269 _ACEOF
51272 done
51274 else
51276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51277 $as_echo_n "checking for _log10l declaration... " >&6; }
51278 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51279 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51280 $as_echo_n "(cached) " >&6
51281 else
51284 ac_ext=cpp
51285 ac_cpp='$CXXCPP $CPPFLAGS'
51286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51291 /* end confdefs.h. */
51292 #include <math.h>
51293 #ifdef HAVE_IEEEFP_H
51294 #include <ieeefp.h>
51295 #endif
51298 main ()
51300 _log10l(0);
51302 return 0;
51304 _ACEOF
51305 if ac_fn_cxx_try_compile "$LINENO"; then :
51306 glibcxx_cv_func__log10l_use=yes
51307 else
51308 glibcxx_cv_func__log10l_use=no
51310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51311 ac_ext=c
51312 ac_cpp='$CPP $CPPFLAGS'
51313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
51322 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
51324 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
51325 for ac_func in _log10l
51326 do :
51327 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
51328 if test "x$ac_cv_func__log10l" = x""yes; then :
51329 cat >>confdefs.h <<_ACEOF
51330 #define HAVE__LOG10L 1
51331 _ACEOF
51334 done
51343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
51344 $as_echo_n "checking for modfl declaration... " >&6; }
51345 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
51346 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
51347 $as_echo_n "(cached) " >&6
51348 else
51351 ac_ext=cpp
51352 ac_cpp='$CXXCPP $CPPFLAGS'
51353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51358 /* end confdefs.h. */
51359 #include <math.h>
51361 main ()
51363 modfl(0, 0);
51365 return 0;
51367 _ACEOF
51368 if ac_fn_cxx_try_compile "$LINENO"; then :
51369 glibcxx_cv_func_modfl_use=yes
51370 else
51371 glibcxx_cv_func_modfl_use=no
51373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51374 ac_ext=c
51375 ac_cpp='$CPP $CPPFLAGS'
51376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51385 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51387 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51388 for ac_func in modfl
51389 do :
51390 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51391 if test "x$ac_cv_func_modfl" = x""yes; then :
51392 cat >>confdefs.h <<_ACEOF
51393 #define HAVE_MODFL 1
51394 _ACEOF
51397 done
51399 else
51401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51402 $as_echo_n "checking for _modfl declaration... " >&6; }
51403 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51404 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51405 $as_echo_n "(cached) " >&6
51406 else
51409 ac_ext=cpp
51410 ac_cpp='$CXXCPP $CPPFLAGS'
51411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51416 /* end confdefs.h. */
51417 #include <math.h>
51419 main ()
51421 _modfl(0, 0);
51423 return 0;
51425 _ACEOF
51426 if ac_fn_cxx_try_compile "$LINENO"; then :
51427 glibcxx_cv_func__modfl_use=yes
51428 else
51429 glibcxx_cv_func__modfl_use=no
51431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51432 ac_ext=c
51433 ac_cpp='$CPP $CPPFLAGS'
51434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51443 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51445 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51446 for ac_func in _modfl
51447 do :
51448 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51449 if test "x$ac_cv_func__modfl" = x""yes; then :
51450 cat >>confdefs.h <<_ACEOF
51451 #define HAVE__MODFL 1
51452 _ACEOF
51455 done
51464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51465 $as_echo_n "checking for powl declaration... " >&6; }
51466 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51467 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51468 $as_echo_n "(cached) " >&6
51469 else
51472 ac_ext=cpp
51473 ac_cpp='$CXXCPP $CPPFLAGS'
51474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51479 /* end confdefs.h. */
51480 #include <math.h>
51482 main ()
51484 powl(0, 0);
51486 return 0;
51488 _ACEOF
51489 if ac_fn_cxx_try_compile "$LINENO"; then :
51490 glibcxx_cv_func_powl_use=yes
51491 else
51492 glibcxx_cv_func_powl_use=no
51494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51495 ac_ext=c
51496 ac_cpp='$CPP $CPPFLAGS'
51497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51506 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51508 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51509 for ac_func in powl
51510 do :
51511 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51512 if test "x$ac_cv_func_powl" = x""yes; then :
51513 cat >>confdefs.h <<_ACEOF
51514 #define HAVE_POWL 1
51515 _ACEOF
51518 done
51520 else
51522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51523 $as_echo_n "checking for _powl declaration... " >&6; }
51524 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51525 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51526 $as_echo_n "(cached) " >&6
51527 else
51530 ac_ext=cpp
51531 ac_cpp='$CXXCPP $CPPFLAGS'
51532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51537 /* end confdefs.h. */
51538 #include <math.h>
51540 main ()
51542 _powl(0, 0);
51544 return 0;
51546 _ACEOF
51547 if ac_fn_cxx_try_compile "$LINENO"; then :
51548 glibcxx_cv_func__powl_use=yes
51549 else
51550 glibcxx_cv_func__powl_use=no
51552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51553 ac_ext=c
51554 ac_cpp='$CPP $CPPFLAGS'
51555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51564 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51566 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51567 for ac_func in _powl
51568 do :
51569 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51570 if test "x$ac_cv_func__powl" = x""yes; then :
51571 cat >>confdefs.h <<_ACEOF
51572 #define HAVE__POWL 1
51573 _ACEOF
51576 done
51585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51586 $as_echo_n "checking for sqrtl declaration... " >&6; }
51587 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51588 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51589 $as_echo_n "(cached) " >&6
51590 else
51593 ac_ext=cpp
51594 ac_cpp='$CXXCPP $CPPFLAGS'
51595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51600 /* end confdefs.h. */
51601 #include <math.h>
51602 #ifdef HAVE_IEEEFP_H
51603 #include <ieeefp.h>
51604 #endif
51607 main ()
51609 sqrtl(0);
51611 return 0;
51613 _ACEOF
51614 if ac_fn_cxx_try_compile "$LINENO"; then :
51615 glibcxx_cv_func_sqrtl_use=yes
51616 else
51617 glibcxx_cv_func_sqrtl_use=no
51619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51620 ac_ext=c
51621 ac_cpp='$CPP $CPPFLAGS'
51622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51631 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51633 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51634 for ac_func in sqrtl
51635 do :
51636 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51637 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51638 cat >>confdefs.h <<_ACEOF
51639 #define HAVE_SQRTL 1
51640 _ACEOF
51643 done
51645 else
51647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51648 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51649 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51650 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51651 $as_echo_n "(cached) " >&6
51652 else
51655 ac_ext=cpp
51656 ac_cpp='$CXXCPP $CPPFLAGS'
51657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51662 /* end confdefs.h. */
51663 #include <math.h>
51664 #ifdef HAVE_IEEEFP_H
51665 #include <ieeefp.h>
51666 #endif
51669 main ()
51671 _sqrtl(0);
51673 return 0;
51675 _ACEOF
51676 if ac_fn_cxx_try_compile "$LINENO"; then :
51677 glibcxx_cv_func__sqrtl_use=yes
51678 else
51679 glibcxx_cv_func__sqrtl_use=no
51681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51682 ac_ext=c
51683 ac_cpp='$CPP $CPPFLAGS'
51684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51693 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51695 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51696 for ac_func in _sqrtl
51697 do :
51698 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51699 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51700 cat >>confdefs.h <<_ACEOF
51701 #define HAVE__SQRTL 1
51702 _ACEOF
51705 done
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51715 $as_echo_n "checking for sincosl declaration... " >&6; }
51716 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51717 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51718 $as_echo_n "(cached) " >&6
51719 else
51722 ac_ext=cpp
51723 ac_cpp='$CXXCPP $CPPFLAGS'
51724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51729 /* end confdefs.h. */
51730 #include <math.h>
51732 main ()
51734 sincosl(0, 0, 0);
51736 return 0;
51738 _ACEOF
51739 if ac_fn_cxx_try_compile "$LINENO"; then :
51740 glibcxx_cv_func_sincosl_use=yes
51741 else
51742 glibcxx_cv_func_sincosl_use=no
51744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51745 ac_ext=c
51746 ac_cpp='$CPP $CPPFLAGS'
51747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51756 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51758 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51759 for ac_func in sincosl
51760 do :
51761 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51762 if test "x$ac_cv_func_sincosl" = x""yes; then :
51763 cat >>confdefs.h <<_ACEOF
51764 #define HAVE_SINCOSL 1
51765 _ACEOF
51768 done
51770 else
51772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51773 $as_echo_n "checking for _sincosl declaration... " >&6; }
51774 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51775 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51776 $as_echo_n "(cached) " >&6
51777 else
51780 ac_ext=cpp
51781 ac_cpp='$CXXCPP $CPPFLAGS'
51782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51787 /* end confdefs.h. */
51788 #include <math.h>
51790 main ()
51792 _sincosl(0, 0, 0);
51794 return 0;
51796 _ACEOF
51797 if ac_fn_cxx_try_compile "$LINENO"; then :
51798 glibcxx_cv_func__sincosl_use=yes
51799 else
51800 glibcxx_cv_func__sincosl_use=no
51802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51803 ac_ext=c
51804 ac_cpp='$CPP $CPPFLAGS'
51805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51814 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51816 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51817 for ac_func in _sincosl
51818 do :
51819 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51820 if test "x$ac_cv_func__sincosl" = x""yes; then :
51821 cat >>confdefs.h <<_ACEOF
51822 #define HAVE__SINCOSL 1
51823 _ACEOF
51826 done
51835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51836 $as_echo_n "checking for finitel declaration... " >&6; }
51837 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51838 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51839 $as_echo_n "(cached) " >&6
51840 else
51843 ac_ext=cpp
51844 ac_cpp='$CXXCPP $CPPFLAGS'
51845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51850 /* end confdefs.h. */
51851 #include <math.h>
51852 #ifdef HAVE_IEEEFP_H
51853 #include <ieeefp.h>
51854 #endif
51857 main ()
51859 finitel(0);
51861 return 0;
51863 _ACEOF
51864 if ac_fn_cxx_try_compile "$LINENO"; then :
51865 glibcxx_cv_func_finitel_use=yes
51866 else
51867 glibcxx_cv_func_finitel_use=no
51869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51870 ac_ext=c
51871 ac_cpp='$CPP $CPPFLAGS'
51872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51881 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51883 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51884 for ac_func in finitel
51885 do :
51886 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51887 if test "x$ac_cv_func_finitel" = x""yes; then :
51888 cat >>confdefs.h <<_ACEOF
51889 #define HAVE_FINITEL 1
51890 _ACEOF
51893 done
51895 else
51897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51898 $as_echo_n "checking for _finitel declaration... " >&6; }
51899 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51900 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51901 $as_echo_n "(cached) " >&6
51902 else
51905 ac_ext=cpp
51906 ac_cpp='$CXXCPP $CPPFLAGS'
51907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51912 /* end confdefs.h. */
51913 #include <math.h>
51914 #ifdef HAVE_IEEEFP_H
51915 #include <ieeefp.h>
51916 #endif
51919 main ()
51921 _finitel(0);
51923 return 0;
51925 _ACEOF
51926 if ac_fn_cxx_try_compile "$LINENO"; then :
51927 glibcxx_cv_func__finitel_use=yes
51928 else
51929 glibcxx_cv_func__finitel_use=no
51931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51932 ac_ext=c
51933 ac_cpp='$CPP $CPPFLAGS'
51934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51943 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51945 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51946 for ac_func in _finitel
51947 do :
51948 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51949 if test "x$ac_cv_func__finitel" = x""yes; then :
51950 cat >>confdefs.h <<_ACEOF
51951 #define HAVE__FINITEL 1
51952 _ACEOF
51955 done
51963 LIBS="$ac_save_LIBS"
51964 CXXFLAGS="$ac_save_CXXFLAGS"
51967 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51968 ac_save_CXXFLAGS="$CXXFLAGS"
51969 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51973 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51974 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51975 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51976 $as_echo_n "(cached) " >&6
51977 else
51980 ac_ext=cpp
51981 ac_cpp='$CXXCPP $CPPFLAGS'
51982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51987 /* end confdefs.h. */
51988 #include <stdlib.h>
51990 main ()
51992 at_quick_exit(0);
51994 return 0;
51996 _ACEOF
51997 if ac_fn_cxx_try_compile "$LINENO"; then :
51998 glibcxx_cv_func_at_quick_exit_use=yes
51999 else
52000 glibcxx_cv_func_at_quick_exit_use=no
52002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52003 ac_ext=c
52004 ac_cpp='$CPP $CPPFLAGS'
52005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52014 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52015 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52016 for ac_func in at_quick_exit
52017 do :
52018 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52019 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52020 cat >>confdefs.h <<_ACEOF
52021 #define HAVE_AT_QUICK_EXIT 1
52022 _ACEOF
52025 done
52030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52031 $as_echo_n "checking for quick_exit declaration... " >&6; }
52032 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52033 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52034 $as_echo_n "(cached) " >&6
52035 else
52038 ac_ext=cpp
52039 ac_cpp='$CXXCPP $CPPFLAGS'
52040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52045 /* end confdefs.h. */
52046 #include <stdlib.h>
52048 main ()
52050 quick_exit(0);
52052 return 0;
52054 _ACEOF
52055 if ac_fn_cxx_try_compile "$LINENO"; then :
52056 glibcxx_cv_func_quick_exit_use=yes
52057 else
52058 glibcxx_cv_func_quick_exit_use=no
52060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52061 ac_ext=c
52062 ac_cpp='$CPP $CPPFLAGS'
52063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52072 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52073 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52074 for ac_func in quick_exit
52075 do :
52076 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52077 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52078 cat >>confdefs.h <<_ACEOF
52079 #define HAVE_QUICK_EXIT 1
52080 _ACEOF
52083 done
52088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52089 $as_echo_n "checking for strtold declaration... " >&6; }
52090 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52091 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52092 $as_echo_n "(cached) " >&6
52093 else
52096 ac_ext=cpp
52097 ac_cpp='$CXXCPP $CPPFLAGS'
52098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52103 /* end confdefs.h. */
52104 #include <stdlib.h>
52106 main ()
52108 strtold(0, 0);
52110 return 0;
52112 _ACEOF
52113 if ac_fn_cxx_try_compile "$LINENO"; then :
52114 glibcxx_cv_func_strtold_use=yes
52115 else
52116 glibcxx_cv_func_strtold_use=no
52118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52119 ac_ext=c
52120 ac_cpp='$CPP $CPPFLAGS'
52121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52130 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52131 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52132 for ac_func in strtold
52133 do :
52134 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52135 if test "x$ac_cv_func_strtold" = x""yes; then :
52136 cat >>confdefs.h <<_ACEOF
52137 #define HAVE_STRTOLD 1
52138 _ACEOF
52141 done
52148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52149 $as_echo_n "checking for strtof declaration... " >&6; }
52150 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52151 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52152 $as_echo_n "(cached) " >&6
52153 else
52156 ac_ext=cpp
52157 ac_cpp='$CXXCPP $CPPFLAGS'
52158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52163 /* end confdefs.h. */
52164 #include <stdlib.h>
52166 main ()
52168 strtof(0, 0);
52170 return 0;
52172 _ACEOF
52173 if ac_fn_cxx_try_compile "$LINENO"; then :
52174 glibcxx_cv_func_strtof_use=yes
52175 else
52176 glibcxx_cv_func_strtof_use=no
52178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52179 ac_ext=c
52180 ac_cpp='$CPP $CPPFLAGS'
52181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52190 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52191 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52192 for ac_func in strtof
52193 do :
52194 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52195 if test "x$ac_cv_func_strtof" = x""yes; then :
52196 cat >>confdefs.h <<_ACEOF
52197 #define HAVE_STRTOF 1
52198 _ACEOF
52201 done
52208 CXXFLAGS="$ac_save_CXXFLAGS"
52210 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
52214 # Check whether --enable-tls was given.
52215 if test "${enable_tls+set}" = set; then :
52216 enableval=$enable_tls;
52217 case "$enableval" in
52218 yes|no) ;;
52219 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52220 esac
52222 else
52223 enable_tls=yes
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52228 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52229 if test "${gcc_cv_have_tls+set}" = set; then :
52230 $as_echo_n "(cached) " >&6
52231 else
52233 if test "$cross_compiling" = yes; then :
52234 if test x$gcc_no_link = xyes; then
52235 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52238 /* end confdefs.h. */
52239 __thread int a; int b; int main() { return a = b; }
52240 _ACEOF
52241 if ac_fn_c_try_link "$LINENO"; then :
52242 chktls_save_LDFLAGS="$LDFLAGS"
52243 case $host in
52244 *-*-linux*)
52245 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52247 esac
52248 chktls_save_CFLAGS="$CFLAGS"
52249 CFLAGS="-fPIC $CFLAGS"
52250 if test x$gcc_no_link = xyes; then
52251 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52254 /* end confdefs.h. */
52255 int f() { return 0; }
52256 _ACEOF
52257 if ac_fn_c_try_link "$LINENO"; then :
52258 if test x$gcc_no_link = xyes; then
52259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52262 /* end confdefs.h. */
52263 __thread int a; int b; int f() { return a = b; }
52264 _ACEOF
52265 if ac_fn_c_try_link "$LINENO"; then :
52266 gcc_cv_have_tls=yes
52267 else
52268 gcc_cv_have_tls=no
52270 rm -f core conftest.err conftest.$ac_objext \
52271 conftest$ac_exeext conftest.$ac_ext
52272 else
52273 gcc_cv_have_tls=yes
52275 rm -f core conftest.err conftest.$ac_objext \
52276 conftest$ac_exeext conftest.$ac_ext
52277 CFLAGS="$chktls_save_CFLAGS"
52278 LDFLAGS="$chktls_save_LDFLAGS"
52279 else
52280 gcc_cv_have_tls=no
52282 rm -f core conftest.err conftest.$ac_objext \
52283 conftest$ac_exeext conftest.$ac_ext
52286 else
52287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52288 /* end confdefs.h. */
52289 __thread int a; int b; int main() { return a = b; }
52290 _ACEOF
52291 if ac_fn_c_try_run "$LINENO"; then :
52292 chktls_save_LDFLAGS="$LDFLAGS"
52293 LDFLAGS="-static $LDFLAGS"
52294 if test x$gcc_no_link = xyes; then
52295 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52298 /* end confdefs.h. */
52299 int main() { return 0; }
52300 _ACEOF
52301 if ac_fn_c_try_link "$LINENO"; then :
52302 if test "$cross_compiling" = yes; then :
52303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52305 as_fn_error "cannot run test program while cross compiling
52306 See \`config.log' for more details." "$LINENO" 5; }
52307 else
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 __thread int a; int b; int main() { return a = b; }
52311 _ACEOF
52312 if ac_fn_c_try_run "$LINENO"; then :
52313 gcc_cv_have_tls=yes
52314 else
52315 gcc_cv_have_tls=no
52317 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52318 conftest.$ac_objext conftest.beam conftest.$ac_ext
52321 else
52322 gcc_cv_have_tls=yes
52324 rm -f core conftest.err conftest.$ac_objext \
52325 conftest$ac_exeext conftest.$ac_ext
52326 LDFLAGS="$chktls_save_LDFLAGS"
52327 if test $gcc_cv_have_tls = yes; then
52328 chktls_save_CFLAGS="$CFLAGS"
52329 thread_CFLAGS=failed
52330 for flag in '' '-pthread' '-lpthread'; do
52331 CFLAGS="$flag $chktls_save_CFLAGS"
52332 if test x$gcc_no_link = xyes; then
52333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52336 /* end confdefs.h. */
52337 #include <pthread.h>
52338 void *g(void *d) { return NULL; }
52340 main ()
52342 pthread_t t; pthread_create(&t,NULL,g,NULL);
52344 return 0;
52346 _ACEOF
52347 if ac_fn_c_try_link "$LINENO"; then :
52348 thread_CFLAGS="$flag"
52350 rm -f core conftest.err conftest.$ac_objext \
52351 conftest$ac_exeext conftest.$ac_ext
52352 if test "X$thread_CFLAGS" != Xfailed; then
52353 break
52355 done
52356 CFLAGS="$chktls_save_CFLAGS"
52357 if test "X$thread_CFLAGS" != Xfailed; then
52358 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52359 if test "$cross_compiling" = yes; then :
52360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52362 as_fn_error "cannot run test program while cross compiling
52363 See \`config.log' for more details." "$LINENO" 5; }
52364 else
52365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52366 /* end confdefs.h. */
52367 #include <pthread.h>
52368 __thread int a;
52369 static int *volatile a_in_other_thread;
52370 static void *
52371 thread_func (void *arg)
52373 a_in_other_thread = &a;
52374 return (void *)0;
52377 main ()
52379 pthread_t thread;
52380 void *thread_retval;
52381 int *volatile a_in_main_thread;
52382 a_in_main_thread = &a;
52383 if (pthread_create (&thread, (pthread_attr_t *)0,
52384 thread_func, (void *)0))
52385 return 0;
52386 if (pthread_join (thread, &thread_retval))
52387 return 0;
52388 return (a_in_other_thread == a_in_main_thread);
52390 return 0;
52392 _ACEOF
52393 if ac_fn_c_try_run "$LINENO"; then :
52394 gcc_cv_have_tls=yes
52395 else
52396 gcc_cv_have_tls=no
52398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52399 conftest.$ac_objext conftest.beam conftest.$ac_ext
52402 CFLAGS="$chktls_save_CFLAGS"
52405 else
52406 gcc_cv_have_tls=no
52408 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52409 conftest.$ac_objext conftest.beam conftest.$ac_ext
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52414 $as_echo "$gcc_cv_have_tls" >&6; }
52415 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52417 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52425 am_save_CPPFLAGS="$CPPFLAGS"
52427 for element in $INCICONV; do
52428 haveit=
52429 for x in $CPPFLAGS; do
52431 acl_save_prefix="$prefix"
52432 prefix="$acl_final_prefix"
52433 acl_save_exec_prefix="$exec_prefix"
52434 exec_prefix="$acl_final_exec_prefix"
52435 eval x=\"$x\"
52436 exec_prefix="$acl_save_exec_prefix"
52437 prefix="$acl_save_prefix"
52439 if test "X$x" = "X$element"; then
52440 haveit=yes
52441 break
52443 done
52444 if test -z "$haveit"; then
52445 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
52447 done
52450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
52451 $as_echo_n "checking for iconv... " >&6; }
52452 if test "${am_cv_func_iconv+set}" = set; then :
52453 $as_echo_n "(cached) " >&6
52454 else
52456 am_cv_func_iconv="no, consider installing GNU libiconv"
52457 am_cv_lib_iconv=no
52458 if test x$gcc_no_link = xyes; then
52459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52462 /* end confdefs.h. */
52463 #include <stdlib.h>
52464 #include <iconv.h>
52466 main ()
52468 iconv_t cd = iconv_open("","");
52469 iconv(cd,NULL,NULL,NULL,NULL);
52470 iconv_close(cd);
52472 return 0;
52474 _ACEOF
52475 if ac_fn_c_try_link "$LINENO"; then :
52476 am_cv_func_iconv=yes
52478 rm -f core conftest.err conftest.$ac_objext \
52479 conftest$ac_exeext conftest.$ac_ext
52480 if test "$am_cv_func_iconv" != yes; then
52481 am_save_LIBS="$LIBS"
52482 LIBS="$LIBS $LIBICONV"
52483 if test x$gcc_no_link = xyes; then
52484 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52487 /* end confdefs.h. */
52488 #include <stdlib.h>
52489 #include <iconv.h>
52491 main ()
52493 iconv_t cd = iconv_open("","");
52494 iconv(cd,NULL,NULL,NULL,NULL);
52495 iconv_close(cd);
52497 return 0;
52499 _ACEOF
52500 if ac_fn_c_try_link "$LINENO"; then :
52501 am_cv_lib_iconv=yes
52502 am_cv_func_iconv=yes
52504 rm -f core conftest.err conftest.$ac_objext \
52505 conftest$ac_exeext conftest.$ac_ext
52506 LIBS="$am_save_LIBS"
52510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
52511 $as_echo "$am_cv_func_iconv" >&6; }
52512 if test "$am_cv_func_iconv" = yes; then
52514 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
52517 if test "$am_cv_lib_iconv" = yes; then
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
52519 $as_echo_n "checking how to link with libiconv... " >&6; }
52520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
52521 $as_echo "$LIBICONV" >&6; }
52522 else
52523 CPPFLAGS="$am_save_CPPFLAGS"
52524 LIBICONV=
52525 LTLIBICONV=
52530 if test "$am_cv_func_iconv" = yes; then
52531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
52532 $as_echo_n "checking for iconv declaration... " >&6; }
52533 if test "${am_cv_proto_iconv+set}" = set; then :
52534 $as_echo_n "(cached) " >&6
52535 else
52537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52538 /* end confdefs.h. */
52540 #include <stdlib.h>
52541 #include <iconv.h>
52542 extern
52543 #ifdef __cplusplus
52545 #endif
52546 #if defined(__STDC__) || defined(__cplusplus)
52547 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
52548 #else
52549 size_t iconv();
52550 #endif
52553 main ()
52557 return 0;
52559 _ACEOF
52560 if ac_fn_c_try_compile "$LINENO"; then :
52561 am_cv_proto_iconv_arg1=""
52562 else
52563 am_cv_proto_iconv_arg1="const"
52565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52566 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);"
52569 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
52570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
52571 }$am_cv_proto_iconv" >&5
52572 $as_echo "${ac_t:-
52573 }$am_cv_proto_iconv" >&6; }
52575 cat >>confdefs.h <<_ACEOF
52576 #define ICONV_CONST $am_cv_proto_iconv_arg1
52577 _ACEOF
52582 *-mingw32*)
52584 # If we're not using GNU ld, then there's no point in even trying these
52585 # tests. Check for that first. We should have already tested for gld
52586 # by now (in libtool), but require it now just to be safe...
52587 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52588 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52592 # The name set by libtool depends on the version of libtool. Shame on us
52593 # for depending on an impl detail, but c'est la vie. Older versions used
52594 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52595 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52596 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52597 # set (hence we're using an older libtool), then set it.
52598 if test x${with_gnu_ld+set} != xset; then
52599 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52600 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52601 with_gnu_ld=no
52602 else
52603 with_gnu_ld=$ac_cv_prog_gnu_ld
52607 # Start by getting the version number. I think the libtool test already
52608 # does some of this, but throws away the result.
52609 glibcxx_ld_is_gold=no
52610 if test x"$with_gnu_ld" = x"yes"; then
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52612 $as_echo_n "checking for ld version... " >&6; }
52614 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52615 glibcxx_ld_is_gold=yes
52617 ldver=`$LD --version 2>/dev/null |
52618 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'`
52620 glibcxx_gnu_ld_version=`echo $ldver | \
52621 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52623 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52626 # Set --gc-sections.
52627 glibcxx_have_gc_sections=no
52628 if test "$glibcxx_ld_is_gold" = "yes"; then
52629 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52630 glibcxx_have_gc_sections=yes
52632 else
52633 glibcxx_gcsections_min_ld=21602
52634 if test x"$with_gnu_ld" = x"yes" &&
52635 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52636 glibcxx_have_gc_sections=yes
52639 if test "$glibcxx_have_gc_sections" = "yes"; then
52640 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52641 # NB: This flag only works reliably after 2.16.1. Configure tests
52642 # for this are difficult, so hard wire a value that should work.
52644 ac_test_CFLAGS="${CFLAGS+set}"
52645 ac_save_CFLAGS="$CFLAGS"
52646 CFLAGS='-Wl,--gc-sections'
52648 # Check for -Wl,--gc-sections
52649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52650 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52651 if test x$gcc_no_link = xyes; then
52652 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52655 /* end confdefs.h. */
52656 int one(void) { return 1; }
52657 int two(void) { return 2; }
52660 main ()
52662 two();
52664 return 0;
52666 _ACEOF
52667 if ac_fn_c_try_link "$LINENO"; then :
52668 ac_gcsections=yes
52669 else
52670 ac_gcsections=no
52672 rm -f core conftest.err conftest.$ac_objext \
52673 conftest$ac_exeext conftest.$ac_ext
52674 if test "$ac_gcsections" = "yes"; then
52675 rm -f conftest.c
52676 touch conftest.c
52677 if $CC -c conftest.c; then
52678 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52679 grep "Warning: gc-sections option ignored" > /dev/null; then
52680 ac_gcsections=no
52683 rm -f conftest.c conftest.o conftest
52685 if test "$ac_gcsections" = "yes"; then
52686 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52689 $as_echo "$ac_gcsections" >&6; }
52691 if test "$ac_test_CFLAGS" = set; then
52692 CFLAGS="$ac_save_CFLAGS"
52693 else
52694 # this is the suspicious part
52695 CFLAGS=''
52699 # Set -z,relro.
52700 # Note this is only for shared objects.
52701 ac_ld_relro=no
52702 if test x"$with_gnu_ld" = x"yes"; then
52703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52704 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52705 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52706 if test -n "$cxx_z_relo"; then
52707 OPT_LDFLAGS="-Wl,-z,relro"
52708 ac_ld_relro=yes
52710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52711 $as_echo "$ac_ld_relro" >&6; }
52714 # Set linker optimization flags.
52715 if test x"$with_gnu_ld" = x"yes"; then
52716 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52723 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52724 ac_save_CXXFLAGS="$CXXFLAGS"
52725 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52728 $as_echo_n "checking for sin in -lm... " >&6; }
52729 if test "${ac_cv_lib_m_sin+set}" = set; then :
52730 $as_echo_n "(cached) " >&6
52731 else
52732 ac_check_lib_save_LIBS=$LIBS
52733 LIBS="-lm $LIBS"
52734 if test x$gcc_no_link = xyes; then
52735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52738 /* end confdefs.h. */
52740 /* Override any GCC internal prototype to avoid an error.
52741 Use char because int might match the return type of a GCC
52742 builtin and then its argument prototype would still apply. */
52743 #ifdef __cplusplus
52744 extern "C"
52745 #endif
52746 char sin ();
52748 main ()
52750 return sin ();
52752 return 0;
52754 _ACEOF
52755 if ac_fn_c_try_link "$LINENO"; then :
52756 ac_cv_lib_m_sin=yes
52757 else
52758 ac_cv_lib_m_sin=no
52760 rm -f core conftest.err conftest.$ac_objext \
52761 conftest$ac_exeext conftest.$ac_ext
52762 LIBS=$ac_check_lib_save_LIBS
52764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52765 $as_echo "$ac_cv_lib_m_sin" >&6; }
52766 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52767 libm="-lm"
52770 ac_save_LIBS="$LIBS"
52771 LIBS="$LIBS $libm"
52775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52776 $as_echo_n "checking for isinf declaration... " >&6; }
52777 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52778 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52779 $as_echo_n "(cached) " >&6
52780 else
52783 ac_ext=cpp
52784 ac_cpp='$CXXCPP $CPPFLAGS'
52785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52790 /* end confdefs.h. */
52791 #include <math.h>
52792 #ifdef HAVE_IEEEFP_H
52793 #include <ieeefp.h>
52794 #endif
52797 main ()
52799 isinf(0);
52801 return 0;
52803 _ACEOF
52804 if ac_fn_cxx_try_compile "$LINENO"; then :
52805 glibcxx_cv_func_isinf_use=yes
52806 else
52807 glibcxx_cv_func_isinf_use=no
52809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52810 ac_ext=c
52811 ac_cpp='$CPP $CPPFLAGS'
52812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52821 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52823 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52824 for ac_func in isinf
52825 do :
52826 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52827 if test "x$ac_cv_func_isinf" = x""yes; then :
52828 cat >>confdefs.h <<_ACEOF
52829 #define HAVE_ISINF 1
52830 _ACEOF
52833 done
52835 else
52837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52838 $as_echo_n "checking for _isinf declaration... " >&6; }
52839 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52840 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52841 $as_echo_n "(cached) " >&6
52842 else
52845 ac_ext=cpp
52846 ac_cpp='$CXXCPP $CPPFLAGS'
52847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52852 /* end confdefs.h. */
52853 #include <math.h>
52854 #ifdef HAVE_IEEEFP_H
52855 #include <ieeefp.h>
52856 #endif
52859 main ()
52861 _isinf(0);
52863 return 0;
52865 _ACEOF
52866 if ac_fn_cxx_try_compile "$LINENO"; then :
52867 glibcxx_cv_func__isinf_use=yes
52868 else
52869 glibcxx_cv_func__isinf_use=no
52871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52872 ac_ext=c
52873 ac_cpp='$CPP $CPPFLAGS'
52874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52883 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52885 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52886 for ac_func in _isinf
52887 do :
52888 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52889 if test "x$ac_cv_func__isinf" = x""yes; then :
52890 cat >>confdefs.h <<_ACEOF
52891 #define HAVE__ISINF 1
52892 _ACEOF
52895 done
52904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52905 $as_echo_n "checking for isnan declaration... " >&6; }
52906 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52907 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52908 $as_echo_n "(cached) " >&6
52909 else
52912 ac_ext=cpp
52913 ac_cpp='$CXXCPP $CPPFLAGS'
52914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52919 /* end confdefs.h. */
52920 #include <math.h>
52921 #ifdef HAVE_IEEEFP_H
52922 #include <ieeefp.h>
52923 #endif
52926 main ()
52928 isnan(0);
52930 return 0;
52932 _ACEOF
52933 if ac_fn_cxx_try_compile "$LINENO"; then :
52934 glibcxx_cv_func_isnan_use=yes
52935 else
52936 glibcxx_cv_func_isnan_use=no
52938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52939 ac_ext=c
52940 ac_cpp='$CPP $CPPFLAGS'
52941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52950 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52952 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52953 for ac_func in isnan
52954 do :
52955 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52956 if test "x$ac_cv_func_isnan" = x""yes; then :
52957 cat >>confdefs.h <<_ACEOF
52958 #define HAVE_ISNAN 1
52959 _ACEOF
52962 done
52964 else
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52967 $as_echo_n "checking for _isnan declaration... " >&6; }
52968 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52969 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52970 $as_echo_n "(cached) " >&6
52971 else
52974 ac_ext=cpp
52975 ac_cpp='$CXXCPP $CPPFLAGS'
52976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52981 /* end confdefs.h. */
52982 #include <math.h>
52983 #ifdef HAVE_IEEEFP_H
52984 #include <ieeefp.h>
52985 #endif
52988 main ()
52990 _isnan(0);
52992 return 0;
52994 _ACEOF
52995 if ac_fn_cxx_try_compile "$LINENO"; then :
52996 glibcxx_cv_func__isnan_use=yes
52997 else
52998 glibcxx_cv_func__isnan_use=no
53000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53001 ac_ext=c
53002 ac_cpp='$CPP $CPPFLAGS'
53003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
53012 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
53014 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53015 for ac_func in _isnan
53016 do :
53017 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53018 if test "x$ac_cv_func__isnan" = x""yes; then :
53019 cat >>confdefs.h <<_ACEOF
53020 #define HAVE__ISNAN 1
53021 _ACEOF
53024 done
53033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53034 $as_echo_n "checking for finite declaration... " >&6; }
53035 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53036 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53037 $as_echo_n "(cached) " >&6
53038 else
53041 ac_ext=cpp
53042 ac_cpp='$CXXCPP $CPPFLAGS'
53043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53048 /* end confdefs.h. */
53049 #include <math.h>
53050 #ifdef HAVE_IEEEFP_H
53051 #include <ieeefp.h>
53052 #endif
53055 main ()
53057 finite(0);
53059 return 0;
53061 _ACEOF
53062 if ac_fn_cxx_try_compile "$LINENO"; then :
53063 glibcxx_cv_func_finite_use=yes
53064 else
53065 glibcxx_cv_func_finite_use=no
53067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53068 ac_ext=c
53069 ac_cpp='$CPP $CPPFLAGS'
53070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53079 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53081 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53082 for ac_func in finite
53083 do :
53084 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53085 if test "x$ac_cv_func_finite" = x""yes; then :
53086 cat >>confdefs.h <<_ACEOF
53087 #define HAVE_FINITE 1
53088 _ACEOF
53091 done
53093 else
53095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53096 $as_echo_n "checking for _finite declaration... " >&6; }
53097 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53098 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53099 $as_echo_n "(cached) " >&6
53100 else
53103 ac_ext=cpp
53104 ac_cpp='$CXXCPP $CPPFLAGS'
53105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53110 /* end confdefs.h. */
53111 #include <math.h>
53112 #ifdef HAVE_IEEEFP_H
53113 #include <ieeefp.h>
53114 #endif
53117 main ()
53119 _finite(0);
53121 return 0;
53123 _ACEOF
53124 if ac_fn_cxx_try_compile "$LINENO"; then :
53125 glibcxx_cv_func__finite_use=yes
53126 else
53127 glibcxx_cv_func__finite_use=no
53129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53130 ac_ext=c
53131 ac_cpp='$CPP $CPPFLAGS'
53132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53141 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53143 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53144 for ac_func in _finite
53145 do :
53146 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53147 if test "x$ac_cv_func__finite" = x""yes; then :
53148 cat >>confdefs.h <<_ACEOF
53149 #define HAVE__FINITE 1
53150 _ACEOF
53153 done
53162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53163 $as_echo_n "checking for sincos declaration... " >&6; }
53164 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53165 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53166 $as_echo_n "(cached) " >&6
53167 else
53170 ac_ext=cpp
53171 ac_cpp='$CXXCPP $CPPFLAGS'
53172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53177 /* end confdefs.h. */
53178 #include <math.h>
53180 main ()
53182 sincos(0, 0, 0);
53184 return 0;
53186 _ACEOF
53187 if ac_fn_cxx_try_compile "$LINENO"; then :
53188 glibcxx_cv_func_sincos_use=yes
53189 else
53190 glibcxx_cv_func_sincos_use=no
53192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53193 ac_ext=c
53194 ac_cpp='$CPP $CPPFLAGS'
53195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53204 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53206 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53207 for ac_func in sincos
53208 do :
53209 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53210 if test "x$ac_cv_func_sincos" = x""yes; then :
53211 cat >>confdefs.h <<_ACEOF
53212 #define HAVE_SINCOS 1
53213 _ACEOF
53216 done
53218 else
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53221 $as_echo_n "checking for _sincos declaration... " >&6; }
53222 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53223 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53224 $as_echo_n "(cached) " >&6
53225 else
53228 ac_ext=cpp
53229 ac_cpp='$CXXCPP $CPPFLAGS'
53230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53235 /* end confdefs.h. */
53236 #include <math.h>
53238 main ()
53240 _sincos(0, 0, 0);
53242 return 0;
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246 glibcxx_cv_func__sincos_use=yes
53247 else
53248 glibcxx_cv_func__sincos_use=no
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251 ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53262 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53264 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53265 for ac_func in _sincos
53266 do :
53267 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53268 if test "x$ac_cv_func__sincos" = x""yes; then :
53269 cat >>confdefs.h <<_ACEOF
53270 #define HAVE__SINCOS 1
53271 _ACEOF
53274 done
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53284 $as_echo_n "checking for fpclass declaration... " >&6; }
53285 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53286 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53287 $as_echo_n "(cached) " >&6
53288 else
53291 ac_ext=cpp
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53299 #include <math.h>
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53302 #endif
53305 main ()
53307 fpclass(0);
53309 return 0;
53311 _ACEOF
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func_fpclass_use=yes
53314 else
53315 glibcxx_cv_func_fpclass_use=no
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53318 ac_ext=c
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53329 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53331 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53332 for ac_func in fpclass
53333 do :
53334 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53335 if test "x$ac_cv_func_fpclass" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE_FPCLASS 1
53338 _ACEOF
53341 done
53343 else
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53346 $as_echo_n "checking for _fpclass declaration... " >&6; }
53347 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53348 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53349 $as_echo_n "(cached) " >&6
53350 else
53353 ac_ext=cpp
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 #ifdef HAVE_IEEEFP_H
53363 #include <ieeefp.h>
53364 #endif
53367 main ()
53369 _fpclass(0);
53371 return 0;
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375 glibcxx_cv_func__fpclass_use=yes
53376 else
53377 glibcxx_cv_func__fpclass_use=no
53379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53380 ac_ext=c
53381 ac_cpp='$CPP $CPPFLAGS'
53382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53391 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53393 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53394 for ac_func in _fpclass
53395 do :
53396 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53397 if test "x$ac_cv_func__fpclass" = x""yes; then :
53398 cat >>confdefs.h <<_ACEOF
53399 #define HAVE__FPCLASS 1
53400 _ACEOF
53403 done
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53413 $as_echo_n "checking for qfpclass declaration... " >&6; }
53414 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53415 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53416 $as_echo_n "(cached) " >&6
53417 else
53420 ac_ext=cpp
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 #include <math.h>
53429 #ifdef HAVE_IEEEFP_H
53430 #include <ieeefp.h>
53431 #endif
53434 main ()
53436 qfpclass(0);
53438 return 0;
53440 _ACEOF
53441 if ac_fn_cxx_try_compile "$LINENO"; then :
53442 glibcxx_cv_func_qfpclass_use=yes
53443 else
53444 glibcxx_cv_func_qfpclass_use=no
53446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53447 ac_ext=c
53448 ac_cpp='$CPP $CPPFLAGS'
53449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53458 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53460 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53461 for ac_func in qfpclass
53462 do :
53463 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53464 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53465 cat >>confdefs.h <<_ACEOF
53466 #define HAVE_QFPCLASS 1
53467 _ACEOF
53470 done
53472 else
53474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53475 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53476 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53477 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53478 $as_echo_n "(cached) " >&6
53479 else
53482 ac_ext=cpp
53483 ac_cpp='$CXXCPP $CPPFLAGS'
53484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53489 /* end confdefs.h. */
53490 #include <math.h>
53491 #ifdef HAVE_IEEEFP_H
53492 #include <ieeefp.h>
53493 #endif
53496 main ()
53498 _qfpclass(0);
53500 return 0;
53502 _ACEOF
53503 if ac_fn_cxx_try_compile "$LINENO"; then :
53504 glibcxx_cv_func__qfpclass_use=yes
53505 else
53506 glibcxx_cv_func__qfpclass_use=no
53508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53509 ac_ext=c
53510 ac_cpp='$CPP $CPPFLAGS'
53511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53520 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53522 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53523 for ac_func in _qfpclass
53524 do :
53525 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53526 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53527 cat >>confdefs.h <<_ACEOF
53528 #define HAVE__QFPCLASS 1
53529 _ACEOF
53532 done
53541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53542 $as_echo_n "checking for hypot declaration... " >&6; }
53543 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53544 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53545 $as_echo_n "(cached) " >&6
53546 else
53549 ac_ext=cpp
53550 ac_cpp='$CXXCPP $CPPFLAGS'
53551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53556 /* end confdefs.h. */
53557 #include <math.h>
53559 main ()
53561 hypot(0, 0);
53563 return 0;
53565 _ACEOF
53566 if ac_fn_cxx_try_compile "$LINENO"; then :
53567 glibcxx_cv_func_hypot_use=yes
53568 else
53569 glibcxx_cv_func_hypot_use=no
53571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53572 ac_ext=c
53573 ac_cpp='$CPP $CPPFLAGS'
53574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53583 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53585 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53586 for ac_func in hypot
53587 do :
53588 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53589 if test "x$ac_cv_func_hypot" = x""yes; then :
53590 cat >>confdefs.h <<_ACEOF
53591 #define HAVE_HYPOT 1
53592 _ACEOF
53595 done
53597 else
53599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53600 $as_echo_n "checking for _hypot declaration... " >&6; }
53601 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53602 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53603 $as_echo_n "(cached) " >&6
53604 else
53607 ac_ext=cpp
53608 ac_cpp='$CXXCPP $CPPFLAGS'
53609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53614 /* end confdefs.h. */
53615 #include <math.h>
53617 main ()
53619 _hypot(0, 0);
53621 return 0;
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625 glibcxx_cv_func__hypot_use=yes
53626 else
53627 glibcxx_cv_func__hypot_use=no
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630 ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53641 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53643 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53644 for ac_func in _hypot
53645 do :
53646 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53647 if test "x$ac_cv_func__hypot" = x""yes; then :
53648 cat >>confdefs.h <<_ACEOF
53649 #define HAVE__HYPOT 1
53650 _ACEOF
53653 done
53662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53663 $as_echo_n "checking for float trig functions... " >&6; }
53664 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53665 $as_echo_n "(cached) " >&6
53666 else
53669 ac_ext=cpp
53670 ac_cpp='$CXXCPP $CPPFLAGS'
53671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53676 /* end confdefs.h. */
53677 #include <math.h>
53679 main ()
53681 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53683 return 0;
53685 _ACEOF
53686 if ac_fn_cxx_try_compile "$LINENO"; then :
53687 glibcxx_cv_func_float_trig_use=yes
53688 else
53689 glibcxx_cv_func_float_trig_use=no
53691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53692 ac_ext=c
53693 ac_cpp='$CPP $CPPFLAGS'
53694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53701 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53702 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53703 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53704 do :
53705 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53706 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53707 eval as_val=\$$as_ac_var
53708 if test "x$as_val" = x""yes; then :
53709 cat >>confdefs.h <<_ACEOF
53710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53711 _ACEOF
53714 done
53716 else
53717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53718 $as_echo_n "checking for _float trig functions... " >&6; }
53719 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53720 $as_echo_n "(cached) " >&6
53721 else
53724 ac_ext=cpp
53725 ac_cpp='$CXXCPP $CPPFLAGS'
53726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53731 /* end confdefs.h. */
53732 #include <math.h>
53734 main ()
53736 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53738 return 0;
53740 _ACEOF
53741 if ac_fn_cxx_try_compile "$LINENO"; then :
53742 glibcxx_cv_func__float_trig_use=yes
53743 else
53744 glibcxx_cv_func__float_trig_use=no
53746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53747 ac_ext=c
53748 ac_cpp='$CPP $CPPFLAGS'
53749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53756 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53757 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53758 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53759 do :
53760 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53761 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53762 eval as_val=\$$as_ac_var
53763 if test "x$as_val" = x""yes; then :
53764 cat >>confdefs.h <<_ACEOF
53765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53766 _ACEOF
53769 done
53778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53779 $as_echo_n "checking for float round functions... " >&6; }
53780 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53781 $as_echo_n "(cached) " >&6
53782 else
53785 ac_ext=cpp
53786 ac_cpp='$CXXCPP $CPPFLAGS'
53787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53792 /* end confdefs.h. */
53793 #include <math.h>
53795 main ()
53797 ceilf (0); floorf (0);
53799 return 0;
53801 _ACEOF
53802 if ac_fn_cxx_try_compile "$LINENO"; then :
53803 glibcxx_cv_func_float_round_use=yes
53804 else
53805 glibcxx_cv_func_float_round_use=no
53807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53808 ac_ext=c
53809 ac_cpp='$CPP $CPPFLAGS'
53810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53817 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53818 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53819 for ac_func in ceilf floorf
53820 do :
53821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53822 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53823 eval as_val=\$$as_ac_var
53824 if test "x$as_val" = x""yes; then :
53825 cat >>confdefs.h <<_ACEOF
53826 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53827 _ACEOF
53830 done
53832 else
53833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53834 $as_echo_n "checking for _float round functions... " >&6; }
53835 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53836 $as_echo_n "(cached) " >&6
53837 else
53840 ac_ext=cpp
53841 ac_cpp='$CXXCPP $CPPFLAGS'
53842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53847 /* end confdefs.h. */
53848 #include <math.h>
53850 main ()
53852 _ceilf (0); _floorf (0);
53854 return 0;
53856 _ACEOF
53857 if ac_fn_cxx_try_compile "$LINENO"; then :
53858 glibcxx_cv_func__float_round_use=yes
53859 else
53860 glibcxx_cv_func__float_round_use=no
53862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53863 ac_ext=c
53864 ac_cpp='$CPP $CPPFLAGS'
53865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53872 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53873 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53874 for ac_func in _ceilf _floorf
53875 do :
53876 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53877 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53878 eval as_val=\$$as_ac_var
53879 if test "x$as_val" = x""yes; then :
53880 cat >>confdefs.h <<_ACEOF
53881 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53882 _ACEOF
53885 done
53895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53896 $as_echo_n "checking for expf declaration... " >&6; }
53897 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53898 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53899 $as_echo_n "(cached) " >&6
53900 else
53903 ac_ext=cpp
53904 ac_cpp='$CXXCPP $CPPFLAGS'
53905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53910 /* end confdefs.h. */
53911 #include <math.h>
53912 #ifdef HAVE_IEEEFP_H
53913 #include <ieeefp.h>
53914 #endif
53917 main ()
53919 expf(0);
53921 return 0;
53923 _ACEOF
53924 if ac_fn_cxx_try_compile "$LINENO"; then :
53925 glibcxx_cv_func_expf_use=yes
53926 else
53927 glibcxx_cv_func_expf_use=no
53929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53930 ac_ext=c
53931 ac_cpp='$CPP $CPPFLAGS'
53932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53941 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53943 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53944 for ac_func in expf
53945 do :
53946 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53947 if test "x$ac_cv_func_expf" = x""yes; then :
53948 cat >>confdefs.h <<_ACEOF
53949 #define HAVE_EXPF 1
53950 _ACEOF
53953 done
53955 else
53957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53958 $as_echo_n "checking for _expf declaration... " >&6; }
53959 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53960 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53961 $as_echo_n "(cached) " >&6
53962 else
53965 ac_ext=cpp
53966 ac_cpp='$CXXCPP $CPPFLAGS'
53967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53972 /* end confdefs.h. */
53973 #include <math.h>
53974 #ifdef HAVE_IEEEFP_H
53975 #include <ieeefp.h>
53976 #endif
53979 main ()
53981 _expf(0);
53983 return 0;
53985 _ACEOF
53986 if ac_fn_cxx_try_compile "$LINENO"; then :
53987 glibcxx_cv_func__expf_use=yes
53988 else
53989 glibcxx_cv_func__expf_use=no
53991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53992 ac_ext=c
53993 ac_cpp='$CPP $CPPFLAGS'
53994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
54003 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
54005 if test x$glibcxx_cv_func__expf_use = x"yes"; then
54006 for ac_func in _expf
54007 do :
54008 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
54009 if test "x$ac_cv_func__expf" = x""yes; then :
54010 cat >>confdefs.h <<_ACEOF
54011 #define HAVE__EXPF 1
54012 _ACEOF
54015 done
54024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54025 $as_echo_n "checking for isnanf declaration... " >&6; }
54026 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54027 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54028 $as_echo_n "(cached) " >&6
54029 else
54032 ac_ext=cpp
54033 ac_cpp='$CXXCPP $CPPFLAGS'
54034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54039 /* end confdefs.h. */
54040 #include <math.h>
54041 #ifdef HAVE_IEEEFP_H
54042 #include <ieeefp.h>
54043 #endif
54046 main ()
54048 isnanf(0);
54050 return 0;
54052 _ACEOF
54053 if ac_fn_cxx_try_compile "$LINENO"; then :
54054 glibcxx_cv_func_isnanf_use=yes
54055 else
54056 glibcxx_cv_func_isnanf_use=no
54058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54059 ac_ext=c
54060 ac_cpp='$CPP $CPPFLAGS'
54061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54070 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54072 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54073 for ac_func in isnanf
54074 do :
54075 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54076 if test "x$ac_cv_func_isnanf" = x""yes; then :
54077 cat >>confdefs.h <<_ACEOF
54078 #define HAVE_ISNANF 1
54079 _ACEOF
54082 done
54084 else
54086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54087 $as_echo_n "checking for _isnanf declaration... " >&6; }
54088 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54089 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54090 $as_echo_n "(cached) " >&6
54091 else
54094 ac_ext=cpp
54095 ac_cpp='$CXXCPP $CPPFLAGS'
54096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54101 /* end confdefs.h. */
54102 #include <math.h>
54103 #ifdef HAVE_IEEEFP_H
54104 #include <ieeefp.h>
54105 #endif
54108 main ()
54110 _isnanf(0);
54112 return 0;
54114 _ACEOF
54115 if ac_fn_cxx_try_compile "$LINENO"; then :
54116 glibcxx_cv_func__isnanf_use=yes
54117 else
54118 glibcxx_cv_func__isnanf_use=no
54120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54121 ac_ext=c
54122 ac_cpp='$CPP $CPPFLAGS'
54123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54132 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54134 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54135 for ac_func in _isnanf
54136 do :
54137 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54138 if test "x$ac_cv_func__isnanf" = x""yes; then :
54139 cat >>confdefs.h <<_ACEOF
54140 #define HAVE__ISNANF 1
54141 _ACEOF
54144 done
54153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54154 $as_echo_n "checking for isinff declaration... " >&6; }
54155 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54156 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54157 $as_echo_n "(cached) " >&6
54158 else
54161 ac_ext=cpp
54162 ac_cpp='$CXXCPP $CPPFLAGS'
54163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54168 /* end confdefs.h. */
54169 #include <math.h>
54170 #ifdef HAVE_IEEEFP_H
54171 #include <ieeefp.h>
54172 #endif
54175 main ()
54177 isinff(0);
54179 return 0;
54181 _ACEOF
54182 if ac_fn_cxx_try_compile "$LINENO"; then :
54183 glibcxx_cv_func_isinff_use=yes
54184 else
54185 glibcxx_cv_func_isinff_use=no
54187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54188 ac_ext=c
54189 ac_cpp='$CPP $CPPFLAGS'
54190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54199 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54201 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54202 for ac_func in isinff
54203 do :
54204 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54205 if test "x$ac_cv_func_isinff" = x""yes; then :
54206 cat >>confdefs.h <<_ACEOF
54207 #define HAVE_ISINFF 1
54208 _ACEOF
54211 done
54213 else
54215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54216 $as_echo_n "checking for _isinff declaration... " >&6; }
54217 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54218 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54219 $as_echo_n "(cached) " >&6
54220 else
54223 ac_ext=cpp
54224 ac_cpp='$CXXCPP $CPPFLAGS'
54225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54230 /* end confdefs.h. */
54231 #include <math.h>
54232 #ifdef HAVE_IEEEFP_H
54233 #include <ieeefp.h>
54234 #endif
54237 main ()
54239 _isinff(0);
54241 return 0;
54243 _ACEOF
54244 if ac_fn_cxx_try_compile "$LINENO"; then :
54245 glibcxx_cv_func__isinff_use=yes
54246 else
54247 glibcxx_cv_func__isinff_use=no
54249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54250 ac_ext=c
54251 ac_cpp='$CPP $CPPFLAGS'
54252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54261 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54263 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54264 for ac_func in _isinff
54265 do :
54266 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54267 if test "x$ac_cv_func__isinff" = x""yes; then :
54268 cat >>confdefs.h <<_ACEOF
54269 #define HAVE__ISINFF 1
54270 _ACEOF
54273 done
54282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54283 $as_echo_n "checking for atan2f declaration... " >&6; }
54284 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54285 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54286 $as_echo_n "(cached) " >&6
54287 else
54290 ac_ext=cpp
54291 ac_cpp='$CXXCPP $CPPFLAGS'
54292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54297 /* end confdefs.h. */
54298 #include <math.h>
54300 main ()
54302 atan2f(0, 0);
54304 return 0;
54306 _ACEOF
54307 if ac_fn_cxx_try_compile "$LINENO"; then :
54308 glibcxx_cv_func_atan2f_use=yes
54309 else
54310 glibcxx_cv_func_atan2f_use=no
54312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54313 ac_ext=c
54314 ac_cpp='$CPP $CPPFLAGS'
54315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54324 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54326 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54327 for ac_func in atan2f
54328 do :
54329 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54330 if test "x$ac_cv_func_atan2f" = x""yes; then :
54331 cat >>confdefs.h <<_ACEOF
54332 #define HAVE_ATAN2F 1
54333 _ACEOF
54336 done
54338 else
54340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54341 $as_echo_n "checking for _atan2f declaration... " >&6; }
54342 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54343 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54344 $as_echo_n "(cached) " >&6
54345 else
54348 ac_ext=cpp
54349 ac_cpp='$CXXCPP $CPPFLAGS'
54350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54355 /* end confdefs.h. */
54356 #include <math.h>
54358 main ()
54360 _atan2f(0, 0);
54362 return 0;
54364 _ACEOF
54365 if ac_fn_cxx_try_compile "$LINENO"; then :
54366 glibcxx_cv_func__atan2f_use=yes
54367 else
54368 glibcxx_cv_func__atan2f_use=no
54370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54371 ac_ext=c
54372 ac_cpp='$CPP $CPPFLAGS'
54373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54382 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54384 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54385 for ac_func in _atan2f
54386 do :
54387 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54388 if test "x$ac_cv_func__atan2f" = x""yes; then :
54389 cat >>confdefs.h <<_ACEOF
54390 #define HAVE__ATAN2F 1
54391 _ACEOF
54394 done
54403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54404 $as_echo_n "checking for fabsf declaration... " >&6; }
54405 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54406 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54407 $as_echo_n "(cached) " >&6
54408 else
54411 ac_ext=cpp
54412 ac_cpp='$CXXCPP $CPPFLAGS'
54413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54418 /* end confdefs.h. */
54419 #include <math.h>
54420 #ifdef HAVE_IEEEFP_H
54421 #include <ieeefp.h>
54422 #endif
54425 main ()
54427 fabsf(0);
54429 return 0;
54431 _ACEOF
54432 if ac_fn_cxx_try_compile "$LINENO"; then :
54433 glibcxx_cv_func_fabsf_use=yes
54434 else
54435 glibcxx_cv_func_fabsf_use=no
54437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54438 ac_ext=c
54439 ac_cpp='$CPP $CPPFLAGS'
54440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54449 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54451 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54452 for ac_func in fabsf
54453 do :
54454 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54455 if test "x$ac_cv_func_fabsf" = x""yes; then :
54456 cat >>confdefs.h <<_ACEOF
54457 #define HAVE_FABSF 1
54458 _ACEOF
54461 done
54463 else
54465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54466 $as_echo_n "checking for _fabsf declaration... " >&6; }
54467 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54468 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54469 $as_echo_n "(cached) " >&6
54470 else
54473 ac_ext=cpp
54474 ac_cpp='$CXXCPP $CPPFLAGS'
54475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54480 /* end confdefs.h. */
54481 #include <math.h>
54482 #ifdef HAVE_IEEEFP_H
54483 #include <ieeefp.h>
54484 #endif
54487 main ()
54489 _fabsf(0);
54491 return 0;
54493 _ACEOF
54494 if ac_fn_cxx_try_compile "$LINENO"; then :
54495 glibcxx_cv_func__fabsf_use=yes
54496 else
54497 glibcxx_cv_func__fabsf_use=no
54499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54500 ac_ext=c
54501 ac_cpp='$CPP $CPPFLAGS'
54502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54511 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54513 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54514 for ac_func in _fabsf
54515 do :
54516 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54517 if test "x$ac_cv_func__fabsf" = x""yes; then :
54518 cat >>confdefs.h <<_ACEOF
54519 #define HAVE__FABSF 1
54520 _ACEOF
54523 done
54532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54533 $as_echo_n "checking for fmodf declaration... " >&6; }
54534 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54535 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54536 $as_echo_n "(cached) " >&6
54537 else
54540 ac_ext=cpp
54541 ac_cpp='$CXXCPP $CPPFLAGS'
54542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54547 /* end confdefs.h. */
54548 #include <math.h>
54550 main ()
54552 fmodf(0, 0);
54554 return 0;
54556 _ACEOF
54557 if ac_fn_cxx_try_compile "$LINENO"; then :
54558 glibcxx_cv_func_fmodf_use=yes
54559 else
54560 glibcxx_cv_func_fmodf_use=no
54562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54563 ac_ext=c
54564 ac_cpp='$CPP $CPPFLAGS'
54565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54574 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54576 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54577 for ac_func in fmodf
54578 do :
54579 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54580 if test "x$ac_cv_func_fmodf" = x""yes; then :
54581 cat >>confdefs.h <<_ACEOF
54582 #define HAVE_FMODF 1
54583 _ACEOF
54586 done
54588 else
54590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54591 $as_echo_n "checking for _fmodf declaration... " >&6; }
54592 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54593 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54594 $as_echo_n "(cached) " >&6
54595 else
54598 ac_ext=cpp
54599 ac_cpp='$CXXCPP $CPPFLAGS'
54600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54605 /* end confdefs.h. */
54606 #include <math.h>
54608 main ()
54610 _fmodf(0, 0);
54612 return 0;
54614 _ACEOF
54615 if ac_fn_cxx_try_compile "$LINENO"; then :
54616 glibcxx_cv_func__fmodf_use=yes
54617 else
54618 glibcxx_cv_func__fmodf_use=no
54620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54621 ac_ext=c
54622 ac_cpp='$CPP $CPPFLAGS'
54623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54632 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54634 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54635 for ac_func in _fmodf
54636 do :
54637 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54638 if test "x$ac_cv_func__fmodf" = x""yes; then :
54639 cat >>confdefs.h <<_ACEOF
54640 #define HAVE__FMODF 1
54641 _ACEOF
54644 done
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54654 $as_echo_n "checking for frexpf declaration... " >&6; }
54655 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54656 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54657 $as_echo_n "(cached) " >&6
54658 else
54661 ac_ext=cpp
54662 ac_cpp='$CXXCPP $CPPFLAGS'
54663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54668 /* end confdefs.h. */
54669 #include <math.h>
54671 main ()
54673 frexpf(0, 0);
54675 return 0;
54677 _ACEOF
54678 if ac_fn_cxx_try_compile "$LINENO"; then :
54679 glibcxx_cv_func_frexpf_use=yes
54680 else
54681 glibcxx_cv_func_frexpf_use=no
54683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54684 ac_ext=c
54685 ac_cpp='$CPP $CPPFLAGS'
54686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54695 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54697 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54698 for ac_func in frexpf
54699 do :
54700 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54701 if test "x$ac_cv_func_frexpf" = x""yes; then :
54702 cat >>confdefs.h <<_ACEOF
54703 #define HAVE_FREXPF 1
54704 _ACEOF
54707 done
54709 else
54711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54712 $as_echo_n "checking for _frexpf declaration... " >&6; }
54713 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54714 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54715 $as_echo_n "(cached) " >&6
54716 else
54719 ac_ext=cpp
54720 ac_cpp='$CXXCPP $CPPFLAGS'
54721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54726 /* end confdefs.h. */
54727 #include <math.h>
54729 main ()
54731 _frexpf(0, 0);
54733 return 0;
54735 _ACEOF
54736 if ac_fn_cxx_try_compile "$LINENO"; then :
54737 glibcxx_cv_func__frexpf_use=yes
54738 else
54739 glibcxx_cv_func__frexpf_use=no
54741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54742 ac_ext=c
54743 ac_cpp='$CPP $CPPFLAGS'
54744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54753 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54755 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54756 for ac_func in _frexpf
54757 do :
54758 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54759 if test "x$ac_cv_func__frexpf" = x""yes; then :
54760 cat >>confdefs.h <<_ACEOF
54761 #define HAVE__FREXPF 1
54762 _ACEOF
54765 done
54774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54775 $as_echo_n "checking for hypotf declaration... " >&6; }
54776 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54777 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54778 $as_echo_n "(cached) " >&6
54779 else
54782 ac_ext=cpp
54783 ac_cpp='$CXXCPP $CPPFLAGS'
54784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54789 /* end confdefs.h. */
54790 #include <math.h>
54792 main ()
54794 hypotf(0, 0);
54796 return 0;
54798 _ACEOF
54799 if ac_fn_cxx_try_compile "$LINENO"; then :
54800 glibcxx_cv_func_hypotf_use=yes
54801 else
54802 glibcxx_cv_func_hypotf_use=no
54804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54805 ac_ext=c
54806 ac_cpp='$CPP $CPPFLAGS'
54807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54816 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54818 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54819 for ac_func in hypotf
54820 do :
54821 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54822 if test "x$ac_cv_func_hypotf" = x""yes; then :
54823 cat >>confdefs.h <<_ACEOF
54824 #define HAVE_HYPOTF 1
54825 _ACEOF
54828 done
54830 else
54832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54833 $as_echo_n "checking for _hypotf declaration... " >&6; }
54834 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54835 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54836 $as_echo_n "(cached) " >&6
54837 else
54840 ac_ext=cpp
54841 ac_cpp='$CXXCPP $CPPFLAGS'
54842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54847 /* end confdefs.h. */
54848 #include <math.h>
54850 main ()
54852 _hypotf(0, 0);
54854 return 0;
54856 _ACEOF
54857 if ac_fn_cxx_try_compile "$LINENO"; then :
54858 glibcxx_cv_func__hypotf_use=yes
54859 else
54860 glibcxx_cv_func__hypotf_use=no
54862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54863 ac_ext=c
54864 ac_cpp='$CPP $CPPFLAGS'
54865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54874 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54876 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54877 for ac_func in _hypotf
54878 do :
54879 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54880 if test "x$ac_cv_func__hypotf" = x""yes; then :
54881 cat >>confdefs.h <<_ACEOF
54882 #define HAVE__HYPOTF 1
54883 _ACEOF
54886 done
54895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54896 $as_echo_n "checking for ldexpf declaration... " >&6; }
54897 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54898 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54899 $as_echo_n "(cached) " >&6
54900 else
54903 ac_ext=cpp
54904 ac_cpp='$CXXCPP $CPPFLAGS'
54905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54910 /* end confdefs.h. */
54911 #include <math.h>
54913 main ()
54915 ldexpf(0, 0);
54917 return 0;
54919 _ACEOF
54920 if ac_fn_cxx_try_compile "$LINENO"; then :
54921 glibcxx_cv_func_ldexpf_use=yes
54922 else
54923 glibcxx_cv_func_ldexpf_use=no
54925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54926 ac_ext=c
54927 ac_cpp='$CPP $CPPFLAGS'
54928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54937 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54939 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54940 for ac_func in ldexpf
54941 do :
54942 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54943 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54944 cat >>confdefs.h <<_ACEOF
54945 #define HAVE_LDEXPF 1
54946 _ACEOF
54949 done
54951 else
54953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54954 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54955 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54956 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54957 $as_echo_n "(cached) " >&6
54958 else
54961 ac_ext=cpp
54962 ac_cpp='$CXXCPP $CPPFLAGS'
54963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54968 /* end confdefs.h. */
54969 #include <math.h>
54971 main ()
54973 _ldexpf(0, 0);
54975 return 0;
54977 _ACEOF
54978 if ac_fn_cxx_try_compile "$LINENO"; then :
54979 glibcxx_cv_func__ldexpf_use=yes
54980 else
54981 glibcxx_cv_func__ldexpf_use=no
54983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54984 ac_ext=c
54985 ac_cpp='$CPP $CPPFLAGS'
54986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54995 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54997 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54998 for ac_func in _ldexpf
54999 do :
55000 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
55001 if test "x$ac_cv_func__ldexpf" = x""yes; then :
55002 cat >>confdefs.h <<_ACEOF
55003 #define HAVE__LDEXPF 1
55004 _ACEOF
55007 done
55016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55017 $as_echo_n "checking for logf declaration... " >&6; }
55018 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55019 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55020 $as_echo_n "(cached) " >&6
55021 else
55024 ac_ext=cpp
55025 ac_cpp='$CXXCPP $CPPFLAGS'
55026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55031 /* end confdefs.h. */
55032 #include <math.h>
55033 #ifdef HAVE_IEEEFP_H
55034 #include <ieeefp.h>
55035 #endif
55038 main ()
55040 logf(0);
55042 return 0;
55044 _ACEOF
55045 if ac_fn_cxx_try_compile "$LINENO"; then :
55046 glibcxx_cv_func_logf_use=yes
55047 else
55048 glibcxx_cv_func_logf_use=no
55050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55051 ac_ext=c
55052 ac_cpp='$CPP $CPPFLAGS'
55053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55062 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55064 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55065 for ac_func in logf
55066 do :
55067 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55068 if test "x$ac_cv_func_logf" = x""yes; then :
55069 cat >>confdefs.h <<_ACEOF
55070 #define HAVE_LOGF 1
55071 _ACEOF
55074 done
55076 else
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55079 $as_echo_n "checking for _logf declaration... " >&6; }
55080 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55081 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55082 $as_echo_n "(cached) " >&6
55083 else
55086 ac_ext=cpp
55087 ac_cpp='$CXXCPP $CPPFLAGS'
55088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55093 /* end confdefs.h. */
55094 #include <math.h>
55095 #ifdef HAVE_IEEEFP_H
55096 #include <ieeefp.h>
55097 #endif
55100 main ()
55102 _logf(0);
55104 return 0;
55106 _ACEOF
55107 if ac_fn_cxx_try_compile "$LINENO"; then :
55108 glibcxx_cv_func__logf_use=yes
55109 else
55110 glibcxx_cv_func__logf_use=no
55112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55113 ac_ext=c
55114 ac_cpp='$CPP $CPPFLAGS'
55115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55124 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55126 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55127 for ac_func in _logf
55128 do :
55129 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55130 if test "x$ac_cv_func__logf" = x""yes; then :
55131 cat >>confdefs.h <<_ACEOF
55132 #define HAVE__LOGF 1
55133 _ACEOF
55136 done
55145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55146 $as_echo_n "checking for log10f declaration... " >&6; }
55147 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55148 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55149 $as_echo_n "(cached) " >&6
55150 else
55153 ac_ext=cpp
55154 ac_cpp='$CXXCPP $CPPFLAGS'
55155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160 /* end confdefs.h. */
55161 #include <math.h>
55162 #ifdef HAVE_IEEEFP_H
55163 #include <ieeefp.h>
55164 #endif
55167 main ()
55169 log10f(0);
55171 return 0;
55173 _ACEOF
55174 if ac_fn_cxx_try_compile "$LINENO"; then :
55175 glibcxx_cv_func_log10f_use=yes
55176 else
55177 glibcxx_cv_func_log10f_use=no
55179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55191 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55193 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55194 for ac_func in log10f
55195 do :
55196 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55197 if test "x$ac_cv_func_log10f" = x""yes; then :
55198 cat >>confdefs.h <<_ACEOF
55199 #define HAVE_LOG10F 1
55200 _ACEOF
55203 done
55205 else
55207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55208 $as_echo_n "checking for _log10f declaration... " >&6; }
55209 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55210 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55211 $as_echo_n "(cached) " >&6
55212 else
55215 ac_ext=cpp
55216 ac_cpp='$CXXCPP $CPPFLAGS'
55217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55222 /* end confdefs.h. */
55223 #include <math.h>
55224 #ifdef HAVE_IEEEFP_H
55225 #include <ieeefp.h>
55226 #endif
55229 main ()
55231 _log10f(0);
55233 return 0;
55235 _ACEOF
55236 if ac_fn_cxx_try_compile "$LINENO"; then :
55237 glibcxx_cv_func__log10f_use=yes
55238 else
55239 glibcxx_cv_func__log10f_use=no
55241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55242 ac_ext=c
55243 ac_cpp='$CPP $CPPFLAGS'
55244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55253 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55255 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55256 for ac_func in _log10f
55257 do :
55258 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55259 if test "x$ac_cv_func__log10f" = x""yes; then :
55260 cat >>confdefs.h <<_ACEOF
55261 #define HAVE__LOG10F 1
55262 _ACEOF
55265 done
55274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55275 $as_echo_n "checking for modff declaration... " >&6; }
55276 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55277 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55278 $as_echo_n "(cached) " >&6
55279 else
55282 ac_ext=cpp
55283 ac_cpp='$CXXCPP $CPPFLAGS'
55284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55289 /* end confdefs.h. */
55290 #include <math.h>
55292 main ()
55294 modff(0, 0);
55296 return 0;
55298 _ACEOF
55299 if ac_fn_cxx_try_compile "$LINENO"; then :
55300 glibcxx_cv_func_modff_use=yes
55301 else
55302 glibcxx_cv_func_modff_use=no
55304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55305 ac_ext=c
55306 ac_cpp='$CPP $CPPFLAGS'
55307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55316 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55318 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55319 for ac_func in modff
55320 do :
55321 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55322 if test "x$ac_cv_func_modff" = x""yes; then :
55323 cat >>confdefs.h <<_ACEOF
55324 #define HAVE_MODFF 1
55325 _ACEOF
55328 done
55330 else
55332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55333 $as_echo_n "checking for _modff declaration... " >&6; }
55334 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55335 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55336 $as_echo_n "(cached) " >&6
55337 else
55340 ac_ext=cpp
55341 ac_cpp='$CXXCPP $CPPFLAGS'
55342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55347 /* end confdefs.h. */
55348 #include <math.h>
55350 main ()
55352 _modff(0, 0);
55354 return 0;
55356 _ACEOF
55357 if ac_fn_cxx_try_compile "$LINENO"; then :
55358 glibcxx_cv_func__modff_use=yes
55359 else
55360 glibcxx_cv_func__modff_use=no
55362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55363 ac_ext=c
55364 ac_cpp='$CPP $CPPFLAGS'
55365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55374 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55376 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55377 for ac_func in _modff
55378 do :
55379 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55380 if test "x$ac_cv_func__modff" = x""yes; then :
55381 cat >>confdefs.h <<_ACEOF
55382 #define HAVE__MODFF 1
55383 _ACEOF
55386 done
55395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55396 $as_echo_n "checking for modf declaration... " >&6; }
55397 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55398 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55399 $as_echo_n "(cached) " >&6
55400 else
55403 ac_ext=cpp
55404 ac_cpp='$CXXCPP $CPPFLAGS'
55405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55410 /* end confdefs.h. */
55411 #include <math.h>
55413 main ()
55415 modf(0, 0);
55417 return 0;
55419 _ACEOF
55420 if ac_fn_cxx_try_compile "$LINENO"; then :
55421 glibcxx_cv_func_modf_use=yes
55422 else
55423 glibcxx_cv_func_modf_use=no
55425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55426 ac_ext=c
55427 ac_cpp='$CPP $CPPFLAGS'
55428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55437 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55439 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55440 for ac_func in modf
55441 do :
55442 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55443 if test "x$ac_cv_func_modf" = x""yes; then :
55444 cat >>confdefs.h <<_ACEOF
55445 #define HAVE_MODF 1
55446 _ACEOF
55449 done
55451 else
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55454 $as_echo_n "checking for _modf declaration... " >&6; }
55455 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55456 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55457 $as_echo_n "(cached) " >&6
55458 else
55461 ac_ext=cpp
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55468 /* end confdefs.h. */
55469 #include <math.h>
55471 main ()
55473 _modf(0, 0);
55475 return 0;
55477 _ACEOF
55478 if ac_fn_cxx_try_compile "$LINENO"; then :
55479 glibcxx_cv_func__modf_use=yes
55480 else
55481 glibcxx_cv_func__modf_use=no
55483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55484 ac_ext=c
55485 ac_cpp='$CPP $CPPFLAGS'
55486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55495 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55497 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55498 for ac_func in _modf
55499 do :
55500 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55501 if test "x$ac_cv_func__modf" = x""yes; then :
55502 cat >>confdefs.h <<_ACEOF
55503 #define HAVE__MODF 1
55504 _ACEOF
55507 done
55516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55517 $as_echo_n "checking for powf declaration... " >&6; }
55518 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55519 if test "${glibcxx_cv_func_powf_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>
55534 main ()
55536 powf(0, 0);
55538 return 0;
55540 _ACEOF
55541 if ac_fn_cxx_try_compile "$LINENO"; then :
55542 glibcxx_cv_func_powf_use=yes
55543 else
55544 glibcxx_cv_func_powf_use=no
55546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55547 ac_ext=c
55548 ac_cpp='$CPP $CPPFLAGS'
55549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55558 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55560 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55561 for ac_func in powf
55562 do :
55563 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55564 if test "x$ac_cv_func_powf" = x""yes; then :
55565 cat >>confdefs.h <<_ACEOF
55566 #define HAVE_POWF 1
55567 _ACEOF
55570 done
55572 else
55574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55575 $as_echo_n "checking for _powf declaration... " >&6; }
55576 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55577 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55578 $as_echo_n "(cached) " >&6
55579 else
55582 ac_ext=cpp
55583 ac_cpp='$CXXCPP $CPPFLAGS'
55584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55589 /* end confdefs.h. */
55590 #include <math.h>
55592 main ()
55594 _powf(0, 0);
55596 return 0;
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600 glibcxx_cv_func__powf_use=yes
55601 else
55602 glibcxx_cv_func__powf_use=no
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605 ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55616 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55618 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55619 for ac_func in _powf
55620 do :
55621 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55622 if test "x$ac_cv_func__powf" = x""yes; then :
55623 cat >>confdefs.h <<_ACEOF
55624 #define HAVE__POWF 1
55625 _ACEOF
55628 done
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55638 $as_echo_n "checking for sqrtf declaration... " >&6; }
55639 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55640 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55641 $as_echo_n "(cached) " >&6
55642 else
55645 ac_ext=cpp
55646 ac_cpp='$CXXCPP $CPPFLAGS'
55647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55652 /* end confdefs.h. */
55653 #include <math.h>
55654 #ifdef HAVE_IEEEFP_H
55655 #include <ieeefp.h>
55656 #endif
55659 main ()
55661 sqrtf(0);
55663 return 0;
55665 _ACEOF
55666 if ac_fn_cxx_try_compile "$LINENO"; then :
55667 glibcxx_cv_func_sqrtf_use=yes
55668 else
55669 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
55683 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55685 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55686 for ac_func in sqrtf
55687 do :
55688 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55689 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55690 cat >>confdefs.h <<_ACEOF
55691 #define HAVE_SQRTF 1
55692 _ACEOF
55695 done
55697 else
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55700 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55701 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55702 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55703 $as_echo_n "(cached) " >&6
55704 else
55707 ac_ext=cpp
55708 ac_cpp='$CXXCPP $CPPFLAGS'
55709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55714 /* end confdefs.h. */
55715 #include <math.h>
55716 #ifdef HAVE_IEEEFP_H
55717 #include <ieeefp.h>
55718 #endif
55721 main ()
55723 _sqrtf(0);
55725 return 0;
55727 _ACEOF
55728 if ac_fn_cxx_try_compile "$LINENO"; then :
55729 glibcxx_cv_func__sqrtf_use=yes
55730 else
55731 glibcxx_cv_func__sqrtf_use=no
55733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55734 ac_ext=c
55735 ac_cpp='$CPP $CPPFLAGS'
55736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55745 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55747 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55748 for ac_func in _sqrtf
55749 do :
55750 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55751 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55752 cat >>confdefs.h <<_ACEOF
55753 #define HAVE__SQRTF 1
55754 _ACEOF
55757 done
55766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55767 $as_echo_n "checking for sincosf declaration... " >&6; }
55768 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55769 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55770 $as_echo_n "(cached) " >&6
55771 else
55774 ac_ext=cpp
55775 ac_cpp='$CXXCPP $CPPFLAGS'
55776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55781 /* end confdefs.h. */
55782 #include <math.h>
55784 main ()
55786 sincosf(0, 0, 0);
55788 return 0;
55790 _ACEOF
55791 if ac_fn_cxx_try_compile "$LINENO"; then :
55792 glibcxx_cv_func_sincosf_use=yes
55793 else
55794 glibcxx_cv_func_sincosf_use=no
55796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55797 ac_ext=c
55798 ac_cpp='$CPP $CPPFLAGS'
55799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55808 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55810 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55811 for ac_func in sincosf
55812 do :
55813 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55814 if test "x$ac_cv_func_sincosf" = x""yes; then :
55815 cat >>confdefs.h <<_ACEOF
55816 #define HAVE_SINCOSF 1
55817 _ACEOF
55820 done
55822 else
55824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55825 $as_echo_n "checking for _sincosf declaration... " >&6; }
55826 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55827 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55828 $as_echo_n "(cached) " >&6
55829 else
55832 ac_ext=cpp
55833 ac_cpp='$CXXCPP $CPPFLAGS'
55834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55839 /* end confdefs.h. */
55840 #include <math.h>
55842 main ()
55844 _sincosf(0, 0, 0);
55846 return 0;
55848 _ACEOF
55849 if ac_fn_cxx_try_compile "$LINENO"; then :
55850 glibcxx_cv_func__sincosf_use=yes
55851 else
55852 glibcxx_cv_func__sincosf_use=no
55854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55855 ac_ext=c
55856 ac_cpp='$CPP $CPPFLAGS'
55857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55866 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55868 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55869 for ac_func in _sincosf
55870 do :
55871 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55872 if test "x$ac_cv_func__sincosf" = x""yes; then :
55873 cat >>confdefs.h <<_ACEOF
55874 #define HAVE__SINCOSF 1
55875 _ACEOF
55878 done
55887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55888 $as_echo_n "checking for finitef declaration... " >&6; }
55889 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55890 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55891 $as_echo_n "(cached) " >&6
55892 else
55895 ac_ext=cpp
55896 ac_cpp='$CXXCPP $CPPFLAGS'
55897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55902 /* end confdefs.h. */
55903 #include <math.h>
55904 #ifdef HAVE_IEEEFP_H
55905 #include <ieeefp.h>
55906 #endif
55909 main ()
55911 finitef(0);
55913 return 0;
55915 _ACEOF
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917 glibcxx_cv_func_finitef_use=yes
55918 else
55919 glibcxx_cv_func_finitef_use=no
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922 ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55933 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55935 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55936 for ac_func in finitef
55937 do :
55938 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55939 if test "x$ac_cv_func_finitef" = x""yes; then :
55940 cat >>confdefs.h <<_ACEOF
55941 #define HAVE_FINITEF 1
55942 _ACEOF
55945 done
55947 else
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55950 $as_echo_n "checking for _finitef declaration... " >&6; }
55951 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55952 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55953 $as_echo_n "(cached) " >&6
55954 else
55957 ac_ext=cpp
55958 ac_cpp='$CXXCPP $CPPFLAGS'
55959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55964 /* end confdefs.h. */
55965 #include <math.h>
55966 #ifdef HAVE_IEEEFP_H
55967 #include <ieeefp.h>
55968 #endif
55971 main ()
55973 _finitef(0);
55975 return 0;
55977 _ACEOF
55978 if ac_fn_cxx_try_compile "$LINENO"; then :
55979 glibcxx_cv_func__finitef_use=yes
55980 else
55981 glibcxx_cv_func__finitef_use=no
55983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55984 ac_ext=c
55985 ac_cpp='$CPP $CPPFLAGS'
55986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55995 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55997 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55998 for ac_func in _finitef
55999 do :
56000 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
56001 if test "x$ac_cv_func__finitef" = x""yes; then :
56002 cat >>confdefs.h <<_ACEOF
56003 #define HAVE__FINITEF 1
56004 _ACEOF
56007 done
56016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56017 $as_echo_n "checking for long double trig functions... " >&6; }
56018 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56019 $as_echo_n "(cached) " >&6
56020 else
56023 ac_ext=cpp
56024 ac_cpp='$CXXCPP $CPPFLAGS'
56025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56030 /* end confdefs.h. */
56031 #include <math.h>
56033 main ()
56035 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56037 return 0;
56039 _ACEOF
56040 if ac_fn_cxx_try_compile "$LINENO"; then :
56041 glibcxx_cv_func_long_double_trig_use=yes
56042 else
56043 glibcxx_cv_func_long_double_trig_use=no
56045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56046 ac_ext=c
56047 ac_cpp='$CPP $CPPFLAGS'
56048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56055 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56056 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56057 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56058 do :
56059 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56060 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56061 eval as_val=\$$as_ac_var
56062 if test "x$as_val" = x""yes; then :
56063 cat >>confdefs.h <<_ACEOF
56064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56065 _ACEOF
56068 done
56070 else
56071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56072 $as_echo_n "checking for _long double trig functions... " >&6; }
56073 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56074 $as_echo_n "(cached) " >&6
56075 else
56078 ac_ext=cpp
56079 ac_cpp='$CXXCPP $CPPFLAGS'
56080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56085 /* end confdefs.h. */
56086 #include <math.h>
56088 main ()
56090 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56092 return 0;
56094 _ACEOF
56095 if ac_fn_cxx_try_compile "$LINENO"; then :
56096 glibcxx_cv_func__long_double_trig_use=yes
56097 else
56098 glibcxx_cv_func__long_double_trig_use=no
56100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56101 ac_ext=c
56102 ac_cpp='$CPP $CPPFLAGS'
56103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56110 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56111 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56112 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56113 do :
56114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56116 eval as_val=\$$as_ac_var
56117 if test "x$as_val" = x""yes; then :
56118 cat >>confdefs.h <<_ACEOF
56119 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56120 _ACEOF
56123 done
56132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56133 $as_echo_n "checking for long double round functions... " >&6; }
56134 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56135 $as_echo_n "(cached) " >&6
56136 else
56139 ac_ext=cpp
56140 ac_cpp='$CXXCPP $CPPFLAGS'
56141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56146 /* end confdefs.h. */
56147 #include <math.h>
56149 main ()
56151 ceill (0); floorl (0);
56153 return 0;
56155 _ACEOF
56156 if ac_fn_cxx_try_compile "$LINENO"; then :
56157 glibcxx_cv_func_long_double_round_use=yes
56158 else
56159 glibcxx_cv_func_long_double_round_use=no
56161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56162 ac_ext=c
56163 ac_cpp='$CPP $CPPFLAGS'
56164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56171 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56172 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56173 for ac_func in ceill floorl
56174 do :
56175 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56176 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56177 eval as_val=\$$as_ac_var
56178 if test "x$as_val" = x""yes; then :
56179 cat >>confdefs.h <<_ACEOF
56180 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56181 _ACEOF
56184 done
56186 else
56187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56188 $as_echo_n "checking for _long double round functions... " >&6; }
56189 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56190 $as_echo_n "(cached) " >&6
56191 else
56194 ac_ext=cpp
56195 ac_cpp='$CXXCPP $CPPFLAGS'
56196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56201 /* end confdefs.h. */
56202 #include <math.h>
56204 main ()
56206 _ceill (0); _floorl (0);
56208 return 0;
56210 _ACEOF
56211 if ac_fn_cxx_try_compile "$LINENO"; then :
56212 glibcxx_cv_func__long_double_round_use=yes
56213 else
56214 glibcxx_cv_func__long_double_round_use=no
56216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56217 ac_ext=c
56218 ac_cpp='$CPP $CPPFLAGS'
56219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56226 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56227 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56228 for ac_func in _ceill _floorl
56229 do :
56230 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56231 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56232 eval as_val=\$$as_ac_var
56233 if test "x$as_val" = x""yes; then :
56234 cat >>confdefs.h <<_ACEOF
56235 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56236 _ACEOF
56239 done
56249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56250 $as_echo_n "checking for isnanl declaration... " >&6; }
56251 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56252 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56253 $as_echo_n "(cached) " >&6
56254 else
56257 ac_ext=cpp
56258 ac_cpp='$CXXCPP $CPPFLAGS'
56259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56264 /* end confdefs.h. */
56265 #include <math.h>
56266 #ifdef HAVE_IEEEFP_H
56267 #include <ieeefp.h>
56268 #endif
56271 main ()
56273 isnanl(0);
56275 return 0;
56277 _ACEOF
56278 if ac_fn_cxx_try_compile "$LINENO"; then :
56279 glibcxx_cv_func_isnanl_use=yes
56280 else
56281 glibcxx_cv_func_isnanl_use=no
56283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56284 ac_ext=c
56285 ac_cpp='$CPP $CPPFLAGS'
56286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56295 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56297 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56298 for ac_func in isnanl
56299 do :
56300 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56301 if test "x$ac_cv_func_isnanl" = x""yes; then :
56302 cat >>confdefs.h <<_ACEOF
56303 #define HAVE_ISNANL 1
56304 _ACEOF
56307 done
56309 else
56311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56312 $as_echo_n "checking for _isnanl declaration... " >&6; }
56313 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56314 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56315 $as_echo_n "(cached) " >&6
56316 else
56319 ac_ext=cpp
56320 ac_cpp='$CXXCPP $CPPFLAGS'
56321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56326 /* end confdefs.h. */
56327 #include <math.h>
56328 #ifdef HAVE_IEEEFP_H
56329 #include <ieeefp.h>
56330 #endif
56333 main ()
56335 _isnanl(0);
56337 return 0;
56339 _ACEOF
56340 if ac_fn_cxx_try_compile "$LINENO"; then :
56341 glibcxx_cv_func__isnanl_use=yes
56342 else
56343 glibcxx_cv_func__isnanl_use=no
56345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56346 ac_ext=c
56347 ac_cpp='$CPP $CPPFLAGS'
56348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56357 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56359 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56360 for ac_func in _isnanl
56361 do :
56362 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56363 if test "x$ac_cv_func__isnanl" = x""yes; then :
56364 cat >>confdefs.h <<_ACEOF
56365 #define HAVE__ISNANL 1
56366 _ACEOF
56369 done
56378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56379 $as_echo_n "checking for isinfl declaration... " >&6; }
56380 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56381 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56382 $as_echo_n "(cached) " >&6
56383 else
56386 ac_ext=cpp
56387 ac_cpp='$CXXCPP $CPPFLAGS'
56388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56393 /* end confdefs.h. */
56394 #include <math.h>
56395 #ifdef HAVE_IEEEFP_H
56396 #include <ieeefp.h>
56397 #endif
56400 main ()
56402 isinfl(0);
56404 return 0;
56406 _ACEOF
56407 if ac_fn_cxx_try_compile "$LINENO"; then :
56408 glibcxx_cv_func_isinfl_use=yes
56409 else
56410 glibcxx_cv_func_isinfl_use=no
56412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56413 ac_ext=c
56414 ac_cpp='$CPP $CPPFLAGS'
56415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56424 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56426 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56427 for ac_func in isinfl
56428 do :
56429 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56430 if test "x$ac_cv_func_isinfl" = x""yes; then :
56431 cat >>confdefs.h <<_ACEOF
56432 #define HAVE_ISINFL 1
56433 _ACEOF
56436 done
56438 else
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56441 $as_echo_n "checking for _isinfl declaration... " >&6; }
56442 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56443 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56444 $as_echo_n "(cached) " >&6
56445 else
56448 ac_ext=cpp
56449 ac_cpp='$CXXCPP $CPPFLAGS'
56450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56455 /* end confdefs.h. */
56456 #include <math.h>
56457 #ifdef HAVE_IEEEFP_H
56458 #include <ieeefp.h>
56459 #endif
56462 main ()
56464 _isinfl(0);
56466 return 0;
56468 _ACEOF
56469 if ac_fn_cxx_try_compile "$LINENO"; then :
56470 glibcxx_cv_func__isinfl_use=yes
56471 else
56472 glibcxx_cv_func__isinfl_use=no
56474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56475 ac_ext=c
56476 ac_cpp='$CPP $CPPFLAGS'
56477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56486 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56488 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56489 for ac_func in _isinfl
56490 do :
56491 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56492 if test "x$ac_cv_func__isinfl" = x""yes; then :
56493 cat >>confdefs.h <<_ACEOF
56494 #define HAVE__ISINFL 1
56495 _ACEOF
56498 done
56507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56508 $as_echo_n "checking for atan2l declaration... " >&6; }
56509 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56510 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56511 $as_echo_n "(cached) " >&6
56512 else
56515 ac_ext=cpp
56516 ac_cpp='$CXXCPP $CPPFLAGS'
56517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56522 /* end confdefs.h. */
56523 #include <math.h>
56525 main ()
56527 atan2l(0, 0);
56529 return 0;
56531 _ACEOF
56532 if ac_fn_cxx_try_compile "$LINENO"; then :
56533 glibcxx_cv_func_atan2l_use=yes
56534 else
56535 glibcxx_cv_func_atan2l_use=no
56537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56538 ac_ext=c
56539 ac_cpp='$CPP $CPPFLAGS'
56540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56549 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56551 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56552 for ac_func in atan2l
56553 do :
56554 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56555 if test "x$ac_cv_func_atan2l" = x""yes; then :
56556 cat >>confdefs.h <<_ACEOF
56557 #define HAVE_ATAN2L 1
56558 _ACEOF
56561 done
56563 else
56565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56566 $as_echo_n "checking for _atan2l declaration... " >&6; }
56567 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56568 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56569 $as_echo_n "(cached) " >&6
56570 else
56573 ac_ext=cpp
56574 ac_cpp='$CXXCPP $CPPFLAGS'
56575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56580 /* end confdefs.h. */
56581 #include <math.h>
56583 main ()
56585 _atan2l(0, 0);
56587 return 0;
56589 _ACEOF
56590 if ac_fn_cxx_try_compile "$LINENO"; then :
56591 glibcxx_cv_func__atan2l_use=yes
56592 else
56593 glibcxx_cv_func__atan2l_use=no
56595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56596 ac_ext=c
56597 ac_cpp='$CPP $CPPFLAGS'
56598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56607 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56609 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56610 for ac_func in _atan2l
56611 do :
56612 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56613 if test "x$ac_cv_func__atan2l" = x""yes; then :
56614 cat >>confdefs.h <<_ACEOF
56615 #define HAVE__ATAN2L 1
56616 _ACEOF
56619 done
56628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56629 $as_echo_n "checking for expl declaration... " >&6; }
56630 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56631 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56632 $as_echo_n "(cached) " >&6
56633 else
56636 ac_ext=cpp
56637 ac_cpp='$CXXCPP $CPPFLAGS'
56638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56643 /* end confdefs.h. */
56644 #include <math.h>
56645 #ifdef HAVE_IEEEFP_H
56646 #include <ieeefp.h>
56647 #endif
56650 main ()
56652 expl(0);
56654 return 0;
56656 _ACEOF
56657 if ac_fn_cxx_try_compile "$LINENO"; then :
56658 glibcxx_cv_func_expl_use=yes
56659 else
56660 glibcxx_cv_func_expl_use=no
56662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56663 ac_ext=c
56664 ac_cpp='$CPP $CPPFLAGS'
56665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56674 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56676 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56677 for ac_func in expl
56678 do :
56679 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56680 if test "x$ac_cv_func_expl" = x""yes; then :
56681 cat >>confdefs.h <<_ACEOF
56682 #define HAVE_EXPL 1
56683 _ACEOF
56686 done
56688 else
56690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56691 $as_echo_n "checking for _expl declaration... " >&6; }
56692 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56693 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56694 $as_echo_n "(cached) " >&6
56695 else
56698 ac_ext=cpp
56699 ac_cpp='$CXXCPP $CPPFLAGS'
56700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56705 /* end confdefs.h. */
56706 #include <math.h>
56707 #ifdef HAVE_IEEEFP_H
56708 #include <ieeefp.h>
56709 #endif
56712 main ()
56714 _expl(0);
56716 return 0;
56718 _ACEOF
56719 if ac_fn_cxx_try_compile "$LINENO"; then :
56720 glibcxx_cv_func__expl_use=yes
56721 else
56722 glibcxx_cv_func__expl_use=no
56724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56725 ac_ext=c
56726 ac_cpp='$CPP $CPPFLAGS'
56727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56736 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56738 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56739 for ac_func in _expl
56740 do :
56741 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56742 if test "x$ac_cv_func__expl" = x""yes; then :
56743 cat >>confdefs.h <<_ACEOF
56744 #define HAVE__EXPL 1
56745 _ACEOF
56748 done
56757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56758 $as_echo_n "checking for fabsl declaration... " >&6; }
56759 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56760 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56761 $as_echo_n "(cached) " >&6
56762 else
56765 ac_ext=cpp
56766 ac_cpp='$CXXCPP $CPPFLAGS'
56767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56772 /* end confdefs.h. */
56773 #include <math.h>
56774 #ifdef HAVE_IEEEFP_H
56775 #include <ieeefp.h>
56776 #endif
56779 main ()
56781 fabsl(0);
56783 return 0;
56785 _ACEOF
56786 if ac_fn_cxx_try_compile "$LINENO"; then :
56787 glibcxx_cv_func_fabsl_use=yes
56788 else
56789 glibcxx_cv_func_fabsl_use=no
56791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56792 ac_ext=c
56793 ac_cpp='$CPP $CPPFLAGS'
56794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56803 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56805 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56806 for ac_func in fabsl
56807 do :
56808 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56809 if test "x$ac_cv_func_fabsl" = x""yes; then :
56810 cat >>confdefs.h <<_ACEOF
56811 #define HAVE_FABSL 1
56812 _ACEOF
56815 done
56817 else
56819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56820 $as_echo_n "checking for _fabsl declaration... " >&6; }
56821 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56822 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56823 $as_echo_n "(cached) " >&6
56824 else
56827 ac_ext=cpp
56828 ac_cpp='$CXXCPP $CPPFLAGS'
56829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56834 /* end confdefs.h. */
56835 #include <math.h>
56836 #ifdef HAVE_IEEEFP_H
56837 #include <ieeefp.h>
56838 #endif
56841 main ()
56843 _fabsl(0);
56845 return 0;
56847 _ACEOF
56848 if ac_fn_cxx_try_compile "$LINENO"; then :
56849 glibcxx_cv_func__fabsl_use=yes
56850 else
56851 glibcxx_cv_func__fabsl_use=no
56853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56854 ac_ext=c
56855 ac_cpp='$CPP $CPPFLAGS'
56856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56865 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56867 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56868 for ac_func in _fabsl
56869 do :
56870 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56871 if test "x$ac_cv_func__fabsl" = x""yes; then :
56872 cat >>confdefs.h <<_ACEOF
56873 #define HAVE__FABSL 1
56874 _ACEOF
56877 done
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56887 $as_echo_n "checking for fmodl declaration... " >&6; }
56888 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56889 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56890 $as_echo_n "(cached) " >&6
56891 else
56894 ac_ext=cpp
56895 ac_cpp='$CXXCPP $CPPFLAGS'
56896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56901 /* end confdefs.h. */
56902 #include <math.h>
56904 main ()
56906 fmodl(0, 0);
56908 return 0;
56910 _ACEOF
56911 if ac_fn_cxx_try_compile "$LINENO"; then :
56912 glibcxx_cv_func_fmodl_use=yes
56913 else
56914 glibcxx_cv_func_fmodl_use=no
56916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56917 ac_ext=c
56918 ac_cpp='$CPP $CPPFLAGS'
56919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56928 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56930 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56931 for ac_func in fmodl
56932 do :
56933 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56934 if test "x$ac_cv_func_fmodl" = x""yes; then :
56935 cat >>confdefs.h <<_ACEOF
56936 #define HAVE_FMODL 1
56937 _ACEOF
56940 done
56942 else
56944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56945 $as_echo_n "checking for _fmodl declaration... " >&6; }
56946 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56947 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56948 $as_echo_n "(cached) " >&6
56949 else
56952 ac_ext=cpp
56953 ac_cpp='$CXXCPP $CPPFLAGS'
56954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56959 /* end confdefs.h. */
56960 #include <math.h>
56962 main ()
56964 _fmodl(0, 0);
56966 return 0;
56968 _ACEOF
56969 if ac_fn_cxx_try_compile "$LINENO"; then :
56970 glibcxx_cv_func__fmodl_use=yes
56971 else
56972 glibcxx_cv_func__fmodl_use=no
56974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56975 ac_ext=c
56976 ac_cpp='$CPP $CPPFLAGS'
56977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56986 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56988 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56989 for ac_func in _fmodl
56990 do :
56991 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56992 if test "x$ac_cv_func__fmodl" = x""yes; then :
56993 cat >>confdefs.h <<_ACEOF
56994 #define HAVE__FMODL 1
56995 _ACEOF
56998 done
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
57008 $as_echo_n "checking for frexpl declaration... " >&6; }
57009 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57010 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
57011 $as_echo_n "(cached) " >&6
57012 else
57015 ac_ext=cpp
57016 ac_cpp='$CXXCPP $CPPFLAGS'
57017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57022 /* end confdefs.h. */
57023 #include <math.h>
57025 main ()
57027 frexpl(0, 0);
57029 return 0;
57031 _ACEOF
57032 if ac_fn_cxx_try_compile "$LINENO"; then :
57033 glibcxx_cv_func_frexpl_use=yes
57034 else
57035 glibcxx_cv_func_frexpl_use=no
57037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57038 ac_ext=c
57039 ac_cpp='$CPP $CPPFLAGS'
57040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57049 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57051 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57052 for ac_func in frexpl
57053 do :
57054 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57055 if test "x$ac_cv_func_frexpl" = x""yes; then :
57056 cat >>confdefs.h <<_ACEOF
57057 #define HAVE_FREXPL 1
57058 _ACEOF
57061 done
57063 else
57065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57066 $as_echo_n "checking for _frexpl declaration... " >&6; }
57067 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57068 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57069 $as_echo_n "(cached) " >&6
57070 else
57073 ac_ext=cpp
57074 ac_cpp='$CXXCPP $CPPFLAGS'
57075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57080 /* end confdefs.h. */
57081 #include <math.h>
57083 main ()
57085 _frexpl(0, 0);
57087 return 0;
57089 _ACEOF
57090 if ac_fn_cxx_try_compile "$LINENO"; then :
57091 glibcxx_cv_func__frexpl_use=yes
57092 else
57093 glibcxx_cv_func__frexpl_use=no
57095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57096 ac_ext=c
57097 ac_cpp='$CPP $CPPFLAGS'
57098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57107 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57109 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57110 for ac_func in _frexpl
57111 do :
57112 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57113 if test "x$ac_cv_func__frexpl" = x""yes; then :
57114 cat >>confdefs.h <<_ACEOF
57115 #define HAVE__FREXPL 1
57116 _ACEOF
57119 done
57128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57129 $as_echo_n "checking for hypotl declaration... " >&6; }
57130 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57131 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57132 $as_echo_n "(cached) " >&6
57133 else
57136 ac_ext=cpp
57137 ac_cpp='$CXXCPP $CPPFLAGS'
57138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57143 /* end confdefs.h. */
57144 #include <math.h>
57146 main ()
57148 hypotl(0, 0);
57150 return 0;
57152 _ACEOF
57153 if ac_fn_cxx_try_compile "$LINENO"; then :
57154 glibcxx_cv_func_hypotl_use=yes
57155 else
57156 glibcxx_cv_func_hypotl_use=no
57158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57159 ac_ext=c
57160 ac_cpp='$CPP $CPPFLAGS'
57161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57170 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57172 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57173 for ac_func in hypotl
57174 do :
57175 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57176 if test "x$ac_cv_func_hypotl" = x""yes; then :
57177 cat >>confdefs.h <<_ACEOF
57178 #define HAVE_HYPOTL 1
57179 _ACEOF
57182 done
57184 else
57186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57187 $as_echo_n "checking for _hypotl declaration... " >&6; }
57188 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57189 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57190 $as_echo_n "(cached) " >&6
57191 else
57194 ac_ext=cpp
57195 ac_cpp='$CXXCPP $CPPFLAGS'
57196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57201 /* end confdefs.h. */
57202 #include <math.h>
57204 main ()
57206 _hypotl(0, 0);
57208 return 0;
57210 _ACEOF
57211 if ac_fn_cxx_try_compile "$LINENO"; then :
57212 glibcxx_cv_func__hypotl_use=yes
57213 else
57214 glibcxx_cv_func__hypotl_use=no
57216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57217 ac_ext=c
57218 ac_cpp='$CPP $CPPFLAGS'
57219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57228 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57230 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57231 for ac_func in _hypotl
57232 do :
57233 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57234 if test "x$ac_cv_func__hypotl" = x""yes; then :
57235 cat >>confdefs.h <<_ACEOF
57236 #define HAVE__HYPOTL 1
57237 _ACEOF
57240 done
57249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57250 $as_echo_n "checking for ldexpl declaration... " >&6; }
57251 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57252 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57253 $as_echo_n "(cached) " >&6
57254 else
57257 ac_ext=cpp
57258 ac_cpp='$CXXCPP $CPPFLAGS'
57259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57264 /* end confdefs.h. */
57265 #include <math.h>
57267 main ()
57269 ldexpl(0, 0);
57271 return 0;
57273 _ACEOF
57274 if ac_fn_cxx_try_compile "$LINENO"; then :
57275 glibcxx_cv_func_ldexpl_use=yes
57276 else
57277 glibcxx_cv_func_ldexpl_use=no
57279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57280 ac_ext=c
57281 ac_cpp='$CPP $CPPFLAGS'
57282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57291 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57293 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57294 for ac_func in ldexpl
57295 do :
57296 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57297 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57298 cat >>confdefs.h <<_ACEOF
57299 #define HAVE_LDEXPL 1
57300 _ACEOF
57303 done
57305 else
57307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57308 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57309 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57310 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57311 $as_echo_n "(cached) " >&6
57312 else
57315 ac_ext=cpp
57316 ac_cpp='$CXXCPP $CPPFLAGS'
57317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57322 /* end confdefs.h. */
57323 #include <math.h>
57325 main ()
57327 _ldexpl(0, 0);
57329 return 0;
57331 _ACEOF
57332 if ac_fn_cxx_try_compile "$LINENO"; then :
57333 glibcxx_cv_func__ldexpl_use=yes
57334 else
57335 glibcxx_cv_func__ldexpl_use=no
57337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57338 ac_ext=c
57339 ac_cpp='$CPP $CPPFLAGS'
57340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57349 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57351 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57352 for ac_func in _ldexpl
57353 do :
57354 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57355 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57356 cat >>confdefs.h <<_ACEOF
57357 #define HAVE__LDEXPL 1
57358 _ACEOF
57361 done
57370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57371 $as_echo_n "checking for logl declaration... " >&6; }
57372 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57373 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57374 $as_echo_n "(cached) " >&6
57375 else
57378 ac_ext=cpp
57379 ac_cpp='$CXXCPP $CPPFLAGS'
57380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57385 /* end confdefs.h. */
57386 #include <math.h>
57387 #ifdef HAVE_IEEEFP_H
57388 #include <ieeefp.h>
57389 #endif
57392 main ()
57394 logl(0);
57396 return 0;
57398 _ACEOF
57399 if ac_fn_cxx_try_compile "$LINENO"; then :
57400 glibcxx_cv_func_logl_use=yes
57401 else
57402 glibcxx_cv_func_logl_use=no
57404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57405 ac_ext=c
57406 ac_cpp='$CPP $CPPFLAGS'
57407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57416 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57418 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57419 for ac_func in logl
57420 do :
57421 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57422 if test "x$ac_cv_func_logl" = x""yes; then :
57423 cat >>confdefs.h <<_ACEOF
57424 #define HAVE_LOGL 1
57425 _ACEOF
57428 done
57430 else
57432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57433 $as_echo_n "checking for _logl declaration... " >&6; }
57434 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57435 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57436 $as_echo_n "(cached) " >&6
57437 else
57440 ac_ext=cpp
57441 ac_cpp='$CXXCPP $CPPFLAGS'
57442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57447 /* end confdefs.h. */
57448 #include <math.h>
57449 #ifdef HAVE_IEEEFP_H
57450 #include <ieeefp.h>
57451 #endif
57454 main ()
57456 _logl(0);
57458 return 0;
57460 _ACEOF
57461 if ac_fn_cxx_try_compile "$LINENO"; then :
57462 glibcxx_cv_func__logl_use=yes
57463 else
57464 glibcxx_cv_func__logl_use=no
57466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57467 ac_ext=c
57468 ac_cpp='$CPP $CPPFLAGS'
57469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57478 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57480 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57481 for ac_func in _logl
57482 do :
57483 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57484 if test "x$ac_cv_func__logl" = x""yes; then :
57485 cat >>confdefs.h <<_ACEOF
57486 #define HAVE__LOGL 1
57487 _ACEOF
57490 done
57499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57500 $as_echo_n "checking for log10l declaration... " >&6; }
57501 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57502 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57503 $as_echo_n "(cached) " >&6
57504 else
57507 ac_ext=cpp
57508 ac_cpp='$CXXCPP $CPPFLAGS'
57509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57514 /* end confdefs.h. */
57515 #include <math.h>
57516 #ifdef HAVE_IEEEFP_H
57517 #include <ieeefp.h>
57518 #endif
57521 main ()
57523 log10l(0);
57525 return 0;
57527 _ACEOF
57528 if ac_fn_cxx_try_compile "$LINENO"; then :
57529 glibcxx_cv_func_log10l_use=yes
57530 else
57531 glibcxx_cv_func_log10l_use=no
57533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57534 ac_ext=c
57535 ac_cpp='$CPP $CPPFLAGS'
57536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57545 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57547 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57548 for ac_func in log10l
57549 do :
57550 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57551 if test "x$ac_cv_func_log10l" = x""yes; then :
57552 cat >>confdefs.h <<_ACEOF
57553 #define HAVE_LOG10L 1
57554 _ACEOF
57557 done
57559 else
57561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57562 $as_echo_n "checking for _log10l declaration... " >&6; }
57563 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57564 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57565 $as_echo_n "(cached) " >&6
57566 else
57569 ac_ext=cpp
57570 ac_cpp='$CXXCPP $CPPFLAGS'
57571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57576 /* end confdefs.h. */
57577 #include <math.h>
57578 #ifdef HAVE_IEEEFP_H
57579 #include <ieeefp.h>
57580 #endif
57583 main ()
57585 _log10l(0);
57587 return 0;
57589 _ACEOF
57590 if ac_fn_cxx_try_compile "$LINENO"; then :
57591 glibcxx_cv_func__log10l_use=yes
57592 else
57593 glibcxx_cv_func__log10l_use=no
57595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57596 ac_ext=c
57597 ac_cpp='$CPP $CPPFLAGS'
57598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57607 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57609 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57610 for ac_func in _log10l
57611 do :
57612 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57613 if test "x$ac_cv_func__log10l" = x""yes; then :
57614 cat >>confdefs.h <<_ACEOF
57615 #define HAVE__LOG10L 1
57616 _ACEOF
57619 done
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57629 $as_echo_n "checking for modfl declaration... " >&6; }
57630 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57631 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57632 $as_echo_n "(cached) " >&6
57633 else
57636 ac_ext=cpp
57637 ac_cpp='$CXXCPP $CPPFLAGS'
57638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57643 /* end confdefs.h. */
57644 #include <math.h>
57646 main ()
57648 modfl(0, 0);
57650 return 0;
57652 _ACEOF
57653 if ac_fn_cxx_try_compile "$LINENO"; then :
57654 glibcxx_cv_func_modfl_use=yes
57655 else
57656 glibcxx_cv_func_modfl_use=no
57658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57659 ac_ext=c
57660 ac_cpp='$CPP $CPPFLAGS'
57661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57670 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57672 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57673 for ac_func in modfl
57674 do :
57675 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57676 if test "x$ac_cv_func_modfl" = x""yes; then :
57677 cat >>confdefs.h <<_ACEOF
57678 #define HAVE_MODFL 1
57679 _ACEOF
57682 done
57684 else
57686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57687 $as_echo_n "checking for _modfl declaration... " >&6; }
57688 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57689 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57690 $as_echo_n "(cached) " >&6
57691 else
57694 ac_ext=cpp
57695 ac_cpp='$CXXCPP $CPPFLAGS'
57696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57701 /* end confdefs.h. */
57702 #include <math.h>
57704 main ()
57706 _modfl(0, 0);
57708 return 0;
57710 _ACEOF
57711 if ac_fn_cxx_try_compile "$LINENO"; then :
57712 glibcxx_cv_func__modfl_use=yes
57713 else
57714 glibcxx_cv_func__modfl_use=no
57716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57717 ac_ext=c
57718 ac_cpp='$CPP $CPPFLAGS'
57719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57728 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57730 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57731 for ac_func in _modfl
57732 do :
57733 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57734 if test "x$ac_cv_func__modfl" = x""yes; then :
57735 cat >>confdefs.h <<_ACEOF
57736 #define HAVE__MODFL 1
57737 _ACEOF
57740 done
57749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57750 $as_echo_n "checking for powl declaration... " >&6; }
57751 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57752 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57753 $as_echo_n "(cached) " >&6
57754 else
57757 ac_ext=cpp
57758 ac_cpp='$CXXCPP $CPPFLAGS'
57759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57764 /* end confdefs.h. */
57765 #include <math.h>
57767 main ()
57769 powl(0, 0);
57771 return 0;
57773 _ACEOF
57774 if ac_fn_cxx_try_compile "$LINENO"; then :
57775 glibcxx_cv_func_powl_use=yes
57776 else
57777 glibcxx_cv_func_powl_use=no
57779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57780 ac_ext=c
57781 ac_cpp='$CPP $CPPFLAGS'
57782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57791 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57793 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57794 for ac_func in powl
57795 do :
57796 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57797 if test "x$ac_cv_func_powl" = x""yes; then :
57798 cat >>confdefs.h <<_ACEOF
57799 #define HAVE_POWL 1
57800 _ACEOF
57803 done
57805 else
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57808 $as_echo_n "checking for _powl declaration... " >&6; }
57809 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57810 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57811 $as_echo_n "(cached) " >&6
57812 else
57815 ac_ext=cpp
57816 ac_cpp='$CXXCPP $CPPFLAGS'
57817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57822 /* end confdefs.h. */
57823 #include <math.h>
57825 main ()
57827 _powl(0, 0);
57829 return 0;
57831 _ACEOF
57832 if ac_fn_cxx_try_compile "$LINENO"; then :
57833 glibcxx_cv_func__powl_use=yes
57834 else
57835 glibcxx_cv_func__powl_use=no
57837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57838 ac_ext=c
57839 ac_cpp='$CPP $CPPFLAGS'
57840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57849 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57851 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57852 for ac_func in _powl
57853 do :
57854 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57855 if test "x$ac_cv_func__powl" = x""yes; then :
57856 cat >>confdefs.h <<_ACEOF
57857 #define HAVE__POWL 1
57858 _ACEOF
57861 done
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57871 $as_echo_n "checking for sqrtl declaration... " >&6; }
57872 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57873 if test "${glibcxx_cv_func_sqrtl_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 sqrtl(0);
57896 return 0;
57898 _ACEOF
57899 if ac_fn_cxx_try_compile "$LINENO"; then :
57900 glibcxx_cv_func_sqrtl_use=yes
57901 else
57902 glibcxx_cv_func_sqrtl_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_sqrtl_use" >&5
57916 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57918 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57919 for ac_func in sqrtl
57920 do :
57921 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57922 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57923 cat >>confdefs.h <<_ACEOF
57924 #define HAVE_SQRTL 1
57925 _ACEOF
57928 done
57930 else
57932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57933 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57934 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57935 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57936 $as_echo_n "(cached) " >&6
57937 else
57940 ac_ext=cpp
57941 ac_cpp='$CXXCPP $CPPFLAGS'
57942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57947 /* end confdefs.h. */
57948 #include <math.h>
57949 #ifdef HAVE_IEEEFP_H
57950 #include <ieeefp.h>
57951 #endif
57954 main ()
57956 _sqrtl(0);
57958 return 0;
57960 _ACEOF
57961 if ac_fn_cxx_try_compile "$LINENO"; then :
57962 glibcxx_cv_func__sqrtl_use=yes
57963 else
57964 glibcxx_cv_func__sqrtl_use=no
57966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57967 ac_ext=c
57968 ac_cpp='$CPP $CPPFLAGS'
57969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57978 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57980 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57981 for ac_func in _sqrtl
57982 do :
57983 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57984 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57985 cat >>confdefs.h <<_ACEOF
57986 #define HAVE__SQRTL 1
57987 _ACEOF
57990 done
57999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
58000 $as_echo_n "checking for sincosl declaration... " >&6; }
58001 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58002 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
58003 $as_echo_n "(cached) " >&6
58004 else
58007 ac_ext=cpp
58008 ac_cpp='$CXXCPP $CPPFLAGS'
58009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58014 /* end confdefs.h. */
58015 #include <math.h>
58017 main ()
58019 sincosl(0, 0, 0);
58021 return 0;
58023 _ACEOF
58024 if ac_fn_cxx_try_compile "$LINENO"; then :
58025 glibcxx_cv_func_sincosl_use=yes
58026 else
58027 glibcxx_cv_func_sincosl_use=no
58029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58030 ac_ext=c
58031 ac_cpp='$CPP $CPPFLAGS'
58032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58041 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58043 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58044 for ac_func in sincosl
58045 do :
58046 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58047 if test "x$ac_cv_func_sincosl" = x""yes; then :
58048 cat >>confdefs.h <<_ACEOF
58049 #define HAVE_SINCOSL 1
58050 _ACEOF
58053 done
58055 else
58057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58058 $as_echo_n "checking for _sincosl declaration... " >&6; }
58059 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58060 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58061 $as_echo_n "(cached) " >&6
58062 else
58065 ac_ext=cpp
58066 ac_cpp='$CXXCPP $CPPFLAGS'
58067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58072 /* end confdefs.h. */
58073 #include <math.h>
58075 main ()
58077 _sincosl(0, 0, 0);
58079 return 0;
58081 _ACEOF
58082 if ac_fn_cxx_try_compile "$LINENO"; then :
58083 glibcxx_cv_func__sincosl_use=yes
58084 else
58085 glibcxx_cv_func__sincosl_use=no
58087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58088 ac_ext=c
58089 ac_cpp='$CPP $CPPFLAGS'
58090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58099 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58101 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58102 for ac_func in _sincosl
58103 do :
58104 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58105 if test "x$ac_cv_func__sincosl" = x""yes; then :
58106 cat >>confdefs.h <<_ACEOF
58107 #define HAVE__SINCOSL 1
58108 _ACEOF
58111 done
58120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58121 $as_echo_n "checking for finitel declaration... " >&6; }
58122 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58123 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58124 $as_echo_n "(cached) " >&6
58125 else
58128 ac_ext=cpp
58129 ac_cpp='$CXXCPP $CPPFLAGS'
58130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58135 /* end confdefs.h. */
58136 #include <math.h>
58137 #ifdef HAVE_IEEEFP_H
58138 #include <ieeefp.h>
58139 #endif
58142 main ()
58144 finitel(0);
58146 return 0;
58148 _ACEOF
58149 if ac_fn_cxx_try_compile "$LINENO"; then :
58150 glibcxx_cv_func_finitel_use=yes
58151 else
58152 glibcxx_cv_func_finitel_use=no
58154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58155 ac_ext=c
58156 ac_cpp='$CPP $CPPFLAGS'
58157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58166 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58168 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58169 for ac_func in finitel
58170 do :
58171 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58172 if test "x$ac_cv_func_finitel" = x""yes; then :
58173 cat >>confdefs.h <<_ACEOF
58174 #define HAVE_FINITEL 1
58175 _ACEOF
58178 done
58180 else
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58183 $as_echo_n "checking for _finitel declaration... " >&6; }
58184 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58185 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58186 $as_echo_n "(cached) " >&6
58187 else
58190 ac_ext=cpp
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h. */
58198 #include <math.h>
58199 #ifdef HAVE_IEEEFP_H
58200 #include <ieeefp.h>
58201 #endif
58204 main ()
58206 _finitel(0);
58208 return 0;
58210 _ACEOF
58211 if ac_fn_cxx_try_compile "$LINENO"; then :
58212 glibcxx_cv_func__finitel_use=yes
58213 else
58214 glibcxx_cv_func__finitel_use=no
58216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58217 ac_ext=c
58218 ac_cpp='$CPP $CPPFLAGS'
58219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58228 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58230 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58231 for ac_func in _finitel
58232 do :
58233 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58234 if test "x$ac_cv_func__finitel" = x""yes; then :
58235 cat >>confdefs.h <<_ACEOF
58236 #define HAVE__FINITEL 1
58237 _ACEOF
58240 done
58248 LIBS="$ac_save_LIBS"
58249 CXXFLAGS="$ac_save_CXXFLAGS"
58252 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58253 ac_save_CXXFLAGS="$CXXFLAGS"
58254 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58258 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58259 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58260 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58261 $as_echo_n "(cached) " >&6
58262 else
58265 ac_ext=cpp
58266 ac_cpp='$CXXCPP $CPPFLAGS'
58267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58272 /* end confdefs.h. */
58273 #include <stdlib.h>
58275 main ()
58277 at_quick_exit(0);
58279 return 0;
58281 _ACEOF
58282 if ac_fn_cxx_try_compile "$LINENO"; then :
58283 glibcxx_cv_func_at_quick_exit_use=yes
58284 else
58285 glibcxx_cv_func_at_quick_exit_use=no
58287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58288 ac_ext=c
58289 ac_cpp='$CPP $CPPFLAGS'
58290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58299 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58300 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58301 for ac_func in at_quick_exit
58302 do :
58303 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58304 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58305 cat >>confdefs.h <<_ACEOF
58306 #define HAVE_AT_QUICK_EXIT 1
58307 _ACEOF
58310 done
58315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58316 $as_echo_n "checking for quick_exit declaration... " >&6; }
58317 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58318 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58319 $as_echo_n "(cached) " >&6
58320 else
58323 ac_ext=cpp
58324 ac_cpp='$CXXCPP $CPPFLAGS'
58325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58330 /* end confdefs.h. */
58331 #include <stdlib.h>
58333 main ()
58335 quick_exit(0);
58337 return 0;
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_quick_exit_use=yes
58342 else
58343 glibcxx_cv_func_quick_exit_use=no
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58357 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58358 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58359 for ac_func in quick_exit
58360 do :
58361 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58362 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58363 cat >>confdefs.h <<_ACEOF
58364 #define HAVE_QUICK_EXIT 1
58365 _ACEOF
58368 done
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58374 $as_echo_n "checking for strtold declaration... " >&6; }
58375 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58376 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <stdlib.h>
58391 main ()
58393 strtold(0, 0);
58395 return 0;
58397 _ACEOF
58398 if ac_fn_cxx_try_compile "$LINENO"; then :
58399 glibcxx_cv_func_strtold_use=yes
58400 else
58401 glibcxx_cv_func_strtold_use=no
58403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 ac_ext=c
58405 ac_cpp='$CPP $CPPFLAGS'
58406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58415 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58416 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58417 for ac_func in strtold
58418 do :
58419 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58420 if test "x$ac_cv_func_strtold" = x""yes; then :
58421 cat >>confdefs.h <<_ACEOF
58422 #define HAVE_STRTOLD 1
58423 _ACEOF
58426 done
58433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58434 $as_echo_n "checking for strtof declaration... " >&6; }
58435 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58436 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58437 $as_echo_n "(cached) " >&6
58438 else
58441 ac_ext=cpp
58442 ac_cpp='$CXXCPP $CPPFLAGS'
58443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h. */
58449 #include <stdlib.h>
58451 main ()
58453 strtof(0, 0);
58455 return 0;
58457 _ACEOF
58458 if ac_fn_cxx_try_compile "$LINENO"; then :
58459 glibcxx_cv_func_strtof_use=yes
58460 else
58461 glibcxx_cv_func_strtof_use=no
58463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58464 ac_ext=c
58465 ac_cpp='$CPP $CPPFLAGS'
58466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58475 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58476 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58477 for ac_func in strtof
58478 do :
58479 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58480 if test "x$ac_cv_func_strtof" = x""yes; then :
58481 cat >>confdefs.h <<_ACEOF
58482 #define HAVE_STRTOF 1
58483 _ACEOF
58486 done
58493 CXXFLAGS="$ac_save_CXXFLAGS"
58496 *-netbsd*)
58497 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58500 # If we're not using GNU ld, then there's no point in even trying these
58501 # tests. Check for that first. We should have already tested for gld
58502 # by now (in libtool), but require it now just to be safe...
58503 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58504 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58508 # The name set by libtool depends on the version of libtool. Shame on us
58509 # for depending on an impl detail, but c'est la vie. Older versions used
58510 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58511 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58512 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58513 # set (hence we're using an older libtool), then set it.
58514 if test x${with_gnu_ld+set} != xset; then
58515 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58516 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58517 with_gnu_ld=no
58518 else
58519 with_gnu_ld=$ac_cv_prog_gnu_ld
58523 # Start by getting the version number. I think the libtool test already
58524 # does some of this, but throws away the result.
58525 glibcxx_ld_is_gold=no
58526 if test x"$with_gnu_ld" = x"yes"; then
58527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58528 $as_echo_n "checking for ld version... " >&6; }
58530 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58531 glibcxx_ld_is_gold=yes
58533 ldver=`$LD --version 2>/dev/null |
58534 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'`
58536 glibcxx_gnu_ld_version=`echo $ldver | \
58537 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58539 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58542 # Set --gc-sections.
58543 glibcxx_have_gc_sections=no
58544 if test "$glibcxx_ld_is_gold" = "yes"; then
58545 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58546 glibcxx_have_gc_sections=yes
58548 else
58549 glibcxx_gcsections_min_ld=21602
58550 if test x"$with_gnu_ld" = x"yes" &&
58551 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58552 glibcxx_have_gc_sections=yes
58555 if test "$glibcxx_have_gc_sections" = "yes"; then
58556 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58557 # NB: This flag only works reliably after 2.16.1. Configure tests
58558 # for this are difficult, so hard wire a value that should work.
58560 ac_test_CFLAGS="${CFLAGS+set}"
58561 ac_save_CFLAGS="$CFLAGS"
58562 CFLAGS='-Wl,--gc-sections'
58564 # Check for -Wl,--gc-sections
58565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58566 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58567 if test x$gcc_no_link = xyes; then
58568 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58571 /* end confdefs.h. */
58572 int one(void) { return 1; }
58573 int two(void) { return 2; }
58576 main ()
58578 two();
58580 return 0;
58582 _ACEOF
58583 if ac_fn_c_try_link "$LINENO"; then :
58584 ac_gcsections=yes
58585 else
58586 ac_gcsections=no
58588 rm -f core conftest.err conftest.$ac_objext \
58589 conftest$ac_exeext conftest.$ac_ext
58590 if test "$ac_gcsections" = "yes"; then
58591 rm -f conftest.c
58592 touch conftest.c
58593 if $CC -c conftest.c; then
58594 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58595 grep "Warning: gc-sections option ignored" > /dev/null; then
58596 ac_gcsections=no
58599 rm -f conftest.c conftest.o conftest
58601 if test "$ac_gcsections" = "yes"; then
58602 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58605 $as_echo "$ac_gcsections" >&6; }
58607 if test "$ac_test_CFLAGS" = set; then
58608 CFLAGS="$ac_save_CFLAGS"
58609 else
58610 # this is the suspicious part
58611 CFLAGS=''
58615 # Set -z,relro.
58616 # Note this is only for shared objects.
58617 ac_ld_relro=no
58618 if test x"$with_gnu_ld" = x"yes"; then
58619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58620 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58621 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58622 if test -n "$cxx_z_relo"; then
58623 OPT_LDFLAGS="-Wl,-z,relro"
58624 ac_ld_relro=yes
58626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58627 $as_echo "$ac_ld_relro" >&6; }
58630 # Set linker optimization flags.
58631 if test x"$with_gnu_ld" = x"yes"; then
58632 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58638 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
58640 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
58642 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
58644 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
58646 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
58648 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
58650 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
58652 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
58654 if test x"long_double_math_on_this_cpu" = x"yes"; then
58655 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
58657 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
58659 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
58663 *-qnx6.1* | *-qnx6.2*)
58664 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58667 # If we're not using GNU ld, then there's no point in even trying these
58668 # tests. Check for that first. We should have already tested for gld
58669 # by now (in libtool), but require it now just to be safe...
58670 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58671 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58675 # The name set by libtool depends on the version of libtool. Shame on us
58676 # for depending on an impl detail, but c'est la vie. Older versions used
58677 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58678 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58679 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58680 # set (hence we're using an older libtool), then set it.
58681 if test x${with_gnu_ld+set} != xset; then
58682 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58683 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58684 with_gnu_ld=no
58685 else
58686 with_gnu_ld=$ac_cv_prog_gnu_ld
58690 # Start by getting the version number. I think the libtool test already
58691 # does some of this, but throws away the result.
58692 glibcxx_ld_is_gold=no
58693 if test x"$with_gnu_ld" = x"yes"; then
58694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58695 $as_echo_n "checking for ld version... " >&6; }
58697 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58698 glibcxx_ld_is_gold=yes
58700 ldver=`$LD --version 2>/dev/null |
58701 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'`
58703 glibcxx_gnu_ld_version=`echo $ldver | \
58704 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58706 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58709 # Set --gc-sections.
58710 glibcxx_have_gc_sections=no
58711 if test "$glibcxx_ld_is_gold" = "yes"; then
58712 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58713 glibcxx_have_gc_sections=yes
58715 else
58716 glibcxx_gcsections_min_ld=21602
58717 if test x"$with_gnu_ld" = x"yes" &&
58718 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58719 glibcxx_have_gc_sections=yes
58722 if test "$glibcxx_have_gc_sections" = "yes"; then
58723 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58724 # NB: This flag only works reliably after 2.16.1. Configure tests
58725 # for this are difficult, so hard wire a value that should work.
58727 ac_test_CFLAGS="${CFLAGS+set}"
58728 ac_save_CFLAGS="$CFLAGS"
58729 CFLAGS='-Wl,--gc-sections'
58731 # Check for -Wl,--gc-sections
58732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58733 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58734 if test x$gcc_no_link = xyes; then
58735 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58738 /* end confdefs.h. */
58739 int one(void) { return 1; }
58740 int two(void) { return 2; }
58743 main ()
58745 two();
58747 return 0;
58749 _ACEOF
58750 if ac_fn_c_try_link "$LINENO"; then :
58751 ac_gcsections=yes
58752 else
58753 ac_gcsections=no
58755 rm -f core conftest.err conftest.$ac_objext \
58756 conftest$ac_exeext conftest.$ac_ext
58757 if test "$ac_gcsections" = "yes"; then
58758 rm -f conftest.c
58759 touch conftest.c
58760 if $CC -c conftest.c; then
58761 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58762 grep "Warning: gc-sections option ignored" > /dev/null; then
58763 ac_gcsections=no
58766 rm -f conftest.c conftest.o conftest
58768 if test "$ac_gcsections" = "yes"; then
58769 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58772 $as_echo "$ac_gcsections" >&6; }
58774 if test "$ac_test_CFLAGS" = set; then
58775 CFLAGS="$ac_save_CFLAGS"
58776 else
58777 # this is the suspicious part
58778 CFLAGS=''
58782 # Set -z,relro.
58783 # Note this is only for shared objects.
58784 ac_ld_relro=no
58785 if test x"$with_gnu_ld" = x"yes"; then
58786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58787 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58788 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58789 if test -n "$cxx_z_relo"; then
58790 OPT_LDFLAGS="-Wl,-z,relro"
58791 ac_ld_relro=yes
58793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58794 $as_echo "$ac_ld_relro" >&6; }
58797 # Set linker optimization flags.
58798 if test x"$with_gnu_ld" = x"yes"; then
58799 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58805 $as_echo "#define HAVE_COSF 1" >>confdefs.h
58807 $as_echo "#define HAVE_COSL 1" >>confdefs.h
58809 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
58811 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
58813 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
58815 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
58817 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
58819 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
58821 $as_echo "#define HAVE_SINF 1" >>confdefs.h
58823 $as_echo "#define HAVE_SINL 1" >>confdefs.h
58825 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
58827 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
58830 *-rtems*)
58832 # All these tests are for C++; save the language and the compiler flags.
58833 # The CXXFLAGS thing is suspicious, but based on similar bits previously
58834 # found in GLIBCXX_CONFIGURE.
58836 ac_ext=cpp
58837 ac_cpp='$CXXCPP $CPPFLAGS'
58838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58842 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58843 ac_save_CXXFLAGS="$CXXFLAGS"
58845 # Check for maintainer-mode bits.
58846 if test x"$USE_MAINTAINER_MODE" = xno; then
58847 WERROR=''
58848 else
58849 WERROR='-Werror'
58852 # Check for -ffunction-sections -fdata-sections
58853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
58854 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
58855 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
58856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58857 /* end confdefs.h. */
58858 int foo; void bar() { };
58860 main ()
58864 return 0;
58866 _ACEOF
58867 if ac_fn_cxx_try_compile "$LINENO"; then :
58868 ac_fdsections=yes
58869 else
58870 ac_fdsections=no
58872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58873 if test "$ac_test_CXXFLAGS" = set; then
58874 CXXFLAGS="$ac_save_CXXFLAGS"
58875 else
58876 # this is the suspicious part
58877 CXXFLAGS=''
58879 if test x"$ac_fdsections" = x"yes"; then
58880 SECTION_FLAGS='-ffunction-sections -fdata-sections'
58882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
58883 $as_echo "$ac_fdsections" >&6; }
58885 ac_ext=c
58886 ac_cpp='$CPP $CPPFLAGS'
58887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58895 # If we're not using GNU ld, then there's no point in even trying these
58896 # tests. Check for that first. We should have already tested for gld
58897 # by now (in libtool), but require it now just to be safe...
58898 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58899 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58903 # The name set by libtool depends on the version of libtool. Shame on us
58904 # for depending on an impl detail, but c'est la vie. Older versions used
58905 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58906 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58907 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58908 # set (hence we're using an older libtool), then set it.
58909 if test x${with_gnu_ld+set} != xset; then
58910 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58911 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58912 with_gnu_ld=no
58913 else
58914 with_gnu_ld=$ac_cv_prog_gnu_ld
58918 # Start by getting the version number. I think the libtool test already
58919 # does some of this, but throws away the result.
58920 glibcxx_ld_is_gold=no
58921 if test x"$with_gnu_ld" = x"yes"; then
58922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58923 $as_echo_n "checking for ld version... " >&6; }
58925 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58926 glibcxx_ld_is_gold=yes
58928 ldver=`$LD --version 2>/dev/null |
58929 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'`
58931 glibcxx_gnu_ld_version=`echo $ldver | \
58932 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58934 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58937 # Set --gc-sections.
58938 glibcxx_have_gc_sections=no
58939 if test "$glibcxx_ld_is_gold" = "yes"; then
58940 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58941 glibcxx_have_gc_sections=yes
58943 else
58944 glibcxx_gcsections_min_ld=21602
58945 if test x"$with_gnu_ld" = x"yes" &&
58946 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58947 glibcxx_have_gc_sections=yes
58950 if test "$glibcxx_have_gc_sections" = "yes"; then
58951 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58952 # NB: This flag only works reliably after 2.16.1. Configure tests
58953 # for this are difficult, so hard wire a value that should work.
58955 ac_test_CFLAGS="${CFLAGS+set}"
58956 ac_save_CFLAGS="$CFLAGS"
58957 CFLAGS='-Wl,--gc-sections'
58959 # Check for -Wl,--gc-sections
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58961 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58962 if test x$gcc_no_link = xyes; then
58963 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58966 /* end confdefs.h. */
58967 int one(void) { return 1; }
58968 int two(void) { return 2; }
58971 main ()
58973 two();
58975 return 0;
58977 _ACEOF
58978 if ac_fn_c_try_link "$LINENO"; then :
58979 ac_gcsections=yes
58980 else
58981 ac_gcsections=no
58983 rm -f core conftest.err conftest.$ac_objext \
58984 conftest$ac_exeext conftest.$ac_ext
58985 if test "$ac_gcsections" = "yes"; then
58986 rm -f conftest.c
58987 touch conftest.c
58988 if $CC -c conftest.c; then
58989 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58990 grep "Warning: gc-sections option ignored" > /dev/null; then
58991 ac_gcsections=no
58994 rm -f conftest.c conftest.o conftest
58996 if test "$ac_gcsections" = "yes"; then
58997 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
59000 $as_echo "$ac_gcsections" >&6; }
59002 if test "$ac_test_CFLAGS" = set; then
59003 CFLAGS="$ac_save_CFLAGS"
59004 else
59005 # this is the suspicious part
59006 CFLAGS=''
59010 # Set -z,relro.
59011 # Note this is only for shared objects.
59012 ac_ld_relro=no
59013 if test x"$with_gnu_ld" = x"yes"; then
59014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
59015 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
59016 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
59017 if test -n "$cxx_z_relo"; then
59018 OPT_LDFLAGS="-Wl,-z,relro"
59019 ac_ld_relro=yes
59021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
59022 $as_echo "$ac_ld_relro" >&6; }
59025 # Set linker optimization flags.
59026 if test x"$with_gnu_ld" = x"yes"; then
59027 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
59034 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59035 ac_save_CXXFLAGS="$CXXFLAGS"
59036 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
59039 $as_echo_n "checking for sin in -lm... " >&6; }
59040 if test "${ac_cv_lib_m_sin+set}" = set; then :
59041 $as_echo_n "(cached) " >&6
59042 else
59043 ac_check_lib_save_LIBS=$LIBS
59044 LIBS="-lm $LIBS"
59045 if test x$gcc_no_link = xyes; then
59046 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59049 /* end confdefs.h. */
59051 /* Override any GCC internal prototype to avoid an error.
59052 Use char because int might match the return type of a GCC
59053 builtin and then its argument prototype would still apply. */
59054 #ifdef __cplusplus
59055 extern "C"
59056 #endif
59057 char sin ();
59059 main ()
59061 return sin ();
59063 return 0;
59065 _ACEOF
59066 if ac_fn_c_try_link "$LINENO"; then :
59067 ac_cv_lib_m_sin=yes
59068 else
59069 ac_cv_lib_m_sin=no
59071 rm -f core conftest.err conftest.$ac_objext \
59072 conftest$ac_exeext conftest.$ac_ext
59073 LIBS=$ac_check_lib_save_LIBS
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59076 $as_echo "$ac_cv_lib_m_sin" >&6; }
59077 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59078 libm="-lm"
59081 ac_save_LIBS="$LIBS"
59082 LIBS="$LIBS $libm"
59086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59087 $as_echo_n "checking for isinf declaration... " >&6; }
59088 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59089 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59090 $as_echo_n "(cached) " >&6
59091 else
59094 ac_ext=cpp
59095 ac_cpp='$CXXCPP $CPPFLAGS'
59096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59101 /* end confdefs.h. */
59102 #include <math.h>
59103 #ifdef HAVE_IEEEFP_H
59104 #include <ieeefp.h>
59105 #endif
59108 main ()
59110 isinf(0);
59112 return 0;
59114 _ACEOF
59115 if ac_fn_cxx_try_compile "$LINENO"; then :
59116 glibcxx_cv_func_isinf_use=yes
59117 else
59118 glibcxx_cv_func_isinf_use=no
59120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59121 ac_ext=c
59122 ac_cpp='$CPP $CPPFLAGS'
59123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59132 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59134 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59135 for ac_func in isinf
59136 do :
59137 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59138 if test "x$ac_cv_func_isinf" = x""yes; then :
59139 cat >>confdefs.h <<_ACEOF
59140 #define HAVE_ISINF 1
59141 _ACEOF
59144 done
59146 else
59148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59149 $as_echo_n "checking for _isinf declaration... " >&6; }
59150 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59151 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59152 $as_echo_n "(cached) " >&6
59153 else
59156 ac_ext=cpp
59157 ac_cpp='$CXXCPP $CPPFLAGS'
59158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59163 /* end confdefs.h. */
59164 #include <math.h>
59165 #ifdef HAVE_IEEEFP_H
59166 #include <ieeefp.h>
59167 #endif
59170 main ()
59172 _isinf(0);
59174 return 0;
59176 _ACEOF
59177 if ac_fn_cxx_try_compile "$LINENO"; then :
59178 glibcxx_cv_func__isinf_use=yes
59179 else
59180 glibcxx_cv_func__isinf_use=no
59182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59183 ac_ext=c
59184 ac_cpp='$CPP $CPPFLAGS'
59185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59194 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59196 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59197 for ac_func in _isinf
59198 do :
59199 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59200 if test "x$ac_cv_func__isinf" = x""yes; then :
59201 cat >>confdefs.h <<_ACEOF
59202 #define HAVE__ISINF 1
59203 _ACEOF
59206 done
59215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59216 $as_echo_n "checking for isnan declaration... " >&6; }
59217 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59218 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59219 $as_echo_n "(cached) " >&6
59220 else
59223 ac_ext=cpp
59224 ac_cpp='$CXXCPP $CPPFLAGS'
59225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59230 /* end confdefs.h. */
59231 #include <math.h>
59232 #ifdef HAVE_IEEEFP_H
59233 #include <ieeefp.h>
59234 #endif
59237 main ()
59239 isnan(0);
59241 return 0;
59243 _ACEOF
59244 if ac_fn_cxx_try_compile "$LINENO"; then :
59245 glibcxx_cv_func_isnan_use=yes
59246 else
59247 glibcxx_cv_func_isnan_use=no
59249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59250 ac_ext=c
59251 ac_cpp='$CPP $CPPFLAGS'
59252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59261 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59263 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59264 for ac_func in isnan
59265 do :
59266 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59267 if test "x$ac_cv_func_isnan" = x""yes; then :
59268 cat >>confdefs.h <<_ACEOF
59269 #define HAVE_ISNAN 1
59270 _ACEOF
59273 done
59275 else
59277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59278 $as_echo_n "checking for _isnan declaration... " >&6; }
59279 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59280 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59281 $as_echo_n "(cached) " >&6
59282 else
59285 ac_ext=cpp
59286 ac_cpp='$CXXCPP $CPPFLAGS'
59287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59292 /* end confdefs.h. */
59293 #include <math.h>
59294 #ifdef HAVE_IEEEFP_H
59295 #include <ieeefp.h>
59296 #endif
59299 main ()
59301 _isnan(0);
59303 return 0;
59305 _ACEOF
59306 if ac_fn_cxx_try_compile "$LINENO"; then :
59307 glibcxx_cv_func__isnan_use=yes
59308 else
59309 glibcxx_cv_func__isnan_use=no
59311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59312 ac_ext=c
59313 ac_cpp='$CPP $CPPFLAGS'
59314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59323 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59325 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59326 for ac_func in _isnan
59327 do :
59328 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59329 if test "x$ac_cv_func__isnan" = x""yes; then :
59330 cat >>confdefs.h <<_ACEOF
59331 #define HAVE__ISNAN 1
59332 _ACEOF
59335 done
59344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59345 $as_echo_n "checking for finite declaration... " >&6; }
59346 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59347 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59348 $as_echo_n "(cached) " >&6
59349 else
59352 ac_ext=cpp
59353 ac_cpp='$CXXCPP $CPPFLAGS'
59354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59359 /* end confdefs.h. */
59360 #include <math.h>
59361 #ifdef HAVE_IEEEFP_H
59362 #include <ieeefp.h>
59363 #endif
59366 main ()
59368 finite(0);
59370 return 0;
59372 _ACEOF
59373 if ac_fn_cxx_try_compile "$LINENO"; then :
59374 glibcxx_cv_func_finite_use=yes
59375 else
59376 glibcxx_cv_func_finite_use=no
59378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59379 ac_ext=c
59380 ac_cpp='$CPP $CPPFLAGS'
59381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59390 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59392 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59393 for ac_func in finite
59394 do :
59395 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59396 if test "x$ac_cv_func_finite" = x""yes; then :
59397 cat >>confdefs.h <<_ACEOF
59398 #define HAVE_FINITE 1
59399 _ACEOF
59402 done
59404 else
59406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59407 $as_echo_n "checking for _finite declaration... " >&6; }
59408 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59409 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59410 $as_echo_n "(cached) " >&6
59411 else
59414 ac_ext=cpp
59415 ac_cpp='$CXXCPP $CPPFLAGS'
59416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59421 /* end confdefs.h. */
59422 #include <math.h>
59423 #ifdef HAVE_IEEEFP_H
59424 #include <ieeefp.h>
59425 #endif
59428 main ()
59430 _finite(0);
59432 return 0;
59434 _ACEOF
59435 if ac_fn_cxx_try_compile "$LINENO"; then :
59436 glibcxx_cv_func__finite_use=yes
59437 else
59438 glibcxx_cv_func__finite_use=no
59440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59441 ac_ext=c
59442 ac_cpp='$CPP $CPPFLAGS'
59443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59452 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59454 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59455 for ac_func in _finite
59456 do :
59457 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59458 if test "x$ac_cv_func__finite" = x""yes; then :
59459 cat >>confdefs.h <<_ACEOF
59460 #define HAVE__FINITE 1
59461 _ACEOF
59464 done
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59474 $as_echo_n "checking for sincos declaration... " >&6; }
59475 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59476 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59477 $as_echo_n "(cached) " >&6
59478 else
59481 ac_ext=cpp
59482 ac_cpp='$CXXCPP $CPPFLAGS'
59483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59488 /* end confdefs.h. */
59489 #include <math.h>
59491 main ()
59493 sincos(0, 0, 0);
59495 return 0;
59497 _ACEOF
59498 if ac_fn_cxx_try_compile "$LINENO"; then :
59499 glibcxx_cv_func_sincos_use=yes
59500 else
59501 glibcxx_cv_func_sincos_use=no
59503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59504 ac_ext=c
59505 ac_cpp='$CPP $CPPFLAGS'
59506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59515 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59517 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59518 for ac_func in sincos
59519 do :
59520 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59521 if test "x$ac_cv_func_sincos" = x""yes; then :
59522 cat >>confdefs.h <<_ACEOF
59523 #define HAVE_SINCOS 1
59524 _ACEOF
59527 done
59529 else
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59532 $as_echo_n "checking for _sincos declaration... " >&6; }
59533 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59534 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59535 $as_echo_n "(cached) " >&6
59536 else
59539 ac_ext=cpp
59540 ac_cpp='$CXXCPP $CPPFLAGS'
59541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59546 /* end confdefs.h. */
59547 #include <math.h>
59549 main ()
59551 _sincos(0, 0, 0);
59553 return 0;
59555 _ACEOF
59556 if ac_fn_cxx_try_compile "$LINENO"; then :
59557 glibcxx_cv_func__sincos_use=yes
59558 else
59559 glibcxx_cv_func__sincos_use=no
59561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59562 ac_ext=c
59563 ac_cpp='$CPP $CPPFLAGS'
59564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59573 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59575 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59576 for ac_func in _sincos
59577 do :
59578 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59579 if test "x$ac_cv_func__sincos" = x""yes; then :
59580 cat >>confdefs.h <<_ACEOF
59581 #define HAVE__SINCOS 1
59582 _ACEOF
59585 done
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59595 $as_echo_n "checking for fpclass declaration... " >&6; }
59596 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59597 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59598 $as_echo_n "(cached) " >&6
59599 else
59602 ac_ext=cpp
59603 ac_cpp='$CXXCPP $CPPFLAGS'
59604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59609 /* end confdefs.h. */
59610 #include <math.h>
59611 #ifdef HAVE_IEEEFP_H
59612 #include <ieeefp.h>
59613 #endif
59616 main ()
59618 fpclass(0);
59620 return 0;
59622 _ACEOF
59623 if ac_fn_cxx_try_compile "$LINENO"; then :
59624 glibcxx_cv_func_fpclass_use=yes
59625 else
59626 glibcxx_cv_func_fpclass_use=no
59628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59629 ac_ext=c
59630 ac_cpp='$CPP $CPPFLAGS'
59631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59640 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59642 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59643 for ac_func in fpclass
59644 do :
59645 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59646 if test "x$ac_cv_func_fpclass" = x""yes; then :
59647 cat >>confdefs.h <<_ACEOF
59648 #define HAVE_FPCLASS 1
59649 _ACEOF
59652 done
59654 else
59656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59657 $as_echo_n "checking for _fpclass declaration... " >&6; }
59658 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59659 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59660 $as_echo_n "(cached) " >&6
59661 else
59664 ac_ext=cpp
59665 ac_cpp='$CXXCPP $CPPFLAGS'
59666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59671 /* end confdefs.h. */
59672 #include <math.h>
59673 #ifdef HAVE_IEEEFP_H
59674 #include <ieeefp.h>
59675 #endif
59678 main ()
59680 _fpclass(0);
59682 return 0;
59684 _ACEOF
59685 if ac_fn_cxx_try_compile "$LINENO"; then :
59686 glibcxx_cv_func__fpclass_use=yes
59687 else
59688 glibcxx_cv_func__fpclass_use=no
59690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59691 ac_ext=c
59692 ac_cpp='$CPP $CPPFLAGS'
59693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59702 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59704 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59705 for ac_func in _fpclass
59706 do :
59707 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59708 if test "x$ac_cv_func__fpclass" = x""yes; then :
59709 cat >>confdefs.h <<_ACEOF
59710 #define HAVE__FPCLASS 1
59711 _ACEOF
59714 done
59723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59724 $as_echo_n "checking for qfpclass declaration... " >&6; }
59725 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59726 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59727 $as_echo_n "(cached) " >&6
59728 else
59731 ac_ext=cpp
59732 ac_cpp='$CXXCPP $CPPFLAGS'
59733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59738 /* end confdefs.h. */
59739 #include <math.h>
59740 #ifdef HAVE_IEEEFP_H
59741 #include <ieeefp.h>
59742 #endif
59745 main ()
59747 qfpclass(0);
59749 return 0;
59751 _ACEOF
59752 if ac_fn_cxx_try_compile "$LINENO"; then :
59753 glibcxx_cv_func_qfpclass_use=yes
59754 else
59755 glibcxx_cv_func_qfpclass_use=no
59757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59758 ac_ext=c
59759 ac_cpp='$CPP $CPPFLAGS'
59760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59769 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59771 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59772 for ac_func in qfpclass
59773 do :
59774 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59775 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59776 cat >>confdefs.h <<_ACEOF
59777 #define HAVE_QFPCLASS 1
59778 _ACEOF
59781 done
59783 else
59785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59786 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59787 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59788 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59789 $as_echo_n "(cached) " >&6
59790 else
59793 ac_ext=cpp
59794 ac_cpp='$CXXCPP $CPPFLAGS'
59795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59800 /* end confdefs.h. */
59801 #include <math.h>
59802 #ifdef HAVE_IEEEFP_H
59803 #include <ieeefp.h>
59804 #endif
59807 main ()
59809 _qfpclass(0);
59811 return 0;
59813 _ACEOF
59814 if ac_fn_cxx_try_compile "$LINENO"; then :
59815 glibcxx_cv_func__qfpclass_use=yes
59816 else
59817 glibcxx_cv_func__qfpclass_use=no
59819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59820 ac_ext=c
59821 ac_cpp='$CPP $CPPFLAGS'
59822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59831 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59833 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59834 for ac_func in _qfpclass
59835 do :
59836 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59837 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59838 cat >>confdefs.h <<_ACEOF
59839 #define HAVE__QFPCLASS 1
59840 _ACEOF
59843 done
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59853 $as_echo_n "checking for hypot declaration... " >&6; }
59854 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59855 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59856 $as_echo_n "(cached) " >&6
59857 else
59860 ac_ext=cpp
59861 ac_cpp='$CXXCPP $CPPFLAGS'
59862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59867 /* end confdefs.h. */
59868 #include <math.h>
59870 main ()
59872 hypot(0, 0);
59874 return 0;
59876 _ACEOF
59877 if ac_fn_cxx_try_compile "$LINENO"; then :
59878 glibcxx_cv_func_hypot_use=yes
59879 else
59880 glibcxx_cv_func_hypot_use=no
59882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59883 ac_ext=c
59884 ac_cpp='$CPP $CPPFLAGS'
59885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59894 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59896 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59897 for ac_func in hypot
59898 do :
59899 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59900 if test "x$ac_cv_func_hypot" = x""yes; then :
59901 cat >>confdefs.h <<_ACEOF
59902 #define HAVE_HYPOT 1
59903 _ACEOF
59906 done
59908 else
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59911 $as_echo_n "checking for _hypot declaration... " >&6; }
59912 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59913 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59914 $as_echo_n "(cached) " >&6
59915 else
59918 ac_ext=cpp
59919 ac_cpp='$CXXCPP $CPPFLAGS'
59920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59925 /* end confdefs.h. */
59926 #include <math.h>
59928 main ()
59930 _hypot(0, 0);
59932 return 0;
59934 _ACEOF
59935 if ac_fn_cxx_try_compile "$LINENO"; then :
59936 glibcxx_cv_func__hypot_use=yes
59937 else
59938 glibcxx_cv_func__hypot_use=no
59940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59941 ac_ext=c
59942 ac_cpp='$CPP $CPPFLAGS'
59943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59952 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59954 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59955 for ac_func in _hypot
59956 do :
59957 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59958 if test "x$ac_cv_func__hypot" = x""yes; then :
59959 cat >>confdefs.h <<_ACEOF
59960 #define HAVE__HYPOT 1
59961 _ACEOF
59964 done
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59974 $as_echo_n "checking for float trig functions... " >&6; }
59975 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59976 $as_echo_n "(cached) " >&6
59977 else
59980 ac_ext=cpp
59981 ac_cpp='$CXXCPP $CPPFLAGS'
59982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59987 /* end confdefs.h. */
59988 #include <math.h>
59990 main ()
59992 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59994 return 0;
59996 _ACEOF
59997 if ac_fn_cxx_try_compile "$LINENO"; then :
59998 glibcxx_cv_func_float_trig_use=yes
59999 else
60000 glibcxx_cv_func_float_trig_use=no
60002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60003 ac_ext=c
60004 ac_cpp='$CPP $CPPFLAGS'
60005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
60012 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
60013 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
60014 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
60015 do :
60016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60018 eval as_val=\$$as_ac_var
60019 if test "x$as_val" = x""yes; then :
60020 cat >>confdefs.h <<_ACEOF
60021 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60022 _ACEOF
60025 done
60027 else
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
60029 $as_echo_n "checking for _float trig functions... " >&6; }
60030 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
60031 $as_echo_n "(cached) " >&6
60032 else
60035 ac_ext=cpp
60036 ac_cpp='$CXXCPP $CPPFLAGS'
60037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60042 /* end confdefs.h. */
60043 #include <math.h>
60045 main ()
60047 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60049 return 0;
60051 _ACEOF
60052 if ac_fn_cxx_try_compile "$LINENO"; then :
60053 glibcxx_cv_func__float_trig_use=yes
60054 else
60055 glibcxx_cv_func__float_trig_use=no
60057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60058 ac_ext=c
60059 ac_cpp='$CPP $CPPFLAGS'
60060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60067 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60068 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60069 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60070 do :
60071 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60072 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60073 eval as_val=\$$as_ac_var
60074 if test "x$as_val" = x""yes; then :
60075 cat >>confdefs.h <<_ACEOF
60076 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60077 _ACEOF
60080 done
60089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60090 $as_echo_n "checking for float round functions... " >&6; }
60091 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60092 $as_echo_n "(cached) " >&6
60093 else
60096 ac_ext=cpp
60097 ac_cpp='$CXXCPP $CPPFLAGS'
60098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60103 /* end confdefs.h. */
60104 #include <math.h>
60106 main ()
60108 ceilf (0); floorf (0);
60110 return 0;
60112 _ACEOF
60113 if ac_fn_cxx_try_compile "$LINENO"; then :
60114 glibcxx_cv_func_float_round_use=yes
60115 else
60116 glibcxx_cv_func_float_round_use=no
60118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60119 ac_ext=c
60120 ac_cpp='$CPP $CPPFLAGS'
60121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60128 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60129 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60130 for ac_func in ceilf floorf
60131 do :
60132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60134 eval as_val=\$$as_ac_var
60135 if test "x$as_val" = x""yes; then :
60136 cat >>confdefs.h <<_ACEOF
60137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60138 _ACEOF
60141 done
60143 else
60144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60145 $as_echo_n "checking for _float round functions... " >&6; }
60146 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60147 $as_echo_n "(cached) " >&6
60148 else
60151 ac_ext=cpp
60152 ac_cpp='$CXXCPP $CPPFLAGS'
60153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60158 /* end confdefs.h. */
60159 #include <math.h>
60161 main ()
60163 _ceilf (0); _floorf (0);
60165 return 0;
60167 _ACEOF
60168 if ac_fn_cxx_try_compile "$LINENO"; then :
60169 glibcxx_cv_func__float_round_use=yes
60170 else
60171 glibcxx_cv_func__float_round_use=no
60173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60174 ac_ext=c
60175 ac_cpp='$CPP $CPPFLAGS'
60176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60183 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60184 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60185 for ac_func in _ceilf _floorf
60186 do :
60187 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60188 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60189 eval as_val=\$$as_ac_var
60190 if test "x$as_val" = x""yes; then :
60191 cat >>confdefs.h <<_ACEOF
60192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60193 _ACEOF
60196 done
60206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60207 $as_echo_n "checking for expf declaration... " >&6; }
60208 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60209 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60210 $as_echo_n "(cached) " >&6
60211 else
60214 ac_ext=cpp
60215 ac_cpp='$CXXCPP $CPPFLAGS'
60216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60221 /* end confdefs.h. */
60222 #include <math.h>
60223 #ifdef HAVE_IEEEFP_H
60224 #include <ieeefp.h>
60225 #endif
60228 main ()
60230 expf(0);
60232 return 0;
60234 _ACEOF
60235 if ac_fn_cxx_try_compile "$LINENO"; then :
60236 glibcxx_cv_func_expf_use=yes
60237 else
60238 glibcxx_cv_func_expf_use=no
60240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60241 ac_ext=c
60242 ac_cpp='$CPP $CPPFLAGS'
60243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60252 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60254 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60255 for ac_func in expf
60256 do :
60257 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60258 if test "x$ac_cv_func_expf" = x""yes; then :
60259 cat >>confdefs.h <<_ACEOF
60260 #define HAVE_EXPF 1
60261 _ACEOF
60264 done
60266 else
60268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60269 $as_echo_n "checking for _expf declaration... " >&6; }
60270 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60271 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60272 $as_echo_n "(cached) " >&6
60273 else
60276 ac_ext=cpp
60277 ac_cpp='$CXXCPP $CPPFLAGS'
60278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60283 /* end confdefs.h. */
60284 #include <math.h>
60285 #ifdef HAVE_IEEEFP_H
60286 #include <ieeefp.h>
60287 #endif
60290 main ()
60292 _expf(0);
60294 return 0;
60296 _ACEOF
60297 if ac_fn_cxx_try_compile "$LINENO"; then :
60298 glibcxx_cv_func__expf_use=yes
60299 else
60300 glibcxx_cv_func__expf_use=no
60302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60303 ac_ext=c
60304 ac_cpp='$CPP $CPPFLAGS'
60305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60314 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60316 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60317 for ac_func in _expf
60318 do :
60319 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60320 if test "x$ac_cv_func__expf" = x""yes; then :
60321 cat >>confdefs.h <<_ACEOF
60322 #define HAVE__EXPF 1
60323 _ACEOF
60326 done
60335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60336 $as_echo_n "checking for isnanf declaration... " >&6; }
60337 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60338 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60339 $as_echo_n "(cached) " >&6
60340 else
60343 ac_ext=cpp
60344 ac_cpp='$CXXCPP $CPPFLAGS'
60345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60350 /* end confdefs.h. */
60351 #include <math.h>
60352 #ifdef HAVE_IEEEFP_H
60353 #include <ieeefp.h>
60354 #endif
60357 main ()
60359 isnanf(0);
60361 return 0;
60363 _ACEOF
60364 if ac_fn_cxx_try_compile "$LINENO"; then :
60365 glibcxx_cv_func_isnanf_use=yes
60366 else
60367 glibcxx_cv_func_isnanf_use=no
60369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60370 ac_ext=c
60371 ac_cpp='$CPP $CPPFLAGS'
60372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60381 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60383 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60384 for ac_func in isnanf
60385 do :
60386 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60387 if test "x$ac_cv_func_isnanf" = x""yes; then :
60388 cat >>confdefs.h <<_ACEOF
60389 #define HAVE_ISNANF 1
60390 _ACEOF
60393 done
60395 else
60397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60398 $as_echo_n "checking for _isnanf declaration... " >&6; }
60399 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60400 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60401 $as_echo_n "(cached) " >&6
60402 else
60405 ac_ext=cpp
60406 ac_cpp='$CXXCPP $CPPFLAGS'
60407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60412 /* end confdefs.h. */
60413 #include <math.h>
60414 #ifdef HAVE_IEEEFP_H
60415 #include <ieeefp.h>
60416 #endif
60419 main ()
60421 _isnanf(0);
60423 return 0;
60425 _ACEOF
60426 if ac_fn_cxx_try_compile "$LINENO"; then :
60427 glibcxx_cv_func__isnanf_use=yes
60428 else
60429 glibcxx_cv_func__isnanf_use=no
60431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60432 ac_ext=c
60433 ac_cpp='$CPP $CPPFLAGS'
60434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60443 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60445 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60446 for ac_func in _isnanf
60447 do :
60448 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60449 if test "x$ac_cv_func__isnanf" = x""yes; then :
60450 cat >>confdefs.h <<_ACEOF
60451 #define HAVE__ISNANF 1
60452 _ACEOF
60455 done
60464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60465 $as_echo_n "checking for isinff declaration... " >&6; }
60466 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60467 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60468 $as_echo_n "(cached) " >&6
60469 else
60472 ac_ext=cpp
60473 ac_cpp='$CXXCPP $CPPFLAGS'
60474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60479 /* end confdefs.h. */
60480 #include <math.h>
60481 #ifdef HAVE_IEEEFP_H
60482 #include <ieeefp.h>
60483 #endif
60486 main ()
60488 isinff(0);
60490 return 0;
60492 _ACEOF
60493 if ac_fn_cxx_try_compile "$LINENO"; then :
60494 glibcxx_cv_func_isinff_use=yes
60495 else
60496 glibcxx_cv_func_isinff_use=no
60498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60499 ac_ext=c
60500 ac_cpp='$CPP $CPPFLAGS'
60501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60510 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60512 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60513 for ac_func in isinff
60514 do :
60515 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60516 if test "x$ac_cv_func_isinff" = x""yes; then :
60517 cat >>confdefs.h <<_ACEOF
60518 #define HAVE_ISINFF 1
60519 _ACEOF
60522 done
60524 else
60526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60527 $as_echo_n "checking for _isinff declaration... " >&6; }
60528 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60529 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60530 $as_echo_n "(cached) " >&6
60531 else
60534 ac_ext=cpp
60535 ac_cpp='$CXXCPP $CPPFLAGS'
60536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60541 /* end confdefs.h. */
60542 #include <math.h>
60543 #ifdef HAVE_IEEEFP_H
60544 #include <ieeefp.h>
60545 #endif
60548 main ()
60550 _isinff(0);
60552 return 0;
60554 _ACEOF
60555 if ac_fn_cxx_try_compile "$LINENO"; then :
60556 glibcxx_cv_func__isinff_use=yes
60557 else
60558 glibcxx_cv_func__isinff_use=no
60560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60561 ac_ext=c
60562 ac_cpp='$CPP $CPPFLAGS'
60563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60572 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60574 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60575 for ac_func in _isinff
60576 do :
60577 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60578 if test "x$ac_cv_func__isinff" = x""yes; then :
60579 cat >>confdefs.h <<_ACEOF
60580 #define HAVE__ISINFF 1
60581 _ACEOF
60584 done
60593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60594 $as_echo_n "checking for atan2f declaration... " >&6; }
60595 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60596 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60597 $as_echo_n "(cached) " >&6
60598 else
60601 ac_ext=cpp
60602 ac_cpp='$CXXCPP $CPPFLAGS'
60603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60608 /* end confdefs.h. */
60609 #include <math.h>
60611 main ()
60613 atan2f(0, 0);
60615 return 0;
60617 _ACEOF
60618 if ac_fn_cxx_try_compile "$LINENO"; then :
60619 glibcxx_cv_func_atan2f_use=yes
60620 else
60621 glibcxx_cv_func_atan2f_use=no
60623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60624 ac_ext=c
60625 ac_cpp='$CPP $CPPFLAGS'
60626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60635 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60637 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60638 for ac_func in atan2f
60639 do :
60640 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60641 if test "x$ac_cv_func_atan2f" = x""yes; then :
60642 cat >>confdefs.h <<_ACEOF
60643 #define HAVE_ATAN2F 1
60644 _ACEOF
60647 done
60649 else
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60652 $as_echo_n "checking for _atan2f declaration... " >&6; }
60653 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60654 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60655 $as_echo_n "(cached) " >&6
60656 else
60659 ac_ext=cpp
60660 ac_cpp='$CXXCPP $CPPFLAGS'
60661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60666 /* end confdefs.h. */
60667 #include <math.h>
60669 main ()
60671 _atan2f(0, 0);
60673 return 0;
60675 _ACEOF
60676 if ac_fn_cxx_try_compile "$LINENO"; then :
60677 glibcxx_cv_func__atan2f_use=yes
60678 else
60679 glibcxx_cv_func__atan2f_use=no
60681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60682 ac_ext=c
60683 ac_cpp='$CPP $CPPFLAGS'
60684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60693 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60695 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60696 for ac_func in _atan2f
60697 do :
60698 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60699 if test "x$ac_cv_func__atan2f" = x""yes; then :
60700 cat >>confdefs.h <<_ACEOF
60701 #define HAVE__ATAN2F 1
60702 _ACEOF
60705 done
60714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60715 $as_echo_n "checking for fabsf declaration... " >&6; }
60716 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60717 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60718 $as_echo_n "(cached) " >&6
60719 else
60722 ac_ext=cpp
60723 ac_cpp='$CXXCPP $CPPFLAGS'
60724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60729 /* end confdefs.h. */
60730 #include <math.h>
60731 #ifdef HAVE_IEEEFP_H
60732 #include <ieeefp.h>
60733 #endif
60736 main ()
60738 fabsf(0);
60740 return 0;
60742 _ACEOF
60743 if ac_fn_cxx_try_compile "$LINENO"; then :
60744 glibcxx_cv_func_fabsf_use=yes
60745 else
60746 glibcxx_cv_func_fabsf_use=no
60748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60749 ac_ext=c
60750 ac_cpp='$CPP $CPPFLAGS'
60751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60760 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60762 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60763 for ac_func in fabsf
60764 do :
60765 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60766 if test "x$ac_cv_func_fabsf" = x""yes; then :
60767 cat >>confdefs.h <<_ACEOF
60768 #define HAVE_FABSF 1
60769 _ACEOF
60772 done
60774 else
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60777 $as_echo_n "checking for _fabsf declaration... " >&6; }
60778 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60779 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60780 $as_echo_n "(cached) " >&6
60781 else
60784 ac_ext=cpp
60785 ac_cpp='$CXXCPP $CPPFLAGS'
60786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60791 /* end confdefs.h. */
60792 #include <math.h>
60793 #ifdef HAVE_IEEEFP_H
60794 #include <ieeefp.h>
60795 #endif
60798 main ()
60800 _fabsf(0);
60802 return 0;
60804 _ACEOF
60805 if ac_fn_cxx_try_compile "$LINENO"; then :
60806 glibcxx_cv_func__fabsf_use=yes
60807 else
60808 glibcxx_cv_func__fabsf_use=no
60810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60811 ac_ext=c
60812 ac_cpp='$CPP $CPPFLAGS'
60813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60822 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60824 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60825 for ac_func in _fabsf
60826 do :
60827 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60828 if test "x$ac_cv_func__fabsf" = x""yes; then :
60829 cat >>confdefs.h <<_ACEOF
60830 #define HAVE__FABSF 1
60831 _ACEOF
60834 done
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60844 $as_echo_n "checking for fmodf declaration... " >&6; }
60845 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60846 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60847 $as_echo_n "(cached) " >&6
60848 else
60851 ac_ext=cpp
60852 ac_cpp='$CXXCPP $CPPFLAGS'
60853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60858 /* end confdefs.h. */
60859 #include <math.h>
60861 main ()
60863 fmodf(0, 0);
60865 return 0;
60867 _ACEOF
60868 if ac_fn_cxx_try_compile "$LINENO"; then :
60869 glibcxx_cv_func_fmodf_use=yes
60870 else
60871 glibcxx_cv_func_fmodf_use=no
60873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60874 ac_ext=c
60875 ac_cpp='$CPP $CPPFLAGS'
60876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60885 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60887 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60888 for ac_func in fmodf
60889 do :
60890 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60891 if test "x$ac_cv_func_fmodf" = x""yes; then :
60892 cat >>confdefs.h <<_ACEOF
60893 #define HAVE_FMODF 1
60894 _ACEOF
60897 done
60899 else
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60902 $as_echo_n "checking for _fmodf declaration... " >&6; }
60903 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60904 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60905 $as_echo_n "(cached) " >&6
60906 else
60909 ac_ext=cpp
60910 ac_cpp='$CXXCPP $CPPFLAGS'
60911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60916 /* end confdefs.h. */
60917 #include <math.h>
60919 main ()
60921 _fmodf(0, 0);
60923 return 0;
60925 _ACEOF
60926 if ac_fn_cxx_try_compile "$LINENO"; then :
60927 glibcxx_cv_func__fmodf_use=yes
60928 else
60929 glibcxx_cv_func__fmodf_use=no
60931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60932 ac_ext=c
60933 ac_cpp='$CPP $CPPFLAGS'
60934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60943 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60945 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60946 for ac_func in _fmodf
60947 do :
60948 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60949 if test "x$ac_cv_func__fmodf" = x""yes; then :
60950 cat >>confdefs.h <<_ACEOF
60951 #define HAVE__FMODF 1
60952 _ACEOF
60955 done
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60965 $as_echo_n "checking for frexpf declaration... " >&6; }
60966 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60967 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60968 $as_echo_n "(cached) " >&6
60969 else
60972 ac_ext=cpp
60973 ac_cpp='$CXXCPP $CPPFLAGS'
60974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60979 /* end confdefs.h. */
60980 #include <math.h>
60982 main ()
60984 frexpf(0, 0);
60986 return 0;
60988 _ACEOF
60989 if ac_fn_cxx_try_compile "$LINENO"; then :
60990 glibcxx_cv_func_frexpf_use=yes
60991 else
60992 glibcxx_cv_func_frexpf_use=no
60994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60995 ac_ext=c
60996 ac_cpp='$CPP $CPPFLAGS'
60997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
61006 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
61008 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
61009 for ac_func in frexpf
61010 do :
61011 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
61012 if test "x$ac_cv_func_frexpf" = x""yes; then :
61013 cat >>confdefs.h <<_ACEOF
61014 #define HAVE_FREXPF 1
61015 _ACEOF
61018 done
61020 else
61022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
61023 $as_echo_n "checking for _frexpf declaration... " >&6; }
61024 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
61025 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
61026 $as_echo_n "(cached) " >&6
61027 else
61030 ac_ext=cpp
61031 ac_cpp='$CXXCPP $CPPFLAGS'
61032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61037 /* end confdefs.h. */
61038 #include <math.h>
61040 main ()
61042 _frexpf(0, 0);
61044 return 0;
61046 _ACEOF
61047 if ac_fn_cxx_try_compile "$LINENO"; then :
61048 glibcxx_cv_func__frexpf_use=yes
61049 else
61050 glibcxx_cv_func__frexpf_use=no
61052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61053 ac_ext=c
61054 ac_cpp='$CPP $CPPFLAGS'
61055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61064 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61066 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61067 for ac_func in _frexpf
61068 do :
61069 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61070 if test "x$ac_cv_func__frexpf" = x""yes; then :
61071 cat >>confdefs.h <<_ACEOF
61072 #define HAVE__FREXPF 1
61073 _ACEOF
61076 done
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61086 $as_echo_n "checking for hypotf declaration... " >&6; }
61087 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61088 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61089 $as_echo_n "(cached) " >&6
61090 else
61093 ac_ext=cpp
61094 ac_cpp='$CXXCPP $CPPFLAGS'
61095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61100 /* end confdefs.h. */
61101 #include <math.h>
61103 main ()
61105 hypotf(0, 0);
61107 return 0;
61109 _ACEOF
61110 if ac_fn_cxx_try_compile "$LINENO"; then :
61111 glibcxx_cv_func_hypotf_use=yes
61112 else
61113 glibcxx_cv_func_hypotf_use=no
61115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61116 ac_ext=c
61117 ac_cpp='$CPP $CPPFLAGS'
61118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61127 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61129 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61130 for ac_func in hypotf
61131 do :
61132 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61133 if test "x$ac_cv_func_hypotf" = x""yes; then :
61134 cat >>confdefs.h <<_ACEOF
61135 #define HAVE_HYPOTF 1
61136 _ACEOF
61139 done
61141 else
61143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61144 $as_echo_n "checking for _hypotf declaration... " >&6; }
61145 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61146 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61147 $as_echo_n "(cached) " >&6
61148 else
61151 ac_ext=cpp
61152 ac_cpp='$CXXCPP $CPPFLAGS'
61153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61158 /* end confdefs.h. */
61159 #include <math.h>
61161 main ()
61163 _hypotf(0, 0);
61165 return 0;
61167 _ACEOF
61168 if ac_fn_cxx_try_compile "$LINENO"; then :
61169 glibcxx_cv_func__hypotf_use=yes
61170 else
61171 glibcxx_cv_func__hypotf_use=no
61173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61174 ac_ext=c
61175 ac_cpp='$CPP $CPPFLAGS'
61176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61185 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61187 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61188 for ac_func in _hypotf
61189 do :
61190 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61191 if test "x$ac_cv_func__hypotf" = x""yes; then :
61192 cat >>confdefs.h <<_ACEOF
61193 #define HAVE__HYPOTF 1
61194 _ACEOF
61197 done
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61207 $as_echo_n "checking for ldexpf declaration... " >&6; }
61208 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61209 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61210 $as_echo_n "(cached) " >&6
61211 else
61214 ac_ext=cpp
61215 ac_cpp='$CXXCPP $CPPFLAGS'
61216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61221 /* end confdefs.h. */
61222 #include <math.h>
61224 main ()
61226 ldexpf(0, 0);
61228 return 0;
61230 _ACEOF
61231 if ac_fn_cxx_try_compile "$LINENO"; then :
61232 glibcxx_cv_func_ldexpf_use=yes
61233 else
61234 glibcxx_cv_func_ldexpf_use=no
61236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61237 ac_ext=c
61238 ac_cpp='$CPP $CPPFLAGS'
61239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61248 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61250 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61251 for ac_func in ldexpf
61252 do :
61253 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61254 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61255 cat >>confdefs.h <<_ACEOF
61256 #define HAVE_LDEXPF 1
61257 _ACEOF
61260 done
61262 else
61264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61265 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61266 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61267 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61268 $as_echo_n "(cached) " >&6
61269 else
61272 ac_ext=cpp
61273 ac_cpp='$CXXCPP $CPPFLAGS'
61274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61279 /* end confdefs.h. */
61280 #include <math.h>
61282 main ()
61284 _ldexpf(0, 0);
61286 return 0;
61288 _ACEOF
61289 if ac_fn_cxx_try_compile "$LINENO"; then :
61290 glibcxx_cv_func__ldexpf_use=yes
61291 else
61292 glibcxx_cv_func__ldexpf_use=no
61294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61295 ac_ext=c
61296 ac_cpp='$CPP $CPPFLAGS'
61297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61306 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61308 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61309 for ac_func in _ldexpf
61310 do :
61311 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61312 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61313 cat >>confdefs.h <<_ACEOF
61314 #define HAVE__LDEXPF 1
61315 _ACEOF
61318 done
61327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61328 $as_echo_n "checking for logf declaration... " >&6; }
61329 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61330 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61331 $as_echo_n "(cached) " >&6
61332 else
61335 ac_ext=cpp
61336 ac_cpp='$CXXCPP $CPPFLAGS'
61337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61342 /* end confdefs.h. */
61343 #include <math.h>
61344 #ifdef HAVE_IEEEFP_H
61345 #include <ieeefp.h>
61346 #endif
61349 main ()
61351 logf(0);
61353 return 0;
61355 _ACEOF
61356 if ac_fn_cxx_try_compile "$LINENO"; then :
61357 glibcxx_cv_func_logf_use=yes
61358 else
61359 glibcxx_cv_func_logf_use=no
61361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61362 ac_ext=c
61363 ac_cpp='$CPP $CPPFLAGS'
61364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61373 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61375 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61376 for ac_func in logf
61377 do :
61378 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61379 if test "x$ac_cv_func_logf" = x""yes; then :
61380 cat >>confdefs.h <<_ACEOF
61381 #define HAVE_LOGF 1
61382 _ACEOF
61385 done
61387 else
61389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61390 $as_echo_n "checking for _logf declaration... " >&6; }
61391 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61392 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61393 $as_echo_n "(cached) " >&6
61394 else
61397 ac_ext=cpp
61398 ac_cpp='$CXXCPP $CPPFLAGS'
61399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61404 /* end confdefs.h. */
61405 #include <math.h>
61406 #ifdef HAVE_IEEEFP_H
61407 #include <ieeefp.h>
61408 #endif
61411 main ()
61413 _logf(0);
61415 return 0;
61417 _ACEOF
61418 if ac_fn_cxx_try_compile "$LINENO"; then :
61419 glibcxx_cv_func__logf_use=yes
61420 else
61421 glibcxx_cv_func__logf_use=no
61423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61424 ac_ext=c
61425 ac_cpp='$CPP $CPPFLAGS'
61426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61435 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61437 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61438 for ac_func in _logf
61439 do :
61440 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61441 if test "x$ac_cv_func__logf" = x""yes; then :
61442 cat >>confdefs.h <<_ACEOF
61443 #define HAVE__LOGF 1
61444 _ACEOF
61447 done
61456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61457 $as_echo_n "checking for log10f declaration... " >&6; }
61458 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61459 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61460 $as_echo_n "(cached) " >&6
61461 else
61464 ac_ext=cpp
61465 ac_cpp='$CXXCPP $CPPFLAGS'
61466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61471 /* end confdefs.h. */
61472 #include <math.h>
61473 #ifdef HAVE_IEEEFP_H
61474 #include <ieeefp.h>
61475 #endif
61478 main ()
61480 log10f(0);
61482 return 0;
61484 _ACEOF
61485 if ac_fn_cxx_try_compile "$LINENO"; then :
61486 glibcxx_cv_func_log10f_use=yes
61487 else
61488 glibcxx_cv_func_log10f_use=no
61490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61491 ac_ext=c
61492 ac_cpp='$CPP $CPPFLAGS'
61493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61502 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61504 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61505 for ac_func in log10f
61506 do :
61507 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61508 if test "x$ac_cv_func_log10f" = x""yes; then :
61509 cat >>confdefs.h <<_ACEOF
61510 #define HAVE_LOG10F 1
61511 _ACEOF
61514 done
61516 else
61518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61519 $as_echo_n "checking for _log10f declaration... " >&6; }
61520 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61521 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61522 $as_echo_n "(cached) " >&6
61523 else
61526 ac_ext=cpp
61527 ac_cpp='$CXXCPP $CPPFLAGS'
61528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61533 /* end confdefs.h. */
61534 #include <math.h>
61535 #ifdef HAVE_IEEEFP_H
61536 #include <ieeefp.h>
61537 #endif
61540 main ()
61542 _log10f(0);
61544 return 0;
61546 _ACEOF
61547 if ac_fn_cxx_try_compile "$LINENO"; then :
61548 glibcxx_cv_func__log10f_use=yes
61549 else
61550 glibcxx_cv_func__log10f_use=no
61552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61553 ac_ext=c
61554 ac_cpp='$CPP $CPPFLAGS'
61555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61564 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61566 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61567 for ac_func in _log10f
61568 do :
61569 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61570 if test "x$ac_cv_func__log10f" = x""yes; then :
61571 cat >>confdefs.h <<_ACEOF
61572 #define HAVE__LOG10F 1
61573 _ACEOF
61576 done
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61586 $as_echo_n "checking for modff declaration... " >&6; }
61587 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61588 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61589 $as_echo_n "(cached) " >&6
61590 else
61593 ac_ext=cpp
61594 ac_cpp='$CXXCPP $CPPFLAGS'
61595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61600 /* end confdefs.h. */
61601 #include <math.h>
61603 main ()
61605 modff(0, 0);
61607 return 0;
61609 _ACEOF
61610 if ac_fn_cxx_try_compile "$LINENO"; then :
61611 glibcxx_cv_func_modff_use=yes
61612 else
61613 glibcxx_cv_func_modff_use=no
61615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61616 ac_ext=c
61617 ac_cpp='$CPP $CPPFLAGS'
61618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61627 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61629 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61630 for ac_func in modff
61631 do :
61632 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61633 if test "x$ac_cv_func_modff" = x""yes; then :
61634 cat >>confdefs.h <<_ACEOF
61635 #define HAVE_MODFF 1
61636 _ACEOF
61639 done
61641 else
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61644 $as_echo_n "checking for _modff declaration... " >&6; }
61645 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61646 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61647 $as_echo_n "(cached) " >&6
61648 else
61651 ac_ext=cpp
61652 ac_cpp='$CXXCPP $CPPFLAGS'
61653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61658 /* end confdefs.h. */
61659 #include <math.h>
61661 main ()
61663 _modff(0, 0);
61665 return 0;
61667 _ACEOF
61668 if ac_fn_cxx_try_compile "$LINENO"; then :
61669 glibcxx_cv_func__modff_use=yes
61670 else
61671 glibcxx_cv_func__modff_use=no
61673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61674 ac_ext=c
61675 ac_cpp='$CPP $CPPFLAGS'
61676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61685 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61687 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61688 for ac_func in _modff
61689 do :
61690 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61691 if test "x$ac_cv_func__modff" = x""yes; then :
61692 cat >>confdefs.h <<_ACEOF
61693 #define HAVE__MODFF 1
61694 _ACEOF
61697 done
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61707 $as_echo_n "checking for modf declaration... " >&6; }
61708 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61709 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61710 $as_echo_n "(cached) " >&6
61711 else
61714 ac_ext=cpp
61715 ac_cpp='$CXXCPP $CPPFLAGS'
61716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61721 /* end confdefs.h. */
61722 #include <math.h>
61724 main ()
61726 modf(0, 0);
61728 return 0;
61730 _ACEOF
61731 if ac_fn_cxx_try_compile "$LINENO"; then :
61732 glibcxx_cv_func_modf_use=yes
61733 else
61734 glibcxx_cv_func_modf_use=no
61736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61737 ac_ext=c
61738 ac_cpp='$CPP $CPPFLAGS'
61739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61748 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61750 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61751 for ac_func in modf
61752 do :
61753 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61754 if test "x$ac_cv_func_modf" = x""yes; then :
61755 cat >>confdefs.h <<_ACEOF
61756 #define HAVE_MODF 1
61757 _ACEOF
61760 done
61762 else
61764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61765 $as_echo_n "checking for _modf declaration... " >&6; }
61766 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61767 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61768 $as_echo_n "(cached) " >&6
61769 else
61772 ac_ext=cpp
61773 ac_cpp='$CXXCPP $CPPFLAGS'
61774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61779 /* end confdefs.h. */
61780 #include <math.h>
61782 main ()
61784 _modf(0, 0);
61786 return 0;
61788 _ACEOF
61789 if ac_fn_cxx_try_compile "$LINENO"; then :
61790 glibcxx_cv_func__modf_use=yes
61791 else
61792 glibcxx_cv_func__modf_use=no
61794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61795 ac_ext=c
61796 ac_cpp='$CPP $CPPFLAGS'
61797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61806 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61808 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61809 for ac_func in _modf
61810 do :
61811 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61812 if test "x$ac_cv_func__modf" = x""yes; then :
61813 cat >>confdefs.h <<_ACEOF
61814 #define HAVE__MODF 1
61815 _ACEOF
61818 done
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61828 $as_echo_n "checking for powf declaration... " >&6; }
61829 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61830 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61831 $as_echo_n "(cached) " >&6
61832 else
61835 ac_ext=cpp
61836 ac_cpp='$CXXCPP $CPPFLAGS'
61837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61842 /* end confdefs.h. */
61843 #include <math.h>
61845 main ()
61847 powf(0, 0);
61849 return 0;
61851 _ACEOF
61852 if ac_fn_cxx_try_compile "$LINENO"; then :
61853 glibcxx_cv_func_powf_use=yes
61854 else
61855 glibcxx_cv_func_powf_use=no
61857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61858 ac_ext=c
61859 ac_cpp='$CPP $CPPFLAGS'
61860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61869 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61871 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61872 for ac_func in powf
61873 do :
61874 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61875 if test "x$ac_cv_func_powf" = x""yes; then :
61876 cat >>confdefs.h <<_ACEOF
61877 #define HAVE_POWF 1
61878 _ACEOF
61881 done
61883 else
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61886 $as_echo_n "checking for _powf declaration... " >&6; }
61887 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61888 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61889 $as_echo_n "(cached) " >&6
61890 else
61893 ac_ext=cpp
61894 ac_cpp='$CXXCPP $CPPFLAGS'
61895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61900 /* end confdefs.h. */
61901 #include <math.h>
61903 main ()
61905 _powf(0, 0);
61907 return 0;
61909 _ACEOF
61910 if ac_fn_cxx_try_compile "$LINENO"; then :
61911 glibcxx_cv_func__powf_use=yes
61912 else
61913 glibcxx_cv_func__powf_use=no
61915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61916 ac_ext=c
61917 ac_cpp='$CPP $CPPFLAGS'
61918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61927 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61929 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61930 for ac_func in _powf
61931 do :
61932 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61933 if test "x$ac_cv_func__powf" = x""yes; then :
61934 cat >>confdefs.h <<_ACEOF
61935 #define HAVE__POWF 1
61936 _ACEOF
61939 done
61948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61949 $as_echo_n "checking for sqrtf declaration... " >&6; }
61950 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61951 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61952 $as_echo_n "(cached) " >&6
61953 else
61956 ac_ext=cpp
61957 ac_cpp='$CXXCPP $CPPFLAGS'
61958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61963 /* end confdefs.h. */
61964 #include <math.h>
61965 #ifdef HAVE_IEEEFP_H
61966 #include <ieeefp.h>
61967 #endif
61970 main ()
61972 sqrtf(0);
61974 return 0;
61976 _ACEOF
61977 if ac_fn_cxx_try_compile "$LINENO"; then :
61978 glibcxx_cv_func_sqrtf_use=yes
61979 else
61980 glibcxx_cv_func_sqrtf_use=no
61982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61983 ac_ext=c
61984 ac_cpp='$CPP $CPPFLAGS'
61985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61994 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61996 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61997 for ac_func in sqrtf
61998 do :
61999 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
62000 if test "x$ac_cv_func_sqrtf" = x""yes; then :
62001 cat >>confdefs.h <<_ACEOF
62002 #define HAVE_SQRTF 1
62003 _ACEOF
62006 done
62008 else
62010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
62011 $as_echo_n "checking for _sqrtf declaration... " >&6; }
62012 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62013 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
62014 $as_echo_n "(cached) " >&6
62015 else
62018 ac_ext=cpp
62019 ac_cpp='$CXXCPP $CPPFLAGS'
62020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62025 /* end confdefs.h. */
62026 #include <math.h>
62027 #ifdef HAVE_IEEEFP_H
62028 #include <ieeefp.h>
62029 #endif
62032 main ()
62034 _sqrtf(0);
62036 return 0;
62038 _ACEOF
62039 if ac_fn_cxx_try_compile "$LINENO"; then :
62040 glibcxx_cv_func__sqrtf_use=yes
62041 else
62042 glibcxx_cv_func__sqrtf_use=no
62044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62045 ac_ext=c
62046 ac_cpp='$CPP $CPPFLAGS'
62047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62056 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62058 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62059 for ac_func in _sqrtf
62060 do :
62061 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62062 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62063 cat >>confdefs.h <<_ACEOF
62064 #define HAVE__SQRTF 1
62065 _ACEOF
62068 done
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62078 $as_echo_n "checking for sincosf declaration... " >&6; }
62079 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62080 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62081 $as_echo_n "(cached) " >&6
62082 else
62085 ac_ext=cpp
62086 ac_cpp='$CXXCPP $CPPFLAGS'
62087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62092 /* end confdefs.h. */
62093 #include <math.h>
62095 main ()
62097 sincosf(0, 0, 0);
62099 return 0;
62101 _ACEOF
62102 if ac_fn_cxx_try_compile "$LINENO"; then :
62103 glibcxx_cv_func_sincosf_use=yes
62104 else
62105 glibcxx_cv_func_sincosf_use=no
62107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62108 ac_ext=c
62109 ac_cpp='$CPP $CPPFLAGS'
62110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62119 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62121 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62122 for ac_func in sincosf
62123 do :
62124 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62125 if test "x$ac_cv_func_sincosf" = x""yes; then :
62126 cat >>confdefs.h <<_ACEOF
62127 #define HAVE_SINCOSF 1
62128 _ACEOF
62131 done
62133 else
62135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62136 $as_echo_n "checking for _sincosf declaration... " >&6; }
62137 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62138 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62139 $as_echo_n "(cached) " >&6
62140 else
62143 ac_ext=cpp
62144 ac_cpp='$CXXCPP $CPPFLAGS'
62145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62150 /* end confdefs.h. */
62151 #include <math.h>
62153 main ()
62155 _sincosf(0, 0, 0);
62157 return 0;
62159 _ACEOF
62160 if ac_fn_cxx_try_compile "$LINENO"; then :
62161 glibcxx_cv_func__sincosf_use=yes
62162 else
62163 glibcxx_cv_func__sincosf_use=no
62165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62166 ac_ext=c
62167 ac_cpp='$CPP $CPPFLAGS'
62168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62177 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62179 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62180 for ac_func in _sincosf
62181 do :
62182 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62183 if test "x$ac_cv_func__sincosf" = x""yes; then :
62184 cat >>confdefs.h <<_ACEOF
62185 #define HAVE__SINCOSF 1
62186 _ACEOF
62189 done
62198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62199 $as_echo_n "checking for finitef declaration... " >&6; }
62200 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62201 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62202 $as_echo_n "(cached) " >&6
62203 else
62206 ac_ext=cpp
62207 ac_cpp='$CXXCPP $CPPFLAGS'
62208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62213 /* end confdefs.h. */
62214 #include <math.h>
62215 #ifdef HAVE_IEEEFP_H
62216 #include <ieeefp.h>
62217 #endif
62220 main ()
62222 finitef(0);
62224 return 0;
62226 _ACEOF
62227 if ac_fn_cxx_try_compile "$LINENO"; then :
62228 glibcxx_cv_func_finitef_use=yes
62229 else
62230 glibcxx_cv_func_finitef_use=no
62232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62233 ac_ext=c
62234 ac_cpp='$CPP $CPPFLAGS'
62235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62244 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62246 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62247 for ac_func in finitef
62248 do :
62249 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62250 if test "x$ac_cv_func_finitef" = x""yes; then :
62251 cat >>confdefs.h <<_ACEOF
62252 #define HAVE_FINITEF 1
62253 _ACEOF
62256 done
62258 else
62260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62261 $as_echo_n "checking for _finitef declaration... " >&6; }
62262 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62263 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62264 $as_echo_n "(cached) " >&6
62265 else
62268 ac_ext=cpp
62269 ac_cpp='$CXXCPP $CPPFLAGS'
62270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62275 /* end confdefs.h. */
62276 #include <math.h>
62277 #ifdef HAVE_IEEEFP_H
62278 #include <ieeefp.h>
62279 #endif
62282 main ()
62284 _finitef(0);
62286 return 0;
62288 _ACEOF
62289 if ac_fn_cxx_try_compile "$LINENO"; then :
62290 glibcxx_cv_func__finitef_use=yes
62291 else
62292 glibcxx_cv_func__finitef_use=no
62294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62295 ac_ext=c
62296 ac_cpp='$CPP $CPPFLAGS'
62297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62306 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62308 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62309 for ac_func in _finitef
62310 do :
62311 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62312 if test "x$ac_cv_func__finitef" = x""yes; then :
62313 cat >>confdefs.h <<_ACEOF
62314 #define HAVE__FINITEF 1
62315 _ACEOF
62318 done
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62328 $as_echo_n "checking for long double trig functions... " >&6; }
62329 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62330 $as_echo_n "(cached) " >&6
62331 else
62334 ac_ext=cpp
62335 ac_cpp='$CXXCPP $CPPFLAGS'
62336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62341 /* end confdefs.h. */
62342 #include <math.h>
62344 main ()
62346 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62348 return 0;
62350 _ACEOF
62351 if ac_fn_cxx_try_compile "$LINENO"; then :
62352 glibcxx_cv_func_long_double_trig_use=yes
62353 else
62354 glibcxx_cv_func_long_double_trig_use=no
62356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62357 ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62366 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62367 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62368 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62369 do :
62370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62372 eval as_val=\$$as_ac_var
62373 if test "x$as_val" = x""yes; then :
62374 cat >>confdefs.h <<_ACEOF
62375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62376 _ACEOF
62379 done
62381 else
62382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62383 $as_echo_n "checking for _long double trig functions... " >&6; }
62384 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62385 $as_echo_n "(cached) " >&6
62386 else
62389 ac_ext=cpp
62390 ac_cpp='$CXXCPP $CPPFLAGS'
62391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62396 /* end confdefs.h. */
62397 #include <math.h>
62399 main ()
62401 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62403 return 0;
62405 _ACEOF
62406 if ac_fn_cxx_try_compile "$LINENO"; then :
62407 glibcxx_cv_func__long_double_trig_use=yes
62408 else
62409 glibcxx_cv_func__long_double_trig_use=no
62411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62412 ac_ext=c
62413 ac_cpp='$CPP $CPPFLAGS'
62414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62421 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62422 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62423 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62424 do :
62425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62427 eval as_val=\$$as_ac_var
62428 if test "x$as_val" = x""yes; then :
62429 cat >>confdefs.h <<_ACEOF
62430 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62431 _ACEOF
62434 done
62443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62444 $as_echo_n "checking for long double round functions... " >&6; }
62445 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62446 $as_echo_n "(cached) " >&6
62447 else
62450 ac_ext=cpp
62451 ac_cpp='$CXXCPP $CPPFLAGS'
62452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62457 /* end confdefs.h. */
62458 #include <math.h>
62460 main ()
62462 ceill (0); floorl (0);
62464 return 0;
62466 _ACEOF
62467 if ac_fn_cxx_try_compile "$LINENO"; then :
62468 glibcxx_cv_func_long_double_round_use=yes
62469 else
62470 glibcxx_cv_func_long_double_round_use=no
62472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62473 ac_ext=c
62474 ac_cpp='$CPP $CPPFLAGS'
62475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62482 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62483 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62484 for ac_func in ceill floorl
62485 do :
62486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62488 eval as_val=\$$as_ac_var
62489 if test "x$as_val" = x""yes; then :
62490 cat >>confdefs.h <<_ACEOF
62491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62492 _ACEOF
62495 done
62497 else
62498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62499 $as_echo_n "checking for _long double round functions... " >&6; }
62500 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62501 $as_echo_n "(cached) " >&6
62502 else
62505 ac_ext=cpp
62506 ac_cpp='$CXXCPP $CPPFLAGS'
62507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62512 /* end confdefs.h. */
62513 #include <math.h>
62515 main ()
62517 _ceill (0); _floorl (0);
62519 return 0;
62521 _ACEOF
62522 if ac_fn_cxx_try_compile "$LINENO"; then :
62523 glibcxx_cv_func__long_double_round_use=yes
62524 else
62525 glibcxx_cv_func__long_double_round_use=no
62527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62528 ac_ext=c
62529 ac_cpp='$CPP $CPPFLAGS'
62530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62537 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62538 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62539 for ac_func in _ceill _floorl
62540 do :
62541 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62542 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62543 eval as_val=\$$as_ac_var
62544 if test "x$as_val" = x""yes; then :
62545 cat >>confdefs.h <<_ACEOF
62546 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62547 _ACEOF
62550 done
62560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62561 $as_echo_n "checking for isnanl declaration... " >&6; }
62562 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62563 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62564 $as_echo_n "(cached) " >&6
62565 else
62568 ac_ext=cpp
62569 ac_cpp='$CXXCPP $CPPFLAGS'
62570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62575 /* end confdefs.h. */
62576 #include <math.h>
62577 #ifdef HAVE_IEEEFP_H
62578 #include <ieeefp.h>
62579 #endif
62582 main ()
62584 isnanl(0);
62586 return 0;
62588 _ACEOF
62589 if ac_fn_cxx_try_compile "$LINENO"; then :
62590 glibcxx_cv_func_isnanl_use=yes
62591 else
62592 glibcxx_cv_func_isnanl_use=no
62594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62595 ac_ext=c
62596 ac_cpp='$CPP $CPPFLAGS'
62597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62606 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62608 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62609 for ac_func in isnanl
62610 do :
62611 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62612 if test "x$ac_cv_func_isnanl" = x""yes; then :
62613 cat >>confdefs.h <<_ACEOF
62614 #define HAVE_ISNANL 1
62615 _ACEOF
62618 done
62620 else
62622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62623 $as_echo_n "checking for _isnanl declaration... " >&6; }
62624 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62625 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62626 $as_echo_n "(cached) " >&6
62627 else
62630 ac_ext=cpp
62631 ac_cpp='$CXXCPP $CPPFLAGS'
62632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62637 /* end confdefs.h. */
62638 #include <math.h>
62639 #ifdef HAVE_IEEEFP_H
62640 #include <ieeefp.h>
62641 #endif
62644 main ()
62646 _isnanl(0);
62648 return 0;
62650 _ACEOF
62651 if ac_fn_cxx_try_compile "$LINENO"; then :
62652 glibcxx_cv_func__isnanl_use=yes
62653 else
62654 glibcxx_cv_func__isnanl_use=no
62656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62657 ac_ext=c
62658 ac_cpp='$CPP $CPPFLAGS'
62659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62668 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62670 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62671 for ac_func in _isnanl
62672 do :
62673 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62674 if test "x$ac_cv_func__isnanl" = x""yes; then :
62675 cat >>confdefs.h <<_ACEOF
62676 #define HAVE__ISNANL 1
62677 _ACEOF
62680 done
62689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62690 $as_echo_n "checking for isinfl declaration... " >&6; }
62691 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62692 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62693 $as_echo_n "(cached) " >&6
62694 else
62697 ac_ext=cpp
62698 ac_cpp='$CXXCPP $CPPFLAGS'
62699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62704 /* end confdefs.h. */
62705 #include <math.h>
62706 #ifdef HAVE_IEEEFP_H
62707 #include <ieeefp.h>
62708 #endif
62711 main ()
62713 isinfl(0);
62715 return 0;
62717 _ACEOF
62718 if ac_fn_cxx_try_compile "$LINENO"; then :
62719 glibcxx_cv_func_isinfl_use=yes
62720 else
62721 glibcxx_cv_func_isinfl_use=no
62723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62724 ac_ext=c
62725 ac_cpp='$CPP $CPPFLAGS'
62726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62735 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62737 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62738 for ac_func in isinfl
62739 do :
62740 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62741 if test "x$ac_cv_func_isinfl" = x""yes; then :
62742 cat >>confdefs.h <<_ACEOF
62743 #define HAVE_ISINFL 1
62744 _ACEOF
62747 done
62749 else
62751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62752 $as_echo_n "checking for _isinfl declaration... " >&6; }
62753 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62754 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62755 $as_echo_n "(cached) " >&6
62756 else
62759 ac_ext=cpp
62760 ac_cpp='$CXXCPP $CPPFLAGS'
62761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62766 /* end confdefs.h. */
62767 #include <math.h>
62768 #ifdef HAVE_IEEEFP_H
62769 #include <ieeefp.h>
62770 #endif
62773 main ()
62775 _isinfl(0);
62777 return 0;
62779 _ACEOF
62780 if ac_fn_cxx_try_compile "$LINENO"; then :
62781 glibcxx_cv_func__isinfl_use=yes
62782 else
62783 glibcxx_cv_func__isinfl_use=no
62785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62786 ac_ext=c
62787 ac_cpp='$CPP $CPPFLAGS'
62788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62797 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62799 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62800 for ac_func in _isinfl
62801 do :
62802 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62803 if test "x$ac_cv_func__isinfl" = x""yes; then :
62804 cat >>confdefs.h <<_ACEOF
62805 #define HAVE__ISINFL 1
62806 _ACEOF
62809 done
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62819 $as_echo_n "checking for atan2l declaration... " >&6; }
62820 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62821 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62822 $as_echo_n "(cached) " >&6
62823 else
62826 ac_ext=cpp
62827 ac_cpp='$CXXCPP $CPPFLAGS'
62828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62833 /* end confdefs.h. */
62834 #include <math.h>
62836 main ()
62838 atan2l(0, 0);
62840 return 0;
62842 _ACEOF
62843 if ac_fn_cxx_try_compile "$LINENO"; then :
62844 glibcxx_cv_func_atan2l_use=yes
62845 else
62846 glibcxx_cv_func_atan2l_use=no
62848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62849 ac_ext=c
62850 ac_cpp='$CPP $CPPFLAGS'
62851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62860 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62862 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62863 for ac_func in atan2l
62864 do :
62865 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62866 if test "x$ac_cv_func_atan2l" = x""yes; then :
62867 cat >>confdefs.h <<_ACEOF
62868 #define HAVE_ATAN2L 1
62869 _ACEOF
62872 done
62874 else
62876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62877 $as_echo_n "checking for _atan2l declaration... " >&6; }
62878 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62879 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62880 $as_echo_n "(cached) " >&6
62881 else
62884 ac_ext=cpp
62885 ac_cpp='$CXXCPP $CPPFLAGS'
62886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62891 /* end confdefs.h. */
62892 #include <math.h>
62894 main ()
62896 _atan2l(0, 0);
62898 return 0;
62900 _ACEOF
62901 if ac_fn_cxx_try_compile "$LINENO"; then :
62902 glibcxx_cv_func__atan2l_use=yes
62903 else
62904 glibcxx_cv_func__atan2l_use=no
62906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62907 ac_ext=c
62908 ac_cpp='$CPP $CPPFLAGS'
62909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62918 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62920 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62921 for ac_func in _atan2l
62922 do :
62923 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62924 if test "x$ac_cv_func__atan2l" = x""yes; then :
62925 cat >>confdefs.h <<_ACEOF
62926 #define HAVE__ATAN2L 1
62927 _ACEOF
62930 done
62939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62940 $as_echo_n "checking for expl declaration... " >&6; }
62941 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62942 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62943 $as_echo_n "(cached) " >&6
62944 else
62947 ac_ext=cpp
62948 ac_cpp='$CXXCPP $CPPFLAGS'
62949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62954 /* end confdefs.h. */
62955 #include <math.h>
62956 #ifdef HAVE_IEEEFP_H
62957 #include <ieeefp.h>
62958 #endif
62961 main ()
62963 expl(0);
62965 return 0;
62967 _ACEOF
62968 if ac_fn_cxx_try_compile "$LINENO"; then :
62969 glibcxx_cv_func_expl_use=yes
62970 else
62971 glibcxx_cv_func_expl_use=no
62973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62974 ac_ext=c
62975 ac_cpp='$CPP $CPPFLAGS'
62976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62985 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62987 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62988 for ac_func in expl
62989 do :
62990 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62991 if test "x$ac_cv_func_expl" = x""yes; then :
62992 cat >>confdefs.h <<_ACEOF
62993 #define HAVE_EXPL 1
62994 _ACEOF
62997 done
62999 else
63001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
63002 $as_echo_n "checking for _expl declaration... " >&6; }
63003 if test x${glibcxx_cv_func__expl_use+set} != xset; then
63004 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
63005 $as_echo_n "(cached) " >&6
63006 else
63009 ac_ext=cpp
63010 ac_cpp='$CXXCPP $CPPFLAGS'
63011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63016 /* end confdefs.h. */
63017 #include <math.h>
63018 #ifdef HAVE_IEEEFP_H
63019 #include <ieeefp.h>
63020 #endif
63023 main ()
63025 _expl(0);
63027 return 0;
63029 _ACEOF
63030 if ac_fn_cxx_try_compile "$LINENO"; then :
63031 glibcxx_cv_func__expl_use=yes
63032 else
63033 glibcxx_cv_func__expl_use=no
63035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63036 ac_ext=c
63037 ac_cpp='$CPP $CPPFLAGS'
63038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63047 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63049 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63050 for ac_func in _expl
63051 do :
63052 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63053 if test "x$ac_cv_func__expl" = x""yes; then :
63054 cat >>confdefs.h <<_ACEOF
63055 #define HAVE__EXPL 1
63056 _ACEOF
63059 done
63068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63069 $as_echo_n "checking for fabsl declaration... " >&6; }
63070 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63071 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63072 $as_echo_n "(cached) " >&6
63073 else
63076 ac_ext=cpp
63077 ac_cpp='$CXXCPP $CPPFLAGS'
63078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63083 /* end confdefs.h. */
63084 #include <math.h>
63085 #ifdef HAVE_IEEEFP_H
63086 #include <ieeefp.h>
63087 #endif
63090 main ()
63092 fabsl(0);
63094 return 0;
63096 _ACEOF
63097 if ac_fn_cxx_try_compile "$LINENO"; then :
63098 glibcxx_cv_func_fabsl_use=yes
63099 else
63100 glibcxx_cv_func_fabsl_use=no
63102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63103 ac_ext=c
63104 ac_cpp='$CPP $CPPFLAGS'
63105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63114 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63116 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63117 for ac_func in fabsl
63118 do :
63119 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63120 if test "x$ac_cv_func_fabsl" = x""yes; then :
63121 cat >>confdefs.h <<_ACEOF
63122 #define HAVE_FABSL 1
63123 _ACEOF
63126 done
63128 else
63130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63131 $as_echo_n "checking for _fabsl declaration... " >&6; }
63132 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63133 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63134 $as_echo_n "(cached) " >&6
63135 else
63138 ac_ext=cpp
63139 ac_cpp='$CXXCPP $CPPFLAGS'
63140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63145 /* end confdefs.h. */
63146 #include <math.h>
63147 #ifdef HAVE_IEEEFP_H
63148 #include <ieeefp.h>
63149 #endif
63152 main ()
63154 _fabsl(0);
63156 return 0;
63158 _ACEOF
63159 if ac_fn_cxx_try_compile "$LINENO"; then :
63160 glibcxx_cv_func__fabsl_use=yes
63161 else
63162 glibcxx_cv_func__fabsl_use=no
63164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63165 ac_ext=c
63166 ac_cpp='$CPP $CPPFLAGS'
63167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63176 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63178 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63179 for ac_func in _fabsl
63180 do :
63181 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63182 if test "x$ac_cv_func__fabsl" = x""yes; then :
63183 cat >>confdefs.h <<_ACEOF
63184 #define HAVE__FABSL 1
63185 _ACEOF
63188 done
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63198 $as_echo_n "checking for fmodl declaration... " >&6; }
63199 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63200 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63201 $as_echo_n "(cached) " >&6
63202 else
63205 ac_ext=cpp
63206 ac_cpp='$CXXCPP $CPPFLAGS'
63207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63212 /* end confdefs.h. */
63213 #include <math.h>
63215 main ()
63217 fmodl(0, 0);
63219 return 0;
63221 _ACEOF
63222 if ac_fn_cxx_try_compile "$LINENO"; then :
63223 glibcxx_cv_func_fmodl_use=yes
63224 else
63225 glibcxx_cv_func_fmodl_use=no
63227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63228 ac_ext=c
63229 ac_cpp='$CPP $CPPFLAGS'
63230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63239 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63241 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63242 for ac_func in fmodl
63243 do :
63244 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63245 if test "x$ac_cv_func_fmodl" = x""yes; then :
63246 cat >>confdefs.h <<_ACEOF
63247 #define HAVE_FMODL 1
63248 _ACEOF
63251 done
63253 else
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63256 $as_echo_n "checking for _fmodl declaration... " >&6; }
63257 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63258 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63259 $as_echo_n "(cached) " >&6
63260 else
63263 ac_ext=cpp
63264 ac_cpp='$CXXCPP $CPPFLAGS'
63265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63270 /* end confdefs.h. */
63271 #include <math.h>
63273 main ()
63275 _fmodl(0, 0);
63277 return 0;
63279 _ACEOF
63280 if ac_fn_cxx_try_compile "$LINENO"; then :
63281 glibcxx_cv_func__fmodl_use=yes
63282 else
63283 glibcxx_cv_func__fmodl_use=no
63285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63286 ac_ext=c
63287 ac_cpp='$CPP $CPPFLAGS'
63288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63297 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63299 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63300 for ac_func in _fmodl
63301 do :
63302 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63303 if test "x$ac_cv_func__fmodl" = x""yes; then :
63304 cat >>confdefs.h <<_ACEOF
63305 #define HAVE__FMODL 1
63306 _ACEOF
63309 done
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63319 $as_echo_n "checking for frexpl declaration... " >&6; }
63320 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63321 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63322 $as_echo_n "(cached) " >&6
63323 else
63326 ac_ext=cpp
63327 ac_cpp='$CXXCPP $CPPFLAGS'
63328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63333 /* end confdefs.h. */
63334 #include <math.h>
63336 main ()
63338 frexpl(0, 0);
63340 return 0;
63342 _ACEOF
63343 if ac_fn_cxx_try_compile "$LINENO"; then :
63344 glibcxx_cv_func_frexpl_use=yes
63345 else
63346 glibcxx_cv_func_frexpl_use=no
63348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63349 ac_ext=c
63350 ac_cpp='$CPP $CPPFLAGS'
63351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63360 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63362 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63363 for ac_func in frexpl
63364 do :
63365 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63366 if test "x$ac_cv_func_frexpl" = x""yes; then :
63367 cat >>confdefs.h <<_ACEOF
63368 #define HAVE_FREXPL 1
63369 _ACEOF
63372 done
63374 else
63376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63377 $as_echo_n "checking for _frexpl declaration... " >&6; }
63378 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63379 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63380 $as_echo_n "(cached) " >&6
63381 else
63384 ac_ext=cpp
63385 ac_cpp='$CXXCPP $CPPFLAGS'
63386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63391 /* end confdefs.h. */
63392 #include <math.h>
63394 main ()
63396 _frexpl(0, 0);
63398 return 0;
63400 _ACEOF
63401 if ac_fn_cxx_try_compile "$LINENO"; then :
63402 glibcxx_cv_func__frexpl_use=yes
63403 else
63404 glibcxx_cv_func__frexpl_use=no
63406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63407 ac_ext=c
63408 ac_cpp='$CPP $CPPFLAGS'
63409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63418 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63420 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63421 for ac_func in _frexpl
63422 do :
63423 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63424 if test "x$ac_cv_func__frexpl" = x""yes; then :
63425 cat >>confdefs.h <<_ACEOF
63426 #define HAVE__FREXPL 1
63427 _ACEOF
63430 done
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63440 $as_echo_n "checking for hypotl declaration... " >&6; }
63441 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63442 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63443 $as_echo_n "(cached) " >&6
63444 else
63447 ac_ext=cpp
63448 ac_cpp='$CXXCPP $CPPFLAGS'
63449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63454 /* end confdefs.h. */
63455 #include <math.h>
63457 main ()
63459 hypotl(0, 0);
63461 return 0;
63463 _ACEOF
63464 if ac_fn_cxx_try_compile "$LINENO"; then :
63465 glibcxx_cv_func_hypotl_use=yes
63466 else
63467 glibcxx_cv_func_hypotl_use=no
63469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63470 ac_ext=c
63471 ac_cpp='$CPP $CPPFLAGS'
63472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63481 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63483 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63484 for ac_func in hypotl
63485 do :
63486 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63487 if test "x$ac_cv_func_hypotl" = x""yes; then :
63488 cat >>confdefs.h <<_ACEOF
63489 #define HAVE_HYPOTL 1
63490 _ACEOF
63493 done
63495 else
63497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63498 $as_echo_n "checking for _hypotl declaration... " >&6; }
63499 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63500 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63501 $as_echo_n "(cached) " >&6
63502 else
63505 ac_ext=cpp
63506 ac_cpp='$CXXCPP $CPPFLAGS'
63507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63512 /* end confdefs.h. */
63513 #include <math.h>
63515 main ()
63517 _hypotl(0, 0);
63519 return 0;
63521 _ACEOF
63522 if ac_fn_cxx_try_compile "$LINENO"; then :
63523 glibcxx_cv_func__hypotl_use=yes
63524 else
63525 glibcxx_cv_func__hypotl_use=no
63527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63528 ac_ext=c
63529 ac_cpp='$CPP $CPPFLAGS'
63530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63539 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63541 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63542 for ac_func in _hypotl
63543 do :
63544 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63545 if test "x$ac_cv_func__hypotl" = x""yes; then :
63546 cat >>confdefs.h <<_ACEOF
63547 #define HAVE__HYPOTL 1
63548 _ACEOF
63551 done
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63561 $as_echo_n "checking for ldexpl declaration... " >&6; }
63562 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63563 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63564 $as_echo_n "(cached) " >&6
63565 else
63568 ac_ext=cpp
63569 ac_cpp='$CXXCPP $CPPFLAGS'
63570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63575 /* end confdefs.h. */
63576 #include <math.h>
63578 main ()
63580 ldexpl(0, 0);
63582 return 0;
63584 _ACEOF
63585 if ac_fn_cxx_try_compile "$LINENO"; then :
63586 glibcxx_cv_func_ldexpl_use=yes
63587 else
63588 glibcxx_cv_func_ldexpl_use=no
63590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63591 ac_ext=c
63592 ac_cpp='$CPP $CPPFLAGS'
63593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63602 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63604 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63605 for ac_func in ldexpl
63606 do :
63607 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63608 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63609 cat >>confdefs.h <<_ACEOF
63610 #define HAVE_LDEXPL 1
63611 _ACEOF
63614 done
63616 else
63618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63619 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63620 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63621 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63622 $as_echo_n "(cached) " >&6
63623 else
63626 ac_ext=cpp
63627 ac_cpp='$CXXCPP $CPPFLAGS'
63628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63633 /* end confdefs.h. */
63634 #include <math.h>
63636 main ()
63638 _ldexpl(0, 0);
63640 return 0;
63642 _ACEOF
63643 if ac_fn_cxx_try_compile "$LINENO"; then :
63644 glibcxx_cv_func__ldexpl_use=yes
63645 else
63646 glibcxx_cv_func__ldexpl_use=no
63648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63649 ac_ext=c
63650 ac_cpp='$CPP $CPPFLAGS'
63651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63660 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63662 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63663 for ac_func in _ldexpl
63664 do :
63665 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63666 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63667 cat >>confdefs.h <<_ACEOF
63668 #define HAVE__LDEXPL 1
63669 _ACEOF
63672 done
63681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63682 $as_echo_n "checking for logl declaration... " >&6; }
63683 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63684 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63685 $as_echo_n "(cached) " >&6
63686 else
63689 ac_ext=cpp
63690 ac_cpp='$CXXCPP $CPPFLAGS'
63691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63696 /* end confdefs.h. */
63697 #include <math.h>
63698 #ifdef HAVE_IEEEFP_H
63699 #include <ieeefp.h>
63700 #endif
63703 main ()
63705 logl(0);
63707 return 0;
63709 _ACEOF
63710 if ac_fn_cxx_try_compile "$LINENO"; then :
63711 glibcxx_cv_func_logl_use=yes
63712 else
63713 glibcxx_cv_func_logl_use=no
63715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63716 ac_ext=c
63717 ac_cpp='$CPP $CPPFLAGS'
63718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63727 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63729 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63730 for ac_func in logl
63731 do :
63732 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63733 if test "x$ac_cv_func_logl" = x""yes; then :
63734 cat >>confdefs.h <<_ACEOF
63735 #define HAVE_LOGL 1
63736 _ACEOF
63739 done
63741 else
63743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63744 $as_echo_n "checking for _logl declaration... " >&6; }
63745 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63746 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63747 $as_echo_n "(cached) " >&6
63748 else
63751 ac_ext=cpp
63752 ac_cpp='$CXXCPP $CPPFLAGS'
63753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63758 /* end confdefs.h. */
63759 #include <math.h>
63760 #ifdef HAVE_IEEEFP_H
63761 #include <ieeefp.h>
63762 #endif
63765 main ()
63767 _logl(0);
63769 return 0;
63771 _ACEOF
63772 if ac_fn_cxx_try_compile "$LINENO"; then :
63773 glibcxx_cv_func__logl_use=yes
63774 else
63775 glibcxx_cv_func__logl_use=no
63777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63778 ac_ext=c
63779 ac_cpp='$CPP $CPPFLAGS'
63780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63789 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63791 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63792 for ac_func in _logl
63793 do :
63794 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63795 if test "x$ac_cv_func__logl" = x""yes; then :
63796 cat >>confdefs.h <<_ACEOF
63797 #define HAVE__LOGL 1
63798 _ACEOF
63801 done
63810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63811 $as_echo_n "checking for log10l declaration... " >&6; }
63812 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63813 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63814 $as_echo_n "(cached) " >&6
63815 else
63818 ac_ext=cpp
63819 ac_cpp='$CXXCPP $CPPFLAGS'
63820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63825 /* end confdefs.h. */
63826 #include <math.h>
63827 #ifdef HAVE_IEEEFP_H
63828 #include <ieeefp.h>
63829 #endif
63832 main ()
63834 log10l(0);
63836 return 0;
63838 _ACEOF
63839 if ac_fn_cxx_try_compile "$LINENO"; then :
63840 glibcxx_cv_func_log10l_use=yes
63841 else
63842 glibcxx_cv_func_log10l_use=no
63844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63845 ac_ext=c
63846 ac_cpp='$CPP $CPPFLAGS'
63847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63856 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63858 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63859 for ac_func in log10l
63860 do :
63861 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63862 if test "x$ac_cv_func_log10l" = x""yes; then :
63863 cat >>confdefs.h <<_ACEOF
63864 #define HAVE_LOG10L 1
63865 _ACEOF
63868 done
63870 else
63872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63873 $as_echo_n "checking for _log10l declaration... " >&6; }
63874 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63875 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63876 $as_echo_n "(cached) " >&6
63877 else
63880 ac_ext=cpp
63881 ac_cpp='$CXXCPP $CPPFLAGS'
63882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63887 /* end confdefs.h. */
63888 #include <math.h>
63889 #ifdef HAVE_IEEEFP_H
63890 #include <ieeefp.h>
63891 #endif
63894 main ()
63896 _log10l(0);
63898 return 0;
63900 _ACEOF
63901 if ac_fn_cxx_try_compile "$LINENO"; then :
63902 glibcxx_cv_func__log10l_use=yes
63903 else
63904 glibcxx_cv_func__log10l_use=no
63906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63907 ac_ext=c
63908 ac_cpp='$CPP $CPPFLAGS'
63909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63918 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63920 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63921 for ac_func in _log10l
63922 do :
63923 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63924 if test "x$ac_cv_func__log10l" = x""yes; then :
63925 cat >>confdefs.h <<_ACEOF
63926 #define HAVE__LOG10L 1
63927 _ACEOF
63930 done
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63940 $as_echo_n "checking for modfl declaration... " >&6; }
63941 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63942 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63943 $as_echo_n "(cached) " >&6
63944 else
63947 ac_ext=cpp
63948 ac_cpp='$CXXCPP $CPPFLAGS'
63949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63954 /* end confdefs.h. */
63955 #include <math.h>
63957 main ()
63959 modfl(0, 0);
63961 return 0;
63963 _ACEOF
63964 if ac_fn_cxx_try_compile "$LINENO"; then :
63965 glibcxx_cv_func_modfl_use=yes
63966 else
63967 glibcxx_cv_func_modfl_use=no
63969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63970 ac_ext=c
63971 ac_cpp='$CPP $CPPFLAGS'
63972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63981 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63983 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63984 for ac_func in modfl
63985 do :
63986 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63987 if test "x$ac_cv_func_modfl" = x""yes; then :
63988 cat >>confdefs.h <<_ACEOF
63989 #define HAVE_MODFL 1
63990 _ACEOF
63993 done
63995 else
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63998 $as_echo_n "checking for _modfl declaration... " >&6; }
63999 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
64000 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
64001 $as_echo_n "(cached) " >&6
64002 else
64005 ac_ext=cpp
64006 ac_cpp='$CXXCPP $CPPFLAGS'
64007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64012 /* end confdefs.h. */
64013 #include <math.h>
64015 main ()
64017 _modfl(0, 0);
64019 return 0;
64021 _ACEOF
64022 if ac_fn_cxx_try_compile "$LINENO"; then :
64023 glibcxx_cv_func__modfl_use=yes
64024 else
64025 glibcxx_cv_func__modfl_use=no
64027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64028 ac_ext=c
64029 ac_cpp='$CPP $CPPFLAGS'
64030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
64039 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
64041 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64042 for ac_func in _modfl
64043 do :
64044 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64045 if test "x$ac_cv_func__modfl" = x""yes; then :
64046 cat >>confdefs.h <<_ACEOF
64047 #define HAVE__MODFL 1
64048 _ACEOF
64051 done
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64061 $as_echo_n "checking for powl declaration... " >&6; }
64062 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64063 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64064 $as_echo_n "(cached) " >&6
64065 else
64068 ac_ext=cpp
64069 ac_cpp='$CXXCPP $CPPFLAGS'
64070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64075 /* end confdefs.h. */
64076 #include <math.h>
64078 main ()
64080 powl(0, 0);
64082 return 0;
64084 _ACEOF
64085 if ac_fn_cxx_try_compile "$LINENO"; then :
64086 glibcxx_cv_func_powl_use=yes
64087 else
64088 glibcxx_cv_func_powl_use=no
64090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64091 ac_ext=c
64092 ac_cpp='$CPP $CPPFLAGS'
64093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64102 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64104 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64105 for ac_func in powl
64106 do :
64107 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64108 if test "x$ac_cv_func_powl" = x""yes; then :
64109 cat >>confdefs.h <<_ACEOF
64110 #define HAVE_POWL 1
64111 _ACEOF
64114 done
64116 else
64118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64119 $as_echo_n "checking for _powl declaration... " >&6; }
64120 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64121 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64122 $as_echo_n "(cached) " >&6
64123 else
64126 ac_ext=cpp
64127 ac_cpp='$CXXCPP $CPPFLAGS'
64128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64133 /* end confdefs.h. */
64134 #include <math.h>
64136 main ()
64138 _powl(0, 0);
64140 return 0;
64142 _ACEOF
64143 if ac_fn_cxx_try_compile "$LINENO"; then :
64144 glibcxx_cv_func__powl_use=yes
64145 else
64146 glibcxx_cv_func__powl_use=no
64148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64149 ac_ext=c
64150 ac_cpp='$CPP $CPPFLAGS'
64151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64160 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64162 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64163 for ac_func in _powl
64164 do :
64165 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64166 if test "x$ac_cv_func__powl" = x""yes; then :
64167 cat >>confdefs.h <<_ACEOF
64168 #define HAVE__POWL 1
64169 _ACEOF
64172 done
64181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64182 $as_echo_n "checking for sqrtl declaration... " >&6; }
64183 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64184 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64185 $as_echo_n "(cached) " >&6
64186 else
64189 ac_ext=cpp
64190 ac_cpp='$CXXCPP $CPPFLAGS'
64191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64196 /* end confdefs.h. */
64197 #include <math.h>
64198 #ifdef HAVE_IEEEFP_H
64199 #include <ieeefp.h>
64200 #endif
64203 main ()
64205 sqrtl(0);
64207 return 0;
64209 _ACEOF
64210 if ac_fn_cxx_try_compile "$LINENO"; then :
64211 glibcxx_cv_func_sqrtl_use=yes
64212 else
64213 glibcxx_cv_func_sqrtl_use=no
64215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64216 ac_ext=c
64217 ac_cpp='$CPP $CPPFLAGS'
64218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64227 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64229 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64230 for ac_func in sqrtl
64231 do :
64232 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64233 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64234 cat >>confdefs.h <<_ACEOF
64235 #define HAVE_SQRTL 1
64236 _ACEOF
64239 done
64241 else
64243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64244 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64245 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64246 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64247 $as_echo_n "(cached) " >&6
64248 else
64251 ac_ext=cpp
64252 ac_cpp='$CXXCPP $CPPFLAGS'
64253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64258 /* end confdefs.h. */
64259 #include <math.h>
64260 #ifdef HAVE_IEEEFP_H
64261 #include <ieeefp.h>
64262 #endif
64265 main ()
64267 _sqrtl(0);
64269 return 0;
64271 _ACEOF
64272 if ac_fn_cxx_try_compile "$LINENO"; then :
64273 glibcxx_cv_func__sqrtl_use=yes
64274 else
64275 glibcxx_cv_func__sqrtl_use=no
64277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64278 ac_ext=c
64279 ac_cpp='$CPP $CPPFLAGS'
64280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64289 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64291 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64292 for ac_func in _sqrtl
64293 do :
64294 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64295 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64296 cat >>confdefs.h <<_ACEOF
64297 #define HAVE__SQRTL 1
64298 _ACEOF
64301 done
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64311 $as_echo_n "checking for sincosl declaration... " >&6; }
64312 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64313 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64314 $as_echo_n "(cached) " >&6
64315 else
64318 ac_ext=cpp
64319 ac_cpp='$CXXCPP $CPPFLAGS'
64320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64325 /* end confdefs.h. */
64326 #include <math.h>
64328 main ()
64330 sincosl(0, 0, 0);
64332 return 0;
64334 _ACEOF
64335 if ac_fn_cxx_try_compile "$LINENO"; then :
64336 glibcxx_cv_func_sincosl_use=yes
64337 else
64338 glibcxx_cv_func_sincosl_use=no
64340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64341 ac_ext=c
64342 ac_cpp='$CPP $CPPFLAGS'
64343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64352 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64354 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64355 for ac_func in sincosl
64356 do :
64357 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64358 if test "x$ac_cv_func_sincosl" = x""yes; then :
64359 cat >>confdefs.h <<_ACEOF
64360 #define HAVE_SINCOSL 1
64361 _ACEOF
64364 done
64366 else
64368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64369 $as_echo_n "checking for _sincosl declaration... " >&6; }
64370 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64371 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64372 $as_echo_n "(cached) " >&6
64373 else
64376 ac_ext=cpp
64377 ac_cpp='$CXXCPP $CPPFLAGS'
64378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64383 /* end confdefs.h. */
64384 #include <math.h>
64386 main ()
64388 _sincosl(0, 0, 0);
64390 return 0;
64392 _ACEOF
64393 if ac_fn_cxx_try_compile "$LINENO"; then :
64394 glibcxx_cv_func__sincosl_use=yes
64395 else
64396 glibcxx_cv_func__sincosl_use=no
64398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64399 ac_ext=c
64400 ac_cpp='$CPP $CPPFLAGS'
64401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64410 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64412 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64413 for ac_func in _sincosl
64414 do :
64415 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64416 if test "x$ac_cv_func__sincosl" = x""yes; then :
64417 cat >>confdefs.h <<_ACEOF
64418 #define HAVE__SINCOSL 1
64419 _ACEOF
64422 done
64431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64432 $as_echo_n "checking for finitel declaration... " >&6; }
64433 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64434 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64435 $as_echo_n "(cached) " >&6
64436 else
64439 ac_ext=cpp
64440 ac_cpp='$CXXCPP $CPPFLAGS'
64441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64446 /* end confdefs.h. */
64447 #include <math.h>
64448 #ifdef HAVE_IEEEFP_H
64449 #include <ieeefp.h>
64450 #endif
64453 main ()
64455 finitel(0);
64457 return 0;
64459 _ACEOF
64460 if ac_fn_cxx_try_compile "$LINENO"; then :
64461 glibcxx_cv_func_finitel_use=yes
64462 else
64463 glibcxx_cv_func_finitel_use=no
64465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64466 ac_ext=c
64467 ac_cpp='$CPP $CPPFLAGS'
64468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64477 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64479 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64480 for ac_func in finitel
64481 do :
64482 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64483 if test "x$ac_cv_func_finitel" = x""yes; then :
64484 cat >>confdefs.h <<_ACEOF
64485 #define HAVE_FINITEL 1
64486 _ACEOF
64489 done
64491 else
64493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64494 $as_echo_n "checking for _finitel declaration... " >&6; }
64495 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64496 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64497 $as_echo_n "(cached) " >&6
64498 else
64501 ac_ext=cpp
64502 ac_cpp='$CXXCPP $CPPFLAGS'
64503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64508 /* end confdefs.h. */
64509 #include <math.h>
64510 #ifdef HAVE_IEEEFP_H
64511 #include <ieeefp.h>
64512 #endif
64515 main ()
64517 _finitel(0);
64519 return 0;
64521 _ACEOF
64522 if ac_fn_cxx_try_compile "$LINENO"; then :
64523 glibcxx_cv_func__finitel_use=yes
64524 else
64525 glibcxx_cv_func__finitel_use=no
64527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64528 ac_ext=c
64529 ac_cpp='$CPP $CPPFLAGS'
64530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64539 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64541 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64542 for ac_func in _finitel
64543 do :
64544 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64545 if test "x$ac_cv_func__finitel" = x""yes; then :
64546 cat >>confdefs.h <<_ACEOF
64547 #define HAVE__FINITEL 1
64548 _ACEOF
64551 done
64559 LIBS="$ac_save_LIBS"
64560 CXXFLAGS="$ac_save_CXXFLAGS"
64563 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64564 ac_save_CXXFLAGS="$CXXFLAGS"
64565 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64569 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64570 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64571 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64572 $as_echo_n "(cached) " >&6
64573 else
64576 ac_ext=cpp
64577 ac_cpp='$CXXCPP $CPPFLAGS'
64578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64583 /* end confdefs.h. */
64584 #include <stdlib.h>
64586 main ()
64588 at_quick_exit(0);
64590 return 0;
64592 _ACEOF
64593 if ac_fn_cxx_try_compile "$LINENO"; then :
64594 glibcxx_cv_func_at_quick_exit_use=yes
64595 else
64596 glibcxx_cv_func_at_quick_exit_use=no
64598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64599 ac_ext=c
64600 ac_cpp='$CPP $CPPFLAGS'
64601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64610 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64611 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64612 for ac_func in at_quick_exit
64613 do :
64614 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64615 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64616 cat >>confdefs.h <<_ACEOF
64617 #define HAVE_AT_QUICK_EXIT 1
64618 _ACEOF
64621 done
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64627 $as_echo_n "checking for quick_exit declaration... " >&6; }
64628 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64629 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64630 $as_echo_n "(cached) " >&6
64631 else
64634 ac_ext=cpp
64635 ac_cpp='$CXXCPP $CPPFLAGS'
64636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64641 /* end confdefs.h. */
64642 #include <stdlib.h>
64644 main ()
64646 quick_exit(0);
64648 return 0;
64650 _ACEOF
64651 if ac_fn_cxx_try_compile "$LINENO"; then :
64652 glibcxx_cv_func_quick_exit_use=yes
64653 else
64654 glibcxx_cv_func_quick_exit_use=no
64656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64657 ac_ext=c
64658 ac_cpp='$CPP $CPPFLAGS'
64659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64668 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64669 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64670 for ac_func in quick_exit
64671 do :
64672 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64673 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64674 cat >>confdefs.h <<_ACEOF
64675 #define HAVE_QUICK_EXIT 1
64676 _ACEOF
64679 done
64684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64685 $as_echo_n "checking for strtold declaration... " >&6; }
64686 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64687 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64688 $as_echo_n "(cached) " >&6
64689 else
64692 ac_ext=cpp
64693 ac_cpp='$CXXCPP $CPPFLAGS'
64694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64699 /* end confdefs.h. */
64700 #include <stdlib.h>
64702 main ()
64704 strtold(0, 0);
64706 return 0;
64708 _ACEOF
64709 if ac_fn_cxx_try_compile "$LINENO"; then :
64710 glibcxx_cv_func_strtold_use=yes
64711 else
64712 glibcxx_cv_func_strtold_use=no
64714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64715 ac_ext=c
64716 ac_cpp='$CPP $CPPFLAGS'
64717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64726 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64727 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64728 for ac_func in strtold
64729 do :
64730 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64731 if test "x$ac_cv_func_strtold" = x""yes; then :
64732 cat >>confdefs.h <<_ACEOF
64733 #define HAVE_STRTOLD 1
64734 _ACEOF
64737 done
64744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64745 $as_echo_n "checking for strtof declaration... " >&6; }
64746 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64747 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64748 $as_echo_n "(cached) " >&6
64749 else
64752 ac_ext=cpp
64753 ac_cpp='$CXXCPP $CPPFLAGS'
64754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64759 /* end confdefs.h. */
64760 #include <stdlib.h>
64762 main ()
64764 strtof(0, 0);
64766 return 0;
64768 _ACEOF
64769 if ac_fn_cxx_try_compile "$LINENO"; then :
64770 glibcxx_cv_func_strtof_use=yes
64771 else
64772 glibcxx_cv_func_strtof_use=no
64774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64775 ac_ext=c
64776 ac_cpp='$CPP $CPPFLAGS'
64777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64786 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64787 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64788 for ac_func in strtof
64789 do :
64790 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64791 if test "x$ac_cv_func_strtof" = x""yes; then :
64792 cat >>confdefs.h <<_ACEOF
64793 #define HAVE_STRTOF 1
64794 _ACEOF
64797 done
64804 CXXFLAGS="$ac_save_CXXFLAGS"
64807 *-solaris*)
64808 case "$target" in
64809 *-solaris2.9 | *-solaris2.10)
64811 # If we're not using GNU ld, then there's no point in even trying these
64812 # tests. Check for that first. We should have already tested for gld
64813 # by now (in libtool), but require it now just to be safe...
64814 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64815 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64819 # The name set by libtool depends on the version of libtool. Shame on us
64820 # for depending on an impl detail, but c'est la vie. Older versions used
64821 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64822 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64823 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64824 # set (hence we're using an older libtool), then set it.
64825 if test x${with_gnu_ld+set} != xset; then
64826 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64827 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64828 with_gnu_ld=no
64829 else
64830 with_gnu_ld=$ac_cv_prog_gnu_ld
64834 # Start by getting the version number. I think the libtool test already
64835 # does some of this, but throws away the result.
64836 glibcxx_ld_is_gold=no
64837 if test x"$with_gnu_ld" = x"yes"; then
64838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64839 $as_echo_n "checking for ld version... " >&6; }
64841 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64842 glibcxx_ld_is_gold=yes
64844 ldver=`$LD --version 2>/dev/null |
64845 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'`
64847 glibcxx_gnu_ld_version=`echo $ldver | \
64848 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64850 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64853 # Set --gc-sections.
64854 glibcxx_have_gc_sections=no
64855 if test "$glibcxx_ld_is_gold" = "yes"; then
64856 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64857 glibcxx_have_gc_sections=yes
64859 else
64860 glibcxx_gcsections_min_ld=21602
64861 if test x"$with_gnu_ld" = x"yes" &&
64862 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64863 glibcxx_have_gc_sections=yes
64866 if test "$glibcxx_have_gc_sections" = "yes"; then
64867 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64868 # NB: This flag only works reliably after 2.16.1. Configure tests
64869 # for this are difficult, so hard wire a value that should work.
64871 ac_test_CFLAGS="${CFLAGS+set}"
64872 ac_save_CFLAGS="$CFLAGS"
64873 CFLAGS='-Wl,--gc-sections'
64875 # Check for -Wl,--gc-sections
64876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64877 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64878 if test x$gcc_no_link = xyes; then
64879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64882 /* end confdefs.h. */
64883 int one(void) { return 1; }
64884 int two(void) { return 2; }
64887 main ()
64889 two();
64891 return 0;
64893 _ACEOF
64894 if ac_fn_c_try_link "$LINENO"; then :
64895 ac_gcsections=yes
64896 else
64897 ac_gcsections=no
64899 rm -f core conftest.err conftest.$ac_objext \
64900 conftest$ac_exeext conftest.$ac_ext
64901 if test "$ac_gcsections" = "yes"; then
64902 rm -f conftest.c
64903 touch conftest.c
64904 if $CC -c conftest.c; then
64905 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64906 grep "Warning: gc-sections option ignored" > /dev/null; then
64907 ac_gcsections=no
64910 rm -f conftest.c conftest.o conftest
64912 if test "$ac_gcsections" = "yes"; then
64913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64916 $as_echo "$ac_gcsections" >&6; }
64918 if test "$ac_test_CFLAGS" = set; then
64919 CFLAGS="$ac_save_CFLAGS"
64920 else
64921 # this is the suspicious part
64922 CFLAGS=''
64926 # Set -z,relro.
64927 # Note this is only for shared objects.
64928 ac_ld_relro=no
64929 if test x"$with_gnu_ld" = x"yes"; then
64930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64931 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64932 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64933 if test -n "$cxx_z_relo"; then
64934 OPT_LDFLAGS="-Wl,-z,relro"
64935 ac_ld_relro=yes
64937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64938 $as_echo "$ac_ld_relro" >&6; }
64941 # Set linker optimization flags.
64942 if test x"$with_gnu_ld" = x"yes"; then
64943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64949 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
64951 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64953 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
64955 # All of the dependencies for wide character support are here, so
64956 # turn it on.
64957 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
64960 esac
64961 case "$target" in
64962 *-*-solaris2.10)
64963 # These two C99 functions are present only in Solaris >= 10
64964 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
64966 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
64969 esac
64970 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64972 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64974 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
64976 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64979 *-tpf)
64980 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64981 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
64983 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64985 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64987 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64989 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64991 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64993 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64995 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64997 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64999 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
65001 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
65003 if test x"long_double_math_on_this_cpu" = x"yes"; then
65004 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
65006 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
65008 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
65010 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
65014 *-*vms*)
65015 # Check for available headers.
65016 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
65018 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65019 ac_save_CXXFLAGS="$CXXFLAGS"
65020 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65023 $as_echo_n "checking for sin in -lm... " >&6; }
65024 if test "${ac_cv_lib_m_sin+set}" = set; then :
65025 $as_echo_n "(cached) " >&6
65026 else
65027 ac_check_lib_save_LIBS=$LIBS
65028 LIBS="-lm $LIBS"
65029 if test x$gcc_no_link = xyes; then
65030 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65033 /* end confdefs.h. */
65035 /* Override any GCC internal prototype to avoid an error.
65036 Use char because int might match the return type of a GCC
65037 builtin and then its argument prototype would still apply. */
65038 #ifdef __cplusplus
65039 extern "C"
65040 #endif
65041 char sin ();
65043 main ()
65045 return sin ();
65047 return 0;
65049 _ACEOF
65050 if ac_fn_c_try_link "$LINENO"; then :
65051 ac_cv_lib_m_sin=yes
65052 else
65053 ac_cv_lib_m_sin=no
65055 rm -f core conftest.err conftest.$ac_objext \
65056 conftest$ac_exeext conftest.$ac_ext
65057 LIBS=$ac_check_lib_save_LIBS
65059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65060 $as_echo "$ac_cv_lib_m_sin" >&6; }
65061 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65062 libm="-lm"
65065 ac_save_LIBS="$LIBS"
65066 LIBS="$LIBS $libm"
65070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65071 $as_echo_n "checking for isinf declaration... " >&6; }
65072 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65073 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65074 $as_echo_n "(cached) " >&6
65075 else
65078 ac_ext=cpp
65079 ac_cpp='$CXXCPP $CPPFLAGS'
65080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65085 /* end confdefs.h. */
65086 #include <math.h>
65087 #ifdef HAVE_IEEEFP_H
65088 #include <ieeefp.h>
65089 #endif
65092 main ()
65094 isinf(0);
65096 return 0;
65098 _ACEOF
65099 if ac_fn_cxx_try_compile "$LINENO"; then :
65100 glibcxx_cv_func_isinf_use=yes
65101 else
65102 glibcxx_cv_func_isinf_use=no
65104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65105 ac_ext=c
65106 ac_cpp='$CPP $CPPFLAGS'
65107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65116 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65118 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65119 for ac_func in isinf
65120 do :
65121 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65122 if test "x$ac_cv_func_isinf" = x""yes; then :
65123 cat >>confdefs.h <<_ACEOF
65124 #define HAVE_ISINF 1
65125 _ACEOF
65128 done
65130 else
65132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65133 $as_echo_n "checking for _isinf declaration... " >&6; }
65134 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65135 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65136 $as_echo_n "(cached) " >&6
65137 else
65140 ac_ext=cpp
65141 ac_cpp='$CXXCPP $CPPFLAGS'
65142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65147 /* end confdefs.h. */
65148 #include <math.h>
65149 #ifdef HAVE_IEEEFP_H
65150 #include <ieeefp.h>
65151 #endif
65154 main ()
65156 _isinf(0);
65158 return 0;
65160 _ACEOF
65161 if ac_fn_cxx_try_compile "$LINENO"; then :
65162 glibcxx_cv_func__isinf_use=yes
65163 else
65164 glibcxx_cv_func__isinf_use=no
65166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65167 ac_ext=c
65168 ac_cpp='$CPP $CPPFLAGS'
65169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65178 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65180 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65181 for ac_func in _isinf
65182 do :
65183 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65184 if test "x$ac_cv_func__isinf" = x""yes; then :
65185 cat >>confdefs.h <<_ACEOF
65186 #define HAVE__ISINF 1
65187 _ACEOF
65190 done
65199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65200 $as_echo_n "checking for isnan declaration... " >&6; }
65201 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65202 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65203 $as_echo_n "(cached) " >&6
65204 else
65207 ac_ext=cpp
65208 ac_cpp='$CXXCPP $CPPFLAGS'
65209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65214 /* end confdefs.h. */
65215 #include <math.h>
65216 #ifdef HAVE_IEEEFP_H
65217 #include <ieeefp.h>
65218 #endif
65221 main ()
65223 isnan(0);
65225 return 0;
65227 _ACEOF
65228 if ac_fn_cxx_try_compile "$LINENO"; then :
65229 glibcxx_cv_func_isnan_use=yes
65230 else
65231 glibcxx_cv_func_isnan_use=no
65233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65234 ac_ext=c
65235 ac_cpp='$CPP $CPPFLAGS'
65236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65245 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65247 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65248 for ac_func in isnan
65249 do :
65250 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65251 if test "x$ac_cv_func_isnan" = x""yes; then :
65252 cat >>confdefs.h <<_ACEOF
65253 #define HAVE_ISNAN 1
65254 _ACEOF
65257 done
65259 else
65261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65262 $as_echo_n "checking for _isnan declaration... " >&6; }
65263 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65264 if test "${glibcxx_cv_func__isnan_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 _isnan(0);
65287 return 0;
65289 _ACEOF
65290 if ac_fn_cxx_try_compile "$LINENO"; then :
65291 glibcxx_cv_func__isnan_use=yes
65292 else
65293 glibcxx_cv_func__isnan_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__isnan_use" >&5
65307 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65309 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65310 for ac_func in _isnan
65311 do :
65312 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65313 if test "x$ac_cv_func__isnan" = x""yes; then :
65314 cat >>confdefs.h <<_ACEOF
65315 #define HAVE__ISNAN 1
65316 _ACEOF
65319 done
65328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65329 $as_echo_n "checking for finite declaration... " >&6; }
65330 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65331 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65332 $as_echo_n "(cached) " >&6
65333 else
65336 ac_ext=cpp
65337 ac_cpp='$CXXCPP $CPPFLAGS'
65338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65343 /* end confdefs.h. */
65344 #include <math.h>
65345 #ifdef HAVE_IEEEFP_H
65346 #include <ieeefp.h>
65347 #endif
65350 main ()
65352 finite(0);
65354 return 0;
65356 _ACEOF
65357 if ac_fn_cxx_try_compile "$LINENO"; then :
65358 glibcxx_cv_func_finite_use=yes
65359 else
65360 glibcxx_cv_func_finite_use=no
65362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65363 ac_ext=c
65364 ac_cpp='$CPP $CPPFLAGS'
65365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65374 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65376 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65377 for ac_func in finite
65378 do :
65379 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65380 if test "x$ac_cv_func_finite" = x""yes; then :
65381 cat >>confdefs.h <<_ACEOF
65382 #define HAVE_FINITE 1
65383 _ACEOF
65386 done
65388 else
65390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65391 $as_echo_n "checking for _finite declaration... " >&6; }
65392 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65393 if test "${glibcxx_cv_func__finite_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>
65407 #ifdef HAVE_IEEEFP_H
65408 #include <ieeefp.h>
65409 #endif
65412 main ()
65414 _finite(0);
65416 return 0;
65418 _ACEOF
65419 if ac_fn_cxx_try_compile "$LINENO"; then :
65420 glibcxx_cv_func__finite_use=yes
65421 else
65422 glibcxx_cv_func__finite_use=no
65424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65425 ac_ext=c
65426 ac_cpp='$CPP $CPPFLAGS'
65427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65436 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65438 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65439 for ac_func in _finite
65440 do :
65441 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65442 if test "x$ac_cv_func__finite" = x""yes; then :
65443 cat >>confdefs.h <<_ACEOF
65444 #define HAVE__FINITE 1
65445 _ACEOF
65448 done
65457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65458 $as_echo_n "checking for sincos declaration... " >&6; }
65459 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65460 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65461 $as_echo_n "(cached) " >&6
65462 else
65465 ac_ext=cpp
65466 ac_cpp='$CXXCPP $CPPFLAGS'
65467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65472 /* end confdefs.h. */
65473 #include <math.h>
65475 main ()
65477 sincos(0, 0, 0);
65479 return 0;
65481 _ACEOF
65482 if ac_fn_cxx_try_compile "$LINENO"; then :
65483 glibcxx_cv_func_sincos_use=yes
65484 else
65485 glibcxx_cv_func_sincos_use=no
65487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65488 ac_ext=c
65489 ac_cpp='$CPP $CPPFLAGS'
65490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65499 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65501 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65502 for ac_func in sincos
65503 do :
65504 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65505 if test "x$ac_cv_func_sincos" = x""yes; then :
65506 cat >>confdefs.h <<_ACEOF
65507 #define HAVE_SINCOS 1
65508 _ACEOF
65511 done
65513 else
65515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65516 $as_echo_n "checking for _sincos declaration... " >&6; }
65517 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65518 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65519 $as_echo_n "(cached) " >&6
65520 else
65523 ac_ext=cpp
65524 ac_cpp='$CXXCPP $CPPFLAGS'
65525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65530 /* end confdefs.h. */
65531 #include <math.h>
65533 main ()
65535 _sincos(0, 0, 0);
65537 return 0;
65539 _ACEOF
65540 if ac_fn_cxx_try_compile "$LINENO"; then :
65541 glibcxx_cv_func__sincos_use=yes
65542 else
65543 glibcxx_cv_func__sincos_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__sincos_use" >&5
65557 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65559 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65560 for ac_func in _sincos
65561 do :
65562 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65563 if test "x$ac_cv_func__sincos" = x""yes; then :
65564 cat >>confdefs.h <<_ACEOF
65565 #define HAVE__SINCOS 1
65566 _ACEOF
65569 done
65578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65579 $as_echo_n "checking for fpclass declaration... " >&6; }
65580 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65581 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65582 $as_echo_n "(cached) " >&6
65583 else
65586 ac_ext=cpp
65587 ac_cpp='$CXXCPP $CPPFLAGS'
65588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65593 /* end confdefs.h. */
65594 #include <math.h>
65595 #ifdef HAVE_IEEEFP_H
65596 #include <ieeefp.h>
65597 #endif
65600 main ()
65602 fpclass(0);
65604 return 0;
65606 _ACEOF
65607 if ac_fn_cxx_try_compile "$LINENO"; then :
65608 glibcxx_cv_func_fpclass_use=yes
65609 else
65610 glibcxx_cv_func_fpclass_use=no
65612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65613 ac_ext=c
65614 ac_cpp='$CPP $CPPFLAGS'
65615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65624 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65626 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65627 for ac_func in fpclass
65628 do :
65629 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65630 if test "x$ac_cv_func_fpclass" = x""yes; then :
65631 cat >>confdefs.h <<_ACEOF
65632 #define HAVE_FPCLASS 1
65633 _ACEOF
65636 done
65638 else
65640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65641 $as_echo_n "checking for _fpclass declaration... " >&6; }
65642 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65643 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65644 $as_echo_n "(cached) " >&6
65645 else
65648 ac_ext=cpp
65649 ac_cpp='$CXXCPP $CPPFLAGS'
65650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65655 /* end confdefs.h. */
65656 #include <math.h>
65657 #ifdef HAVE_IEEEFP_H
65658 #include <ieeefp.h>
65659 #endif
65662 main ()
65664 _fpclass(0);
65666 return 0;
65668 _ACEOF
65669 if ac_fn_cxx_try_compile "$LINENO"; then :
65670 glibcxx_cv_func__fpclass_use=yes
65671 else
65672 glibcxx_cv_func__fpclass_use=no
65674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65675 ac_ext=c
65676 ac_cpp='$CPP $CPPFLAGS'
65677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65686 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65688 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65689 for ac_func in _fpclass
65690 do :
65691 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65692 if test "x$ac_cv_func__fpclass" = x""yes; then :
65693 cat >>confdefs.h <<_ACEOF
65694 #define HAVE__FPCLASS 1
65695 _ACEOF
65698 done
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65708 $as_echo_n "checking for qfpclass declaration... " >&6; }
65709 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65710 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65711 $as_echo_n "(cached) " >&6
65712 else
65715 ac_ext=cpp
65716 ac_cpp='$CXXCPP $CPPFLAGS'
65717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65722 /* end confdefs.h. */
65723 #include <math.h>
65724 #ifdef HAVE_IEEEFP_H
65725 #include <ieeefp.h>
65726 #endif
65729 main ()
65731 qfpclass(0);
65733 return 0;
65735 _ACEOF
65736 if ac_fn_cxx_try_compile "$LINENO"; then :
65737 glibcxx_cv_func_qfpclass_use=yes
65738 else
65739 glibcxx_cv_func_qfpclass_use=no
65741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65742 ac_ext=c
65743 ac_cpp='$CPP $CPPFLAGS'
65744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
65753 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
65755 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
65756 for ac_func in qfpclass
65757 do :
65758 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
65759 if test "x$ac_cv_func_qfpclass" = x""yes; then :
65760 cat >>confdefs.h <<_ACEOF
65761 #define HAVE_QFPCLASS 1
65762 _ACEOF
65765 done
65767 else
65769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
65770 $as_echo_n "checking for _qfpclass declaration... " >&6; }
65771 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
65772 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
65773 $as_echo_n "(cached) " >&6
65774 else
65777 ac_ext=cpp
65778 ac_cpp='$CXXCPP $CPPFLAGS'
65779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65784 /* end confdefs.h. */
65785 #include <math.h>
65786 #ifdef HAVE_IEEEFP_H
65787 #include <ieeefp.h>
65788 #endif
65791 main ()
65793 _qfpclass(0);
65795 return 0;
65797 _ACEOF
65798 if ac_fn_cxx_try_compile "$LINENO"; then :
65799 glibcxx_cv_func__qfpclass_use=yes
65800 else
65801 glibcxx_cv_func__qfpclass_use=no
65803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65804 ac_ext=c
65805 ac_cpp='$CPP $CPPFLAGS'
65806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
65815 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
65817 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
65818 for ac_func in _qfpclass
65819 do :
65820 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
65821 if test "x$ac_cv_func__qfpclass" = x""yes; then :
65822 cat >>confdefs.h <<_ACEOF
65823 #define HAVE__QFPCLASS 1
65824 _ACEOF
65827 done
65836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
65837 $as_echo_n "checking for hypot declaration... " >&6; }
65838 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
65839 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
65840 $as_echo_n "(cached) " >&6
65841 else
65844 ac_ext=cpp
65845 ac_cpp='$CXXCPP $CPPFLAGS'
65846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65851 /* end confdefs.h. */
65852 #include <math.h>
65854 main ()
65856 hypot(0, 0);
65858 return 0;
65860 _ACEOF
65861 if ac_fn_cxx_try_compile "$LINENO"; then :
65862 glibcxx_cv_func_hypot_use=yes
65863 else
65864 glibcxx_cv_func_hypot_use=no
65866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65867 ac_ext=c
65868 ac_cpp='$CPP $CPPFLAGS'
65869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
65878 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
65880 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
65881 for ac_func in hypot
65882 do :
65883 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
65884 if test "x$ac_cv_func_hypot" = x""yes; then :
65885 cat >>confdefs.h <<_ACEOF
65886 #define HAVE_HYPOT 1
65887 _ACEOF
65890 done
65892 else
65894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
65895 $as_echo_n "checking for _hypot declaration... " >&6; }
65896 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
65897 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
65898 $as_echo_n "(cached) " >&6
65899 else
65902 ac_ext=cpp
65903 ac_cpp='$CXXCPP $CPPFLAGS'
65904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65909 /* end confdefs.h. */
65910 #include <math.h>
65912 main ()
65914 _hypot(0, 0);
65916 return 0;
65918 _ACEOF
65919 if ac_fn_cxx_try_compile "$LINENO"; then :
65920 glibcxx_cv_func__hypot_use=yes
65921 else
65922 glibcxx_cv_func__hypot_use=no
65924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65925 ac_ext=c
65926 ac_cpp='$CPP $CPPFLAGS'
65927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
65936 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
65938 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
65939 for ac_func in _hypot
65940 do :
65941 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
65942 if test "x$ac_cv_func__hypot" = x""yes; then :
65943 cat >>confdefs.h <<_ACEOF
65944 #define HAVE__HYPOT 1
65945 _ACEOF
65948 done
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
65958 $as_echo_n "checking for float trig functions... " >&6; }
65959 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
65960 $as_echo_n "(cached) " >&6
65961 else
65964 ac_ext=cpp
65965 ac_cpp='$CXXCPP $CPPFLAGS'
65966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65971 /* end confdefs.h. */
65972 #include <math.h>
65974 main ()
65976 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
65978 return 0;
65980 _ACEOF
65981 if ac_fn_cxx_try_compile "$LINENO"; then :
65982 glibcxx_cv_func_float_trig_use=yes
65983 else
65984 glibcxx_cv_func_float_trig_use=no
65986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65987 ac_ext=c
65988 ac_cpp='$CPP $CPPFLAGS'
65989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
65996 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
65997 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
65998 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
65999 do :
66000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66002 eval as_val=\$$as_ac_var
66003 if test "x$as_val" = x""yes; then :
66004 cat >>confdefs.h <<_ACEOF
66005 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66006 _ACEOF
66009 done
66011 else
66012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66013 $as_echo_n "checking for _float trig functions... " >&6; }
66014 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66015 $as_echo_n "(cached) " >&6
66016 else
66019 ac_ext=cpp
66020 ac_cpp='$CXXCPP $CPPFLAGS'
66021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66026 /* end confdefs.h. */
66027 #include <math.h>
66029 main ()
66031 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66033 return 0;
66035 _ACEOF
66036 if ac_fn_cxx_try_compile "$LINENO"; then :
66037 glibcxx_cv_func__float_trig_use=yes
66038 else
66039 glibcxx_cv_func__float_trig_use=no
66041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66042 ac_ext=c
66043 ac_cpp='$CPP $CPPFLAGS'
66044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66051 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66052 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66053 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66054 do :
66055 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66056 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66057 eval as_val=\$$as_ac_var
66058 if test "x$as_val" = x""yes; then :
66059 cat >>confdefs.h <<_ACEOF
66060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66061 _ACEOF
66064 done
66073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66074 $as_echo_n "checking for float round functions... " >&6; }
66075 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66076 $as_echo_n "(cached) " >&6
66077 else
66080 ac_ext=cpp
66081 ac_cpp='$CXXCPP $CPPFLAGS'
66082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66087 /* end confdefs.h. */
66088 #include <math.h>
66090 main ()
66092 ceilf (0); floorf (0);
66094 return 0;
66096 _ACEOF
66097 if ac_fn_cxx_try_compile "$LINENO"; then :
66098 glibcxx_cv_func_float_round_use=yes
66099 else
66100 glibcxx_cv_func_float_round_use=no
66102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66103 ac_ext=c
66104 ac_cpp='$CPP $CPPFLAGS'
66105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66112 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66113 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66114 for ac_func in ceilf floorf
66115 do :
66116 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66117 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66118 eval as_val=\$$as_ac_var
66119 if test "x$as_val" = x""yes; then :
66120 cat >>confdefs.h <<_ACEOF
66121 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66122 _ACEOF
66125 done
66127 else
66128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66129 $as_echo_n "checking for _float round functions... " >&6; }
66130 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66131 $as_echo_n "(cached) " >&6
66132 else
66135 ac_ext=cpp
66136 ac_cpp='$CXXCPP $CPPFLAGS'
66137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66142 /* end confdefs.h. */
66143 #include <math.h>
66145 main ()
66147 _ceilf (0); _floorf (0);
66149 return 0;
66151 _ACEOF
66152 if ac_fn_cxx_try_compile "$LINENO"; then :
66153 glibcxx_cv_func__float_round_use=yes
66154 else
66155 glibcxx_cv_func__float_round_use=no
66157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66158 ac_ext=c
66159 ac_cpp='$CPP $CPPFLAGS'
66160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66167 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66168 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66169 for ac_func in _ceilf _floorf
66170 do :
66171 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66172 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66173 eval as_val=\$$as_ac_var
66174 if test "x$as_val" = x""yes; then :
66175 cat >>confdefs.h <<_ACEOF
66176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66177 _ACEOF
66180 done
66190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66191 $as_echo_n "checking for expf declaration... " >&6; }
66192 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66193 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66194 $as_echo_n "(cached) " >&6
66195 else
66198 ac_ext=cpp
66199 ac_cpp='$CXXCPP $CPPFLAGS'
66200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66205 /* end confdefs.h. */
66206 #include <math.h>
66207 #ifdef HAVE_IEEEFP_H
66208 #include <ieeefp.h>
66209 #endif
66212 main ()
66214 expf(0);
66216 return 0;
66218 _ACEOF
66219 if ac_fn_cxx_try_compile "$LINENO"; then :
66220 glibcxx_cv_func_expf_use=yes
66221 else
66222 glibcxx_cv_func_expf_use=no
66224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66225 ac_ext=c
66226 ac_cpp='$CPP $CPPFLAGS'
66227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66236 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66238 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66239 for ac_func in expf
66240 do :
66241 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66242 if test "x$ac_cv_func_expf" = x""yes; then :
66243 cat >>confdefs.h <<_ACEOF
66244 #define HAVE_EXPF 1
66245 _ACEOF
66248 done
66250 else
66252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66253 $as_echo_n "checking for _expf declaration... " >&6; }
66254 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66255 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66256 $as_echo_n "(cached) " >&6
66257 else
66260 ac_ext=cpp
66261 ac_cpp='$CXXCPP $CPPFLAGS'
66262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66267 /* end confdefs.h. */
66268 #include <math.h>
66269 #ifdef HAVE_IEEEFP_H
66270 #include <ieeefp.h>
66271 #endif
66274 main ()
66276 _expf(0);
66278 return 0;
66280 _ACEOF
66281 if ac_fn_cxx_try_compile "$LINENO"; then :
66282 glibcxx_cv_func__expf_use=yes
66283 else
66284 glibcxx_cv_func__expf_use=no
66286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66287 ac_ext=c
66288 ac_cpp='$CPP $CPPFLAGS'
66289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66298 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66300 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66301 for ac_func in _expf
66302 do :
66303 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66304 if test "x$ac_cv_func__expf" = x""yes; then :
66305 cat >>confdefs.h <<_ACEOF
66306 #define HAVE__EXPF 1
66307 _ACEOF
66310 done
66319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66320 $as_echo_n "checking for isnanf declaration... " >&6; }
66321 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66322 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66323 $as_echo_n "(cached) " >&6
66324 else
66327 ac_ext=cpp
66328 ac_cpp='$CXXCPP $CPPFLAGS'
66329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66334 /* end confdefs.h. */
66335 #include <math.h>
66336 #ifdef HAVE_IEEEFP_H
66337 #include <ieeefp.h>
66338 #endif
66341 main ()
66343 isnanf(0);
66345 return 0;
66347 _ACEOF
66348 if ac_fn_cxx_try_compile "$LINENO"; then :
66349 glibcxx_cv_func_isnanf_use=yes
66350 else
66351 glibcxx_cv_func_isnanf_use=no
66353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66354 ac_ext=c
66355 ac_cpp='$CPP $CPPFLAGS'
66356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66365 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66367 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66368 for ac_func in isnanf
66369 do :
66370 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66371 if test "x$ac_cv_func_isnanf" = x""yes; then :
66372 cat >>confdefs.h <<_ACEOF
66373 #define HAVE_ISNANF 1
66374 _ACEOF
66377 done
66379 else
66381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66382 $as_echo_n "checking for _isnanf declaration... " >&6; }
66383 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66384 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66385 $as_echo_n "(cached) " >&6
66386 else
66389 ac_ext=cpp
66390 ac_cpp='$CXXCPP $CPPFLAGS'
66391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66396 /* end confdefs.h. */
66397 #include <math.h>
66398 #ifdef HAVE_IEEEFP_H
66399 #include <ieeefp.h>
66400 #endif
66403 main ()
66405 _isnanf(0);
66407 return 0;
66409 _ACEOF
66410 if ac_fn_cxx_try_compile "$LINENO"; then :
66411 glibcxx_cv_func__isnanf_use=yes
66412 else
66413 glibcxx_cv_func__isnanf_use=no
66415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66416 ac_ext=c
66417 ac_cpp='$CPP $CPPFLAGS'
66418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66427 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66429 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66430 for ac_func in _isnanf
66431 do :
66432 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66433 if test "x$ac_cv_func__isnanf" = x""yes; then :
66434 cat >>confdefs.h <<_ACEOF
66435 #define HAVE__ISNANF 1
66436 _ACEOF
66439 done
66448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66449 $as_echo_n "checking for isinff declaration... " >&6; }
66450 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66451 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66452 $as_echo_n "(cached) " >&6
66453 else
66456 ac_ext=cpp
66457 ac_cpp='$CXXCPP $CPPFLAGS'
66458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66463 /* end confdefs.h. */
66464 #include <math.h>
66465 #ifdef HAVE_IEEEFP_H
66466 #include <ieeefp.h>
66467 #endif
66470 main ()
66472 isinff(0);
66474 return 0;
66476 _ACEOF
66477 if ac_fn_cxx_try_compile "$LINENO"; then :
66478 glibcxx_cv_func_isinff_use=yes
66479 else
66480 glibcxx_cv_func_isinff_use=no
66482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66483 ac_ext=c
66484 ac_cpp='$CPP $CPPFLAGS'
66485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66494 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66496 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66497 for ac_func in isinff
66498 do :
66499 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66500 if test "x$ac_cv_func_isinff" = x""yes; then :
66501 cat >>confdefs.h <<_ACEOF
66502 #define HAVE_ISINFF 1
66503 _ACEOF
66506 done
66508 else
66510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66511 $as_echo_n "checking for _isinff declaration... " >&6; }
66512 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66513 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66514 $as_echo_n "(cached) " >&6
66515 else
66518 ac_ext=cpp
66519 ac_cpp='$CXXCPP $CPPFLAGS'
66520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66525 /* end confdefs.h. */
66526 #include <math.h>
66527 #ifdef HAVE_IEEEFP_H
66528 #include <ieeefp.h>
66529 #endif
66532 main ()
66534 _isinff(0);
66536 return 0;
66538 _ACEOF
66539 if ac_fn_cxx_try_compile "$LINENO"; then :
66540 glibcxx_cv_func__isinff_use=yes
66541 else
66542 glibcxx_cv_func__isinff_use=no
66544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66545 ac_ext=c
66546 ac_cpp='$CPP $CPPFLAGS'
66547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66556 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66558 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66559 for ac_func in _isinff
66560 do :
66561 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66562 if test "x$ac_cv_func__isinff" = x""yes; then :
66563 cat >>confdefs.h <<_ACEOF
66564 #define HAVE__ISINFF 1
66565 _ACEOF
66568 done
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66578 $as_echo_n "checking for atan2f declaration... " >&6; }
66579 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66580 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66581 $as_echo_n "(cached) " >&6
66582 else
66585 ac_ext=cpp
66586 ac_cpp='$CXXCPP $CPPFLAGS'
66587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66592 /* end confdefs.h. */
66593 #include <math.h>
66595 main ()
66597 atan2f(0, 0);
66599 return 0;
66601 _ACEOF
66602 if ac_fn_cxx_try_compile "$LINENO"; then :
66603 glibcxx_cv_func_atan2f_use=yes
66604 else
66605 glibcxx_cv_func_atan2f_use=no
66607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66608 ac_ext=c
66609 ac_cpp='$CPP $CPPFLAGS'
66610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66619 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66621 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66622 for ac_func in atan2f
66623 do :
66624 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66625 if test "x$ac_cv_func_atan2f" = x""yes; then :
66626 cat >>confdefs.h <<_ACEOF
66627 #define HAVE_ATAN2F 1
66628 _ACEOF
66631 done
66633 else
66635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66636 $as_echo_n "checking for _atan2f declaration... " >&6; }
66637 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66638 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66639 $as_echo_n "(cached) " >&6
66640 else
66643 ac_ext=cpp
66644 ac_cpp='$CXXCPP $CPPFLAGS'
66645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66650 /* end confdefs.h. */
66651 #include <math.h>
66653 main ()
66655 _atan2f(0, 0);
66657 return 0;
66659 _ACEOF
66660 if ac_fn_cxx_try_compile "$LINENO"; then :
66661 glibcxx_cv_func__atan2f_use=yes
66662 else
66663 glibcxx_cv_func__atan2f_use=no
66665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66666 ac_ext=c
66667 ac_cpp='$CPP $CPPFLAGS'
66668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66677 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66679 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66680 for ac_func in _atan2f
66681 do :
66682 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66683 if test "x$ac_cv_func__atan2f" = x""yes; then :
66684 cat >>confdefs.h <<_ACEOF
66685 #define HAVE__ATAN2F 1
66686 _ACEOF
66689 done
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66699 $as_echo_n "checking for fabsf declaration... " >&6; }
66700 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66701 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66702 $as_echo_n "(cached) " >&6
66703 else
66706 ac_ext=cpp
66707 ac_cpp='$CXXCPP $CPPFLAGS'
66708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66713 /* end confdefs.h. */
66714 #include <math.h>
66715 #ifdef HAVE_IEEEFP_H
66716 #include <ieeefp.h>
66717 #endif
66720 main ()
66722 fabsf(0);
66724 return 0;
66726 _ACEOF
66727 if ac_fn_cxx_try_compile "$LINENO"; then :
66728 glibcxx_cv_func_fabsf_use=yes
66729 else
66730 glibcxx_cv_func_fabsf_use=no
66732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66733 ac_ext=c
66734 ac_cpp='$CPP $CPPFLAGS'
66735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
66744 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
66746 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
66747 for ac_func in fabsf
66748 do :
66749 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
66750 if test "x$ac_cv_func_fabsf" = x""yes; then :
66751 cat >>confdefs.h <<_ACEOF
66752 #define HAVE_FABSF 1
66753 _ACEOF
66756 done
66758 else
66760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
66761 $as_echo_n "checking for _fabsf declaration... " >&6; }
66762 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
66763 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
66764 $as_echo_n "(cached) " >&6
66765 else
66768 ac_ext=cpp
66769 ac_cpp='$CXXCPP $CPPFLAGS'
66770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66775 /* end confdefs.h. */
66776 #include <math.h>
66777 #ifdef HAVE_IEEEFP_H
66778 #include <ieeefp.h>
66779 #endif
66782 main ()
66784 _fabsf(0);
66786 return 0;
66788 _ACEOF
66789 if ac_fn_cxx_try_compile "$LINENO"; then :
66790 glibcxx_cv_func__fabsf_use=yes
66791 else
66792 glibcxx_cv_func__fabsf_use=no
66794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66795 ac_ext=c
66796 ac_cpp='$CPP $CPPFLAGS'
66797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
66806 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
66808 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
66809 for ac_func in _fabsf
66810 do :
66811 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
66812 if test "x$ac_cv_func__fabsf" = x""yes; then :
66813 cat >>confdefs.h <<_ACEOF
66814 #define HAVE__FABSF 1
66815 _ACEOF
66818 done
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
66828 $as_echo_n "checking for fmodf declaration... " >&6; }
66829 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
66830 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
66831 $as_echo_n "(cached) " >&6
66832 else
66835 ac_ext=cpp
66836 ac_cpp='$CXXCPP $CPPFLAGS'
66837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66842 /* end confdefs.h. */
66843 #include <math.h>
66845 main ()
66847 fmodf(0, 0);
66849 return 0;
66851 _ACEOF
66852 if ac_fn_cxx_try_compile "$LINENO"; then :
66853 glibcxx_cv_func_fmodf_use=yes
66854 else
66855 glibcxx_cv_func_fmodf_use=no
66857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66858 ac_ext=c
66859 ac_cpp='$CPP $CPPFLAGS'
66860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
66869 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
66871 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
66872 for ac_func in fmodf
66873 do :
66874 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
66875 if test "x$ac_cv_func_fmodf" = x""yes; then :
66876 cat >>confdefs.h <<_ACEOF
66877 #define HAVE_FMODF 1
66878 _ACEOF
66881 done
66883 else
66885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
66886 $as_echo_n "checking for _fmodf declaration... " >&6; }
66887 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
66888 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
66889 $as_echo_n "(cached) " >&6
66890 else
66893 ac_ext=cpp
66894 ac_cpp='$CXXCPP $CPPFLAGS'
66895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66900 /* end confdefs.h. */
66901 #include <math.h>
66903 main ()
66905 _fmodf(0, 0);
66907 return 0;
66909 _ACEOF
66910 if ac_fn_cxx_try_compile "$LINENO"; then :
66911 glibcxx_cv_func__fmodf_use=yes
66912 else
66913 glibcxx_cv_func__fmodf_use=no
66915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66916 ac_ext=c
66917 ac_cpp='$CPP $CPPFLAGS'
66918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
66927 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
66929 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
66930 for ac_func in _fmodf
66931 do :
66932 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
66933 if test "x$ac_cv_func__fmodf" = x""yes; then :
66934 cat >>confdefs.h <<_ACEOF
66935 #define HAVE__FMODF 1
66936 _ACEOF
66939 done
66948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
66949 $as_echo_n "checking for frexpf declaration... " >&6; }
66950 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
66951 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
66952 $as_echo_n "(cached) " >&6
66953 else
66956 ac_ext=cpp
66957 ac_cpp='$CXXCPP $CPPFLAGS'
66958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66963 /* end confdefs.h. */
66964 #include <math.h>
66966 main ()
66968 frexpf(0, 0);
66970 return 0;
66972 _ACEOF
66973 if ac_fn_cxx_try_compile "$LINENO"; then :
66974 glibcxx_cv_func_frexpf_use=yes
66975 else
66976 glibcxx_cv_func_frexpf_use=no
66978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66979 ac_ext=c
66980 ac_cpp='$CPP $CPPFLAGS'
66981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
66990 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
66992 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
66993 for ac_func in frexpf
66994 do :
66995 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
66996 if test "x$ac_cv_func_frexpf" = x""yes; then :
66997 cat >>confdefs.h <<_ACEOF
66998 #define HAVE_FREXPF 1
66999 _ACEOF
67002 done
67004 else
67006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67007 $as_echo_n "checking for _frexpf declaration... " >&6; }
67008 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67009 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67010 $as_echo_n "(cached) " >&6
67011 else
67014 ac_ext=cpp
67015 ac_cpp='$CXXCPP $CPPFLAGS'
67016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67021 /* end confdefs.h. */
67022 #include <math.h>
67024 main ()
67026 _frexpf(0, 0);
67028 return 0;
67030 _ACEOF
67031 if ac_fn_cxx_try_compile "$LINENO"; then :
67032 glibcxx_cv_func__frexpf_use=yes
67033 else
67034 glibcxx_cv_func__frexpf_use=no
67036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67037 ac_ext=c
67038 ac_cpp='$CPP $CPPFLAGS'
67039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67048 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67050 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67051 for ac_func in _frexpf
67052 do :
67053 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67054 if test "x$ac_cv_func__frexpf" = x""yes; then :
67055 cat >>confdefs.h <<_ACEOF
67056 #define HAVE__FREXPF 1
67057 _ACEOF
67060 done
67069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67070 $as_echo_n "checking for hypotf declaration... " >&6; }
67071 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67072 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67073 $as_echo_n "(cached) " >&6
67074 else
67077 ac_ext=cpp
67078 ac_cpp='$CXXCPP $CPPFLAGS'
67079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67084 /* end confdefs.h. */
67085 #include <math.h>
67087 main ()
67089 hypotf(0, 0);
67091 return 0;
67093 _ACEOF
67094 if ac_fn_cxx_try_compile "$LINENO"; then :
67095 glibcxx_cv_func_hypotf_use=yes
67096 else
67097 glibcxx_cv_func_hypotf_use=no
67099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67100 ac_ext=c
67101 ac_cpp='$CPP $CPPFLAGS'
67102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67111 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67113 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67114 for ac_func in hypotf
67115 do :
67116 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67117 if test "x$ac_cv_func_hypotf" = x""yes; then :
67118 cat >>confdefs.h <<_ACEOF
67119 #define HAVE_HYPOTF 1
67120 _ACEOF
67123 done
67125 else
67127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67128 $as_echo_n "checking for _hypotf declaration... " >&6; }
67129 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67130 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67131 $as_echo_n "(cached) " >&6
67132 else
67135 ac_ext=cpp
67136 ac_cpp='$CXXCPP $CPPFLAGS'
67137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67142 /* end confdefs.h. */
67143 #include <math.h>
67145 main ()
67147 _hypotf(0, 0);
67149 return 0;
67151 _ACEOF
67152 if ac_fn_cxx_try_compile "$LINENO"; then :
67153 glibcxx_cv_func__hypotf_use=yes
67154 else
67155 glibcxx_cv_func__hypotf_use=no
67157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67158 ac_ext=c
67159 ac_cpp='$CPP $CPPFLAGS'
67160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67169 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67171 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67172 for ac_func in _hypotf
67173 do :
67174 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67175 if test "x$ac_cv_func__hypotf" = x""yes; then :
67176 cat >>confdefs.h <<_ACEOF
67177 #define HAVE__HYPOTF 1
67178 _ACEOF
67181 done
67190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67191 $as_echo_n "checking for ldexpf declaration... " >&6; }
67192 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67193 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67194 $as_echo_n "(cached) " >&6
67195 else
67198 ac_ext=cpp
67199 ac_cpp='$CXXCPP $CPPFLAGS'
67200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67205 /* end confdefs.h. */
67206 #include <math.h>
67208 main ()
67210 ldexpf(0, 0);
67212 return 0;
67214 _ACEOF
67215 if ac_fn_cxx_try_compile "$LINENO"; then :
67216 glibcxx_cv_func_ldexpf_use=yes
67217 else
67218 glibcxx_cv_func_ldexpf_use=no
67220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67221 ac_ext=c
67222 ac_cpp='$CPP $CPPFLAGS'
67223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67232 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67234 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67235 for ac_func in ldexpf
67236 do :
67237 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67238 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67239 cat >>confdefs.h <<_ACEOF
67240 #define HAVE_LDEXPF 1
67241 _ACEOF
67244 done
67246 else
67248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67249 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67250 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67251 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67252 $as_echo_n "(cached) " >&6
67253 else
67256 ac_ext=cpp
67257 ac_cpp='$CXXCPP $CPPFLAGS'
67258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67263 /* end confdefs.h. */
67264 #include <math.h>
67266 main ()
67268 _ldexpf(0, 0);
67270 return 0;
67272 _ACEOF
67273 if ac_fn_cxx_try_compile "$LINENO"; then :
67274 glibcxx_cv_func__ldexpf_use=yes
67275 else
67276 glibcxx_cv_func__ldexpf_use=no
67278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67279 ac_ext=c
67280 ac_cpp='$CPP $CPPFLAGS'
67281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67290 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67292 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67293 for ac_func in _ldexpf
67294 do :
67295 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67296 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67297 cat >>confdefs.h <<_ACEOF
67298 #define HAVE__LDEXPF 1
67299 _ACEOF
67302 done
67311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67312 $as_echo_n "checking for logf declaration... " >&6; }
67313 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67314 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67315 $as_echo_n "(cached) " >&6
67316 else
67319 ac_ext=cpp
67320 ac_cpp='$CXXCPP $CPPFLAGS'
67321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67326 /* end confdefs.h. */
67327 #include <math.h>
67328 #ifdef HAVE_IEEEFP_H
67329 #include <ieeefp.h>
67330 #endif
67333 main ()
67335 logf(0);
67337 return 0;
67339 _ACEOF
67340 if ac_fn_cxx_try_compile "$LINENO"; then :
67341 glibcxx_cv_func_logf_use=yes
67342 else
67343 glibcxx_cv_func_logf_use=no
67345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67346 ac_ext=c
67347 ac_cpp='$CPP $CPPFLAGS'
67348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67357 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67359 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67360 for ac_func in logf
67361 do :
67362 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67363 if test "x$ac_cv_func_logf" = x""yes; then :
67364 cat >>confdefs.h <<_ACEOF
67365 #define HAVE_LOGF 1
67366 _ACEOF
67369 done
67371 else
67373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67374 $as_echo_n "checking for _logf declaration... " >&6; }
67375 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67376 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67377 $as_echo_n "(cached) " >&6
67378 else
67381 ac_ext=cpp
67382 ac_cpp='$CXXCPP $CPPFLAGS'
67383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67388 /* end confdefs.h. */
67389 #include <math.h>
67390 #ifdef HAVE_IEEEFP_H
67391 #include <ieeefp.h>
67392 #endif
67395 main ()
67397 _logf(0);
67399 return 0;
67401 _ACEOF
67402 if ac_fn_cxx_try_compile "$LINENO"; then :
67403 glibcxx_cv_func__logf_use=yes
67404 else
67405 glibcxx_cv_func__logf_use=no
67407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67408 ac_ext=c
67409 ac_cpp='$CPP $CPPFLAGS'
67410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67419 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67421 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67422 for ac_func in _logf
67423 do :
67424 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67425 if test "x$ac_cv_func__logf" = x""yes; then :
67426 cat >>confdefs.h <<_ACEOF
67427 #define HAVE__LOGF 1
67428 _ACEOF
67431 done
67440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67441 $as_echo_n "checking for log10f declaration... " >&6; }
67442 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67443 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67444 $as_echo_n "(cached) " >&6
67445 else
67448 ac_ext=cpp
67449 ac_cpp='$CXXCPP $CPPFLAGS'
67450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67455 /* end confdefs.h. */
67456 #include <math.h>
67457 #ifdef HAVE_IEEEFP_H
67458 #include <ieeefp.h>
67459 #endif
67462 main ()
67464 log10f(0);
67466 return 0;
67468 _ACEOF
67469 if ac_fn_cxx_try_compile "$LINENO"; then :
67470 glibcxx_cv_func_log10f_use=yes
67471 else
67472 glibcxx_cv_func_log10f_use=no
67474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67475 ac_ext=c
67476 ac_cpp='$CPP $CPPFLAGS'
67477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67486 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67488 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67489 for ac_func in log10f
67490 do :
67491 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67492 if test "x$ac_cv_func_log10f" = x""yes; then :
67493 cat >>confdefs.h <<_ACEOF
67494 #define HAVE_LOG10F 1
67495 _ACEOF
67498 done
67500 else
67502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67503 $as_echo_n "checking for _log10f declaration... " >&6; }
67504 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67505 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67506 $as_echo_n "(cached) " >&6
67507 else
67510 ac_ext=cpp
67511 ac_cpp='$CXXCPP $CPPFLAGS'
67512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67517 /* end confdefs.h. */
67518 #include <math.h>
67519 #ifdef HAVE_IEEEFP_H
67520 #include <ieeefp.h>
67521 #endif
67524 main ()
67526 _log10f(0);
67528 return 0;
67530 _ACEOF
67531 if ac_fn_cxx_try_compile "$LINENO"; then :
67532 glibcxx_cv_func__log10f_use=yes
67533 else
67534 glibcxx_cv_func__log10f_use=no
67536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67537 ac_ext=c
67538 ac_cpp='$CPP $CPPFLAGS'
67539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67548 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67550 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67551 for ac_func in _log10f
67552 do :
67553 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67554 if test "x$ac_cv_func__log10f" = x""yes; then :
67555 cat >>confdefs.h <<_ACEOF
67556 #define HAVE__LOG10F 1
67557 _ACEOF
67560 done
67569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67570 $as_echo_n "checking for modff declaration... " >&6; }
67571 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67572 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67573 $as_echo_n "(cached) " >&6
67574 else
67577 ac_ext=cpp
67578 ac_cpp='$CXXCPP $CPPFLAGS'
67579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67584 /* end confdefs.h. */
67585 #include <math.h>
67587 main ()
67589 modff(0, 0);
67591 return 0;
67593 _ACEOF
67594 if ac_fn_cxx_try_compile "$LINENO"; then :
67595 glibcxx_cv_func_modff_use=yes
67596 else
67597 glibcxx_cv_func_modff_use=no
67599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67600 ac_ext=c
67601 ac_cpp='$CPP $CPPFLAGS'
67602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67611 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67613 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67614 for ac_func in modff
67615 do :
67616 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67617 if test "x$ac_cv_func_modff" = x""yes; then :
67618 cat >>confdefs.h <<_ACEOF
67619 #define HAVE_MODFF 1
67620 _ACEOF
67623 done
67625 else
67627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67628 $as_echo_n "checking for _modff declaration... " >&6; }
67629 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67630 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67631 $as_echo_n "(cached) " >&6
67632 else
67635 ac_ext=cpp
67636 ac_cpp='$CXXCPP $CPPFLAGS'
67637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67642 /* end confdefs.h. */
67643 #include <math.h>
67645 main ()
67647 _modff(0, 0);
67649 return 0;
67651 _ACEOF
67652 if ac_fn_cxx_try_compile "$LINENO"; then :
67653 glibcxx_cv_func__modff_use=yes
67654 else
67655 glibcxx_cv_func__modff_use=no
67657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67658 ac_ext=c
67659 ac_cpp='$CPP $CPPFLAGS'
67660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67669 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67671 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67672 for ac_func in _modff
67673 do :
67674 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67675 if test "x$ac_cv_func__modff" = x""yes; then :
67676 cat >>confdefs.h <<_ACEOF
67677 #define HAVE__MODFF 1
67678 _ACEOF
67681 done
67690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67691 $as_echo_n "checking for modf declaration... " >&6; }
67692 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67693 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67694 $as_echo_n "(cached) " >&6
67695 else
67698 ac_ext=cpp
67699 ac_cpp='$CXXCPP $CPPFLAGS'
67700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67705 /* end confdefs.h. */
67706 #include <math.h>
67708 main ()
67710 modf(0, 0);
67712 return 0;
67714 _ACEOF
67715 if ac_fn_cxx_try_compile "$LINENO"; then :
67716 glibcxx_cv_func_modf_use=yes
67717 else
67718 glibcxx_cv_func_modf_use=no
67720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67721 ac_ext=c
67722 ac_cpp='$CPP $CPPFLAGS'
67723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
67732 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
67734 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67735 for ac_func in modf
67736 do :
67737 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
67738 if test "x$ac_cv_func_modf" = x""yes; then :
67739 cat >>confdefs.h <<_ACEOF
67740 #define HAVE_MODF 1
67741 _ACEOF
67744 done
67746 else
67748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
67749 $as_echo_n "checking for _modf declaration... " >&6; }
67750 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67751 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
67752 $as_echo_n "(cached) " >&6
67753 else
67756 ac_ext=cpp
67757 ac_cpp='$CXXCPP $CPPFLAGS'
67758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67763 /* end confdefs.h. */
67764 #include <math.h>
67766 main ()
67768 _modf(0, 0);
67770 return 0;
67772 _ACEOF
67773 if ac_fn_cxx_try_compile "$LINENO"; then :
67774 glibcxx_cv_func__modf_use=yes
67775 else
67776 glibcxx_cv_func__modf_use=no
67778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67779 ac_ext=c
67780 ac_cpp='$CPP $CPPFLAGS'
67781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
67790 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
67792 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67793 for ac_func in _modf
67794 do :
67795 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
67796 if test "x$ac_cv_func__modf" = x""yes; then :
67797 cat >>confdefs.h <<_ACEOF
67798 #define HAVE__MODF 1
67799 _ACEOF
67802 done
67811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
67812 $as_echo_n "checking for powf declaration... " >&6; }
67813 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67814 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
67815 $as_echo_n "(cached) " >&6
67816 else
67819 ac_ext=cpp
67820 ac_cpp='$CXXCPP $CPPFLAGS'
67821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67826 /* end confdefs.h. */
67827 #include <math.h>
67829 main ()
67831 powf(0, 0);
67833 return 0;
67835 _ACEOF
67836 if ac_fn_cxx_try_compile "$LINENO"; then :
67837 glibcxx_cv_func_powf_use=yes
67838 else
67839 glibcxx_cv_func_powf_use=no
67841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67842 ac_ext=c
67843 ac_cpp='$CPP $CPPFLAGS'
67844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
67853 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
67855 if test x$glibcxx_cv_func_powf_use = x"yes"; then
67856 for ac_func in powf
67857 do :
67858 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
67859 if test "x$ac_cv_func_powf" = x""yes; then :
67860 cat >>confdefs.h <<_ACEOF
67861 #define HAVE_POWF 1
67862 _ACEOF
67865 done
67867 else
67869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
67870 $as_echo_n "checking for _powf declaration... " >&6; }
67871 if test x${glibcxx_cv_func__powf_use+set} != xset; then
67872 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
67873 $as_echo_n "(cached) " >&6
67874 else
67877 ac_ext=cpp
67878 ac_cpp='$CXXCPP $CPPFLAGS'
67879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67884 /* end confdefs.h. */
67885 #include <math.h>
67887 main ()
67889 _powf(0, 0);
67891 return 0;
67893 _ACEOF
67894 if ac_fn_cxx_try_compile "$LINENO"; then :
67895 glibcxx_cv_func__powf_use=yes
67896 else
67897 glibcxx_cv_func__powf_use=no
67899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67900 ac_ext=c
67901 ac_cpp='$CPP $CPPFLAGS'
67902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
67911 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
67913 if test x$glibcxx_cv_func__powf_use = x"yes"; then
67914 for ac_func in _powf
67915 do :
67916 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
67917 if test "x$ac_cv_func__powf" = x""yes; then :
67918 cat >>confdefs.h <<_ACEOF
67919 #define HAVE__POWF 1
67920 _ACEOF
67923 done
67932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
67933 $as_echo_n "checking for sqrtf declaration... " >&6; }
67934 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
67935 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
67936 $as_echo_n "(cached) " >&6
67937 else
67940 ac_ext=cpp
67941 ac_cpp='$CXXCPP $CPPFLAGS'
67942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67947 /* end confdefs.h. */
67948 #include <math.h>
67949 #ifdef HAVE_IEEEFP_H
67950 #include <ieeefp.h>
67951 #endif
67954 main ()
67956 sqrtf(0);
67958 return 0;
67960 _ACEOF
67961 if ac_fn_cxx_try_compile "$LINENO"; then :
67962 glibcxx_cv_func_sqrtf_use=yes
67963 else
67964 glibcxx_cv_func_sqrtf_use=no
67966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67967 ac_ext=c
67968 ac_cpp='$CPP $CPPFLAGS'
67969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
67978 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
67980 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
67981 for ac_func in sqrtf
67982 do :
67983 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
67984 if test "x$ac_cv_func_sqrtf" = x""yes; then :
67985 cat >>confdefs.h <<_ACEOF
67986 #define HAVE_SQRTF 1
67987 _ACEOF
67990 done
67992 else
67994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
67995 $as_echo_n "checking for _sqrtf declaration... " >&6; }
67996 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
67997 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
67998 $as_echo_n "(cached) " >&6
67999 else
68002 ac_ext=cpp
68003 ac_cpp='$CXXCPP $CPPFLAGS'
68004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68009 /* end confdefs.h. */
68010 #include <math.h>
68011 #ifdef HAVE_IEEEFP_H
68012 #include <ieeefp.h>
68013 #endif
68016 main ()
68018 _sqrtf(0);
68020 return 0;
68022 _ACEOF
68023 if ac_fn_cxx_try_compile "$LINENO"; then :
68024 glibcxx_cv_func__sqrtf_use=yes
68025 else
68026 glibcxx_cv_func__sqrtf_use=no
68028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68029 ac_ext=c
68030 ac_cpp='$CPP $CPPFLAGS'
68031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68040 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68042 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68043 for ac_func in _sqrtf
68044 do :
68045 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68046 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68047 cat >>confdefs.h <<_ACEOF
68048 #define HAVE__SQRTF 1
68049 _ACEOF
68052 done
68061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68062 $as_echo_n "checking for sincosf declaration... " >&6; }
68063 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68064 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68065 $as_echo_n "(cached) " >&6
68066 else
68069 ac_ext=cpp
68070 ac_cpp='$CXXCPP $CPPFLAGS'
68071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68076 /* end confdefs.h. */
68077 #include <math.h>
68079 main ()
68081 sincosf(0, 0, 0);
68083 return 0;
68085 _ACEOF
68086 if ac_fn_cxx_try_compile "$LINENO"; then :
68087 glibcxx_cv_func_sincosf_use=yes
68088 else
68089 glibcxx_cv_func_sincosf_use=no
68091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68092 ac_ext=c
68093 ac_cpp='$CPP $CPPFLAGS'
68094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68103 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68105 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68106 for ac_func in sincosf
68107 do :
68108 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68109 if test "x$ac_cv_func_sincosf" = x""yes; then :
68110 cat >>confdefs.h <<_ACEOF
68111 #define HAVE_SINCOSF 1
68112 _ACEOF
68115 done
68117 else
68119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68120 $as_echo_n "checking for _sincosf declaration... " >&6; }
68121 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68122 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68123 $as_echo_n "(cached) " >&6
68124 else
68127 ac_ext=cpp
68128 ac_cpp='$CXXCPP $CPPFLAGS'
68129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68134 /* end confdefs.h. */
68135 #include <math.h>
68137 main ()
68139 _sincosf(0, 0, 0);
68141 return 0;
68143 _ACEOF
68144 if ac_fn_cxx_try_compile "$LINENO"; then :
68145 glibcxx_cv_func__sincosf_use=yes
68146 else
68147 glibcxx_cv_func__sincosf_use=no
68149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68150 ac_ext=c
68151 ac_cpp='$CPP $CPPFLAGS'
68152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68161 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68163 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68164 for ac_func in _sincosf
68165 do :
68166 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68167 if test "x$ac_cv_func__sincosf" = x""yes; then :
68168 cat >>confdefs.h <<_ACEOF
68169 #define HAVE__SINCOSF 1
68170 _ACEOF
68173 done
68182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68183 $as_echo_n "checking for finitef declaration... " >&6; }
68184 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68185 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68186 $as_echo_n "(cached) " >&6
68187 else
68190 ac_ext=cpp
68191 ac_cpp='$CXXCPP $CPPFLAGS'
68192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68197 /* end confdefs.h. */
68198 #include <math.h>
68199 #ifdef HAVE_IEEEFP_H
68200 #include <ieeefp.h>
68201 #endif
68204 main ()
68206 finitef(0);
68208 return 0;
68210 _ACEOF
68211 if ac_fn_cxx_try_compile "$LINENO"; then :
68212 glibcxx_cv_func_finitef_use=yes
68213 else
68214 glibcxx_cv_func_finitef_use=no
68216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68217 ac_ext=c
68218 ac_cpp='$CPP $CPPFLAGS'
68219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68228 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68230 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68231 for ac_func in finitef
68232 do :
68233 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68234 if test "x$ac_cv_func_finitef" = x""yes; then :
68235 cat >>confdefs.h <<_ACEOF
68236 #define HAVE_FINITEF 1
68237 _ACEOF
68240 done
68242 else
68244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68245 $as_echo_n "checking for _finitef declaration... " >&6; }
68246 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68247 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68248 $as_echo_n "(cached) " >&6
68249 else
68252 ac_ext=cpp
68253 ac_cpp='$CXXCPP $CPPFLAGS'
68254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68259 /* end confdefs.h. */
68260 #include <math.h>
68261 #ifdef HAVE_IEEEFP_H
68262 #include <ieeefp.h>
68263 #endif
68266 main ()
68268 _finitef(0);
68270 return 0;
68272 _ACEOF
68273 if ac_fn_cxx_try_compile "$LINENO"; then :
68274 glibcxx_cv_func__finitef_use=yes
68275 else
68276 glibcxx_cv_func__finitef_use=no
68278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68279 ac_ext=c
68280 ac_cpp='$CPP $CPPFLAGS'
68281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68290 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68292 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68293 for ac_func in _finitef
68294 do :
68295 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68296 if test "x$ac_cv_func__finitef" = x""yes; then :
68297 cat >>confdefs.h <<_ACEOF
68298 #define HAVE__FINITEF 1
68299 _ACEOF
68302 done
68311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68312 $as_echo_n "checking for long double trig functions... " >&6; }
68313 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68314 $as_echo_n "(cached) " >&6
68315 else
68318 ac_ext=cpp
68319 ac_cpp='$CXXCPP $CPPFLAGS'
68320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68325 /* end confdefs.h. */
68326 #include <math.h>
68328 main ()
68330 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68332 return 0;
68334 _ACEOF
68335 if ac_fn_cxx_try_compile "$LINENO"; then :
68336 glibcxx_cv_func_long_double_trig_use=yes
68337 else
68338 glibcxx_cv_func_long_double_trig_use=no
68340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68341 ac_ext=c
68342 ac_cpp='$CPP $CPPFLAGS'
68343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68350 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68351 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68352 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68353 do :
68354 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68355 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68356 eval as_val=\$$as_ac_var
68357 if test "x$as_val" = x""yes; then :
68358 cat >>confdefs.h <<_ACEOF
68359 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68360 _ACEOF
68363 done
68365 else
68366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68367 $as_echo_n "checking for _long double trig functions... " >&6; }
68368 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68369 $as_echo_n "(cached) " >&6
68370 else
68373 ac_ext=cpp
68374 ac_cpp='$CXXCPP $CPPFLAGS'
68375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68380 /* end confdefs.h. */
68381 #include <math.h>
68383 main ()
68385 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68387 return 0;
68389 _ACEOF
68390 if ac_fn_cxx_try_compile "$LINENO"; then :
68391 glibcxx_cv_func__long_double_trig_use=yes
68392 else
68393 glibcxx_cv_func__long_double_trig_use=no
68395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68396 ac_ext=c
68397 ac_cpp='$CPP $CPPFLAGS'
68398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68405 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68406 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68407 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68408 do :
68409 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68410 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68411 eval as_val=\$$as_ac_var
68412 if test "x$as_val" = x""yes; then :
68413 cat >>confdefs.h <<_ACEOF
68414 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68415 _ACEOF
68418 done
68427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68428 $as_echo_n "checking for long double round functions... " >&6; }
68429 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68430 $as_echo_n "(cached) " >&6
68431 else
68434 ac_ext=cpp
68435 ac_cpp='$CXXCPP $CPPFLAGS'
68436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68441 /* end confdefs.h. */
68442 #include <math.h>
68444 main ()
68446 ceill (0); floorl (0);
68448 return 0;
68450 _ACEOF
68451 if ac_fn_cxx_try_compile "$LINENO"; then :
68452 glibcxx_cv_func_long_double_round_use=yes
68453 else
68454 glibcxx_cv_func_long_double_round_use=no
68456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68457 ac_ext=c
68458 ac_cpp='$CPP $CPPFLAGS'
68459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68466 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68467 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68468 for ac_func in ceill floorl
68469 do :
68470 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68471 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68472 eval as_val=\$$as_ac_var
68473 if test "x$as_val" = x""yes; then :
68474 cat >>confdefs.h <<_ACEOF
68475 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68476 _ACEOF
68479 done
68481 else
68482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68483 $as_echo_n "checking for _long double round functions... " >&6; }
68484 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68485 $as_echo_n "(cached) " >&6
68486 else
68489 ac_ext=cpp
68490 ac_cpp='$CXXCPP $CPPFLAGS'
68491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68496 /* end confdefs.h. */
68497 #include <math.h>
68499 main ()
68501 _ceill (0); _floorl (0);
68503 return 0;
68505 _ACEOF
68506 if ac_fn_cxx_try_compile "$LINENO"; then :
68507 glibcxx_cv_func__long_double_round_use=yes
68508 else
68509 glibcxx_cv_func__long_double_round_use=no
68511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68512 ac_ext=c
68513 ac_cpp='$CPP $CPPFLAGS'
68514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68521 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68522 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68523 for ac_func in _ceill _floorl
68524 do :
68525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68527 eval as_val=\$$as_ac_var
68528 if test "x$as_val" = x""yes; then :
68529 cat >>confdefs.h <<_ACEOF
68530 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68531 _ACEOF
68534 done
68544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68545 $as_echo_n "checking for isnanl declaration... " >&6; }
68546 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68547 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68548 $as_echo_n "(cached) " >&6
68549 else
68552 ac_ext=cpp
68553 ac_cpp='$CXXCPP $CPPFLAGS'
68554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68559 /* end confdefs.h. */
68560 #include <math.h>
68561 #ifdef HAVE_IEEEFP_H
68562 #include <ieeefp.h>
68563 #endif
68566 main ()
68568 isnanl(0);
68570 return 0;
68572 _ACEOF
68573 if ac_fn_cxx_try_compile "$LINENO"; then :
68574 glibcxx_cv_func_isnanl_use=yes
68575 else
68576 glibcxx_cv_func_isnanl_use=no
68578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68579 ac_ext=c
68580 ac_cpp='$CPP $CPPFLAGS'
68581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68590 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68592 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68593 for ac_func in isnanl
68594 do :
68595 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68596 if test "x$ac_cv_func_isnanl" = x""yes; then :
68597 cat >>confdefs.h <<_ACEOF
68598 #define HAVE_ISNANL 1
68599 _ACEOF
68602 done
68604 else
68606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68607 $as_echo_n "checking for _isnanl declaration... " >&6; }
68608 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68609 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68610 $as_echo_n "(cached) " >&6
68611 else
68614 ac_ext=cpp
68615 ac_cpp='$CXXCPP $CPPFLAGS'
68616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68621 /* end confdefs.h. */
68622 #include <math.h>
68623 #ifdef HAVE_IEEEFP_H
68624 #include <ieeefp.h>
68625 #endif
68628 main ()
68630 _isnanl(0);
68632 return 0;
68634 _ACEOF
68635 if ac_fn_cxx_try_compile "$LINENO"; then :
68636 glibcxx_cv_func__isnanl_use=yes
68637 else
68638 glibcxx_cv_func__isnanl_use=no
68640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68641 ac_ext=c
68642 ac_cpp='$CPP $CPPFLAGS'
68643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68652 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68654 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68655 for ac_func in _isnanl
68656 do :
68657 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68658 if test "x$ac_cv_func__isnanl" = x""yes; then :
68659 cat >>confdefs.h <<_ACEOF
68660 #define HAVE__ISNANL 1
68661 _ACEOF
68664 done
68673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68674 $as_echo_n "checking for isinfl declaration... " >&6; }
68675 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68676 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68677 $as_echo_n "(cached) " >&6
68678 else
68681 ac_ext=cpp
68682 ac_cpp='$CXXCPP $CPPFLAGS'
68683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68688 /* end confdefs.h. */
68689 #include <math.h>
68690 #ifdef HAVE_IEEEFP_H
68691 #include <ieeefp.h>
68692 #endif
68695 main ()
68697 isinfl(0);
68699 return 0;
68701 _ACEOF
68702 if ac_fn_cxx_try_compile "$LINENO"; then :
68703 glibcxx_cv_func_isinfl_use=yes
68704 else
68705 glibcxx_cv_func_isinfl_use=no
68707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68708 ac_ext=c
68709 ac_cpp='$CPP $CPPFLAGS'
68710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68719 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68721 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68722 for ac_func in isinfl
68723 do :
68724 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68725 if test "x$ac_cv_func_isinfl" = x""yes; then :
68726 cat >>confdefs.h <<_ACEOF
68727 #define HAVE_ISINFL 1
68728 _ACEOF
68731 done
68733 else
68735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
68736 $as_echo_n "checking for _isinfl declaration... " >&6; }
68737 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
68738 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
68739 $as_echo_n "(cached) " >&6
68740 else
68743 ac_ext=cpp
68744 ac_cpp='$CXXCPP $CPPFLAGS'
68745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68750 /* end confdefs.h. */
68751 #include <math.h>
68752 #ifdef HAVE_IEEEFP_H
68753 #include <ieeefp.h>
68754 #endif
68757 main ()
68759 _isinfl(0);
68761 return 0;
68763 _ACEOF
68764 if ac_fn_cxx_try_compile "$LINENO"; then :
68765 glibcxx_cv_func__isinfl_use=yes
68766 else
68767 glibcxx_cv_func__isinfl_use=no
68769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68770 ac_ext=c
68771 ac_cpp='$CPP $CPPFLAGS'
68772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
68781 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
68783 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
68784 for ac_func in _isinfl
68785 do :
68786 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
68787 if test "x$ac_cv_func__isinfl" = x""yes; then :
68788 cat >>confdefs.h <<_ACEOF
68789 #define HAVE__ISINFL 1
68790 _ACEOF
68793 done
68802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
68803 $as_echo_n "checking for atan2l declaration... " >&6; }
68804 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
68805 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
68806 $as_echo_n "(cached) " >&6
68807 else
68810 ac_ext=cpp
68811 ac_cpp='$CXXCPP $CPPFLAGS'
68812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68817 /* end confdefs.h. */
68818 #include <math.h>
68820 main ()
68822 atan2l(0, 0);
68824 return 0;
68826 _ACEOF
68827 if ac_fn_cxx_try_compile "$LINENO"; then :
68828 glibcxx_cv_func_atan2l_use=yes
68829 else
68830 glibcxx_cv_func_atan2l_use=no
68832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68833 ac_ext=c
68834 ac_cpp='$CPP $CPPFLAGS'
68835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
68844 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
68846 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
68847 for ac_func in atan2l
68848 do :
68849 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
68850 if test "x$ac_cv_func_atan2l" = x""yes; then :
68851 cat >>confdefs.h <<_ACEOF
68852 #define HAVE_ATAN2L 1
68853 _ACEOF
68856 done
68858 else
68860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
68861 $as_echo_n "checking for _atan2l declaration... " >&6; }
68862 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
68863 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
68864 $as_echo_n "(cached) " >&6
68865 else
68868 ac_ext=cpp
68869 ac_cpp='$CXXCPP $CPPFLAGS'
68870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68875 /* end confdefs.h. */
68876 #include <math.h>
68878 main ()
68880 _atan2l(0, 0);
68882 return 0;
68884 _ACEOF
68885 if ac_fn_cxx_try_compile "$LINENO"; then :
68886 glibcxx_cv_func__atan2l_use=yes
68887 else
68888 glibcxx_cv_func__atan2l_use=no
68890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68891 ac_ext=c
68892 ac_cpp='$CPP $CPPFLAGS'
68893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
68902 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
68904 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
68905 for ac_func in _atan2l
68906 do :
68907 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
68908 if test "x$ac_cv_func__atan2l" = x""yes; then :
68909 cat >>confdefs.h <<_ACEOF
68910 #define HAVE__ATAN2L 1
68911 _ACEOF
68914 done
68923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
68924 $as_echo_n "checking for expl declaration... " >&6; }
68925 if test x${glibcxx_cv_func_expl_use+set} != xset; then
68926 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
68927 $as_echo_n "(cached) " >&6
68928 else
68931 ac_ext=cpp
68932 ac_cpp='$CXXCPP $CPPFLAGS'
68933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68938 /* end confdefs.h. */
68939 #include <math.h>
68940 #ifdef HAVE_IEEEFP_H
68941 #include <ieeefp.h>
68942 #endif
68945 main ()
68947 expl(0);
68949 return 0;
68951 _ACEOF
68952 if ac_fn_cxx_try_compile "$LINENO"; then :
68953 glibcxx_cv_func_expl_use=yes
68954 else
68955 glibcxx_cv_func_expl_use=no
68957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68958 ac_ext=c
68959 ac_cpp='$CPP $CPPFLAGS'
68960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
68969 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
68971 if test x$glibcxx_cv_func_expl_use = x"yes"; then
68972 for ac_func in expl
68973 do :
68974 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
68975 if test "x$ac_cv_func_expl" = x""yes; then :
68976 cat >>confdefs.h <<_ACEOF
68977 #define HAVE_EXPL 1
68978 _ACEOF
68981 done
68983 else
68985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
68986 $as_echo_n "checking for _expl declaration... " >&6; }
68987 if test x${glibcxx_cv_func__expl_use+set} != xset; then
68988 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
68989 $as_echo_n "(cached) " >&6
68990 else
68993 ac_ext=cpp
68994 ac_cpp='$CXXCPP $CPPFLAGS'
68995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69000 /* end confdefs.h. */
69001 #include <math.h>
69002 #ifdef HAVE_IEEEFP_H
69003 #include <ieeefp.h>
69004 #endif
69007 main ()
69009 _expl(0);
69011 return 0;
69013 _ACEOF
69014 if ac_fn_cxx_try_compile "$LINENO"; then :
69015 glibcxx_cv_func__expl_use=yes
69016 else
69017 glibcxx_cv_func__expl_use=no
69019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69020 ac_ext=c
69021 ac_cpp='$CPP $CPPFLAGS'
69022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69031 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69033 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69034 for ac_func in _expl
69035 do :
69036 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69037 if test "x$ac_cv_func__expl" = x""yes; then :
69038 cat >>confdefs.h <<_ACEOF
69039 #define HAVE__EXPL 1
69040 _ACEOF
69043 done
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69053 $as_echo_n "checking for fabsl declaration... " >&6; }
69054 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69055 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69056 $as_echo_n "(cached) " >&6
69057 else
69060 ac_ext=cpp
69061 ac_cpp='$CXXCPP $CPPFLAGS'
69062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69067 /* end confdefs.h. */
69068 #include <math.h>
69069 #ifdef HAVE_IEEEFP_H
69070 #include <ieeefp.h>
69071 #endif
69074 main ()
69076 fabsl(0);
69078 return 0;
69080 _ACEOF
69081 if ac_fn_cxx_try_compile "$LINENO"; then :
69082 glibcxx_cv_func_fabsl_use=yes
69083 else
69084 glibcxx_cv_func_fabsl_use=no
69086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69087 ac_ext=c
69088 ac_cpp='$CPP $CPPFLAGS'
69089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69098 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69100 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69101 for ac_func in fabsl
69102 do :
69103 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69104 if test "x$ac_cv_func_fabsl" = x""yes; then :
69105 cat >>confdefs.h <<_ACEOF
69106 #define HAVE_FABSL 1
69107 _ACEOF
69110 done
69112 else
69114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69115 $as_echo_n "checking for _fabsl declaration... " >&6; }
69116 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69117 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69118 $as_echo_n "(cached) " >&6
69119 else
69122 ac_ext=cpp
69123 ac_cpp='$CXXCPP $CPPFLAGS'
69124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69129 /* end confdefs.h. */
69130 #include <math.h>
69131 #ifdef HAVE_IEEEFP_H
69132 #include <ieeefp.h>
69133 #endif
69136 main ()
69138 _fabsl(0);
69140 return 0;
69142 _ACEOF
69143 if ac_fn_cxx_try_compile "$LINENO"; then :
69144 glibcxx_cv_func__fabsl_use=yes
69145 else
69146 glibcxx_cv_func__fabsl_use=no
69148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69149 ac_ext=c
69150 ac_cpp='$CPP $CPPFLAGS'
69151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69160 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69162 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69163 for ac_func in _fabsl
69164 do :
69165 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69166 if test "x$ac_cv_func__fabsl" = x""yes; then :
69167 cat >>confdefs.h <<_ACEOF
69168 #define HAVE__FABSL 1
69169 _ACEOF
69172 done
69181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69182 $as_echo_n "checking for fmodl declaration... " >&6; }
69183 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69184 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69185 $as_echo_n "(cached) " >&6
69186 else
69189 ac_ext=cpp
69190 ac_cpp='$CXXCPP $CPPFLAGS'
69191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69196 /* end confdefs.h. */
69197 #include <math.h>
69199 main ()
69201 fmodl(0, 0);
69203 return 0;
69205 _ACEOF
69206 if ac_fn_cxx_try_compile "$LINENO"; then :
69207 glibcxx_cv_func_fmodl_use=yes
69208 else
69209 glibcxx_cv_func_fmodl_use=no
69211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69212 ac_ext=c
69213 ac_cpp='$CPP $CPPFLAGS'
69214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69223 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69225 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69226 for ac_func in fmodl
69227 do :
69228 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69229 if test "x$ac_cv_func_fmodl" = x""yes; then :
69230 cat >>confdefs.h <<_ACEOF
69231 #define HAVE_FMODL 1
69232 _ACEOF
69235 done
69237 else
69239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69240 $as_echo_n "checking for _fmodl declaration... " >&6; }
69241 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69242 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69243 $as_echo_n "(cached) " >&6
69244 else
69247 ac_ext=cpp
69248 ac_cpp='$CXXCPP $CPPFLAGS'
69249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69254 /* end confdefs.h. */
69255 #include <math.h>
69257 main ()
69259 _fmodl(0, 0);
69261 return 0;
69263 _ACEOF
69264 if ac_fn_cxx_try_compile "$LINENO"; then :
69265 glibcxx_cv_func__fmodl_use=yes
69266 else
69267 glibcxx_cv_func__fmodl_use=no
69269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69270 ac_ext=c
69271 ac_cpp='$CPP $CPPFLAGS'
69272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69281 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69283 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69284 for ac_func in _fmodl
69285 do :
69286 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69287 if test "x$ac_cv_func__fmodl" = x""yes; then :
69288 cat >>confdefs.h <<_ACEOF
69289 #define HAVE__FMODL 1
69290 _ACEOF
69293 done
69302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69303 $as_echo_n "checking for frexpl declaration... " >&6; }
69304 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69305 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69306 $as_echo_n "(cached) " >&6
69307 else
69310 ac_ext=cpp
69311 ac_cpp='$CXXCPP $CPPFLAGS'
69312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69317 /* end confdefs.h. */
69318 #include <math.h>
69320 main ()
69322 frexpl(0, 0);
69324 return 0;
69326 _ACEOF
69327 if ac_fn_cxx_try_compile "$LINENO"; then :
69328 glibcxx_cv_func_frexpl_use=yes
69329 else
69330 glibcxx_cv_func_frexpl_use=no
69332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69333 ac_ext=c
69334 ac_cpp='$CPP $CPPFLAGS'
69335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69344 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69346 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69347 for ac_func in frexpl
69348 do :
69349 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69350 if test "x$ac_cv_func_frexpl" = x""yes; then :
69351 cat >>confdefs.h <<_ACEOF
69352 #define HAVE_FREXPL 1
69353 _ACEOF
69356 done
69358 else
69360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69361 $as_echo_n "checking for _frexpl declaration... " >&6; }
69362 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69363 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69364 $as_echo_n "(cached) " >&6
69365 else
69368 ac_ext=cpp
69369 ac_cpp='$CXXCPP $CPPFLAGS'
69370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69375 /* end confdefs.h. */
69376 #include <math.h>
69378 main ()
69380 _frexpl(0, 0);
69382 return 0;
69384 _ACEOF
69385 if ac_fn_cxx_try_compile "$LINENO"; then :
69386 glibcxx_cv_func__frexpl_use=yes
69387 else
69388 glibcxx_cv_func__frexpl_use=no
69390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69391 ac_ext=c
69392 ac_cpp='$CPP $CPPFLAGS'
69393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69402 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69404 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69405 for ac_func in _frexpl
69406 do :
69407 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69408 if test "x$ac_cv_func__frexpl" = x""yes; then :
69409 cat >>confdefs.h <<_ACEOF
69410 #define HAVE__FREXPL 1
69411 _ACEOF
69414 done
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69424 $as_echo_n "checking for hypotl declaration... " >&6; }
69425 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69426 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69427 $as_echo_n "(cached) " >&6
69428 else
69431 ac_ext=cpp
69432 ac_cpp='$CXXCPP $CPPFLAGS'
69433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69438 /* end confdefs.h. */
69439 #include <math.h>
69441 main ()
69443 hypotl(0, 0);
69445 return 0;
69447 _ACEOF
69448 if ac_fn_cxx_try_compile "$LINENO"; then :
69449 glibcxx_cv_func_hypotl_use=yes
69450 else
69451 glibcxx_cv_func_hypotl_use=no
69453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69454 ac_ext=c
69455 ac_cpp='$CPP $CPPFLAGS'
69456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69465 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69467 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69468 for ac_func in hypotl
69469 do :
69470 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69471 if test "x$ac_cv_func_hypotl" = x""yes; then :
69472 cat >>confdefs.h <<_ACEOF
69473 #define HAVE_HYPOTL 1
69474 _ACEOF
69477 done
69479 else
69481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69482 $as_echo_n "checking for _hypotl declaration... " >&6; }
69483 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69484 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69485 $as_echo_n "(cached) " >&6
69486 else
69489 ac_ext=cpp
69490 ac_cpp='$CXXCPP $CPPFLAGS'
69491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69496 /* end confdefs.h. */
69497 #include <math.h>
69499 main ()
69501 _hypotl(0, 0);
69503 return 0;
69505 _ACEOF
69506 if ac_fn_cxx_try_compile "$LINENO"; then :
69507 glibcxx_cv_func__hypotl_use=yes
69508 else
69509 glibcxx_cv_func__hypotl_use=no
69511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69512 ac_ext=c
69513 ac_cpp='$CPP $CPPFLAGS'
69514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69523 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69525 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69526 for ac_func in _hypotl
69527 do :
69528 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69529 if test "x$ac_cv_func__hypotl" = x""yes; then :
69530 cat >>confdefs.h <<_ACEOF
69531 #define HAVE__HYPOTL 1
69532 _ACEOF
69535 done
69544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69545 $as_echo_n "checking for ldexpl declaration... " >&6; }
69546 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69547 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69548 $as_echo_n "(cached) " >&6
69549 else
69552 ac_ext=cpp
69553 ac_cpp='$CXXCPP $CPPFLAGS'
69554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69559 /* end confdefs.h. */
69560 #include <math.h>
69562 main ()
69564 ldexpl(0, 0);
69566 return 0;
69568 _ACEOF
69569 if ac_fn_cxx_try_compile "$LINENO"; then :
69570 glibcxx_cv_func_ldexpl_use=yes
69571 else
69572 glibcxx_cv_func_ldexpl_use=no
69574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69575 ac_ext=c
69576 ac_cpp='$CPP $CPPFLAGS'
69577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69586 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69588 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69589 for ac_func in ldexpl
69590 do :
69591 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69592 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69593 cat >>confdefs.h <<_ACEOF
69594 #define HAVE_LDEXPL 1
69595 _ACEOF
69598 done
69600 else
69602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69603 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69604 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69605 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69606 $as_echo_n "(cached) " >&6
69607 else
69610 ac_ext=cpp
69611 ac_cpp='$CXXCPP $CPPFLAGS'
69612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69617 /* end confdefs.h. */
69618 #include <math.h>
69620 main ()
69622 _ldexpl(0, 0);
69624 return 0;
69626 _ACEOF
69627 if ac_fn_cxx_try_compile "$LINENO"; then :
69628 glibcxx_cv_func__ldexpl_use=yes
69629 else
69630 glibcxx_cv_func__ldexpl_use=no
69632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69633 ac_ext=c
69634 ac_cpp='$CPP $CPPFLAGS'
69635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69644 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69646 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69647 for ac_func in _ldexpl
69648 do :
69649 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69650 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69651 cat >>confdefs.h <<_ACEOF
69652 #define HAVE__LDEXPL 1
69653 _ACEOF
69656 done
69665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69666 $as_echo_n "checking for logl declaration... " >&6; }
69667 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69668 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69669 $as_echo_n "(cached) " >&6
69670 else
69673 ac_ext=cpp
69674 ac_cpp='$CXXCPP $CPPFLAGS'
69675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69680 /* end confdefs.h. */
69681 #include <math.h>
69682 #ifdef HAVE_IEEEFP_H
69683 #include <ieeefp.h>
69684 #endif
69687 main ()
69689 logl(0);
69691 return 0;
69693 _ACEOF
69694 if ac_fn_cxx_try_compile "$LINENO"; then :
69695 glibcxx_cv_func_logl_use=yes
69696 else
69697 glibcxx_cv_func_logl_use=no
69699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69700 ac_ext=c
69701 ac_cpp='$CPP $CPPFLAGS'
69702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69711 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69713 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69714 for ac_func in logl
69715 do :
69716 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69717 if test "x$ac_cv_func_logl" = x""yes; then :
69718 cat >>confdefs.h <<_ACEOF
69719 #define HAVE_LOGL 1
69720 _ACEOF
69723 done
69725 else
69727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
69728 $as_echo_n "checking for _logl declaration... " >&6; }
69729 if test x${glibcxx_cv_func__logl_use+set} != xset; then
69730 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
69731 $as_echo_n "(cached) " >&6
69732 else
69735 ac_ext=cpp
69736 ac_cpp='$CXXCPP $CPPFLAGS'
69737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69742 /* end confdefs.h. */
69743 #include <math.h>
69744 #ifdef HAVE_IEEEFP_H
69745 #include <ieeefp.h>
69746 #endif
69749 main ()
69751 _logl(0);
69753 return 0;
69755 _ACEOF
69756 if ac_fn_cxx_try_compile "$LINENO"; then :
69757 glibcxx_cv_func__logl_use=yes
69758 else
69759 glibcxx_cv_func__logl_use=no
69761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69762 ac_ext=c
69763 ac_cpp='$CPP $CPPFLAGS'
69764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
69773 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
69775 if test x$glibcxx_cv_func__logl_use = x"yes"; then
69776 for ac_func in _logl
69777 do :
69778 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
69779 if test "x$ac_cv_func__logl" = x""yes; then :
69780 cat >>confdefs.h <<_ACEOF
69781 #define HAVE__LOGL 1
69782 _ACEOF
69785 done
69794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
69795 $as_echo_n "checking for log10l declaration... " >&6; }
69796 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
69797 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
69798 $as_echo_n "(cached) " >&6
69799 else
69802 ac_ext=cpp
69803 ac_cpp='$CXXCPP $CPPFLAGS'
69804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69809 /* end confdefs.h. */
69810 #include <math.h>
69811 #ifdef HAVE_IEEEFP_H
69812 #include <ieeefp.h>
69813 #endif
69816 main ()
69818 log10l(0);
69820 return 0;
69822 _ACEOF
69823 if ac_fn_cxx_try_compile "$LINENO"; then :
69824 glibcxx_cv_func_log10l_use=yes
69825 else
69826 glibcxx_cv_func_log10l_use=no
69828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69829 ac_ext=c
69830 ac_cpp='$CPP $CPPFLAGS'
69831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
69840 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
69842 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
69843 for ac_func in log10l
69844 do :
69845 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
69846 if test "x$ac_cv_func_log10l" = x""yes; then :
69847 cat >>confdefs.h <<_ACEOF
69848 #define HAVE_LOG10L 1
69849 _ACEOF
69852 done
69854 else
69856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
69857 $as_echo_n "checking for _log10l declaration... " >&6; }
69858 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
69859 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
69860 $as_echo_n "(cached) " >&6
69861 else
69864 ac_ext=cpp
69865 ac_cpp='$CXXCPP $CPPFLAGS'
69866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69871 /* end confdefs.h. */
69872 #include <math.h>
69873 #ifdef HAVE_IEEEFP_H
69874 #include <ieeefp.h>
69875 #endif
69878 main ()
69880 _log10l(0);
69882 return 0;
69884 _ACEOF
69885 if ac_fn_cxx_try_compile "$LINENO"; then :
69886 glibcxx_cv_func__log10l_use=yes
69887 else
69888 glibcxx_cv_func__log10l_use=no
69890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69891 ac_ext=c
69892 ac_cpp='$CPP $CPPFLAGS'
69893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
69902 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
69904 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
69905 for ac_func in _log10l
69906 do :
69907 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
69908 if test "x$ac_cv_func__log10l" = x""yes; then :
69909 cat >>confdefs.h <<_ACEOF
69910 #define HAVE__LOG10L 1
69911 _ACEOF
69914 done
69923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
69924 $as_echo_n "checking for modfl declaration... " >&6; }
69925 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
69926 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
69927 $as_echo_n "(cached) " >&6
69928 else
69931 ac_ext=cpp
69932 ac_cpp='$CXXCPP $CPPFLAGS'
69933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69938 /* end confdefs.h. */
69939 #include <math.h>
69941 main ()
69943 modfl(0, 0);
69945 return 0;
69947 _ACEOF
69948 if ac_fn_cxx_try_compile "$LINENO"; then :
69949 glibcxx_cv_func_modfl_use=yes
69950 else
69951 glibcxx_cv_func_modfl_use=no
69953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69954 ac_ext=c
69955 ac_cpp='$CPP $CPPFLAGS'
69956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
69965 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
69967 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
69968 for ac_func in modfl
69969 do :
69970 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
69971 if test "x$ac_cv_func_modfl" = x""yes; then :
69972 cat >>confdefs.h <<_ACEOF
69973 #define HAVE_MODFL 1
69974 _ACEOF
69977 done
69979 else
69981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
69982 $as_echo_n "checking for _modfl declaration... " >&6; }
69983 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
69984 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
69985 $as_echo_n "(cached) " >&6
69986 else
69989 ac_ext=cpp
69990 ac_cpp='$CXXCPP $CPPFLAGS'
69991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69996 /* end confdefs.h. */
69997 #include <math.h>
69999 main ()
70001 _modfl(0, 0);
70003 return 0;
70005 _ACEOF
70006 if ac_fn_cxx_try_compile "$LINENO"; then :
70007 glibcxx_cv_func__modfl_use=yes
70008 else
70009 glibcxx_cv_func__modfl_use=no
70011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70012 ac_ext=c
70013 ac_cpp='$CPP $CPPFLAGS'
70014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70023 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70025 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70026 for ac_func in _modfl
70027 do :
70028 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70029 if test "x$ac_cv_func__modfl" = x""yes; then :
70030 cat >>confdefs.h <<_ACEOF
70031 #define HAVE__MODFL 1
70032 _ACEOF
70035 done
70044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70045 $as_echo_n "checking for powl declaration... " >&6; }
70046 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70047 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70048 $as_echo_n "(cached) " >&6
70049 else
70052 ac_ext=cpp
70053 ac_cpp='$CXXCPP $CPPFLAGS'
70054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70059 /* end confdefs.h. */
70060 #include <math.h>
70062 main ()
70064 powl(0, 0);
70066 return 0;
70068 _ACEOF
70069 if ac_fn_cxx_try_compile "$LINENO"; then :
70070 glibcxx_cv_func_powl_use=yes
70071 else
70072 glibcxx_cv_func_powl_use=no
70074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70075 ac_ext=c
70076 ac_cpp='$CPP $CPPFLAGS'
70077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70086 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70088 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70089 for ac_func in powl
70090 do :
70091 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70092 if test "x$ac_cv_func_powl" = x""yes; then :
70093 cat >>confdefs.h <<_ACEOF
70094 #define HAVE_POWL 1
70095 _ACEOF
70098 done
70100 else
70102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70103 $as_echo_n "checking for _powl declaration... " >&6; }
70104 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70105 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70106 $as_echo_n "(cached) " >&6
70107 else
70110 ac_ext=cpp
70111 ac_cpp='$CXXCPP $CPPFLAGS'
70112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70117 /* end confdefs.h. */
70118 #include <math.h>
70120 main ()
70122 _powl(0, 0);
70124 return 0;
70126 _ACEOF
70127 if ac_fn_cxx_try_compile "$LINENO"; then :
70128 glibcxx_cv_func__powl_use=yes
70129 else
70130 glibcxx_cv_func__powl_use=no
70132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70133 ac_ext=c
70134 ac_cpp='$CPP $CPPFLAGS'
70135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70144 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70146 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70147 for ac_func in _powl
70148 do :
70149 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70150 if test "x$ac_cv_func__powl" = x""yes; then :
70151 cat >>confdefs.h <<_ACEOF
70152 #define HAVE__POWL 1
70153 _ACEOF
70156 done
70165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70166 $as_echo_n "checking for sqrtl declaration... " >&6; }
70167 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70168 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70169 $as_echo_n "(cached) " >&6
70170 else
70173 ac_ext=cpp
70174 ac_cpp='$CXXCPP $CPPFLAGS'
70175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70180 /* end confdefs.h. */
70181 #include <math.h>
70182 #ifdef HAVE_IEEEFP_H
70183 #include <ieeefp.h>
70184 #endif
70187 main ()
70189 sqrtl(0);
70191 return 0;
70193 _ACEOF
70194 if ac_fn_cxx_try_compile "$LINENO"; then :
70195 glibcxx_cv_func_sqrtl_use=yes
70196 else
70197 glibcxx_cv_func_sqrtl_use=no
70199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70200 ac_ext=c
70201 ac_cpp='$CPP $CPPFLAGS'
70202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70211 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70213 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70214 for ac_func in sqrtl
70215 do :
70216 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70217 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70218 cat >>confdefs.h <<_ACEOF
70219 #define HAVE_SQRTL 1
70220 _ACEOF
70223 done
70225 else
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70228 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70229 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70230 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70231 $as_echo_n "(cached) " >&6
70232 else
70235 ac_ext=cpp
70236 ac_cpp='$CXXCPP $CPPFLAGS'
70237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70242 /* end confdefs.h. */
70243 #include <math.h>
70244 #ifdef HAVE_IEEEFP_H
70245 #include <ieeefp.h>
70246 #endif
70249 main ()
70251 _sqrtl(0);
70253 return 0;
70255 _ACEOF
70256 if ac_fn_cxx_try_compile "$LINENO"; then :
70257 glibcxx_cv_func__sqrtl_use=yes
70258 else
70259 glibcxx_cv_func__sqrtl_use=no
70261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70262 ac_ext=c
70263 ac_cpp='$CPP $CPPFLAGS'
70264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70273 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70275 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70276 for ac_func in _sqrtl
70277 do :
70278 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70279 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70280 cat >>confdefs.h <<_ACEOF
70281 #define HAVE__SQRTL 1
70282 _ACEOF
70285 done
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70295 $as_echo_n "checking for sincosl declaration... " >&6; }
70296 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70297 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70298 $as_echo_n "(cached) " >&6
70299 else
70302 ac_ext=cpp
70303 ac_cpp='$CXXCPP $CPPFLAGS'
70304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70309 /* end confdefs.h. */
70310 #include <math.h>
70312 main ()
70314 sincosl(0, 0, 0);
70316 return 0;
70318 _ACEOF
70319 if ac_fn_cxx_try_compile "$LINENO"; then :
70320 glibcxx_cv_func_sincosl_use=yes
70321 else
70322 glibcxx_cv_func_sincosl_use=no
70324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70325 ac_ext=c
70326 ac_cpp='$CPP $CPPFLAGS'
70327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70336 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70338 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70339 for ac_func in sincosl
70340 do :
70341 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70342 if test "x$ac_cv_func_sincosl" = x""yes; then :
70343 cat >>confdefs.h <<_ACEOF
70344 #define HAVE_SINCOSL 1
70345 _ACEOF
70348 done
70350 else
70352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70353 $as_echo_n "checking for _sincosl declaration... " >&6; }
70354 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70355 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70356 $as_echo_n "(cached) " >&6
70357 else
70360 ac_ext=cpp
70361 ac_cpp='$CXXCPP $CPPFLAGS'
70362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70367 /* end confdefs.h. */
70368 #include <math.h>
70370 main ()
70372 _sincosl(0, 0, 0);
70374 return 0;
70376 _ACEOF
70377 if ac_fn_cxx_try_compile "$LINENO"; then :
70378 glibcxx_cv_func__sincosl_use=yes
70379 else
70380 glibcxx_cv_func__sincosl_use=no
70382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70383 ac_ext=c
70384 ac_cpp='$CPP $CPPFLAGS'
70385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70394 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70396 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70397 for ac_func in _sincosl
70398 do :
70399 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70400 if test "x$ac_cv_func__sincosl" = x""yes; then :
70401 cat >>confdefs.h <<_ACEOF
70402 #define HAVE__SINCOSL 1
70403 _ACEOF
70406 done
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70416 $as_echo_n "checking for finitel declaration... " >&6; }
70417 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70418 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70419 $as_echo_n "(cached) " >&6
70420 else
70423 ac_ext=cpp
70424 ac_cpp='$CXXCPP $CPPFLAGS'
70425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70430 /* end confdefs.h. */
70431 #include <math.h>
70432 #ifdef HAVE_IEEEFP_H
70433 #include <ieeefp.h>
70434 #endif
70437 main ()
70439 finitel(0);
70441 return 0;
70443 _ACEOF
70444 if ac_fn_cxx_try_compile "$LINENO"; then :
70445 glibcxx_cv_func_finitel_use=yes
70446 else
70447 glibcxx_cv_func_finitel_use=no
70449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70450 ac_ext=c
70451 ac_cpp='$CPP $CPPFLAGS'
70452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70461 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70463 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70464 for ac_func in finitel
70465 do :
70466 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70467 if test "x$ac_cv_func_finitel" = x""yes; then :
70468 cat >>confdefs.h <<_ACEOF
70469 #define HAVE_FINITEL 1
70470 _ACEOF
70473 done
70475 else
70477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70478 $as_echo_n "checking for _finitel declaration... " >&6; }
70479 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70480 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70481 $as_echo_n "(cached) " >&6
70482 else
70485 ac_ext=cpp
70486 ac_cpp='$CXXCPP $CPPFLAGS'
70487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70492 /* end confdefs.h. */
70493 #include <math.h>
70494 #ifdef HAVE_IEEEFP_H
70495 #include <ieeefp.h>
70496 #endif
70499 main ()
70501 _finitel(0);
70503 return 0;
70505 _ACEOF
70506 if ac_fn_cxx_try_compile "$LINENO"; then :
70507 glibcxx_cv_func__finitel_use=yes
70508 else
70509 glibcxx_cv_func__finitel_use=no
70511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70512 ac_ext=c
70513 ac_cpp='$CPP $CPPFLAGS'
70514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70523 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70525 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70526 for ac_func in _finitel
70527 do :
70528 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70529 if test "x$ac_cv_func__finitel" = x""yes; then :
70530 cat >>confdefs.h <<_ACEOF
70531 #define HAVE__FINITEL 1
70532 _ACEOF
70535 done
70543 LIBS="$ac_save_LIBS"
70544 CXXFLAGS="$ac_save_CXXFLAGS"
70547 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70548 ac_save_CXXFLAGS="$CXXFLAGS"
70549 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70553 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70554 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70555 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70556 $as_echo_n "(cached) " >&6
70557 else
70560 ac_ext=cpp
70561 ac_cpp='$CXXCPP $CPPFLAGS'
70562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70567 /* end confdefs.h. */
70568 #include <stdlib.h>
70570 main ()
70572 at_quick_exit(0);
70574 return 0;
70576 _ACEOF
70577 if ac_fn_cxx_try_compile "$LINENO"; then :
70578 glibcxx_cv_func_at_quick_exit_use=yes
70579 else
70580 glibcxx_cv_func_at_quick_exit_use=no
70582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70583 ac_ext=c
70584 ac_cpp='$CPP $CPPFLAGS'
70585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70594 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70595 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70596 for ac_func in at_quick_exit
70597 do :
70598 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70599 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70600 cat >>confdefs.h <<_ACEOF
70601 #define HAVE_AT_QUICK_EXIT 1
70602 _ACEOF
70605 done
70610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70611 $as_echo_n "checking for quick_exit declaration... " >&6; }
70612 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70613 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70614 $as_echo_n "(cached) " >&6
70615 else
70618 ac_ext=cpp
70619 ac_cpp='$CXXCPP $CPPFLAGS'
70620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70625 /* end confdefs.h. */
70626 #include <stdlib.h>
70628 main ()
70630 quick_exit(0);
70632 return 0;
70634 _ACEOF
70635 if ac_fn_cxx_try_compile "$LINENO"; then :
70636 glibcxx_cv_func_quick_exit_use=yes
70637 else
70638 glibcxx_cv_func_quick_exit_use=no
70640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70641 ac_ext=c
70642 ac_cpp='$CPP $CPPFLAGS'
70643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70652 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70653 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70654 for ac_func in quick_exit
70655 do :
70656 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70657 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70658 cat >>confdefs.h <<_ACEOF
70659 #define HAVE_QUICK_EXIT 1
70660 _ACEOF
70663 done
70668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70669 $as_echo_n "checking for strtold declaration... " >&6; }
70670 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70671 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70672 $as_echo_n "(cached) " >&6
70673 else
70676 ac_ext=cpp
70677 ac_cpp='$CXXCPP $CPPFLAGS'
70678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70683 /* end confdefs.h. */
70684 #include <stdlib.h>
70686 main ()
70688 strtold(0, 0);
70690 return 0;
70692 _ACEOF
70693 if ac_fn_cxx_try_compile "$LINENO"; then :
70694 glibcxx_cv_func_strtold_use=yes
70695 else
70696 glibcxx_cv_func_strtold_use=no
70698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70699 ac_ext=c
70700 ac_cpp='$CPP $CPPFLAGS'
70701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70710 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70711 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70712 for ac_func in strtold
70713 do :
70714 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70715 if test "x$ac_cv_func_strtold" = x""yes; then :
70716 cat >>confdefs.h <<_ACEOF
70717 #define HAVE_STRTOLD 1
70718 _ACEOF
70721 done
70728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
70729 $as_echo_n "checking for strtof declaration... " >&6; }
70730 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
70731 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
70732 $as_echo_n "(cached) " >&6
70733 else
70736 ac_ext=cpp
70737 ac_cpp='$CXXCPP $CPPFLAGS'
70738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70743 /* end confdefs.h. */
70744 #include <stdlib.h>
70746 main ()
70748 strtof(0, 0);
70750 return 0;
70752 _ACEOF
70753 if ac_fn_cxx_try_compile "$LINENO"; then :
70754 glibcxx_cv_func_strtof_use=yes
70755 else
70756 glibcxx_cv_func_strtof_use=no
70758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70759 ac_ext=c
70760 ac_cpp='$CPP $CPPFLAGS'
70761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
70770 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
70771 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
70772 for ac_func in strtof
70773 do :
70774 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
70775 if test "x$ac_cv_func_strtof" = x""yes; then :
70776 cat >>confdefs.h <<_ACEOF
70777 #define HAVE_STRTOF 1
70778 _ACEOF
70781 done
70788 CXXFLAGS="$ac_save_CXXFLAGS"
70791 *-vxworks)
70792 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
70794 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
70796 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
70798 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
70800 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
70802 $as_echo "#define HAVE_COSF 1" >>confdefs.h
70804 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
70806 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
70808 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
70810 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
70812 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
70814 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
70816 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
70818 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
70820 $as_echo "#define HAVE_POWF 1" >>confdefs.h
70822 $as_echo "#define HAVE_SINF 1" >>confdefs.h
70824 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
70826 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
70828 $as_echo "#define HAVE_TANF 1" >>confdefs.h
70830 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
70834 as_fn_error "No support for this host/target combination." "$LINENO" 5
70836 esac
70840 # At some point, we should differentiate between architectures
70841 # like x86, which have long double versions, and alpha/powerpc/etc.,
70842 # which don't. For the time being, punt.
70843 if test x"long_double_math_on_this_cpu" = x"yes"; then
70844 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
70846 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
70848 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
70850 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
70852 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
70854 $as_echo "#define HAVE_COSL 1" >>confdefs.h
70856 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
70858 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
70860 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
70862 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
70864 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
70866 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
70868 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
70870 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
70872 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
70874 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
70876 $as_echo "#define HAVE_POWL 1" >>confdefs.h
70878 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
70880 $as_echo "#define HAVE_SINL 1" >>confdefs.h
70882 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
70884 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
70886 $as_echo "#define HAVE_TANL 1" >>confdefs.h
70888 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
70893 # Check for _Unwind_GetIPInfo.
70896 # Check whether --with-system-libunwind was given.
70897 if test "${with_system_libunwind+set}" = set; then :
70898 withval=$with_system_libunwind;
70901 # If system-libunwind was not specifically set, pick a default setting.
70902 if test x$with_system_libunwind = x; then
70903 case ${target} in
70904 ia64-*-hpux*) with_system_libunwind=yes ;;
70905 *) with_system_libunwind=no ;;
70906 esac
70908 # Based on system-libunwind and target, do we have ipinfo?
70909 if test x$with_system_libunwind = xyes; then
70910 case ${target} in
70911 ia64-*-*) have_unwind_getipinfo=no ;;
70912 *) have_unwind_getipinfo=yes ;;
70913 esac
70914 else
70915 # Darwin before version 9 does not have _Unwind_GetIPInfo.
70917 case ${target} in
70918 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
70919 *) have_unwind_getipinfo=yes ;;
70920 esac
70924 if test x$have_unwind_getipinfo = xyes; then
70926 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
70931 # Check whether --enable-linux-futex was given.
70932 if test "${enable_linux_futex+set}" = set; then :
70933 enableval=$enable_linux_futex;
70934 case "$enableval" in
70935 yes|no|default) ;;
70936 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
70937 esac
70939 else
70940 enable_linux_futex=default
70944 case "$target" in
70945 *-linux*)
70946 case "$enable_linux_futex" in
70947 default)
70948 # If headers don't have gettid/futex syscalls definition, then
70949 # default to no, otherwise there will be compile time failures.
70950 # Otherwise, default to yes. If we don't detect we are
70951 # compiled/linked against NPTL and not cross-compiling, check
70952 # if programs are run by default against NPTL and if not, issue
70953 # a warning.
70954 enable_linux_futex=no
70955 if test x$gcc_no_link = xyes; then
70956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70959 /* end confdefs.h. */
70960 #include <sys/syscall.h>
70961 int lk;
70963 main ()
70965 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
70967 return 0;
70969 _ACEOF
70970 if ac_fn_c_try_link "$LINENO"; then :
70971 save_LIBS="$LIBS"
70972 LIBS="-lpthread $LIBS"
70973 if test x$gcc_no_link = xyes; then
70974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70977 /* end confdefs.h. */
70978 #ifndef _GNU_SOURCE
70979 #define _GNU_SOURCE 1
70980 #endif
70981 #include <pthread.h>
70982 pthread_t th; void *status;
70984 main ()
70986 pthread_tryjoin_np (th, &status);
70988 return 0;
70990 _ACEOF
70991 if ac_fn_c_try_link "$LINENO"; then :
70992 enable_linux_futex=yes
70993 else
70994 if test x$cross_compiling = xno; then
70995 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
70996 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
70997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
70998 If so, please configure with --disable-linux-futex" >&5
70999 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
71000 If so, please configure with --disable-linux-futex" >&2;}
71003 enable_linux_futex=yes
71005 rm -f core conftest.err conftest.$ac_objext \
71006 conftest$ac_exeext conftest.$ac_ext
71007 LIBS="$save_LIBS"
71009 rm -f core conftest.err conftest.$ac_objext \
71010 conftest$ac_exeext conftest.$ac_ext
71012 yes)
71013 if test x$gcc_no_link = xyes; then
71014 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include <sys/syscall.h>
71019 int lk;
71021 main ()
71023 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
71025 return 0;
71027 _ACEOF
71028 if ac_fn_c_try_link "$LINENO"; then :
71030 else
71031 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
71033 rm -f core conftest.err conftest.$ac_objext \
71034 conftest$ac_exeext conftest.$ac_ext
71036 esac
71039 enable_linux_futex=no
71041 esac
71042 if test x$enable_linux_futex = xyes; then
71044 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
71051 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
71053 acx_cv_header_stdint=stddef.h
71054 acx_cv_header_stdint_kind="(already complete)"
71055 for i in stdint.h $inttype_headers; do
71056 unset ac_cv_type_uintptr_t
71057 unset ac_cv_type_uintmax_t
71058 unset ac_cv_type_int_least32_t
71059 unset ac_cv_type_int_fast32_t
71060 unset ac_cv_type_uint64_t
71061 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
71062 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
71063 #include <$i>
71065 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
71066 acx_cv_header_stdint=$i
71067 else
71068 continue
71071 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71072 #include <$i>
71074 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71076 else
71077 acx_cv_header_stdint_kind="(mostly complete)"
71080 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
71081 #include <$i>
71083 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
71085 else
71086 acx_cv_header_stdint_kind="(mostly complete)"
71089 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
71090 #include <$i>
71092 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
71094 else
71095 acx_cv_header_stdint_kind="(mostly complete)"
71098 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71099 #include <$i>
71101 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71103 else
71104 acx_cv_header_stdint_kind="(lacks uint64_t)"
71107 break
71108 done
71109 if test "$acx_cv_header_stdint" = stddef.h; then
71110 acx_cv_header_stdint_kind="(lacks uintmax_t)"
71111 for i in stdint.h $inttype_headers; do
71112 unset ac_cv_type_uintptr_t
71113 unset ac_cv_type_uint32_t
71114 unset ac_cv_type_uint64_t
71115 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
71116 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
71117 #include <$i>
71119 if test "x$ac_cv_type_uint32_t" = x""yes; then :
71120 acx_cv_header_stdint=$i
71121 else
71122 continue
71125 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
71126 #include <$i>
71128 if test "x$ac_cv_type_uint64_t" = x""yes; then :
71132 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
71133 #include <$i>
71135 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
71139 break
71140 done
71142 if test "$acx_cv_header_stdint" = stddef.h; then
71143 acx_cv_header_stdint_kind="(u_intXX_t style)"
71144 for i in sys/types.h $inttype_headers; do
71145 unset ac_cv_type_u_int32_t
71146 unset ac_cv_type_u_int64_t
71147 $as_echo_n "looking for u_intXX_t types in $i, " >&6
71148 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
71149 #include <$i>
71151 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
71152 acx_cv_header_stdint=$i
71153 else
71154 continue
71157 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
71158 #include <$i>
71160 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
71164 break
71165 done
71167 if test "$acx_cv_header_stdint" = stddef.h; then
71168 acx_cv_header_stdint_kind="(using manual detection)"
71171 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
71172 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
71173 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
71174 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
71175 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
71177 # ----------------- Summarize what we found so far
71179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
71180 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
71182 case `$as_basename -- include/gstdint.h ||
71183 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
71184 Xinclude/gstdint.h : 'X\(//\)$' \| \
71185 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
71186 $as_echo X/include/gstdint.h |
71187 sed '/^.*\/\([^/][^/]*\)\/*$/{
71188 s//\1/
71191 /^X\/\(\/\/\)$/{
71192 s//\1/
71195 /^X\/\(\/\).*/{
71196 s//\1/
71199 s/.*/./; q'` in
71200 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71201 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71202 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
71203 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
71204 *) ;;
71205 esac
71207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
71208 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
71210 # ----------------- done included file, check C basic types --------
71212 # Lacking an uintptr_t? Test size of void *
71213 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
71214 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
71215 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71216 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71217 # This bug is HP SR number 8606223364.
71218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
71219 $as_echo_n "checking size of void *... " >&6; }
71220 if test "${ac_cv_sizeof_void_p+set}" = set; then :
71221 $as_echo_n "(cached) " >&6
71222 else
71223 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
71225 else
71226 if test "$ac_cv_type_void_p" = yes; then
71227 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71228 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71229 { as_fn_set_status 77
71230 as_fn_error "cannot compute sizeof (void *)
71231 See \`config.log' for more details." "$LINENO" 5; }; }
71232 else
71233 ac_cv_sizeof_void_p=0
71238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
71239 $as_echo "$ac_cv_sizeof_void_p" >&6; }
71243 cat >>confdefs.h <<_ACEOF
71244 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
71245 _ACEOF
71248 esac
71250 # Lacking an uint64_t? Test size of long
71251 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
71252 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
71253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71255 # This bug is HP SR number 8606223364.
71256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
71257 $as_echo_n "checking size of long... " >&6; }
71258 if test "${ac_cv_sizeof_long+set}" = set; then :
71259 $as_echo_n "(cached) " >&6
71260 else
71261 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
71263 else
71264 if test "$ac_cv_type_long" = yes; then
71265 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71266 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71267 { as_fn_set_status 77
71268 as_fn_error "cannot compute sizeof (long)
71269 See \`config.log' for more details." "$LINENO" 5; }; }
71270 else
71271 ac_cv_sizeof_long=0
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
71277 $as_echo "$ac_cv_sizeof_long" >&6; }
71281 cat >>confdefs.h <<_ACEOF
71282 #define SIZEOF_LONG $ac_cv_sizeof_long
71283 _ACEOF
71286 esac
71288 if test $acx_cv_header_stdint = stddef.h; then
71289 # Lacking a good header? Test size of everything and deduce all types.
71290 # The cast to long int works around a bug in the HP C Compiler
71291 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71292 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71293 # This bug is HP SR number 8606223364.
71294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
71295 $as_echo_n "checking size of int... " >&6; }
71296 if test "${ac_cv_sizeof_int+set}" = set; then :
71297 $as_echo_n "(cached) " >&6
71298 else
71299 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
71301 else
71302 if test "$ac_cv_type_int" = yes; then
71303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71305 { as_fn_set_status 77
71306 as_fn_error "cannot compute sizeof (int)
71307 See \`config.log' for more details." "$LINENO" 5; }; }
71308 else
71309 ac_cv_sizeof_int=0
71314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
71315 $as_echo "$ac_cv_sizeof_int" >&6; }
71319 cat >>confdefs.h <<_ACEOF
71320 #define SIZEOF_INT $ac_cv_sizeof_int
71321 _ACEOF
71324 # The cast to long int works around a bug in the HP C Compiler
71325 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71326 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71327 # This bug is HP SR number 8606223364.
71328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
71329 $as_echo_n "checking size of short... " >&6; }
71330 if test "${ac_cv_sizeof_short+set}" = set; then :
71331 $as_echo_n "(cached) " >&6
71332 else
71333 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
71335 else
71336 if test "$ac_cv_type_short" = yes; then
71337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71339 { as_fn_set_status 77
71340 as_fn_error "cannot compute sizeof (short)
71341 See \`config.log' for more details." "$LINENO" 5; }; }
71342 else
71343 ac_cv_sizeof_short=0
71348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
71349 $as_echo "$ac_cv_sizeof_short" >&6; }
71353 cat >>confdefs.h <<_ACEOF
71354 #define SIZEOF_SHORT $ac_cv_sizeof_short
71355 _ACEOF
71358 # The cast to long int works around a bug in the HP C Compiler
71359 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
71360 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
71361 # This bug is HP SR number 8606223364.
71362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
71363 $as_echo_n "checking size of char... " >&6; }
71364 if test "${ac_cv_sizeof_char+set}" = set; then :
71365 $as_echo_n "(cached) " >&6
71366 else
71367 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
71369 else
71370 if test "$ac_cv_type_char" = yes; then
71371 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71373 { as_fn_set_status 77
71374 as_fn_error "cannot compute sizeof (char)
71375 See \`config.log' for more details." "$LINENO" 5; }; }
71376 else
71377 ac_cv_sizeof_char=0
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
71383 $as_echo "$ac_cv_sizeof_char" >&6; }
71387 cat >>confdefs.h <<_ACEOF
71388 #define SIZEOF_CHAR $ac_cv_sizeof_char
71389 _ACEOF
71393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
71394 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
71395 case "$ac_cv_sizeof_char" in
71396 1) acx_cv_type_int8_t=char ;;
71397 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
71398 esac
71399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
71400 $as_echo "$acx_cv_type_int8_t" >&6; }
71402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
71403 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
71404 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
71405 2:*) acx_cv_type_int16_t=int ;;
71406 *:2) acx_cv_type_int16_t=short ;;
71407 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
71408 esac
71409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
71410 $as_echo "$acx_cv_type_int16_t" >&6; }
71412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
71413 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
71414 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
71415 4:*) acx_cv_type_int32_t=int ;;
71416 *:4) acx_cv_type_int32_t=long ;;
71417 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
71418 esac
71419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
71420 $as_echo "$acx_cv_type_int32_t" >&6; }
71423 # These tests are here to make the output prettier
71425 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
71426 case "$ac_cv_sizeof_long" in
71427 8) acx_cv_type_int64_t=long ;;
71428 esac
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
71430 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
71431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
71432 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
71435 # Now we can use the above types
71437 if test "$ac_cv_type_uintptr_t" != yes; then
71438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
71439 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
71440 case $ac_cv_sizeof_void_p in
71441 2) acx_cv_type_intptr_t=int16_t ;;
71442 4) acx_cv_type_intptr_t=int32_t ;;
71443 8) acx_cv_type_intptr_t=int64_t ;;
71444 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
71445 esac
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
71447 $as_echo "$acx_cv_type_intptr_t" >&6; }
71450 # ----------------- done all checks, emit header -------------
71451 ac_config_commands="$ac_config_commands include/gstdint.h"
71457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
71458 $as_echo_n "checking for GNU c++filt... " >&6; }
71459 if test "${ac_cv_path_CXXFILT+set}" = set; then :
71460 $as_echo_n "(cached) " >&6
71461 else
71462 if test -z "$CXXFILT"; then
71463 ac_path_CXXFILT_found=false
71464 # Loop through the user's path and test for each of PROGNAME-LIST
71465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71466 for as_dir in $PATH
71468 IFS=$as_save_IFS
71469 test -z "$as_dir" && as_dir=.
71470 for ac_prog in c++filt gc++filt; do
71471 for ac_exec_ext in '' $ac_executable_extensions; do
71472 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
71473 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
71474 # Check for GNU $ac_path_CXXFILT
71475 case `"$ac_path_CXXFILT" --version 2>&1` in
71476 *GNU*)
71477 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
71478 esac
71480 $ac_path_CXXFILT_found && break 3
71481 done
71482 done
71483 done
71484 IFS=$as_save_IFS
71485 if test -z "$ac_cv_path_CXXFILT"; then
71488 else
71489 ac_cv_path_CXXFILT=$CXXFILT
71493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
71494 $as_echo "$ac_cv_path_CXXFILT" >&6; }
71495 CXXFILT=$ac_cv_path_CXXFILT
71499 # Check whether --enable-symvers was given.
71500 if test "${enable_symvers+set}" = set; then :
71501 enableval=$enable_symvers;
71502 case "$enableval" in
71503 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
71504 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
71505 esac
71507 else
71508 enable_symvers=yes
71513 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
71514 # don't know enough about $LD to do tricks...
71516 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
71517 # with extern "C++" in version scripts.
71520 # Turn a 'yes' into a suitable default.
71521 if test x$enable_symvers = xyes ; then
71522 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
71523 enable_symvers=no
71524 else
71525 if test $with_gnu_ld = yes ; then
71526 case ${target_os} in
71527 hpux*)
71528 enable_symvers=no ;;
71530 enable_symvers=gnu ;;
71531 esac
71532 else
71533 case ${target_os} in
71534 darwin*)
71535 enable_symvers=darwin ;;
71536 # Sun symbol versioning exists since Solaris 2.5.
71537 solaris2.[5-9]* | solaris2.1[0-9]*)
71538 # make_sunver.pl needs GNU c++filt to support extern "C++" in
71539 # version scripts, so disable symbol versioning if none can be
71540 # found.
71541 if test -z "$ac_cv_path_CXXFILT"; then
71542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71543 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
71545 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
71546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71547 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71548 enable_symvers=no
71549 else
71550 enable_symvers=sun
71554 enable_symvers=no ;;
71555 esac
71560 # Check to see if 'darwin' or 'darwin-export' can win.
71561 if test x$enable_symvers = xdarwin-export ; then
71562 enable_symvers=darwin
71565 # Check if 'sun' was requested on non-Solaris 2 platforms.
71566 if test x$enable_symvers = xsun ; then
71567 case ${target_os} in
71568 solaris2*)
71569 # All fine.
71572 # Unlikely to work.
71573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
71574 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
71575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
71576 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
71577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71578 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71579 enable_symvers=no
71581 esac
71584 # Check to see if 'gnu' can win.
71585 if test $enable_symvers = gnu ||
71586 test $enable_symvers = gnu-versioned-namespace ||
71587 test $enable_symvers = sun; then
71588 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
71589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
71590 $as_echo_n "checking for shared libgcc... " >&6; }
71591 ac_save_CFLAGS="$CFLAGS"
71592 CFLAGS=' -lgcc_s'
71593 if test x$gcc_no_link = xyes; then
71594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71597 /* end confdefs.h. */
71600 main ()
71602 return 0;
71604 return 0;
71606 _ACEOF
71607 if ac_fn_c_try_link "$LINENO"; then :
71608 glibcxx_shared_libgcc=yes
71609 else
71610 glibcxx_shared_libgcc=no
71612 rm -f core conftest.err conftest.$ac_objext \
71613 conftest$ac_exeext conftest.$ac_ext
71614 CFLAGS="$ac_save_CFLAGS"
71615 if test $glibcxx_shared_libgcc = no; then
71616 cat > conftest.c <<EOF
71617 int main (void) { return 0; }
71619 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
71620 -shared -shared-libgcc -o conftest.so \
71621 conftest.c -v 2>&1 >/dev/null \
71622 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
71623 rm -f conftest.c conftest.so
71624 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
71625 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
71626 if test x$gcc_no_link = xyes; then
71627 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71630 /* end confdefs.h. */
71633 main ()
71635 return 0;
71637 return 0;
71639 _ACEOF
71640 if ac_fn_c_try_link "$LINENO"; then :
71641 glibcxx_shared_libgcc=yes
71643 rm -f core conftest.err conftest.$ac_objext \
71644 conftest$ac_exeext conftest.$ac_ext
71645 CFLAGS="$ac_save_CFLAGS"
71648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
71649 $as_echo "$glibcxx_shared_libgcc" >&6; }
71651 # For GNU ld, we need at least this version. The format is described in
71652 # GLIBCXX_CHECK_LINKER_FEATURES above.
71653 glibcxx_min_gnu_ld_version=21400
71655 # If no shared libgcc, can't win.
71656 if test $glibcxx_shared_libgcc != yes; then
71657 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71658 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
71660 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
71661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71662 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71663 enable_symvers=no
71664 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
71665 : All interesting versions of Sun ld support sun style symbol versioning.
71666 elif test $with_gnu_ld != yes ; then
71667 # just fail for now
71668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
71669 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
71670 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
71671 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
71672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71673 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71674 enable_symvers=no
71675 elif test $glibcxx_ld_is_gold = yes ; then
71676 : All versions of gold support symbol versioning.
71677 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
71678 # The right tools, the right setup, but too old. Fallbacks?
71679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
71680 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
71681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
71682 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
71684 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
71685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
71686 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
71687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
71688 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
71689 enable_symvers=no
71693 # For libtool versioning info, format is CURRENT:REVISION:AGE
71694 libtool_VERSION=6:19:0
71696 # Everything parsed; figure out what files and settings to use.
71697 case $enable_symvers in
71699 SYMVER_FILE=config/abi/pre/none.ver
71701 gnu)
71702 SYMVER_FILE=config/abi/pre/gnu.ver
71704 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
71707 gnu-versioned-namespace)
71708 libtool_VERSION=7:0:0
71709 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
71711 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
71714 darwin)
71715 SYMVER_FILE=config/abi/pre/gnu.ver
71717 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
71720 sun)
71721 SYMVER_FILE=config/abi/pre/gnu.ver
71723 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
71726 esac
71728 if test x$enable_symvers != xno ; then
71730 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
71734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
71735 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
71736 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
71737 $as_echo_n "(cached) " >&6
71738 else
71740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71741 /* end confdefs.h. */
71742 void foo (void); __asm (".symver foo, bar@SYMVER");
71744 main ()
71748 return 0;
71750 _ACEOF
71751 if ac_fn_c_try_compile "$LINENO"; then :
71752 glibcxx_cv_have_as_symver_directive=yes
71753 else
71754 glibcxx_cv_have_as_symver_directive=no
71756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
71759 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
71760 if test $glibcxx_cv_have_as_symver_directive = yes; then
71762 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
71773 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
71774 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
71776 if test $enable_symvers != no ; then
71777 case ${target_os} in
71778 # The Solaris 2 runtime linker doesn't support the GNU extension of
71779 # binding the same symbol to different versions
71780 solaris2*)
71782 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
71785 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
71788 esac
71791 # Now, set up compatibility support, if any.
71792 # In addition, need this to deal with std::size_t mangling in
71793 # src/compatibility.cc. In a perfect world, could use
71794 # typeid(std::size_t).name()[0] to do direct substitution.
71795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
71796 $as_echo_n "checking for size_t as unsigned int... " >&6; }
71797 ac_save_CFLAGS="$CFLAGS"
71798 CFLAGS="-Werror"
71799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71800 /* end confdefs.h. */
71803 main ()
71805 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
71807 return 0;
71809 _ACEOF
71810 if ac_fn_c_try_compile "$LINENO"; then :
71811 glibcxx_size_t_is_i=yes
71812 else
71813 glibcxx_size_t_is_i=no
71815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71816 CFLAGS=$ac_save_CFLAGS
71817 if test "$glibcxx_size_t_is_i" = yes; then
71819 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
71822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
71823 $as_echo "$glibcxx_size_t_is_i" >&6; }
71825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
71826 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
71827 ac_save_CFLAGS="$CFLAGS"
71828 CFLAGS="-Werror"
71829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71830 /* end confdefs.h. */
71833 main ()
71835 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
71837 return 0;
71839 _ACEOF
71840 if ac_fn_c_try_compile "$LINENO"; then :
71841 glibcxx_ptrdiff_t_is_i=yes
71842 else
71843 glibcxx_ptrdiff_t_is_i=no
71845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71846 CFLAGS=$ac_save_CFLAGS
71847 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
71849 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
71852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
71853 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
71858 # Check whether --enable-libstdcxx-visibility was given.
71859 if test "${enable_libstdcxx_visibility+set}" = set; then :
71860 enableval=$enable_libstdcxx_visibility;
71861 case "$enableval" in
71862 yes|no) ;;
71863 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
71864 esac
71866 else
71867 enable_libstdcxx_visibility=yes
71872 if test x$enable_libstdcxx_visibility = xyes ; then
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
71874 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
71875 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
71876 $as_echo_n "(cached) " >&6
71877 else
71879 save_CFLAGS="$CFLAGS"
71880 CFLAGS="$CFLAGS -Werror"
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71883 void __attribute__((visibility("hidden"))) foo(void) { }
71885 main ()
71889 return 0;
71891 _ACEOF
71892 if ac_fn_c_try_compile "$LINENO"; then :
71893 glibcxx_cv_have_attribute_visibility=yes
71894 else
71895 glibcxx_cv_have_attribute_visibility=no
71897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71898 CFLAGS="$save_CFLAGS"
71900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
71901 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
71902 if test $glibcxx_cv_have_attribute_visibility = no; then
71903 enable_libstdcxx_visibility=no
71908 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
71909 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
71912 ac_ldbl_compat=no
71913 case "$target" in
71914 powerpc*-*-linux* | \
71915 sparc*-*-linux* | \
71916 s390*-*-linux* | \
71917 alpha*-*-linux*)
71918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71919 /* end confdefs.h. */
71922 main ()
71925 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
71926 #error no need for long double compatibility
71927 #endif
71930 return 0;
71932 _ACEOF
71933 if ac_fn_c_try_compile "$LINENO"; then :
71934 ac_ldbl_compat=yes
71935 else
71936 ac_ldbl_compat=no
71938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71939 if test "$ac_ldbl_compat" = yes; then
71941 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
71943 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
71945 esac
71948 # Check if assembler supports disabling hardware capability support.
71950 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
71952 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
71953 # with a different meaning.
71954 case ${target_os} in
71955 solaris2*)
71956 ac_save_CFLAGS="$CFLAGS"
71957 CFLAGS="$CFLAGS -Wa,-nH"
71959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
71960 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
71961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71962 /* end confdefs.h. */
71965 main ()
71967 return 0;
71969 return 0;
71971 _ACEOF
71972 if ac_fn_c_try_compile "$LINENO"; then :
71973 ac_hwcap_flags=yes
71974 else
71975 ac_hwcap_flags=no
71977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71978 if test "$ac_hwcap_flags" = "yes"; then
71979 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
71981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
71982 $as_echo "$ac_hwcap_flags" >&6; }
71984 CFLAGS="$ac_save_CFLAGS"
71986 esac
71991 # Check if assembler supports rdrand opcode.
71993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
71994 $as_echo_n "checking for rdrand support in assembler... " >&6; }
71995 if test "${ac_cv_x86_rdrand+set}" = set; then :
71996 $as_echo_n "(cached) " >&6
71997 else
71999 ac_cv_x86_rdrand=no
72000 case "$target" in
72001 i?86-*-* | \
72002 x86_64-*-*)
72003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72004 /* end confdefs.h. */
72007 main ()
72009 asm("rdrand %eax");
72011 return 0;
72013 _ACEOF
72014 if ac_fn_c_try_compile "$LINENO"; then :
72015 ac_cv_x86_rdrand=yes
72016 else
72017 ac_cv_x86_rdrand=no
72019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72020 esac
72024 if test $ac_cv_x86_rdrand = yes; then
72026 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
72029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
72030 $as_echo "$ac_cv_x86_rdrand" >&6; }
72033 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
72035 if $GLIBCXX_IS_NATIVE ; then
72036 # Do checks for resource limit functions.
72038 setrlimit_have_headers=yes
72039 for ac_header in unistd.h sys/time.h sys/resource.h
72040 do :
72041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
72042 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
72043 eval as_val=\$$as_ac_Header
72044 if test "x$as_val" = x""yes; then :
72045 cat >>confdefs.h <<_ACEOF
72046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
72047 _ACEOF
72049 else
72050 setrlimit_have_headers=no
72053 done
72055 # If don't have the headers, then we can't run the tests now, and we
72056 # won't be seeing any of these during testsuite compilation.
72057 if test $setrlimit_have_headers = yes; then
72058 # Can't do these in a loop, else the resulting syntax is wrong.
72060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
72061 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
72062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72063 /* end confdefs.h. */
72064 #include <unistd.h>
72065 #include <sys/time.h>
72066 #include <sys/resource.h>
72069 main ()
72071 int f = RLIMIT_DATA ;
72073 return 0;
72075 _ACEOF
72076 if ac_fn_c_try_compile "$LINENO"; then :
72077 glibcxx_mresult=1
72078 else
72079 glibcxx_mresult=0
72081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72083 cat >>confdefs.h <<_ACEOF
72084 #define HAVE_LIMIT_DATA $glibcxx_mresult
72085 _ACEOF
72087 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72089 $as_echo "$res" >&6; }
72092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
72093 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
72094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72095 /* end confdefs.h. */
72096 #include <unistd.h>
72097 #include <sys/time.h>
72098 #include <sys/resource.h>
72101 main ()
72103 int f = RLIMIT_RSS ;
72105 return 0;
72107 _ACEOF
72108 if ac_fn_c_try_compile "$LINENO"; then :
72109 glibcxx_mresult=1
72110 else
72111 glibcxx_mresult=0
72113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115 cat >>confdefs.h <<_ACEOF
72116 #define HAVE_LIMIT_RSS $glibcxx_mresult
72117 _ACEOF
72119 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72121 $as_echo "$res" >&6; }
72124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
72125 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
72126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72127 /* end confdefs.h. */
72128 #include <unistd.h>
72129 #include <sys/time.h>
72130 #include <sys/resource.h>
72133 main ()
72135 int f = RLIMIT_VMEM ;
72137 return 0;
72139 _ACEOF
72140 if ac_fn_c_try_compile "$LINENO"; then :
72141 glibcxx_mresult=1
72142 else
72143 glibcxx_mresult=0
72145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72147 cat >>confdefs.h <<_ACEOF
72148 #define HAVE_LIMIT_VMEM $glibcxx_mresult
72149 _ACEOF
72151 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72153 $as_echo "$res" >&6; }
72156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
72157 $as_echo_n "checking for RLIMIT_AS... " >&6; }
72158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72159 /* end confdefs.h. */
72160 #include <unistd.h>
72161 #include <sys/time.h>
72162 #include <sys/resource.h>
72165 main ()
72167 int f = RLIMIT_AS ;
72169 return 0;
72171 _ACEOF
72172 if ac_fn_c_try_compile "$LINENO"; then :
72173 glibcxx_mresult=1
72174 else
72175 glibcxx_mresult=0
72177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72179 cat >>confdefs.h <<_ACEOF
72180 #define HAVE_LIMIT_AS $glibcxx_mresult
72181 _ACEOF
72183 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72185 $as_echo "$res" >&6; }
72188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
72189 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
72190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72191 /* end confdefs.h. */
72192 #include <unistd.h>
72193 #include <sys/time.h>
72194 #include <sys/resource.h>
72197 main ()
72199 int f = RLIMIT_FSIZE ;
72201 return 0;
72203 _ACEOF
72204 if ac_fn_c_try_compile "$LINENO"; then :
72205 glibcxx_mresult=1
72206 else
72207 glibcxx_mresult=0
72209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72211 cat >>confdefs.h <<_ACEOF
72212 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
72213 _ACEOF
72215 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
72216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
72217 $as_echo "$res" >&6; }
72220 # Check for rlimit, setrlimit.
72221 if test "${glibcxx_cv_setrlimit+set}" = set; then :
72222 $as_echo_n "(cached) " >&6
72223 else
72225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72226 /* end confdefs.h. */
72227 #include <unistd.h>
72228 #include <sys/time.h>
72229 #include <sys/resource.h>
72232 main ()
72234 struct rlimit r;
72235 setrlimit(0, &r);
72237 return 0;
72239 _ACEOF
72240 if ac_fn_c_try_compile "$LINENO"; then :
72241 glibcxx_cv_setrlimit=yes
72242 else
72243 glibcxx_cv_setrlimit=no
72245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
72252 $as_echo_n "checking for testsuite resource limits support... " >&6; }
72253 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
72254 ac_res_limits=yes
72256 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
72258 else
72259 ac_res_limits=no
72261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
72262 $as_echo "$ac_res_limits" >&6; }
72265 # Look for setenv, so that extended locale tests can be performed.
72267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
72268 $as_echo_n "checking for setenv declaration... " >&6; }
72269 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
72270 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
72271 $as_echo_n "(cached) " >&6
72272 else
72275 ac_ext=cpp
72276 ac_cpp='$CXXCPP $CPPFLAGS'
72277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72282 /* end confdefs.h. */
72283 #include <stdlib.h>
72285 main ()
72287 setenv(0, 0, 0);
72289 return 0;
72291 _ACEOF
72292 if ac_fn_cxx_try_compile "$LINENO"; then :
72293 glibcxx_cv_func_setenv_use=yes
72294 else
72295 glibcxx_cv_func_setenv_use=no
72297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72298 ac_ext=c
72299 ac_cpp='$CPP $CPPFLAGS'
72300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
72309 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
72310 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
72311 for ac_func in setenv
72312 do :
72313 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
72314 if test "x$ac_cv_func_setenv" = x""yes; then :
72315 cat >>confdefs.h <<_ACEOF
72316 #define HAVE_SETENV 1
72317 _ACEOF
72320 done
72326 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
72327 test $enable_symvers != no; then
72328 case "$host" in
72329 *-*-cygwin*)
72330 enable_abi_check=no ;;
72332 enable_abi_check=yes ;;
72333 esac
72334 else
72335 # Only build this as native, since automake does not understand
72336 # CXX_FOR_BUILD.
72337 enable_abi_check=no
72340 # Export file names for ABI checking.
72341 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
72343 baseline_subdir_switch="$abi_baseline_subdir_switch"
72347 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
72349 # Check whether --enable-libstdcxx-threads was given.
72350 if test "${enable_libstdcxx_threads+set}" = set; then :
72351 enableval=$enable_libstdcxx_threads;
72352 case "$enableval" in
72353 yes|no) ;;
72354 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
72355 esac
72357 else
72358 enable_libstdcxx_threads=auto
72363 if test x$enable_libstdcxx_threads = xauto ||
72364 test x$enable_libstdcxx_threads = xyes; then
72367 ac_ext=cpp
72368 ac_cpp='$CXXCPP $CPPFLAGS'
72369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72374 ac_save_CXXFLAGS="$CXXFLAGS"
72375 CXXFLAGS="$CXXFLAGS -fno-exceptions \
72376 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
72378 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
72379 case $target_thread_file in
72380 posix)
72381 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
72382 esac
72384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
72385 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
72387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72388 /* end confdefs.h. */
72389 #include <unistd.h>
72391 main ()
72394 // In case of POSIX threads check _POSIX_TIMEOUTS.
72395 #if (defined(_PTHREADS) \
72396 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
72397 #error
72398 #endif
72401 return 0;
72403 _ACEOF
72404 if ac_fn_cxx_try_compile "$LINENO"; then :
72405 ac_gthread_use_mutex_timedlock=1
72406 else
72407 ac_gthread_use_mutex_timedlock=0
72409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72412 cat >>confdefs.h <<_ACEOF
72413 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
72414 _ACEOF
72417 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
72418 else res_mutex_timedlock=no ; fi
72419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
72420 $as_echo "$res_mutex_timedlock" >&6; }
72422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
72423 $as_echo_n "checking for gthreads library... " >&6; }
72425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72426 /* end confdefs.h. */
72427 #include "gthr.h"
72429 main ()
72432 #ifndef __GTHREADS_CXX0X
72433 #error
72434 #endif
72437 return 0;
72439 _ACEOF
72440 if ac_fn_cxx_try_compile "$LINENO"; then :
72441 case $target_os in
72442 # gthreads support breaks symbol versioning on Solaris 9 (PR
72443 # libstdc++/52189).
72444 solaris2.9*)
72445 if test x$enable_symvers = xno; then
72446 ac_has_gthreads=yes
72447 elif test x$enable_libstdcxx_threads = xyes; then
72448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
72449 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
72450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
72451 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
72452 ac_has_gthreads=yes
72453 else
72454 ac_has_gthreads=no
72458 ac_has_gthreads=yes
72460 esac
72461 else
72462 ac_has_gthreads=no
72464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72465 else
72466 ac_has_gthreads=no
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
72470 $as_echo "$ac_has_gthreads" >&6; }
72472 if test x"$ac_has_gthreads" = x"yes"; then
72474 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
72478 CXXFLAGS="$ac_save_CXXFLAGS"
72479 ac_ext=c
72480 ac_cpp='$CPP $CPPFLAGS'
72481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72487 # Define documentation rules conditionally.
72489 # See if makeinfo has been installed and is modern enough
72490 # that we can use it.
72492 # Extract the first word of "makeinfo", so it can be a program name with args.
72493 set dummy makeinfo; ac_word=$2
72494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72495 $as_echo_n "checking for $ac_word... " >&6; }
72496 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
72497 $as_echo_n "(cached) " >&6
72498 else
72499 if test -n "$MAKEINFO"; then
72500 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72501 else
72502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72503 for as_dir in $PATH
72505 IFS=$as_save_IFS
72506 test -z "$as_dir" && as_dir=.
72507 for ac_exec_ext in '' $ac_executable_extensions; do
72508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72509 ac_cv_prog_MAKEINFO="makeinfo"
72510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72511 break 2
72513 done
72514 done
72515 IFS=$as_save_IFS
72519 MAKEINFO=$ac_cv_prog_MAKEINFO
72520 if test -n "$MAKEINFO"; then
72521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72522 $as_echo "$MAKEINFO" >&6; }
72523 else
72524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72525 $as_echo "no" >&6; }
72529 if test -n "$MAKEINFO"; then
72530 # Found it, now check the version.
72531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72532 $as_echo_n "checking for modern makeinfo... " >&6; }
72533 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
72534 $as_echo_n "(cached) " >&6
72535 else
72536 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72537 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72539 case $ac_prog_version in
72540 '') gcc_cv_prog_makeinfo_modern=no;;
72541 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72542 *) gcc_cv_prog_makeinfo_modern=no;;
72543 esac
72546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72547 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72548 else
72549 gcc_cv_prog_makeinfo_modern=no
72551 if test $gcc_cv_prog_makeinfo_modern = no; then
72552 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72555 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72556 BUILD_INFO_TRUE=
72557 BUILD_INFO_FALSE='#'
72558 else
72559 BUILD_INFO_TRUE='#'
72560 BUILD_INFO_FALSE=
72564 # Check for doxygen
72565 # Extract the first word of "doxygen", so it can be a program name with args.
72566 set dummy doxygen; ac_word=$2
72567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72568 $as_echo_n "checking for $ac_word... " >&6; }
72569 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
72570 $as_echo_n "(cached) " >&6
72571 else
72572 if test -n "$DOXYGEN"; then
72573 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72574 else
72575 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72576 for as_dir in $PATH
72578 IFS=$as_save_IFS
72579 test -z "$as_dir" && as_dir=.
72580 for ac_exec_ext in '' $ac_executable_extensions; do
72581 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72582 ac_cv_prog_DOXYGEN="yes"
72583 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72584 break 2
72586 done
72587 done
72588 IFS=$as_save_IFS
72590 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72593 DOXYGEN=$ac_cv_prog_DOXYGEN
72594 if test -n "$DOXYGEN"; then
72595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72596 $as_echo "$DOXYGEN" >&6; }
72597 else
72598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72599 $as_echo "no" >&6; }
72603 # Extract the first word of "dot", so it can be a program name with args.
72604 set dummy dot; ac_word=$2
72605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72606 $as_echo_n "checking for $ac_word... " >&6; }
72607 if test "${ac_cv_prog_DOT+set}" = set; then :
72608 $as_echo_n "(cached) " >&6
72609 else
72610 if test -n "$DOT"; then
72611 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72612 else
72613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72614 for as_dir in $PATH
72616 IFS=$as_save_IFS
72617 test -z "$as_dir" && as_dir=.
72618 for ac_exec_ext in '' $ac_executable_extensions; do
72619 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72620 ac_cv_prog_DOT="yes"
72621 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72622 break 2
72624 done
72625 done
72626 IFS=$as_save_IFS
72628 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72631 DOT=$ac_cv_prog_DOT
72632 if test -n "$DOT"; then
72633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72634 $as_echo "$DOT" >&6; }
72635 else
72636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72637 $as_echo "no" >&6; }
72642 # Check for docbook
72643 # Extract the first word of "xsltproc", so it can be a program name with args.
72644 set dummy xsltproc; ac_word=$2
72645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72646 $as_echo_n "checking for $ac_word... " >&6; }
72647 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
72648 $as_echo_n "(cached) " >&6
72649 else
72650 if test -n "$XSLTPROC"; then
72651 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72652 else
72653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72654 for as_dir in $PATH
72656 IFS=$as_save_IFS
72657 test -z "$as_dir" && as_dir=.
72658 for ac_exec_ext in '' $ac_executable_extensions; do
72659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72660 ac_cv_prog_XSLTPROC="yes"
72661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72662 break 2
72664 done
72665 done
72666 IFS=$as_save_IFS
72668 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72671 XSLTPROC=$ac_cv_prog_XSLTPROC
72672 if test -n "$XSLTPROC"; then
72673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72674 $as_echo "$XSLTPROC" >&6; }
72675 else
72676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72677 $as_echo "no" >&6; }
72681 # Extract the first word of "xmllint", so it can be a program name with args.
72682 set dummy xmllint; ac_word=$2
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72684 $as_echo_n "checking for $ac_word... " >&6; }
72685 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
72686 $as_echo_n "(cached) " >&6
72687 else
72688 if test -n "$XMLLINT"; then
72689 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72690 else
72691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72692 for as_dir in $PATH
72694 IFS=$as_save_IFS
72695 test -z "$as_dir" && as_dir=.
72696 for ac_exec_ext in '' $ac_executable_extensions; do
72697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72698 ac_cv_prog_XMLLINT="yes"
72699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72700 break 2
72702 done
72703 done
72704 IFS=$as_save_IFS
72706 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72709 XMLLINT=$ac_cv_prog_XMLLINT
72710 if test -n "$XMLLINT"; then
72711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72712 $as_echo "$XMLLINT" >&6; }
72713 else
72714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72715 $as_echo "no" >&6; }
72721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72722 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72723 glibcxx_stylesheets=no
72724 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
72725 glibcxx_stylesheets=yes
72727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72728 $as_echo "$glibcxx_stylesheets" >&6; }
72730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72731 $as_echo_n "checking for local stylesheet directory... " >&6; }
72732 glibcxx_local_stylesheets=no
72733 if test x"$glibcxx_stylesheets" = x"yes"; then
72734 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
72735 glibcxx_local_stylesheets=yes
72736 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
72738 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
72739 glibcxx_local_stylesheets=yes
72740 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
72742 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
72743 glibcxx_local_stylesheets=yes
72744 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
72747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72748 $as_echo "$glibcxx_local_stylesheets" >&6; }
72750 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72752 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72753 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72754 else
72755 glibcxx_stylesheets=no
72758 # Check for epub3 dependencies.
72759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72760 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72761 glibcxx_epub_stylesheets=no
72762 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72763 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72764 glibcxx_epub_stylesheets=yes
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72768 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72769 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72770 BUILD_EPUB_TRUE=
72771 BUILD_EPUB_FALSE='#'
72772 else
72773 BUILD_EPUB_TRUE='#'
72774 BUILD_EPUB_FALSE=
72780 # Check for xml/html dependencies.
72781 if test $ac_cv_prog_DOXYGEN = "yes" &&
72782 test $ac_cv_prog_DOT = "yes" &&
72783 test $ac_cv_prog_XSLTPROC = "yes" &&
72784 test $ac_cv_prog_XMLLINT = "yes" &&
72785 test $glibcxx_stylesheets = "yes"; then
72786 BUILD_XML_TRUE=
72787 BUILD_XML_FALSE='#'
72788 else
72789 BUILD_XML_TRUE='#'
72790 BUILD_XML_FALSE=
72794 if test $ac_cv_prog_DOXYGEN = "yes" &&
72795 test $ac_cv_prog_DOT = "yes" &&
72796 test $ac_cv_prog_XSLTPROC = "yes" &&
72797 test $ac_cv_prog_XMLLINT = "yes" &&
72798 test $glibcxx_stylesheets = "yes"; then
72799 BUILD_HTML_TRUE=
72800 BUILD_HTML_FALSE='#'
72801 else
72802 BUILD_HTML_TRUE='#'
72803 BUILD_HTML_FALSE=
72807 # Check for man dependencies.
72808 if test $ac_cv_prog_DOXYGEN = "yes" &&
72809 test $ac_cv_prog_DOT = "yes"; then
72810 BUILD_MAN_TRUE=
72811 BUILD_MAN_FALSE='#'
72812 else
72813 BUILD_MAN_TRUE='#'
72814 BUILD_MAN_FALSE=
72818 # Check for pdf dependencies.
72819 # Extract the first word of "dblatex", so it can be a program name with args.
72820 set dummy dblatex; ac_word=$2
72821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72822 $as_echo_n "checking for $ac_word... " >&6; }
72823 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
72824 $as_echo_n "(cached) " >&6
72825 else
72826 if test -n "$DBLATEX"; then
72827 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72828 else
72829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72830 for as_dir in $PATH
72832 IFS=$as_save_IFS
72833 test -z "$as_dir" && as_dir=.
72834 for ac_exec_ext in '' $ac_executable_extensions; do
72835 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72836 ac_cv_prog_DBLATEX="yes"
72837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72838 break 2
72840 done
72841 done
72842 IFS=$as_save_IFS
72844 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72847 DBLATEX=$ac_cv_prog_DBLATEX
72848 if test -n "$DBLATEX"; then
72849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72850 $as_echo "$DBLATEX" >&6; }
72851 else
72852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72853 $as_echo "no" >&6; }
72857 # Extract the first word of "pdflatex", so it can be a program name with args.
72858 set dummy pdflatex; ac_word=$2
72859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72860 $as_echo_n "checking for $ac_word... " >&6; }
72861 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
72862 $as_echo_n "(cached) " >&6
72863 else
72864 if test -n "$PDFLATEX"; then
72865 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72866 else
72867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72868 for as_dir in $PATH
72870 IFS=$as_save_IFS
72871 test -z "$as_dir" && as_dir=.
72872 for ac_exec_ext in '' $ac_executable_extensions; do
72873 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
72874 ac_cv_prog_PDFLATEX="yes"
72875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72876 break 2
72878 done
72879 done
72880 IFS=$as_save_IFS
72882 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72885 PDFLATEX=$ac_cv_prog_PDFLATEX
72886 if test -n "$PDFLATEX"; then
72887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72888 $as_echo "$PDFLATEX" >&6; }
72889 else
72890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72891 $as_echo "no" >&6; }
72895 if test $ac_cv_prog_DBLATEX = "yes" &&
72896 test $ac_cv_prog_PDFLATEX = "yes"; then
72897 BUILD_PDF_TRUE=
72898 BUILD_PDF_FALSE='#'
72899 else
72900 BUILD_PDF_TRUE='#'
72901 BUILD_PDF_FALSE=
72906 # Propagate the target-specific source directories through the build chain.
72907 ATOMICITY_SRCDIR=config/${atomicity_dir}
72908 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72909 ATOMIC_FLAGS=${atomic_flags}
72910 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72911 OS_INC_SRCDIR=config/${os_include_dir}
72912 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72913 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72914 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72915 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72927 # Determine cross-compile flags and AM_CONDITIONALs.
72928 #AC_SUBST(GLIBCXX_IS_NATIVE)
72929 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72930 if test $is_hosted = yes; then
72931 GLIBCXX_HOSTED_TRUE=
72932 GLIBCXX_HOSTED_FALSE='#'
72933 else
72934 GLIBCXX_HOSTED_TRUE='#'
72935 GLIBCXX_HOSTED_FALSE=
72939 if test $enable_libstdcxx_pch = yes; then
72940 GLIBCXX_BUILD_PCH_TRUE=
72941 GLIBCXX_BUILD_PCH_FALSE='#'
72942 else
72943 GLIBCXX_BUILD_PCH_TRUE='#'
72944 GLIBCXX_BUILD_PCH_FALSE=
72948 if test $enable_cheaders = c; then
72949 GLIBCXX_C_HEADERS_C_TRUE=
72950 GLIBCXX_C_HEADERS_C_FALSE='#'
72951 else
72952 GLIBCXX_C_HEADERS_C_TRUE='#'
72953 GLIBCXX_C_HEADERS_C_FALSE=
72957 if test $enable_cheaders = c_std; then
72958 GLIBCXX_C_HEADERS_C_STD_TRUE=
72959 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72960 else
72961 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72962 GLIBCXX_C_HEADERS_C_STD_FALSE=
72966 if test $enable_cheaders = c_global; then
72967 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72968 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72969 else
72970 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72971 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72975 if test $c_compatibility = yes; then
72976 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72977 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72978 else
72979 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72980 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
72984 if test $enable_libstdcxx_debug = yes; then
72985 GLIBCXX_BUILD_DEBUG_TRUE=
72986 GLIBCXX_BUILD_DEBUG_FALSE='#'
72987 else
72988 GLIBCXX_BUILD_DEBUG_TRUE='#'
72989 GLIBCXX_BUILD_DEBUG_FALSE=
72993 if test $enable_extern_template = yes; then
72994 ENABLE_EXTERN_TEMPLATE_TRUE=
72995 ENABLE_EXTERN_TEMPLATE_FALSE='#'
72996 else
72997 ENABLE_EXTERN_TEMPLATE_TRUE='#'
72998 ENABLE_EXTERN_TEMPLATE_FALSE=
73002 if test $python_mod_dir != no; then
73003 ENABLE_PYTHONDIR_TRUE=
73004 ENABLE_PYTHONDIR_FALSE='#'
73005 else
73006 ENABLE_PYTHONDIR_TRUE='#'
73007 ENABLE_PYTHONDIR_FALSE=
73011 if test $enable_werror = yes; then
73012 ENABLE_WERROR_TRUE=
73013 ENABLE_WERROR_FALSE='#'
73014 else
73015 ENABLE_WERROR_TRUE='#'
73016 ENABLE_WERROR_FALSE=
73020 if test $enable_vtable_verify = yes; then
73021 ENABLE_VTABLE_VERIFY_TRUE=
73022 ENABLE_VTABLE_VERIFY_FALSE='#'
73023 else
73024 ENABLE_VTABLE_VERIFY_TRUE='#'
73025 ENABLE_VTABLE_VERIFY_FALSE=
73029 if test $enable_symvers != no; then
73030 ENABLE_SYMVERS_TRUE=
73031 ENABLE_SYMVERS_FALSE='#'
73032 else
73033 ENABLE_SYMVERS_TRUE='#'
73034 ENABLE_SYMVERS_FALSE=
73038 if test $enable_symvers = gnu; then
73039 ENABLE_SYMVERS_GNU_TRUE=
73040 ENABLE_SYMVERS_GNU_FALSE='#'
73041 else
73042 ENABLE_SYMVERS_GNU_TRUE='#'
73043 ENABLE_SYMVERS_GNU_FALSE=
73047 if test $enable_symvers = gnu-versioned-namespace; then
73048 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73049 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73050 else
73051 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73052 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73056 if test $enable_symvers = darwin; then
73057 ENABLE_SYMVERS_DARWIN_TRUE=
73058 ENABLE_SYMVERS_DARWIN_FALSE='#'
73059 else
73060 ENABLE_SYMVERS_DARWIN_TRUE='#'
73061 ENABLE_SYMVERS_DARWIN_FALSE=
73065 if test $enable_symvers = sun; then
73066 ENABLE_SYMVERS_SUN_TRUE=
73067 ENABLE_SYMVERS_SUN_FALSE='#'
73068 else
73069 ENABLE_SYMVERS_SUN_TRUE='#'
73070 ENABLE_SYMVERS_SUN_FALSE=
73074 if test $enable_libstdcxx_visibility = yes; then
73075 ENABLE_VISIBILITY_TRUE=
73076 ENABLE_VISIBILITY_FALSE='#'
73077 else
73078 ENABLE_VISIBILITY_TRUE='#'
73079 ENABLE_VISIBILITY_FALSE=
73083 if test $ac_ldbl_compat = yes; then
73084 GLIBCXX_LDBL_COMPAT_TRUE=
73085 GLIBCXX_LDBL_COMPAT_FALSE='#'
73086 else
73087 GLIBCXX_LDBL_COMPAT_TRUE='#'
73088 GLIBCXX_LDBL_COMPAT_FALSE=
73094 cat >confcache <<\_ACEOF
73095 # This file is a shell script that caches the results of configure
73096 # tests run on this system so they can be shared between configure
73097 # scripts and configure runs, see configure's option --config-cache.
73098 # It is not useful on other systems. If it contains results you don't
73099 # want to keep, you may remove or edit it.
73101 # config.status only pays attention to the cache file if you give it
73102 # the --recheck option to rerun configure.
73104 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73105 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73106 # following values.
73108 _ACEOF
73110 # The following way of writing the cache mishandles newlines in values,
73111 # but we know of no workaround that is simple, portable, and efficient.
73112 # So, we kill variables containing newlines.
73113 # Ultrix sh set writes to stderr and can't be redirected directly,
73114 # and sets the high bit in the cache file unless we assign to the vars.
73116 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73117 eval ac_val=\$$ac_var
73118 case $ac_val in #(
73119 *${as_nl}*)
73120 case $ac_var in #(
73121 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73122 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73123 esac
73124 case $ac_var in #(
73125 _ | IFS | as_nl) ;; #(
73126 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73127 *) { eval $ac_var=; unset $ac_var;} ;;
73128 esac ;;
73129 esac
73130 done
73132 (set) 2>&1 |
73133 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73134 *${as_nl}ac_space=\ *)
73135 # `set' does not quote correctly, so add quotes: double-quote
73136 # substitution turns \\\\ into \\, and sed turns \\ into \.
73137 sed -n \
73138 "s/'/'\\\\''/g;
73139 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73140 ;; #(
73142 # `set' quotes correctly as required by POSIX, so do not add quotes.
73143 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73145 esac |
73146 sort
73148 sed '
73149 /^ac_cv_env_/b end
73150 t clear
73151 :clear
73152 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73153 t end
73154 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73155 :end' >>confcache
73156 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73157 if test -w "$cache_file"; then
73158 test "x$cache_file" != "x/dev/null" &&
73159 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73160 $as_echo "$as_me: updating cache $cache_file" >&6;}
73161 cat confcache >$cache_file
73162 else
73163 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73164 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73167 rm -f confcache
73169 if test ${multilib} = yes; then
73170 multilib_arg="--enable-multilib"
73171 else
73172 multilib_arg=
73175 # Export all the install information.
73177 glibcxx_toolexecdir=no
73178 glibcxx_toolexeclibdir=no
73179 glibcxx_prefixdir=$prefix
73181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73182 $as_echo_n "checking for gxx-include-dir... " >&6; }
73184 # Check whether --with-gxx-include-dir was given.
73185 if test "${with_gxx_include_dir+set}" = set; then :
73186 withval=$with_gxx_include_dir; case "$withval" in
73187 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73188 no) gxx_include_dir=no ;;
73189 *) gxx_include_dir=$withval ;;
73190 esac
73191 else
73192 gxx_include_dir=no
73195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73196 $as_echo "$gxx_include_dir" >&6; }
73198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73199 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73200 # Check whether --enable-version-specific-runtime-libs was given.
73201 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73202 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73203 yes) version_specific_libs=yes ;;
73204 no) version_specific_libs=no ;;
73205 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73206 esac
73207 else
73208 version_specific_libs=no
73211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73212 $as_echo "$version_specific_libs" >&6; }
73214 # Default case for install directory for include files.
73215 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73216 gxx_include_dir='include/c++/${gcc_version}'
73217 if test -n "$with_cross_host" &&
73218 test x"$with_cross_host" != x"no"; then
73219 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73220 else
73221 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73225 # Version-specific runtime libs processing.
73226 if test $version_specific_libs = yes; then
73227 # Need the gcc compiler version to know where to install libraries
73228 # and header files if --enable-version-specific-runtime-libs option
73229 # is selected. FIXME: these variables are misnamed, there are
73230 # no executables installed in _toolexecdir or _toolexeclibdir.
73231 if test x"$gxx_include_dir" = x"no"; then
73232 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73234 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73235 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73238 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73239 # Install a library built with a cross compiler in tooldir, not libdir.
73240 if test x"$glibcxx_toolexecdir" = x"no"; then
73241 if test -n "$with_cross_host" &&
73242 test x"$with_cross_host" != x"no"; then
73243 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73244 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73245 else
73246 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73247 glibcxx_toolexeclibdir='${libdir}'
73249 multi_os_directory=`$CXX -print-multi-os-directory`
73250 case $multi_os_directory in
73251 .) ;; # Avoid trailing /.
73252 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73253 esac
73256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73257 $as_echo_n "checking for install location... " >&6; }
73258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73259 $as_echo "$gxx_include_dir" >&6; }
73267 # Export all the include and flag information to Makefiles.
73269 # Used for every C++ compile we perform.
73270 GLIBCXX_INCLUDES="\
73271 -I$glibcxx_builddir/include/$host_alias \
73272 -I$glibcxx_builddir/include \
73273 -I$glibcxx_srcdir/libsupc++"
73275 # For Canadian crosses, pick this up too.
73276 if test $CANADIAN = yes; then
73277 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73280 # Stuff in the actual top level. Currently only used by libsupc++ to
73281 # get unwind* headers from the libgcc dir.
73282 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73283 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73285 # Now, export this to all the little Makefiles....
73290 # Optimization flags that are probably a good idea for thrill-seekers. Just
73291 # uncomment the lines below and make, everything else is ready to go...
73292 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73293 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73296 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
73300 ac_config_files="$ac_config_files Makefile"
73302 ac_config_files="$ac_config_files scripts/testsuite_flags"
73304 ac_config_files="$ac_config_files scripts/extract_symvers"
73306 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73309 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73310 # that multilib installs will end up installed in the correct place.
73311 # The testsuite needs it for multilib-aware ABI baseline files.
73312 # To work around this not being passed down from config-ml.in ->
73313 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73314 # append it here. Only modify Makefiles that have just been created.
73316 # Also, get rid of this simulated-VPATH thing that automake does.
73317 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
73320 ac_config_commands="$ac_config_commands generate-headers"
73323 cat >confcache <<\_ACEOF
73324 # This file is a shell script that caches the results of configure
73325 # tests run on this system so they can be shared between configure
73326 # scripts and configure runs, see configure's option --config-cache.
73327 # It is not useful on other systems. If it contains results you don't
73328 # want to keep, you may remove or edit it.
73330 # config.status only pays attention to the cache file if you give it
73331 # the --recheck option to rerun configure.
73333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73335 # following values.
73337 _ACEOF
73339 # The following way of writing the cache mishandles newlines in values,
73340 # but we know of no workaround that is simple, portable, and efficient.
73341 # So, we kill variables containing newlines.
73342 # Ultrix sh set writes to stderr and can't be redirected directly,
73343 # and sets the high bit in the cache file unless we assign to the vars.
73345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73346 eval ac_val=\$$ac_var
73347 case $ac_val in #(
73348 *${as_nl}*)
73349 case $ac_var in #(
73350 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73352 esac
73353 case $ac_var in #(
73354 _ | IFS | as_nl) ;; #(
73355 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73356 *) { eval $ac_var=; unset $ac_var;} ;;
73357 esac ;;
73358 esac
73359 done
73361 (set) 2>&1 |
73362 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73363 *${as_nl}ac_space=\ *)
73364 # `set' does not quote correctly, so add quotes: double-quote
73365 # substitution turns \\\\ into \\, and sed turns \\ into \.
73366 sed -n \
73367 "s/'/'\\\\''/g;
73368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73369 ;; #(
73371 # `set' quotes correctly as required by POSIX, so do not add quotes.
73372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73374 esac |
73375 sort
73377 sed '
73378 /^ac_cv_env_/b end
73379 t clear
73380 :clear
73381 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73382 t end
73383 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73384 :end' >>confcache
73385 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73386 if test -w "$cache_file"; then
73387 test "x$cache_file" != "x/dev/null" &&
73388 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73389 $as_echo "$as_me: updating cache $cache_file" >&6;}
73390 cat confcache >$cache_file
73391 else
73392 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73393 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73396 rm -f confcache
73398 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73399 # Let make expand exec_prefix.
73400 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73402 DEFS=-DHAVE_CONFIG_H
73404 ac_libobjs=
73405 ac_ltlibobjs=
73406 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73407 # 1. Remove the extension, and $U if already installed.
73408 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73409 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73410 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73411 # will be set to the directory where LIBOBJS objects are built.
73412 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73413 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73414 done
73415 LIBOBJS=$ac_libobjs
73417 LTLIBOBJS=$ac_ltlibobjs
73420 if test -n "$EXEEXT"; then
73421 am__EXEEXT_TRUE=
73422 am__EXEEXT_FALSE='#'
73423 else
73424 am__EXEEXT_TRUE='#'
73425 am__EXEEXT_FALSE=
73428 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73429 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
73430 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73432 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73433 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
73434 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73436 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73437 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73438 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73440 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73441 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73442 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73444 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73445 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73446 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73448 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73449 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73450 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73452 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73453 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73454 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73456 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73457 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73458 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73460 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73461 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73462 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73464 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73465 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
73466 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73468 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73469 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
73470 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73472 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73473 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73474 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73476 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73477 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
73478 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73480 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73481 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73482 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73484 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73485 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73486 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73488 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73489 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73490 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73492 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73493 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73494 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73496 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73497 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
73498 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73500 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73501 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73504 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73505 as_fn_error "conditional \"BUILD_INFO\" was never defined.
73506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73508 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73509 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
73510 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73512 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73513 as_fn_error "conditional \"BUILD_XML\" was never defined.
73514 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73516 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73517 as_fn_error "conditional \"BUILD_HTML\" was never defined.
73518 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73520 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73521 as_fn_error "conditional \"BUILD_MAN\" was never defined.
73522 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73524 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73525 as_fn_error "conditional \"BUILD_PDF\" was never defined.
73526 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73529 : ${CONFIG_STATUS=./config.status}
73530 ac_write_fail=0
73531 ac_clean_files_save=$ac_clean_files
73532 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73533 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73534 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73535 as_write_fail=0
73536 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73537 #! $SHELL
73538 # Generated by $as_me.
73539 # Run this file to recreate the current configuration.
73540 # Compiler output produced by configure, useful for debugging
73541 # configure, is in config.log if it exists.
73543 debug=false
73544 ac_cs_recheck=false
73545 ac_cs_silent=false
73547 SHELL=\${CONFIG_SHELL-$SHELL}
73548 export SHELL
73549 _ASEOF
73550 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73551 ## -------------------- ##
73552 ## M4sh Initialization. ##
73553 ## -------------------- ##
73555 # Be more Bourne compatible
73556 DUALCASE=1; export DUALCASE # for MKS sh
73557 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73558 emulate sh
73559 NULLCMD=:
73560 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73561 # is contrary to our usage. Disable this feature.
73562 alias -g '${1+"$@"}'='"$@"'
73563 setopt NO_GLOB_SUBST
73564 else
73565 case `(set -o) 2>/dev/null` in #(
73566 *posix*) :
73567 set -o posix ;; #(
73568 *) :
73570 esac
73574 as_nl='
73576 export as_nl
73577 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73578 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73579 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73580 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73581 # Prefer a ksh shell builtin over an external printf program on Solaris,
73582 # but without wasting forks for bash or zsh.
73583 if test -z "$BASH_VERSION$ZSH_VERSION" \
73584 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73585 as_echo='print -r --'
73586 as_echo_n='print -rn --'
73587 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73588 as_echo='printf %s\n'
73589 as_echo_n='printf %s'
73590 else
73591 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73592 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73593 as_echo_n='/usr/ucb/echo -n'
73594 else
73595 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73596 as_echo_n_body='eval
73597 arg=$1;
73598 case $arg in #(
73599 *"$as_nl"*)
73600 expr "X$arg" : "X\\(.*\\)$as_nl";
73601 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73602 esac;
73603 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73605 export as_echo_n_body
73606 as_echo_n='sh -c $as_echo_n_body as_echo'
73608 export as_echo_body
73609 as_echo='sh -c $as_echo_body as_echo'
73612 # The user is always right.
73613 if test "${PATH_SEPARATOR+set}" != set; then
73614 PATH_SEPARATOR=:
73615 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73616 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73617 PATH_SEPARATOR=';'
73622 # IFS
73623 # We need space, tab and new line, in precisely that order. Quoting is
73624 # there to prevent editors from complaining about space-tab.
73625 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73626 # splitting by setting IFS to empty value.)
73627 IFS=" "" $as_nl"
73629 # Find who we are. Look in the path if we contain no directory separator.
73630 case $0 in #((
73631 *[\\/]* ) as_myself=$0 ;;
73632 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73633 for as_dir in $PATH
73635 IFS=$as_save_IFS
73636 test -z "$as_dir" && as_dir=.
73637 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73638 done
73639 IFS=$as_save_IFS
73642 esac
73643 # We did not find ourselves, most probably we were run as `sh COMMAND'
73644 # in which case we are not to be found in the path.
73645 if test "x$as_myself" = x; then
73646 as_myself=$0
73648 if test ! -f "$as_myself"; then
73649 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73650 exit 1
73653 # Unset variables that we do not need and which cause bugs (e.g. in
73654 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73655 # suppresses any "Segmentation fault" message there. '((' could
73656 # trigger a bug in pdksh 5.2.14.
73657 for as_var in BASH_ENV ENV MAIL MAILPATH
73658 do eval test x\${$as_var+set} = xset \
73659 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73660 done
73661 PS1='$ '
73662 PS2='> '
73663 PS4='+ '
73665 # NLS nuisances.
73666 LC_ALL=C
73667 export LC_ALL
73668 LANGUAGE=C
73669 export LANGUAGE
73671 # CDPATH.
73672 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73675 # as_fn_error ERROR [LINENO LOG_FD]
73676 # ---------------------------------
73677 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73678 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73679 # script with status $?, using 1 if that was 0.
73680 as_fn_error ()
73682 as_status=$?; test $as_status -eq 0 && as_status=1
73683 if test "$3"; then
73684 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73685 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
73687 $as_echo "$as_me: error: $1" >&2
73688 as_fn_exit $as_status
73689 } # as_fn_error
73692 # as_fn_set_status STATUS
73693 # -----------------------
73694 # Set $? to STATUS, without forking.
73695 as_fn_set_status ()
73697 return $1
73698 } # as_fn_set_status
73700 # as_fn_exit STATUS
73701 # -----------------
73702 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73703 as_fn_exit ()
73705 set +e
73706 as_fn_set_status $1
73707 exit $1
73708 } # as_fn_exit
73710 # as_fn_unset VAR
73711 # ---------------
73712 # Portably unset VAR.
73713 as_fn_unset ()
73715 { eval $1=; unset $1;}
73717 as_unset=as_fn_unset
73718 # as_fn_append VAR VALUE
73719 # ----------------------
73720 # Append the text in VALUE to the end of the definition contained in VAR. Take
73721 # advantage of any shell optimizations that allow amortized linear growth over
73722 # repeated appends, instead of the typical quadratic growth present in naive
73723 # implementations.
73724 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73725 eval 'as_fn_append ()
73727 eval $1+=\$2
73729 else
73730 as_fn_append ()
73732 eval $1=\$$1\$2
73734 fi # as_fn_append
73736 # as_fn_arith ARG...
73737 # ------------------
73738 # Perform arithmetic evaluation on the ARGs, and store the result in the
73739 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73740 # must be portable across $(()) and expr.
73741 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73742 eval 'as_fn_arith ()
73744 as_val=$(( $* ))
73746 else
73747 as_fn_arith ()
73749 as_val=`expr "$@" || test $? -eq 1`
73751 fi # as_fn_arith
73754 if expr a : '\(a\)' >/dev/null 2>&1 &&
73755 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73756 as_expr=expr
73757 else
73758 as_expr=false
73761 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73762 as_basename=basename
73763 else
73764 as_basename=false
73767 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73768 as_dirname=dirname
73769 else
73770 as_dirname=false
73773 as_me=`$as_basename -- "$0" ||
73774 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73775 X"$0" : 'X\(//\)$' \| \
73776 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73777 $as_echo X/"$0" |
73778 sed '/^.*\/\([^/][^/]*\)\/*$/{
73779 s//\1/
73782 /^X\/\(\/\/\)$/{
73783 s//\1/
73786 /^X\/\(\/\).*/{
73787 s//\1/
73790 s/.*/./; q'`
73792 # Avoid depending upon Character Ranges.
73793 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73794 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73795 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73796 as_cr_digits='0123456789'
73797 as_cr_alnum=$as_cr_Letters$as_cr_digits
73799 ECHO_C= ECHO_N= ECHO_T=
73800 case `echo -n x` in #(((((
73801 -n*)
73802 case `echo 'xy\c'` in
73803 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73804 xy) ECHO_C='\c';;
73805 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73806 ECHO_T=' ';;
73807 esac;;
73809 ECHO_N='-n';;
73810 esac
73812 rm -f conf$$ conf$$.exe conf$$.file
73813 if test -d conf$$.dir; then
73814 rm -f conf$$.dir/conf$$.file
73815 else
73816 rm -f conf$$.dir
73817 mkdir conf$$.dir 2>/dev/null
73819 if (echo >conf$$.file) 2>/dev/null; then
73820 if ln -s conf$$.file conf$$ 2>/dev/null; then
73821 as_ln_s='ln -s'
73822 # ... but there are two gotchas:
73823 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
73824 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
73825 # In both cases, we have to default to `cp -p'.
73826 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
73827 as_ln_s='cp -p'
73828 elif ln conf$$.file conf$$ 2>/dev/null; then
73829 as_ln_s=ln
73830 else
73831 as_ln_s='cp -p'
73833 else
73834 as_ln_s='cp -p'
73836 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
73837 rmdir conf$$.dir 2>/dev/null
73840 # as_fn_mkdir_p
73841 # -------------
73842 # Create "$as_dir" as a directory, including parents if necessary.
73843 as_fn_mkdir_p ()
73846 case $as_dir in #(
73847 -*) as_dir=./$as_dir;;
73848 esac
73849 test -d "$as_dir" || eval $as_mkdir_p || {
73850 as_dirs=
73851 while :; do
73852 case $as_dir in #(
73853 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
73854 *) as_qdir=$as_dir;;
73855 esac
73856 as_dirs="'$as_qdir' $as_dirs"
73857 as_dir=`$as_dirname -- "$as_dir" ||
73858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73859 X"$as_dir" : 'X\(//\)[^/]' \| \
73860 X"$as_dir" : 'X\(//\)$' \| \
73861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
73862 $as_echo X"$as_dir" |
73863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73864 s//\1/
73867 /^X\(\/\/\)[^/].*/{
73868 s//\1/
73871 /^X\(\/\/\)$/{
73872 s//\1/
73875 /^X\(\/\).*/{
73876 s//\1/
73879 s/.*/./; q'`
73880 test -d "$as_dir" && break
73881 done
73882 test -z "$as_dirs" || eval "mkdir $as_dirs"
73883 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
73886 } # as_fn_mkdir_p
73887 if mkdir -p . 2>/dev/null; then
73888 as_mkdir_p='mkdir -p "$as_dir"'
73889 else
73890 test -d ./-p && rmdir ./-p
73891 as_mkdir_p=false
73894 if test -x / >/dev/null 2>&1; then
73895 as_test_x='test -x'
73896 else
73897 if ls -dL / >/dev/null 2>&1; then
73898 as_ls_L_option=L
73899 else
73900 as_ls_L_option=
73902 as_test_x='
73903 eval sh -c '\''
73904 if test -d "$1"; then
73905 test -d "$1/.";
73906 else
73907 case $1 in #(
73908 -*)set "./$1";;
73909 esac;
73910 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
73911 ???[sx]*):;;*)false;;esac;fi
73912 '\'' sh
73915 as_executable_p=$as_test_x
73917 # Sed expression to map a string onto a valid CPP name.
73918 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
73920 # Sed expression to map a string onto a valid variable name.
73921 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
73924 exec 6>&1
73925 ## ----------------------------------- ##
73926 ## Main body of $CONFIG_STATUS script. ##
73927 ## ----------------------------------- ##
73928 _ASEOF
73929 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
73931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73932 # Save the log message, to keep $0 and so on meaningful, and to
73933 # report actual input values of CONFIG_FILES etc. instead of their
73934 # values after options handling.
73935 ac_log="
73936 This file was extended by package-unused $as_me version-unused, which was
73937 generated by GNU Autoconf 2.64. Invocation command line was
73939 CONFIG_FILES = $CONFIG_FILES
73940 CONFIG_HEADERS = $CONFIG_HEADERS
73941 CONFIG_LINKS = $CONFIG_LINKS
73942 CONFIG_COMMANDS = $CONFIG_COMMANDS
73943 $ $0 $@
73945 on `(hostname || uname -n) 2>/dev/null | sed 1q`
73948 _ACEOF
73950 case $ac_config_files in *"
73951 "*) set x $ac_config_files; shift; ac_config_files=$*;;
73952 esac
73954 case $ac_config_headers in *"
73955 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
73956 esac
73959 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73960 # Files that config.status was made for.
73961 config_files="$ac_config_files"
73962 config_headers="$ac_config_headers"
73963 config_commands="$ac_config_commands"
73965 _ACEOF
73967 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73968 ac_cs_usage="\
73969 \`$as_me' instantiates files and other configuration actions
73970 from templates according to the current configuration. Unless the files
73971 and actions are specified as TAGs, all are instantiated by default.
73973 Usage: $0 [OPTION]... [TAG]...
73975 -h, --help print this help, then exit
73976 -V, --version print version number and configuration settings, then exit
73977 -q, --quiet, --silent
73978 do not print progress messages
73979 -d, --debug don't remove temporary files
73980 --recheck update $as_me by reconfiguring in the same conditions
73981 --file=FILE[:TEMPLATE]
73982 instantiate the configuration file FILE
73983 --header=FILE[:TEMPLATE]
73984 instantiate the configuration header FILE
73986 Configuration files:
73987 $config_files
73989 Configuration headers:
73990 $config_headers
73992 Configuration commands:
73993 $config_commands
73995 Report bugs to the package provider."
73997 _ACEOF
73998 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73999 ac_cs_version="\\
74000 package-unused config.status version-unused
74001 configured by $0, generated by GNU Autoconf 2.64,
74002 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
74004 Copyright (C) 2009 Free Software Foundation, Inc.
74005 This config.status script is free software; the Free Software Foundation
74006 gives unlimited permission to copy, distribute and modify it."
74008 ac_pwd='$ac_pwd'
74009 srcdir='$srcdir'
74010 INSTALL='$INSTALL'
74011 MKDIR_P='$MKDIR_P'
74012 AWK='$AWK'
74013 test -n "\$AWK" || AWK=awk
74014 _ACEOF
74016 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74017 # The default lists apply if the user does not specify any file.
74018 ac_need_defaults=:
74019 while test $# != 0
74021 case $1 in
74022 --*=*)
74023 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74024 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74025 ac_shift=:
74028 ac_option=$1
74029 ac_optarg=$2
74030 ac_shift=shift
74032 esac
74034 case $ac_option in
74035 # Handling of the options.
74036 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74037 ac_cs_recheck=: ;;
74038 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74039 $as_echo "$ac_cs_version"; exit ;;
74040 --debug | --debu | --deb | --de | --d | -d )
74041 debug=: ;;
74042 --file | --fil | --fi | --f )
74043 $ac_shift
74044 case $ac_optarg in
74045 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74046 esac
74047 as_fn_append CONFIG_FILES " '$ac_optarg'"
74048 ac_need_defaults=false;;
74049 --header | --heade | --head | --hea )
74050 $ac_shift
74051 case $ac_optarg in
74052 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74053 esac
74054 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74055 ac_need_defaults=false;;
74056 --he | --h)
74057 # Conflict between --help and --header
74058 as_fn_error "ambiguous option: \`$1'
74059 Try \`$0 --help' for more information.";;
74060 --help | --hel | -h )
74061 $as_echo "$ac_cs_usage"; exit ;;
74062 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74063 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74064 ac_cs_silent=: ;;
74066 # This is an error.
74067 -*) as_fn_error "unrecognized option: \`$1'
74068 Try \`$0 --help' for more information." ;;
74070 *) as_fn_append ac_config_targets " $1"
74071 ac_need_defaults=false ;;
74073 esac
74074 shift
74075 done
74077 ac_configure_extra_args=
74079 if $ac_cs_silent; then
74080 exec 6>/dev/null
74081 ac_configure_extra_args="$ac_configure_extra_args --silent"
74084 _ACEOF
74085 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74086 if \$ac_cs_recheck; then
74087 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74088 shift
74089 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74090 CONFIG_SHELL='$SHELL'
74091 export CONFIG_SHELL
74092 exec "\$@"
74095 _ACEOF
74096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74097 exec 5>>config.log
74099 echo
74100 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74101 ## Running $as_me. ##
74102 _ASBOX
74103 $as_echo "$ac_log"
74104 } >&5
74106 _ACEOF
74107 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74109 # INIT-COMMANDS
74112 srcdir="$srcdir"
74113 host="$host"
74114 target="$target"
74115 with_multisubdir="$with_multisubdir"
74116 with_multisrctop="$with_multisrctop"
74117 with_target_subdir="$with_target_subdir"
74118 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74119 multi_basedir="$multi_basedir"
74120 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74121 CC="$CC"
74122 CXX="$CXX"
74123 GFORTRAN="$GFORTRAN"
74124 GCJ="$GCJ"
74127 # The HP-UX ksh and POSIX shell print the target directory to stdout
74128 # if CDPATH is set.
74129 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74131 sed_quote_subst='$sed_quote_subst'
74132 double_quote_subst='$double_quote_subst'
74133 delay_variable_subst='$delay_variable_subst'
74134 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74135 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74136 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74137 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74138 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74139 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74140 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74141 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74142 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74143 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74144 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74145 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74146 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74147 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74148 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74149 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74150 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74151 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74152 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74153 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74154 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74155 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74156 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74157 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74158 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74159 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74160 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74161 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74162 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74163 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74164 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74165 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74166 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74167 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74168 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74169 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74170 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74171 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74172 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74173 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74174 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74175 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74176 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74177 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74178 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74179 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74180 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74181 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74182 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"`'
74183 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74184 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74185 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74186 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74187 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74188 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74189 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74190 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74191 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74192 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74193 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74194 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74195 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74196 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74197 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74198 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74199 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74200 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74201 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74202 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74203 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74204 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74205 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74206 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74207 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74208 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74209 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74210 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74211 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74212 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74213 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74214 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74215 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74216 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74217 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74218 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74219 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74220 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74221 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74222 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74223 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74224 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74225 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74226 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74227 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74228 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74229 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74230 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74231 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74232 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74233 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74234 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74235 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74236 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74237 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74238 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74239 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74240 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74241 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74242 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74243 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74244 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74245 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74246 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74247 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74248 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74249 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74250 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74251 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74252 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74253 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74254 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74255 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74256 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74257 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74258 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74259 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74260 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74261 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74262 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74263 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74264 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74265 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74266 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74267 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74268 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74269 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74270 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74271 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74272 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74273 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74274 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74275 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74276 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74277 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74278 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74279 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74280 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74281 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74282 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74283 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74284 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74285 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74286 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74287 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74288 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74289 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74290 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74291 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74292 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74293 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74294 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74295 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74296 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74297 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74298 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74299 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74300 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74301 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74302 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74303 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74304 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74305 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74306 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74307 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74308 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74310 LTCC='$LTCC'
74311 LTCFLAGS='$LTCFLAGS'
74312 compiler='$compiler_DEFAULT'
74314 # A function that is used when there is no print builtin or printf.
74315 func_fallback_echo ()
74317 eval 'cat <<_LTECHO_EOF
74319 _LTECHO_EOF'
74322 # Quote evaled strings.
74323 for var in SHELL \
74324 ECHO \
74325 SED \
74326 GREP \
74327 EGREP \
74328 FGREP \
74329 LD \
74330 NM \
74331 LN_S \
74332 lt_SP2NL \
74333 lt_NL2SP \
74334 reload_flag \
74335 OBJDUMP \
74336 deplibs_check_method \
74337 file_magic_cmd \
74338 AR \
74339 AR_FLAGS \
74340 STRIP \
74341 RANLIB \
74342 CC \
74343 CFLAGS \
74344 compiler \
74345 lt_cv_sys_global_symbol_pipe \
74346 lt_cv_sys_global_symbol_to_cdecl \
74347 lt_cv_sys_global_symbol_to_c_name_address \
74348 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74349 lt_prog_compiler_no_builtin_flag \
74350 lt_prog_compiler_wl \
74351 lt_prog_compiler_pic \
74352 lt_prog_compiler_static \
74353 lt_cv_prog_compiler_c_o \
74354 need_locks \
74355 DSYMUTIL \
74356 NMEDIT \
74357 LIPO \
74358 OTOOL \
74359 OTOOL64 \
74360 shrext_cmds \
74361 export_dynamic_flag_spec \
74362 whole_archive_flag_spec \
74363 compiler_needs_object \
74364 with_gnu_ld \
74365 allow_undefined_flag \
74366 no_undefined_flag \
74367 hardcode_libdir_flag_spec \
74368 hardcode_libdir_flag_spec_ld \
74369 hardcode_libdir_separator \
74370 fix_srcfile_path \
74371 exclude_expsyms \
74372 include_expsyms \
74373 file_list_spec \
74374 variables_saved_for_relink \
74375 libname_spec \
74376 library_names_spec \
74377 soname_spec \
74378 install_override_mode \
74379 finish_eval \
74380 old_striplib \
74381 striplib \
74382 compiler_lib_search_dirs \
74383 predep_objects \
74384 postdep_objects \
74385 predeps \
74386 postdeps \
74387 compiler_lib_search_path \
74388 LD_CXX \
74389 reload_flag_CXX \
74390 compiler_CXX \
74391 lt_prog_compiler_no_builtin_flag_CXX \
74392 lt_prog_compiler_wl_CXX \
74393 lt_prog_compiler_pic_CXX \
74394 lt_prog_compiler_static_CXX \
74395 lt_cv_prog_compiler_c_o_CXX \
74396 export_dynamic_flag_spec_CXX \
74397 whole_archive_flag_spec_CXX \
74398 compiler_needs_object_CXX \
74399 with_gnu_ld_CXX \
74400 allow_undefined_flag_CXX \
74401 no_undefined_flag_CXX \
74402 hardcode_libdir_flag_spec_CXX \
74403 hardcode_libdir_flag_spec_ld_CXX \
74404 hardcode_libdir_separator_CXX \
74405 fix_srcfile_path_CXX \
74406 exclude_expsyms_CXX \
74407 include_expsyms_CXX \
74408 file_list_spec_CXX \
74409 compiler_lib_search_dirs_CXX \
74410 predep_objects_CXX \
74411 postdep_objects_CXX \
74412 predeps_CXX \
74413 postdeps_CXX \
74414 compiler_lib_search_path_CXX; do
74415 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74416 *[\\\\\\\`\\"\\\$]*)
74417 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74420 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74422 esac
74423 done
74425 # Double-quote double-evaled strings.
74426 for var in reload_cmds \
74427 old_postinstall_cmds \
74428 old_postuninstall_cmds \
74429 old_archive_cmds \
74430 extract_expsyms_cmds \
74431 old_archive_from_new_cmds \
74432 old_archive_from_expsyms_cmds \
74433 archive_cmds \
74434 archive_expsym_cmds \
74435 module_cmds \
74436 module_expsym_cmds \
74437 export_symbols_cmds \
74438 prelink_cmds \
74439 postinstall_cmds \
74440 postuninstall_cmds \
74441 finish_cmds \
74442 sys_lib_search_path_spec \
74443 sys_lib_dlsearch_path_spec \
74444 reload_cmds_CXX \
74445 old_archive_cmds_CXX \
74446 old_archive_from_new_cmds_CXX \
74447 old_archive_from_expsyms_cmds_CXX \
74448 archive_cmds_CXX \
74449 archive_expsym_cmds_CXX \
74450 module_cmds_CXX \
74451 module_expsym_cmds_CXX \
74452 export_symbols_cmds_CXX \
74453 prelink_cmds_CXX; do
74454 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74455 *[\\\\\\\`\\"\\\$]*)
74456 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74459 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74461 esac
74462 done
74464 ac_aux_dir='$ac_aux_dir'
74465 xsi_shell='$xsi_shell'
74466 lt_shell_append='$lt_shell_append'
74468 # See if we are running on zsh, and set the options which allow our
74469 # commands through without removal of \ escapes INIT.
74470 if test -n "\${ZSH_VERSION+set}" ; then
74471 setopt NO_GLOB_SUBST
74475 PACKAGE='$PACKAGE'
74476 VERSION='$VERSION'
74477 TIMESTAMP='$TIMESTAMP'
74478 RM='$RM'
74479 ofile='$ofile'
74486 GCC="$GCC"
74487 CC="$CC"
74488 acx_cv_header_stdint="$acx_cv_header_stdint"
74489 acx_cv_type_int8_t="$acx_cv_type_int8_t"
74490 acx_cv_type_int16_t="$acx_cv_type_int16_t"
74491 acx_cv_type_int32_t="$acx_cv_type_int32_t"
74492 acx_cv_type_int64_t="$acx_cv_type_int64_t"
74493 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
74494 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
74495 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
74496 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
74497 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
74498 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
74499 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
74500 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
74501 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
74504 _ACEOF
74506 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74508 # Handling of arguments.
74509 for ac_config_target in $ac_config_targets
74511 case $ac_config_target in
74512 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74513 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74514 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74515 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
74516 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74517 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74518 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74519 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74520 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74521 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74522 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74523 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74524 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74525 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74526 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74527 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74528 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74529 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74531 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74532 esac
74533 done
74536 # If the user did not use the arguments to specify the items to instantiate,
74537 # then the envvar interface is used. Set only those that are not.
74538 # We use the long form for the default assignment because of an extremely
74539 # bizarre bug on SunOS 4.1.3.
74540 if $ac_need_defaults; then
74541 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74542 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74543 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74546 # Have a temporary directory for convenience. Make it in the build tree
74547 # simply because there is no reason against having it here, and in addition,
74548 # creating and moving files from /tmp can sometimes cause problems.
74549 # Hook for its removal unless debugging.
74550 # Note that there is a small window in which the directory will not be cleaned:
74551 # after its creation but before its name has been assigned to `$tmp'.
74552 $debug ||
74554 tmp=
74555 trap 'exit_status=$?
74556 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
74558 trap 'as_fn_exit 1' 1 2 13 15
74560 # Create a (secure) tmp directory for tmp files.
74563 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74564 test -n "$tmp" && test -d "$tmp"
74565 } ||
74567 tmp=./conf$$-$RANDOM
74568 (umask 077 && mkdir "$tmp")
74569 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
74571 # Set up the scripts for CONFIG_FILES section.
74572 # No need to generate them if there are no CONFIG_FILES.
74573 # This happens for instance with `./config.status config.h'.
74574 if test -n "$CONFIG_FILES"; then
74577 ac_cr=`echo X | tr X '\015'`
74578 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74579 # But we know of no other shell where ac_cr would be empty at this
74580 # point, so we can use a bashism as a fallback.
74581 if test "x$ac_cr" = x; then
74582 eval ac_cr=\$\'\\r\'
74584 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74585 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74586 ac_cs_awk_cr='\r'
74587 else
74588 ac_cs_awk_cr=$ac_cr
74591 echo 'BEGIN {' >"$tmp/subs1.awk" &&
74592 _ACEOF
74596 echo "cat >conf$$subs.awk <<_ACEOF" &&
74597 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74598 echo "_ACEOF"
74599 } >conf$$subs.sh ||
74600 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74601 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
74602 ac_delim='%!_!# '
74603 for ac_last_try in false false false false false :; do
74604 . ./conf$$subs.sh ||
74605 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74607 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74608 if test $ac_delim_n = $ac_delim_num; then
74609 break
74610 elif $ac_last_try; then
74611 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
74612 else
74613 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74615 done
74616 rm -f conf$$subs.sh
74618 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74619 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
74620 _ACEOF
74621 sed -n '
74623 s/^/S["/; s/!.*/"]=/
74626 s/^[^!]*!//
74627 :repl
74628 t repl
74629 s/'"$ac_delim"'$//
74630 t delim
74633 s/\(.\{148\}\).*/\1/
74634 t more1
74635 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74638 b repl
74639 :more1
74640 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74643 s/.\{148\}//
74644 t nl
74645 :delim
74647 s/\(.\{148\}\).*/\1/
74648 t more2
74649 s/["\\]/\\&/g; s/^/"/; s/$/"/
74652 :more2
74653 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74656 s/.\{148\}//
74657 t delim
74658 ' <conf$$subs.awk | sed '
74659 /^[^""]/{
74661 s/\n//
74663 ' >>$CONFIG_STATUS || ac_write_fail=1
74664 rm -f conf$$subs.awk
74665 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74666 _ACAWK
74667 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
74668 for (key in S) S_is_set[key] = 1
74669 FS = "\a"
74673 line = $ 0
74674 nfields = split(line, field, "@")
74675 substed = 0
74676 len = length(field[1])
74677 for (i = 2; i < nfields; i++) {
74678 key = field[i]
74679 keylen = length(key)
74680 if (S_is_set[key]) {
74681 value = S[key]
74682 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74683 len += length(value) + length(field[++i])
74684 substed = 1
74685 } else
74686 len += 1 + keylen
74689 print line
74692 _ACAWK
74693 _ACEOF
74694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74695 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74696 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74697 else
74699 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
74700 || as_fn_error "could not setup config files machinery" "$LINENO" 5
74701 _ACEOF
74703 # VPATH may cause trouble with some makes, so we remove $(srcdir),
74704 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
74705 # trailing colons and then remove the whole line if VPATH becomes empty
74706 # (actually we leave an empty line to preserve line numbers).
74707 if test "x$srcdir" = x.; then
74708 ac_vpsub='/^[ ]*VPATH[ ]*=/{
74709 s/:*\$(srcdir):*/:/
74710 s/:*\${srcdir}:*/:/
74711 s/:*@srcdir@:*/:/
74712 s/^\([^=]*=[ ]*\):*/\1/
74713 s/:*$//
74714 s/^[^=]*=[ ]*$//
74718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74719 fi # test -n "$CONFIG_FILES"
74721 # Set up the scripts for CONFIG_HEADERS section.
74722 # No need to generate them if there are no CONFIG_HEADERS.
74723 # This happens for instance with `./config.status Makefile'.
74724 if test -n "$CONFIG_HEADERS"; then
74725 cat >"$tmp/defines.awk" <<\_ACAWK ||
74726 BEGIN {
74727 _ACEOF
74729 # Transform confdefs.h into an awk script `defines.awk', embedded as
74730 # here-document in config.status, that substitutes the proper values into
74731 # config.h.in to produce config.h.
74733 # Create a delimiter string that does not exist in confdefs.h, to ease
74734 # handling of long lines.
74735 ac_delim='%!_!# '
74736 for ac_last_try in false false :; do
74737 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
74738 if test -z "$ac_t"; then
74739 break
74740 elif $ac_last_try; then
74741 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
74742 else
74743 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74745 done
74747 # For the awk script, D is an array of macro values keyed by name,
74748 # likewise P contains macro parameters if any. Preserve backslash
74749 # newline sequences.
74751 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74752 sed -n '
74753 s/.\{148\}/&'"$ac_delim"'/g
74754 t rset
74755 :rset
74756 s/^[ ]*#[ ]*define[ ][ ]*/ /
74757 t def
74759 :def
74760 s/\\$//
74761 t bsnl
74762 s/["\\]/\\&/g
74763 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74764 D["\1"]=" \3"/p
74765 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74767 :bsnl
74768 s/["\\]/\\&/g
74769 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74770 D["\1"]=" \3\\\\\\n"\\/p
74771 t cont
74772 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74773 t cont
74775 :cont
74777 s/.\{148\}/&'"$ac_delim"'/g
74778 t clear
74779 :clear
74780 s/\\$//
74781 t bsnlc
74782 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74784 :bsnlc
74785 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74786 b cont
74787 ' <confdefs.h | sed '
74788 s/'"$ac_delim"'/"\\\
74789 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74791 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74792 for (key in D) D_is_set[key] = 1
74793 FS = "\a"
74795 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74796 line = \$ 0
74797 split(line, arg, " ")
74798 if (arg[1] == "#") {
74799 defundef = arg[2]
74800 mac1 = arg[3]
74801 } else {
74802 defundef = substr(arg[1], 2)
74803 mac1 = arg[2]
74805 split(mac1, mac2, "(") #)
74806 macro = mac2[1]
74807 prefix = substr(line, 1, index(line, defundef) - 1)
74808 if (D_is_set[macro]) {
74809 # Preserve the white space surrounding the "#".
74810 print prefix "define", macro P[macro] D[macro]
74811 next
74812 } else {
74813 # Replace #undef with comments. This is necessary, for example,
74814 # in the case of _POSIX_SOURCE, which is predefined and required
74815 # on some systems where configure will not decide to define it.
74816 if (defundef == "undef") {
74817 print "/*", prefix defundef, macro, "*/"
74818 next
74822 { print }
74823 _ACAWK
74824 _ACEOF
74825 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74826 as_fn_error "could not setup config headers machinery" "$LINENO" 5
74827 fi # test -n "$CONFIG_HEADERS"
74830 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
74831 shift
74832 for ac_tag
74834 case $ac_tag in
74835 :[FHLC]) ac_mode=$ac_tag; continue;;
74836 esac
74837 case $ac_mode$ac_tag in
74838 :[FHL]*:*);;
74839 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
74840 :[FH]-) ac_tag=-:-;;
74841 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
74842 esac
74843 ac_save_IFS=$IFS
74844 IFS=:
74845 set x $ac_tag
74846 IFS=$ac_save_IFS
74847 shift
74848 ac_file=$1
74849 shift
74851 case $ac_mode in
74852 :L) ac_source=$1;;
74853 :[FH])
74854 ac_file_inputs=
74855 for ac_f
74857 case $ac_f in
74858 -) ac_f="$tmp/stdin";;
74859 *) # Look for the file first in the build tree, then in the source tree
74860 # (if the path is not absolute). The absolute path cannot be DOS-style,
74861 # because $ac_f cannot contain `:'.
74862 test -f "$ac_f" ||
74863 case $ac_f in
74864 [\\/$]*) false;;
74865 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
74866 esac ||
74867 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
74868 esac
74869 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
74870 as_fn_append ac_file_inputs " '$ac_f'"
74871 done
74873 # Let's still pretend it is `configure' which instantiates (i.e., don't
74874 # use $as_me), people would be surprised to read:
74875 # /* config.h. Generated by config.status. */
74876 configure_input='Generated from '`
74877 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
74878 `' by configure.'
74879 if test x"$ac_file" != x-; then
74880 configure_input="$ac_file. $configure_input"
74881 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
74882 $as_echo "$as_me: creating $ac_file" >&6;}
74884 # Neutralize special characters interpreted by sed in replacement strings.
74885 case $configure_input in #(
74886 *\&* | *\|* | *\\* )
74887 ac_sed_conf_input=`$as_echo "$configure_input" |
74888 sed 's/[\\\\&|]/\\\\&/g'`;; #(
74889 *) ac_sed_conf_input=$configure_input;;
74890 esac
74892 case $ac_tag in
74893 *:-:* | *:-) cat >"$tmp/stdin" \
74894 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
74895 esac
74897 esac
74899 ac_dir=`$as_dirname -- "$ac_file" ||
74900 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74901 X"$ac_file" : 'X\(//\)[^/]' \| \
74902 X"$ac_file" : 'X\(//\)$' \| \
74903 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
74904 $as_echo X"$ac_file" |
74905 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74906 s//\1/
74909 /^X\(\/\/\)[^/].*/{
74910 s//\1/
74913 /^X\(\/\/\)$/{
74914 s//\1/
74917 /^X\(\/\).*/{
74918 s//\1/
74921 s/.*/./; q'`
74922 as_dir="$ac_dir"; as_fn_mkdir_p
74923 ac_builddir=.
74925 case "$ac_dir" in
74926 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
74928 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
74929 # A ".." for each directory in $ac_dir_suffix.
74930 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
74931 case $ac_top_builddir_sub in
74932 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
74933 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
74934 esac ;;
74935 esac
74936 ac_abs_top_builddir=$ac_pwd
74937 ac_abs_builddir=$ac_pwd$ac_dir_suffix
74938 # for backward compatibility:
74939 ac_top_builddir=$ac_top_build_prefix
74941 case $srcdir in
74942 .) # We are building in place.
74943 ac_srcdir=.
74944 ac_top_srcdir=$ac_top_builddir_sub
74945 ac_abs_top_srcdir=$ac_pwd ;;
74946 [\\/]* | ?:[\\/]* ) # Absolute name.
74947 ac_srcdir=$srcdir$ac_dir_suffix;
74948 ac_top_srcdir=$srcdir
74949 ac_abs_top_srcdir=$srcdir ;;
74950 *) # Relative name.
74951 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
74952 ac_top_srcdir=$ac_top_build_prefix$srcdir
74953 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
74954 esac
74955 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
74958 case $ac_mode in
74961 # CONFIG_FILE
74964 case $INSTALL in
74965 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
74966 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
74967 esac
74968 ac_MKDIR_P=$MKDIR_P
74969 case $MKDIR_P in
74970 [\\/$]* | ?:[\\/]* ) ;;
74971 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
74972 esac
74973 _ACEOF
74975 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74976 # If the template does not know about datarootdir, expand it.
74977 # FIXME: This hack should be removed a few years after 2.60.
74978 ac_datarootdir_hack=; ac_datarootdir_seen=
74979 ac_sed_dataroot='
74980 /datarootdir/ {
74984 /@datadir@/p
74985 /@docdir@/p
74986 /@infodir@/p
74987 /@localedir@/p
74988 /@mandir@/p'
74989 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
74990 *datarootdir*) ac_datarootdir_seen=yes;;
74991 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
74992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
74993 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
74994 _ACEOF
74995 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74996 ac_datarootdir_hack='
74997 s&@datadir@&$datadir&g
74998 s&@docdir@&$docdir&g
74999 s&@infodir@&$infodir&g
75000 s&@localedir@&$localedir&g
75001 s&@mandir@&$mandir&g
75002 s&\\\${datarootdir}&$datarootdir&g' ;;
75003 esac
75004 _ACEOF
75006 # Neutralize VPATH when `$srcdir' = `.'.
75007 # Shell code in configure.ac might set extrasub.
75008 # FIXME: do we really want to maintain this feature?
75009 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75010 ac_sed_extra="$ac_vpsub
75011 $extrasub
75012 _ACEOF
75013 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75015 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75016 s|@configure_input@|$ac_sed_conf_input|;t t
75017 s&@top_builddir@&$ac_top_builddir_sub&;t t
75018 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75019 s&@srcdir@&$ac_srcdir&;t t
75020 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75021 s&@top_srcdir@&$ac_top_srcdir&;t t
75022 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75023 s&@builddir@&$ac_builddir&;t t
75024 s&@abs_builddir@&$ac_abs_builddir&;t t
75025 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75026 s&@INSTALL@&$ac_INSTALL&;t t
75027 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75028 $ac_datarootdir_hack
75030 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
75031 || as_fn_error "could not create $ac_file" "$LINENO" 5
75033 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75034 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
75035 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
75036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75037 which seems to be undefined. Please make sure it is defined." >&5
75038 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75039 which seems to be undefined. Please make sure it is defined." >&2;}
75041 rm -f "$tmp/stdin"
75042 case $ac_file in
75043 -) cat "$tmp/out" && rm -f "$tmp/out";;
75044 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
75045 esac \
75046 || as_fn_error "could not create $ac_file" "$LINENO" 5
75050 # CONFIG_HEADER
75052 if test x"$ac_file" != x-; then
75054 $as_echo "/* $configure_input */" \
75055 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
75056 } >"$tmp/config.h" \
75057 || as_fn_error "could not create $ac_file" "$LINENO" 5
75058 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
75059 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75060 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75061 else
75062 rm -f "$ac_file"
75063 mv "$tmp/config.h" "$ac_file" \
75064 || as_fn_error "could not create $ac_file" "$LINENO" 5
75066 else
75067 $as_echo "/* $configure_input */" \
75068 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
75069 || as_fn_error "could not create -" "$LINENO" 5
75071 # Compute "$ac_file"'s index in $config_headers.
75072 _am_arg="$ac_file"
75073 _am_stamp_count=1
75074 for _am_header in $config_headers :; do
75075 case $_am_header in
75076 $_am_arg | $_am_arg:* )
75077 break ;;
75079 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75080 esac
75081 done
75082 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75083 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75084 X"$_am_arg" : 'X\(//\)[^/]' \| \
75085 X"$_am_arg" : 'X\(//\)$' \| \
75086 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75087 $as_echo X"$_am_arg" |
75088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75089 s//\1/
75092 /^X\(\/\/\)[^/].*/{
75093 s//\1/
75096 /^X\(\/\/\)$/{
75097 s//\1/
75100 /^X\(\/\).*/{
75101 s//\1/
75104 s/.*/./; q'`/stamp-h$_am_stamp_count
75107 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75108 $as_echo "$as_me: executing $ac_file commands" >&6;}
75110 esac
75113 case $ac_file$ac_mode in
75114 "default-1":C)
75115 # Only add multilib support code if we just rebuilt the top-level
75116 # Makefile.
75117 case " $CONFIG_FILES " in
75118 *" Makefile "*)
75119 ac_file=Makefile . ${multi_basedir}/config-ml.in
75121 esac ;;
75122 "libtool":C)
75124 # See if we are running on zsh, and set the options which allow our
75125 # commands through without removal of \ escapes.
75126 if test -n "${ZSH_VERSION+set}" ; then
75127 setopt NO_GLOB_SUBST
75130 cfgfile="${ofile}T"
75131 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75132 $RM "$cfgfile"
75134 cat <<_LT_EOF >> "$cfgfile"
75135 #! $SHELL
75137 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75138 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75139 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75140 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75142 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75143 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75144 # Written by Gordon Matzigkeit, 1996
75146 # This file is part of GNU Libtool.
75148 # GNU Libtool is free software; you can redistribute it and/or
75149 # modify it under the terms of the GNU General Public License as
75150 # published by the Free Software Foundation; either version 2 of
75151 # the License, or (at your option) any later version.
75153 # As a special exception to the GNU General Public License,
75154 # if you distribute this file as part of a program or library that
75155 # is built using GNU Libtool, you may include this file under the
75156 # same distribution terms that you use for the rest of that program.
75158 # GNU Libtool is distributed in the hope that it will be useful,
75159 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75160 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75161 # GNU General Public License for more details.
75163 # You should have received a copy of the GNU General Public License
75164 # along with GNU Libtool; see the file COPYING. If not, a copy
75165 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75166 # obtained by writing to the Free Software Foundation, Inc.,
75167 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75170 # The names of the tagged configurations supported by this script.
75171 available_tags="CXX "
75173 # ### BEGIN LIBTOOL CONFIG
75175 # Which release of libtool.m4 was used?
75176 macro_version=$macro_version
75177 macro_revision=$macro_revision
75179 # Whether or not to build shared libraries.
75180 build_libtool_libs=$enable_shared
75182 # Whether or not to build static libraries.
75183 build_old_libs=$enable_static
75185 # What type of objects to build.
75186 pic_mode=$pic_mode
75188 # Whether or not to optimize for fast installation.
75189 fast_install=$enable_fast_install
75191 # Shell to use when invoking shell scripts.
75192 SHELL=$lt_SHELL
75194 # An echo program that protects backslashes.
75195 ECHO=$lt_ECHO
75197 # The host system.
75198 host_alias=$host_alias
75199 host=$host
75200 host_os=$host_os
75202 # The build system.
75203 build_alias=$build_alias
75204 build=$build
75205 build_os=$build_os
75207 # A sed program that does not truncate output.
75208 SED=$lt_SED
75210 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75211 Xsed="\$SED -e 1s/^X//"
75213 # A grep program that handles long lines.
75214 GREP=$lt_GREP
75216 # An ERE matcher.
75217 EGREP=$lt_EGREP
75219 # A literal string matcher.
75220 FGREP=$lt_FGREP
75222 # A BSD- or MS-compatible name lister.
75223 NM=$lt_NM
75225 # Whether we need soft or hard links.
75226 LN_S=$lt_LN_S
75228 # What is the maximum length of a command?
75229 max_cmd_len=$max_cmd_len
75231 # Object file suffix (normally "o").
75232 objext=$ac_objext
75234 # Executable file suffix (normally "").
75235 exeext=$exeext
75237 # whether the shell understands "unset".
75238 lt_unset=$lt_unset
75240 # turn spaces into newlines.
75241 SP2NL=$lt_lt_SP2NL
75243 # turn newlines into spaces.
75244 NL2SP=$lt_lt_NL2SP
75246 # An object symbol dumper.
75247 OBJDUMP=$lt_OBJDUMP
75249 # Method to check whether dependent libraries are shared objects.
75250 deplibs_check_method=$lt_deplibs_check_method
75252 # Command to use when deplibs_check_method == "file_magic".
75253 file_magic_cmd=$lt_file_magic_cmd
75255 # The archiver.
75256 AR=$lt_AR
75257 AR_FLAGS=$lt_AR_FLAGS
75259 # A symbol stripping program.
75260 STRIP=$lt_STRIP
75262 # Commands used to install an old-style archive.
75263 RANLIB=$lt_RANLIB
75264 old_postinstall_cmds=$lt_old_postinstall_cmds
75265 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75267 # Whether to use a lock for old archive extraction.
75268 lock_old_archive_extraction=$lock_old_archive_extraction
75270 # A C compiler.
75271 LTCC=$lt_CC
75273 # LTCC compiler flags.
75274 LTCFLAGS=$lt_CFLAGS
75276 # Take the output of nm and produce a listing of raw symbols and C names.
75277 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75279 # Transform the output of nm in a proper C declaration.
75280 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75282 # Transform the output of nm in a C name address pair.
75283 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75285 # Transform the output of nm in a C name address pair when lib prefix is needed.
75286 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75288 # The name of the directory that contains temporary libtool files.
75289 objdir=$objdir
75291 # Used to examine libraries when file_magic_cmd begins with "file".
75292 MAGIC_CMD=$MAGIC_CMD
75294 # Must we lock files when doing compilation?
75295 need_locks=$lt_need_locks
75297 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75298 DSYMUTIL=$lt_DSYMUTIL
75300 # Tool to change global to local symbols on Mac OS X.
75301 NMEDIT=$lt_NMEDIT
75303 # Tool to manipulate fat objects and archives on Mac OS X.
75304 LIPO=$lt_LIPO
75306 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75307 OTOOL=$lt_OTOOL
75309 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75310 OTOOL64=$lt_OTOOL64
75312 # Old archive suffix (normally "a").
75313 libext=$libext
75315 # Shared library suffix (normally ".so").
75316 shrext_cmds=$lt_shrext_cmds
75318 # The commands to extract the exported symbol list from a shared archive.
75319 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75321 # Variables whose values should be saved in libtool wrapper scripts and
75322 # restored at link time.
75323 variables_saved_for_relink=$lt_variables_saved_for_relink
75325 # Do we need the "lib" prefix for modules?
75326 need_lib_prefix=$need_lib_prefix
75328 # Do we need a version for libraries?
75329 need_version=$need_version
75331 # Library versioning type.
75332 version_type=$version_type
75334 # Shared library runtime path variable.
75335 runpath_var=$runpath_var
75337 # Shared library path variable.
75338 shlibpath_var=$shlibpath_var
75340 # Is shlibpath searched before the hard-coded library search path?
75341 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75343 # Format of library name prefix.
75344 libname_spec=$lt_libname_spec
75346 # List of archive names. First name is the real one, the rest are links.
75347 # The last name is the one that the linker finds with -lNAME
75348 library_names_spec=$lt_library_names_spec
75350 # The coded name of the library, if different from the real name.
75351 soname_spec=$lt_soname_spec
75353 # Permission mode override for installation of shared libraries.
75354 install_override_mode=$lt_install_override_mode
75356 # Command to use after installation of a shared archive.
75357 postinstall_cmds=$lt_postinstall_cmds
75359 # Command to use after uninstallation of a shared archive.
75360 postuninstall_cmds=$lt_postuninstall_cmds
75362 # Commands used to finish a libtool library installation in a directory.
75363 finish_cmds=$lt_finish_cmds
75365 # As "finish_cmds", except a single script fragment to be evaled but
75366 # not shown.
75367 finish_eval=$lt_finish_eval
75369 # Whether we should hardcode library paths into libraries.
75370 hardcode_into_libs=$hardcode_into_libs
75372 # Compile-time system search path for libraries.
75373 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75375 # Run-time system search path for libraries.
75376 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75378 # Whether dlopen is supported.
75379 dlopen_support=$enable_dlopen
75381 # Whether dlopen of programs is supported.
75382 dlopen_self=$enable_dlopen_self
75384 # Whether dlopen of statically linked programs is supported.
75385 dlopen_self_static=$enable_dlopen_self_static
75387 # Commands to strip libraries.
75388 old_striplib=$lt_old_striplib
75389 striplib=$lt_striplib
75392 # The linker used to build libraries.
75393 LD=$lt_LD
75395 # How to create reloadable object files.
75396 reload_flag=$lt_reload_flag
75397 reload_cmds=$lt_reload_cmds
75399 # Commands used to build an old-style archive.
75400 old_archive_cmds=$lt_old_archive_cmds
75402 # A language specific compiler.
75403 CC=$lt_compiler
75405 # Is the compiler the GNU compiler?
75406 with_gcc=$GCC
75408 # Compiler flag to turn off builtin functions.
75409 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75411 # How to pass a linker flag through the compiler.
75412 wl=$lt_lt_prog_compiler_wl
75414 # Additional compiler flags for building library objects.
75415 pic_flag=$lt_lt_prog_compiler_pic
75417 # Compiler flag to prevent dynamic linking.
75418 link_static_flag=$lt_lt_prog_compiler_static
75420 # Does compiler simultaneously support -c and -o options?
75421 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75423 # Whether or not to add -lc for building shared libraries.
75424 build_libtool_need_lc=$archive_cmds_need_lc
75426 # Whether or not to disallow shared libs when runtime libs are static.
75427 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75429 # Compiler flag to allow reflexive dlopens.
75430 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75432 # Compiler flag to generate shared objects directly from archives.
75433 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75435 # Whether the compiler copes with passing no objects directly.
75436 compiler_needs_object=$lt_compiler_needs_object
75438 # Create an old-style archive from a shared archive.
75439 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75441 # Create a temporary old-style archive to link instead of a shared archive.
75442 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75444 # Commands used to build a shared archive.
75445 archive_cmds=$lt_archive_cmds
75446 archive_expsym_cmds=$lt_archive_expsym_cmds
75448 # Commands used to build a loadable module if different from building
75449 # a shared archive.
75450 module_cmds=$lt_module_cmds
75451 module_expsym_cmds=$lt_module_expsym_cmds
75453 # Whether we are building with GNU ld or not.
75454 with_gnu_ld=$lt_with_gnu_ld
75456 # Flag that allows shared libraries with undefined symbols to be built.
75457 allow_undefined_flag=$lt_allow_undefined_flag
75459 # Flag that enforces no undefined symbols.
75460 no_undefined_flag=$lt_no_undefined_flag
75462 # Flag to hardcode \$libdir into a binary during linking.
75463 # This must work even if \$libdir does not exist
75464 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75466 # If ld is used when linking, flag to hardcode \$libdir into a binary
75467 # during linking. This must work even if \$libdir does not exist.
75468 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75470 # Whether we need a single "-rpath" flag with a separated argument.
75471 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75473 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75474 # DIR into the resulting binary.
75475 hardcode_direct=$hardcode_direct
75477 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75478 # DIR into the resulting binary and the resulting library dependency is
75479 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75480 # library is relocated.
75481 hardcode_direct_absolute=$hardcode_direct_absolute
75483 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75484 # into the resulting binary.
75485 hardcode_minus_L=$hardcode_minus_L
75487 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75488 # into the resulting binary.
75489 hardcode_shlibpath_var=$hardcode_shlibpath_var
75491 # Set to "yes" if building a shared library automatically hardcodes DIR
75492 # into the library and all subsequent libraries and executables linked
75493 # against it.
75494 hardcode_automatic=$hardcode_automatic
75496 # Set to yes if linker adds runtime paths of dependent libraries
75497 # to runtime path list.
75498 inherit_rpath=$inherit_rpath
75500 # Whether libtool must link a program against all its dependency libraries.
75501 link_all_deplibs=$link_all_deplibs
75503 # Fix the shell variable \$srcfile for the compiler.
75504 fix_srcfile_path=$lt_fix_srcfile_path
75506 # Set to "yes" if exported symbols are required.
75507 always_export_symbols=$always_export_symbols
75509 # The commands to list exported symbols.
75510 export_symbols_cmds=$lt_export_symbols_cmds
75512 # Symbols that should not be listed in the preloaded symbols.
75513 exclude_expsyms=$lt_exclude_expsyms
75515 # Symbols that must always be exported.
75516 include_expsyms=$lt_include_expsyms
75518 # Commands necessary for linking programs (against libraries) with templates.
75519 prelink_cmds=$lt_prelink_cmds
75521 # Specify filename containing input files.
75522 file_list_spec=$lt_file_list_spec
75524 # How to hardcode a shared library path into an executable.
75525 hardcode_action=$hardcode_action
75527 # The directories searched by this compiler when creating a shared library.
75528 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75530 # Dependencies to place before and after the objects being linked to
75531 # create a shared library.
75532 predep_objects=$lt_predep_objects
75533 postdep_objects=$lt_postdep_objects
75534 predeps=$lt_predeps
75535 postdeps=$lt_postdeps
75537 # The library search path used internally by the compiler when linking
75538 # a shared library.
75539 compiler_lib_search_path=$lt_compiler_lib_search_path
75541 # ### END LIBTOOL CONFIG
75543 _LT_EOF
75545 case $host_os in
75546 aix3*)
75547 cat <<\_LT_EOF >> "$cfgfile"
75548 # AIX sometimes has problems with the GCC collect2 program. For some
75549 # reason, if we set the COLLECT_NAMES environment variable, the problems
75550 # vanish in a puff of smoke.
75551 if test "X${COLLECT_NAMES+set}" != Xset; then
75552 COLLECT_NAMES=
75553 export COLLECT_NAMES
75555 _LT_EOF
75557 esac
75560 ltmain="$ac_aux_dir/ltmain.sh"
75563 # We use sed instead of cat because bash on DJGPP gets confused if
75564 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75565 # text mode, it properly converts lines to CR/LF. This bash problem
75566 # is reportedly fixed, but why not run on old versions too?
75567 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75568 || (rm -f "$cfgfile"; exit 1)
75570 case $xsi_shell in
75571 yes)
75572 cat << \_LT_EOF >> "$cfgfile"
75574 # func_dirname file append nondir_replacement
75575 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75576 # otherwise set result to NONDIR_REPLACEMENT.
75577 func_dirname ()
75579 case ${1} in
75580 */*) func_dirname_result="${1%/*}${2}" ;;
75581 * ) func_dirname_result="${3}" ;;
75582 esac
75585 # func_basename file
75586 func_basename ()
75588 func_basename_result="${1##*/}"
75591 # func_dirname_and_basename file append nondir_replacement
75592 # perform func_basename and func_dirname in a single function
75593 # call:
75594 # dirname: Compute the dirname of FILE. If nonempty,
75595 # add APPEND to the result, otherwise set result
75596 # to NONDIR_REPLACEMENT.
75597 # value returned in "$func_dirname_result"
75598 # basename: Compute filename of FILE.
75599 # value retuned in "$func_basename_result"
75600 # Implementation must be kept synchronized with func_dirname
75601 # and func_basename. For efficiency, we do not delegate to
75602 # those functions but instead duplicate the functionality here.
75603 func_dirname_and_basename ()
75605 case ${1} in
75606 */*) func_dirname_result="${1%/*}${2}" ;;
75607 * ) func_dirname_result="${3}" ;;
75608 esac
75609 func_basename_result="${1##*/}"
75612 # func_stripname prefix suffix name
75613 # strip PREFIX and SUFFIX off of NAME.
75614 # PREFIX and SUFFIX must not contain globbing or regex special
75615 # characters, hashes, percent signs, but SUFFIX may contain a leading
75616 # dot (in which case that matches only a dot).
75617 func_stripname ()
75619 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75620 # positional parameters, so assign one to ordinary parameter first.
75621 func_stripname_result=${3}
75622 func_stripname_result=${func_stripname_result#"${1}"}
75623 func_stripname_result=${func_stripname_result%"${2}"}
75626 # func_opt_split
75627 func_opt_split ()
75629 func_opt_split_opt=${1%%=*}
75630 func_opt_split_arg=${1#*=}
75633 # func_lo2o object
75634 func_lo2o ()
75636 case ${1} in
75637 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75638 *) func_lo2o_result=${1} ;;
75639 esac
75642 # func_xform libobj-or-source
75643 func_xform ()
75645 func_xform_result=${1%.*}.lo
75648 # func_arith arithmetic-term...
75649 func_arith ()
75651 func_arith_result=$(( $* ))
75654 # func_len string
75655 # STRING may not start with a hyphen.
75656 func_len ()
75658 func_len_result=${#1}
75661 _LT_EOF
75663 *) # Bourne compatible functions.
75664 cat << \_LT_EOF >> "$cfgfile"
75666 # func_dirname file append nondir_replacement
75667 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75668 # otherwise set result to NONDIR_REPLACEMENT.
75669 func_dirname ()
75671 # Extract subdirectory from the argument.
75672 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75673 if test "X$func_dirname_result" = "X${1}"; then
75674 func_dirname_result="${3}"
75675 else
75676 func_dirname_result="$func_dirname_result${2}"
75680 # func_basename file
75681 func_basename ()
75683 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75687 # func_stripname prefix suffix name
75688 # strip PREFIX and SUFFIX off of NAME.
75689 # PREFIX and SUFFIX must not contain globbing or regex special
75690 # characters, hashes, percent signs, but SUFFIX may contain a leading
75691 # dot (in which case that matches only a dot).
75692 # func_strip_suffix prefix name
75693 func_stripname ()
75695 case ${2} in
75696 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75697 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75698 esac
75701 # sed scripts:
75702 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75703 my_sed_long_arg='1s/^-[^=]*=//'
75705 # func_opt_split
75706 func_opt_split ()
75708 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75709 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75712 # func_lo2o object
75713 func_lo2o ()
75715 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75718 # func_xform libobj-or-source
75719 func_xform ()
75721 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75724 # func_arith arithmetic-term...
75725 func_arith ()
75727 func_arith_result=`expr "$@"`
75730 # func_len string
75731 # STRING may not start with a hyphen.
75732 func_len ()
75734 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75737 _LT_EOF
75738 esac
75740 case $lt_shell_append in
75741 yes)
75742 cat << \_LT_EOF >> "$cfgfile"
75744 # func_append var value
75745 # Append VALUE to the end of shell variable VAR.
75746 func_append ()
75748 eval "$1+=\$2"
75750 _LT_EOF
75753 cat << \_LT_EOF >> "$cfgfile"
75755 # func_append var value
75756 # Append VALUE to the end of shell variable VAR.
75757 func_append ()
75759 eval "$1=\$$1\$2"
75762 _LT_EOF
75764 esac
75767 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75768 || (rm -f "$cfgfile"; exit 1)
75770 mv -f "$cfgfile" "$ofile" ||
75771 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75772 chmod +x "$ofile"
75775 cat <<_LT_EOF >> "$ofile"
75777 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75779 # The linker used to build libraries.
75780 LD=$lt_LD_CXX
75782 # How to create reloadable object files.
75783 reload_flag=$lt_reload_flag_CXX
75784 reload_cmds=$lt_reload_cmds_CXX
75786 # Commands used to build an old-style archive.
75787 old_archive_cmds=$lt_old_archive_cmds_CXX
75789 # A language specific compiler.
75790 CC=$lt_compiler_CXX
75792 # Is the compiler the GNU compiler?
75793 with_gcc=$GCC_CXX
75795 # Compiler flag to turn off builtin functions.
75796 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75798 # How to pass a linker flag through the compiler.
75799 wl=$lt_lt_prog_compiler_wl_CXX
75801 # Additional compiler flags for building library objects.
75802 pic_flag=$lt_lt_prog_compiler_pic_CXX
75804 # Compiler flag to prevent dynamic linking.
75805 link_static_flag=$lt_lt_prog_compiler_static_CXX
75807 # Does compiler simultaneously support -c and -o options?
75808 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75810 # Whether or not to add -lc for building shared libraries.
75811 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75813 # Whether or not to disallow shared libs when runtime libs are static.
75814 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75816 # Compiler flag to allow reflexive dlopens.
75817 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75819 # Compiler flag to generate shared objects directly from archives.
75820 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
75822 # Whether the compiler copes with passing no objects directly.
75823 compiler_needs_object=$lt_compiler_needs_object_CXX
75825 # Create an old-style archive from a shared archive.
75826 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
75828 # Create a temporary old-style archive to link instead of a shared archive.
75829 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
75831 # Commands used to build a shared archive.
75832 archive_cmds=$lt_archive_cmds_CXX
75833 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
75835 # Commands used to build a loadable module if different from building
75836 # a shared archive.
75837 module_cmds=$lt_module_cmds_CXX
75838 module_expsym_cmds=$lt_module_expsym_cmds_CXX
75840 # Whether we are building with GNU ld or not.
75841 with_gnu_ld=$lt_with_gnu_ld_CXX
75843 # Flag that allows shared libraries with undefined symbols to be built.
75844 allow_undefined_flag=$lt_allow_undefined_flag_CXX
75846 # Flag that enforces no undefined symbols.
75847 no_undefined_flag=$lt_no_undefined_flag_CXX
75849 # Flag to hardcode \$libdir into a binary during linking.
75850 # This must work even if \$libdir does not exist
75851 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
75853 # If ld is used when linking, flag to hardcode \$libdir into a binary
75854 # during linking. This must work even if \$libdir does not exist.
75855 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
75857 # Whether we need a single "-rpath" flag with a separated argument.
75858 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
75860 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75861 # DIR into the resulting binary.
75862 hardcode_direct=$hardcode_direct_CXX
75864 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75865 # DIR into the resulting binary and the resulting library dependency is
75866 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75867 # library is relocated.
75868 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
75870 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75871 # into the resulting binary.
75872 hardcode_minus_L=$hardcode_minus_L_CXX
75874 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75875 # into the resulting binary.
75876 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
75878 # Set to "yes" if building a shared library automatically hardcodes DIR
75879 # into the library and all subsequent libraries and executables linked
75880 # against it.
75881 hardcode_automatic=$hardcode_automatic_CXX
75883 # Set to yes if linker adds runtime paths of dependent libraries
75884 # to runtime path list.
75885 inherit_rpath=$inherit_rpath_CXX
75887 # Whether libtool must link a program against all its dependency libraries.
75888 link_all_deplibs=$link_all_deplibs_CXX
75890 # Fix the shell variable \$srcfile for the compiler.
75891 fix_srcfile_path=$lt_fix_srcfile_path_CXX
75893 # Set to "yes" if exported symbols are required.
75894 always_export_symbols=$always_export_symbols_CXX
75896 # The commands to list exported symbols.
75897 export_symbols_cmds=$lt_export_symbols_cmds_CXX
75899 # Symbols that should not be listed in the preloaded symbols.
75900 exclude_expsyms=$lt_exclude_expsyms_CXX
75902 # Symbols that must always be exported.
75903 include_expsyms=$lt_include_expsyms_CXX
75905 # Commands necessary for linking programs (against libraries) with templates.
75906 prelink_cmds=$lt_prelink_cmds_CXX
75908 # Specify filename containing input files.
75909 file_list_spec=$lt_file_list_spec_CXX
75911 # How to hardcode a shared library path into an executable.
75912 hardcode_action=$hardcode_action_CXX
75914 # The directories searched by this compiler when creating a shared library.
75915 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
75917 # Dependencies to place before and after the objects being linked to
75918 # create a shared library.
75919 predep_objects=$lt_predep_objects_CXX
75920 postdep_objects=$lt_postdep_objects_CXX
75921 predeps=$lt_predeps_CXX
75922 postdeps=$lt_postdeps_CXX
75924 # The library search path used internally by the compiler when linking
75925 # a shared library.
75926 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
75928 # ### END LIBTOOL TAG CONFIG: CXX
75929 _LT_EOF
75932 "include/gstdint.h":C)
75933 if test "$GCC" = yes; then
75934 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
75935 else
75936 echo "/* generated for $CC */" > tmp-stdint.h
75939 sed 's/^ *//' >> tmp-stdint.h <<EOF
75941 #ifndef GCC_GENERATED_STDINT_H
75942 #define GCC_GENERATED_STDINT_H 1
75944 #include <sys/types.h>
75947 if test "$acx_cv_header_stdint" != stdint.h; then
75948 echo "#include <stddef.h>" >> tmp-stdint.h
75950 if test "$acx_cv_header_stdint" != stddef.h; then
75951 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
75954 sed 's/^ *//' >> tmp-stdint.h <<EOF
75955 /* glibc uses these symbols as guards to prevent redefinitions. */
75956 #ifdef __int8_t_defined
75957 #define _INT8_T
75958 #define _INT16_T
75959 #define _INT32_T
75960 #endif
75961 #ifdef __uint32_t_defined
75962 #define _UINT32_T
75963 #endif
75967 # ----------------- done header, emit basic int types -------------
75968 if test "$acx_cv_header_stdint" = stddef.h; then
75969 sed 's/^ *//' >> tmp-stdint.h <<EOF
75971 #ifndef _UINT8_T
75972 #define _UINT8_T
75973 #ifndef __uint8_t_defined
75974 #define __uint8_t_defined
75975 #ifndef uint8_t
75976 typedef unsigned $acx_cv_type_int8_t uint8_t;
75977 #endif
75978 #endif
75979 #endif
75981 #ifndef _UINT16_T
75982 #define _UINT16_T
75983 #ifndef __uint16_t_defined
75984 #define __uint16_t_defined
75985 #ifndef uint16_t
75986 typedef unsigned $acx_cv_type_int16_t uint16_t;
75987 #endif
75988 #endif
75989 #endif
75991 #ifndef _UINT32_T
75992 #define _UINT32_T
75993 #ifndef __uint32_t_defined
75994 #define __uint32_t_defined
75995 #ifndef uint32_t
75996 typedef unsigned $acx_cv_type_int32_t uint32_t;
75997 #endif
75998 #endif
75999 #endif
76001 #ifndef _INT8_T
76002 #define _INT8_T
76003 #ifndef __int8_t_defined
76004 #define __int8_t_defined
76005 #ifndef int8_t
76006 typedef $acx_cv_type_int8_t int8_t;
76007 #endif
76008 #endif
76009 #endif
76011 #ifndef _INT16_T
76012 #define _INT16_T
76013 #ifndef __int16_t_defined
76014 #define __int16_t_defined
76015 #ifndef int16_t
76016 typedef $acx_cv_type_int16_t int16_t;
76017 #endif
76018 #endif
76019 #endif
76021 #ifndef _INT32_T
76022 #define _INT32_T
76023 #ifndef __int32_t_defined
76024 #define __int32_t_defined
76025 #ifndef int32_t
76026 typedef $acx_cv_type_int32_t int32_t;
76027 #endif
76028 #endif
76029 #endif
76031 elif test "$ac_cv_type_u_int32_t" = yes; then
76032 sed 's/^ *//' >> tmp-stdint.h <<EOF
76034 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
76035 #ifndef _INT8_T
76036 #define _INT8_T
76037 #endif
76038 #ifndef _INT16_T
76039 #define _INT16_T
76040 #endif
76041 #ifndef _INT32_T
76042 #define _INT32_T
76043 #endif
76045 #ifndef _UINT8_T
76046 #define _UINT8_T
76047 #ifndef __uint8_t_defined
76048 #define __uint8_t_defined
76049 #ifndef uint8_t
76050 typedef u_int8_t uint8_t;
76051 #endif
76052 #endif
76053 #endif
76055 #ifndef _UINT16_T
76056 #define _UINT16_T
76057 #ifndef __uint16_t_defined
76058 #define __uint16_t_defined
76059 #ifndef uint16_t
76060 typedef u_int16_t uint16_t;
76061 #endif
76062 #endif
76063 #endif
76065 #ifndef _UINT32_T
76066 #define _UINT32_T
76067 #ifndef __uint32_t_defined
76068 #define __uint32_t_defined
76069 #ifndef uint32_t
76070 typedef u_int32_t uint32_t;
76071 #endif
76072 #endif
76073 #endif
76075 else
76076 sed 's/^ *//' >> tmp-stdint.h <<EOF
76078 /* Some systems have guard macros to prevent redefinitions, define them. */
76079 #ifndef _INT8_T
76080 #define _INT8_T
76081 #endif
76082 #ifndef _INT16_T
76083 #define _INT16_T
76084 #endif
76085 #ifndef _INT32_T
76086 #define _INT32_T
76087 #endif
76088 #ifndef _UINT8_T
76089 #define _UINT8_T
76090 #endif
76091 #ifndef _UINT16_T
76092 #define _UINT16_T
76093 #endif
76094 #ifndef _UINT32_T
76095 #define _UINT32_T
76096 #endif
76100 # ------------- done basic int types, emit int64_t types ------------
76101 if test "$ac_cv_type_uint64_t" = yes; then
76102 sed 's/^ *//' >> tmp-stdint.h <<EOF
76104 /* system headers have good uint64_t and int64_t */
76105 #ifndef _INT64_T
76106 #define _INT64_T
76107 #endif
76108 #ifndef _UINT64_T
76109 #define _UINT64_T
76110 #endif
76112 elif test "$ac_cv_type_u_int64_t" = yes; then
76113 sed 's/^ *//' >> tmp-stdint.h <<EOF
76115 /* system headers have an u_int64_t (and int64_t) */
76116 #ifndef _INT64_T
76117 #define _INT64_T
76118 #endif
76119 #ifndef _UINT64_T
76120 #define _UINT64_T
76121 #ifndef __uint64_t_defined
76122 #define __uint64_t_defined
76123 #ifndef uint64_t
76124 typedef u_int64_t uint64_t;
76125 #endif
76126 #endif
76127 #endif
76129 elif test -n "$acx_cv_type_int64_t"; then
76130 sed 's/^ *//' >> tmp-stdint.h <<EOF
76132 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
76133 #ifndef _INT64_T
76134 #define _INT64_T
76135 #ifndef int64_t
76136 typedef $acx_cv_type_int64_t int64_t;
76137 #endif
76138 #endif
76139 #ifndef _UINT64_T
76140 #define _UINT64_T
76141 #ifndef __uint64_t_defined
76142 #define __uint64_t_defined
76143 #ifndef uint64_t
76144 typedef unsigned $acx_cv_type_int64_t uint64_t;
76145 #endif
76146 #endif
76147 #endif
76149 else
76150 sed 's/^ *//' >> tmp-stdint.h <<EOF
76152 /* some common heuristics for int64_t, using compiler-specific tests */
76153 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
76154 #ifndef _INT64_T
76155 #define _INT64_T
76156 #ifndef __int64_t_defined
76157 #ifndef int64_t
76158 typedef long long int64_t;
76159 #endif
76160 #endif
76161 #endif
76162 #ifndef _UINT64_T
76163 #define _UINT64_T
76164 #ifndef uint64_t
76165 typedef unsigned long long uint64_t;
76166 #endif
76167 #endif
76169 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
76170 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
76171 does not implement __extension__. But that compiler doesn't define
76172 __GNUC_MINOR__. */
76173 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
76174 # define __extension__
76175 # endif
76177 # ifndef _INT64_T
76178 # define _INT64_T
76179 # ifndef int64_t
76180 __extension__ typedef long long int64_t;
76181 # endif
76182 # endif
76183 # ifndef _UINT64_T
76184 # define _UINT64_T
76185 # ifndef uint64_t
76186 __extension__ typedef unsigned long long uint64_t;
76187 # endif
76188 # endif
76190 #elif !defined __STRICT_ANSI__
76191 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
76193 # ifndef _INT64_T
76194 # define _INT64_T
76195 # ifndef int64_t
76196 typedef __int64 int64_t;
76197 # endif
76198 # endif
76199 # ifndef _UINT64_T
76200 # define _UINT64_T
76201 # ifndef uint64_t
76202 typedef unsigned __int64 uint64_t;
76203 # endif
76204 # endif
76205 # endif /* compiler */
76207 #endif /* ANSI version */
76211 # ------------- done int64_t types, emit intptr types ------------
76212 if test "$ac_cv_type_uintptr_t" != yes; then
76213 sed 's/^ *//' >> tmp-stdint.h <<EOF
76215 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
76216 #ifndef __uintptr_t_defined
76217 #ifndef uintptr_t
76218 typedef u$acx_cv_type_intptr_t uintptr_t;
76219 #endif
76220 #endif
76221 #ifndef __intptr_t_defined
76222 #ifndef intptr_t
76223 typedef $acx_cv_type_intptr_t intptr_t;
76224 #endif
76225 #endif
76229 # ------------- done intptr types, emit int_least types ------------
76230 if test "$ac_cv_type_int_least32_t" != yes; then
76231 sed 's/^ *//' >> tmp-stdint.h <<EOF
76233 /* Define int_least types */
76234 typedef int8_t int_least8_t;
76235 typedef int16_t int_least16_t;
76236 typedef int32_t int_least32_t;
76237 #ifdef _INT64_T
76238 typedef int64_t int_least64_t;
76239 #endif
76241 typedef uint8_t uint_least8_t;
76242 typedef uint16_t uint_least16_t;
76243 typedef uint32_t uint_least32_t;
76244 #ifdef _UINT64_T
76245 typedef uint64_t uint_least64_t;
76246 #endif
76250 # ------------- done intptr types, emit int_fast types ------------
76251 if test "$ac_cv_type_int_fast32_t" != yes; then
76252 sed 's/^ *//' >> tmp-stdint.h <<EOF
76254 /* Define int_fast types. short is often slow */
76255 typedef int8_t int_fast8_t;
76256 typedef int int_fast16_t;
76257 typedef int32_t int_fast32_t;
76258 #ifdef _INT64_T
76259 typedef int64_t int_fast64_t;
76260 #endif
76262 typedef uint8_t uint_fast8_t;
76263 typedef unsigned int uint_fast16_t;
76264 typedef uint32_t uint_fast32_t;
76265 #ifdef _UINT64_T
76266 typedef uint64_t uint_fast64_t;
76267 #endif
76271 if test "$ac_cv_type_uintmax_t" != yes; then
76272 sed 's/^ *//' >> tmp-stdint.h <<EOF
76274 /* Define intmax based on what we found */
76275 #ifndef intmax_t
76276 #ifdef _INT64_T
76277 typedef int64_t intmax_t;
76278 #else
76279 typedef long intmax_t;
76280 #endif
76281 #endif
76282 #ifndef uintmax_t
76283 #ifdef _UINT64_T
76284 typedef uint64_t uintmax_t;
76285 #else
76286 typedef unsigned long uintmax_t;
76287 #endif
76288 #endif
76292 sed 's/^ *//' >> tmp-stdint.h <<EOF
76294 #endif /* GCC_GENERATED_STDINT_H */
76297 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
76298 rm -f tmp-stdint.h
76299 else
76300 mv -f tmp-stdint.h include/gstdint.h
76304 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76305 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76306 "include/Makefile":F) cat > vpsed$$ << \_EOF
76307 s!`test -f '$<' || echo '$(srcdir)/'`!!
76308 _EOF
76309 sed -f vpsed$$ $ac_file > tmp$$
76310 mv tmp$$ $ac_file
76311 rm vpsed$$
76312 echo 'MULTISUBDIR =' >> $ac_file
76313 ml_norecursion=yes
76314 . ${multi_basedir}/config-ml.in
76315 { ml_norecursion=; unset ml_norecursion;}
76317 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76318 s!`test -f '$<' || echo '$(srcdir)/'`!!
76319 _EOF
76320 sed -f vpsed$$ $ac_file > tmp$$
76321 mv tmp$$ $ac_file
76322 rm vpsed$$
76323 echo 'MULTISUBDIR =' >> $ac_file
76324 ml_norecursion=yes
76325 . ${multi_basedir}/config-ml.in
76326 { ml_norecursion=; unset ml_norecursion;}
76328 "python/Makefile":F) cat > vpsed$$ << \_EOF
76329 s!`test -f '$<' || echo '$(srcdir)/'`!!
76330 _EOF
76331 sed -f vpsed$$ $ac_file > tmp$$
76332 mv tmp$$ $ac_file
76333 rm vpsed$$
76334 echo 'MULTISUBDIR =' >> $ac_file
76335 ml_norecursion=yes
76336 . ${multi_basedir}/config-ml.in
76337 { ml_norecursion=; unset ml_norecursion;}
76339 "src/Makefile":F) cat > vpsed$$ << \_EOF
76340 s!`test -f '$<' || echo '$(srcdir)/'`!!
76341 _EOF
76342 sed -f vpsed$$ $ac_file > tmp$$
76343 mv tmp$$ $ac_file
76344 rm vpsed$$
76345 echo 'MULTISUBDIR =' >> $ac_file
76346 ml_norecursion=yes
76347 . ${multi_basedir}/config-ml.in
76348 { ml_norecursion=; unset ml_norecursion;}
76350 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76351 s!`test -f '$<' || echo '$(srcdir)/'`!!
76352 _EOF
76353 sed -f vpsed$$ $ac_file > tmp$$
76354 mv tmp$$ $ac_file
76355 rm vpsed$$
76356 echo 'MULTISUBDIR =' >> $ac_file
76357 ml_norecursion=yes
76358 . ${multi_basedir}/config-ml.in
76359 { ml_norecursion=; unset ml_norecursion;}
76361 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76362 s!`test -f '$<' || echo '$(srcdir)/'`!!
76363 _EOF
76364 sed -f vpsed$$ $ac_file > tmp$$
76365 mv tmp$$ $ac_file
76366 rm vpsed$$
76367 echo 'MULTISUBDIR =' >> $ac_file
76368 ml_norecursion=yes
76369 . ${multi_basedir}/config-ml.in
76370 { ml_norecursion=; unset ml_norecursion;}
76372 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76373 s!`test -f '$<' || echo '$(srcdir)/'`!!
76374 _EOF
76375 sed -f vpsed$$ $ac_file > tmp$$
76376 mv tmp$$ $ac_file
76377 rm vpsed$$
76378 echo 'MULTISUBDIR =' >> $ac_file
76379 ml_norecursion=yes
76380 . ${multi_basedir}/config-ml.in
76381 { ml_norecursion=; unset ml_norecursion;}
76383 "po/Makefile":F) cat > vpsed$$ << \_EOF
76384 s!`test -f '$<' || echo '$(srcdir)/'`!!
76385 _EOF
76386 sed -f vpsed$$ $ac_file > tmp$$
76387 mv tmp$$ $ac_file
76388 rm vpsed$$
76389 echo 'MULTISUBDIR =' >> $ac_file
76390 ml_norecursion=yes
76391 . ${multi_basedir}/config-ml.in
76392 { ml_norecursion=; unset ml_norecursion;}
76394 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76395 s!`test -f '$<' || echo '$(srcdir)/'`!!
76396 _EOF
76397 sed -f vpsed$$ $ac_file > tmp$$
76398 mv tmp$$ $ac_file
76399 rm vpsed$$
76400 echo 'MULTISUBDIR =' >> $ac_file
76401 ml_norecursion=yes
76402 . ${multi_basedir}/config-ml.in
76403 { ml_norecursion=; unset ml_norecursion;}
76405 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76407 esac
76408 done # for ac_tag
76411 as_fn_exit 0
76412 _ACEOF
76413 ac_clean_files=$ac_clean_files_save
76415 test $ac_write_fail = 0 ||
76416 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
76419 # configure is writing to config.log, and then calls config.status.
76420 # config.status does its own redirection, appending to config.log.
76421 # Unfortunately, on DOS this fails, as config.log is still kept open
76422 # by configure, so config.status won't be able to write to it; its
76423 # output is simply discarded. So we exec the FD to /dev/null,
76424 # effectively closing config.log, so it can be properly (re)opened and
76425 # appended to by config.status. When coming back to configure, we
76426 # need to make the FD available again.
76427 if test "$no_create" != yes; then
76428 ac_cs_success=:
76429 ac_config_status_args=
76430 test "$silent" = yes &&
76431 ac_config_status_args="$ac_config_status_args --quiet"
76432 exec 5>/dev/null
76433 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76434 exec 5>>config.log
76435 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76436 # would make configure fail if this is the last instruction.
76437 $ac_cs_success || as_fn_exit $?
76439 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76440 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76441 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}